format: prettify entire project
This commit is contained in:
5
node_modules/es-object-atoms/RequireObjectCoercible.d.ts
generated
vendored
5
node_modules/es-object-atoms/RequireObjectCoercible.d.ts
generated
vendored
@ -1,3 +1,6 @@
|
||||
declare function RequireObjectCoercible<T extends {}>(value: T, optMessage?: string): T;
|
||||
declare function RequireObjectCoercible<T extends {}>(
|
||||
value: T,
|
||||
optMessage?: string
|
||||
): T;
|
||||
|
||||
export = RequireObjectCoercible;
|
||||
|
10
node_modules/es-object-atoms/RequireObjectCoercible.js
generated
vendored
10
node_modules/es-object-atoms/RequireObjectCoercible.js
generated
vendored
@ -4,8 +4,10 @@ var $TypeError = require('es-errors/type');
|
||||
|
||||
/** @type {import('./RequireObjectCoercible')} */
|
||||
module.exports = function RequireObjectCoercible(value) {
|
||||
if (value == null) {
|
||||
throw new $TypeError((arguments.length > 0 && arguments[1]) || ('Cannot call method on ' + value));
|
||||
}
|
||||
return value;
|
||||
if (value == null) {
|
||||
throw new $TypeError(
|
||||
(arguments.length > 0 && arguments[1]) || 'Cannot call method on ' + value
|
||||
);
|
||||
}
|
||||
return value;
|
||||
};
|
||||
|
4
node_modules/es-object-atoms/ToObject.js
generated
vendored
4
node_modules/es-object-atoms/ToObject.js
generated
vendored
@ -5,6 +5,6 @@ var RequireObjectCoercible = require('./RequireObjectCoercible');
|
||||
|
||||
/** @type {import('./ToObject')} */
|
||||
module.exports = function ToObject(value) {
|
||||
RequireObjectCoercible(value);
|
||||
return $Object(value);
|
||||
RequireObjectCoercible(value);
|
||||
return $Object(value);
|
||||
};
|
||||
|
2
node_modules/es-object-atoms/isObject.js
generated
vendored
2
node_modules/es-object-atoms/isObject.js
generated
vendored
@ -2,5 +2,5 @@
|
||||
|
||||
/** @type {import('./isObject')} */
|
||||
module.exports = function isObject(x) {
|
||||
return !!x && (typeof x === 'function' || typeof x === 'object');
|
||||
return !!x && (typeof x === 'function' || typeof x === 'object');
|
||||
};
|
||||
|
156
node_modules/es-object-atoms/package.json
generated
vendored
156
node_modules/es-object-atoms/package.json
generated
vendored
@ -1,80 +1,80 @@
|
||||
{
|
||||
"name": "es-object-atoms",
|
||||
"version": "1.1.1",
|
||||
"description": "ES Object-related atoms: Object, ToObject, RequireObjectCoercible",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
"./RequireObjectCoercible": "./RequireObjectCoercible.js",
|
||||
"./isObject": "./isObject.js",
|
||||
"./ToObject": "./ToObject.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"prepack": "npmignore --auto --commentLines=autogenerated",
|
||||
"prepublishOnly": "safe-publish-latest",
|
||||
"prepublish": "not-in-publish || npm run prepublishOnly",
|
||||
"pretest": "npm run lint",
|
||||
"test": "npm run tests-only",
|
||||
"tests-only": "nyc tape 'test/**/*.js'",
|
||||
"posttest": "npx npm@\">= 10.2\" audit --production",
|
||||
"prelint": "evalmd README.md",
|
||||
"lint": "eslint --ext=js,mjs .",
|
||||
"postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)",
|
||||
"version": "auto-changelog && git add CHANGELOG.md",
|
||||
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/ljharb/es-object-atoms.git"
|
||||
},
|
||||
"keywords": [
|
||||
"javascript",
|
||||
"ecmascript",
|
||||
"object",
|
||||
"toobject",
|
||||
"coercible"
|
||||
],
|
||||
"author": "Jordan Harband <ljharb@gmail.com>",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/ljharb/es-object-atoms/issues"
|
||||
},
|
||||
"homepage": "https://github.com/ljharb/es-object-atoms#readme",
|
||||
"dependencies": {
|
||||
"es-errors": "^1.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ljharb/eslint-config": "^21.1.1",
|
||||
"@ljharb/tsconfig": "^0.2.3",
|
||||
"@types/tape": "^5.8.1",
|
||||
"auto-changelog": "^2.5.0",
|
||||
"eclint": "^2.8.1",
|
||||
"encoding": "^0.1.13",
|
||||
"eslint": "^8.8.0",
|
||||
"evalmd": "^0.0.19",
|
||||
"in-publish": "^2.0.1",
|
||||
"npmignore": "^0.3.1",
|
||||
"nyc": "^10.3.2",
|
||||
"safe-publish-latest": "^2.0.0",
|
||||
"tape": "^5.9.0",
|
||||
"typescript": "next"
|
||||
},
|
||||
"auto-changelog": {
|
||||
"output": "CHANGELOG.md",
|
||||
"template": "keepachangelog",
|
||||
"unreleased": false,
|
||||
"commitLimit": false,
|
||||
"backfillLimit": false,
|
||||
"hideCredit": true
|
||||
},
|
||||
"publishConfig": {
|
||||
"ignore": [
|
||||
".github/workflows"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
"name": "es-object-atoms",
|
||||
"version": "1.1.1",
|
||||
"description": "ES Object-related atoms: Object, ToObject, RequireObjectCoercible",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
"./RequireObjectCoercible": "./RequireObjectCoercible.js",
|
||||
"./isObject": "./isObject.js",
|
||||
"./ToObject": "./ToObject.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"prepack": "npmignore --auto --commentLines=autogenerated",
|
||||
"prepublishOnly": "safe-publish-latest",
|
||||
"prepublish": "not-in-publish || npm run prepublishOnly",
|
||||
"pretest": "npm run lint",
|
||||
"test": "npm run tests-only",
|
||||
"tests-only": "nyc tape 'test/**/*.js'",
|
||||
"posttest": "npx npm@\">= 10.2\" audit --production",
|
||||
"prelint": "evalmd README.md",
|
||||
"lint": "eslint --ext=js,mjs .",
|
||||
"postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)",
|
||||
"version": "auto-changelog && git add CHANGELOG.md",
|
||||
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/ljharb/es-object-atoms.git"
|
||||
},
|
||||
"keywords": [
|
||||
"javascript",
|
||||
"ecmascript",
|
||||
"object",
|
||||
"toobject",
|
||||
"coercible"
|
||||
],
|
||||
"author": "Jordan Harband <ljharb@gmail.com>",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/ljharb/es-object-atoms/issues"
|
||||
},
|
||||
"homepage": "https://github.com/ljharb/es-object-atoms#readme",
|
||||
"dependencies": {
|
||||
"es-errors": "^1.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ljharb/eslint-config": "^21.1.1",
|
||||
"@ljharb/tsconfig": "^0.2.3",
|
||||
"@types/tape": "^5.8.1",
|
||||
"auto-changelog": "^2.5.0",
|
||||
"eclint": "^2.8.1",
|
||||
"encoding": "^0.1.13",
|
||||
"eslint": "^8.8.0",
|
||||
"evalmd": "^0.0.19",
|
||||
"in-publish": "^2.0.1",
|
||||
"npmignore": "^0.3.1",
|
||||
"nyc": "^10.3.2",
|
||||
"safe-publish-latest": "^2.0.0",
|
||||
"tape": "^5.9.0",
|
||||
"typescript": "next"
|
||||
},
|
||||
"auto-changelog": {
|
||||
"output": "CHANGELOG.md",
|
||||
"template": "keepachangelog",
|
||||
"unreleased": false,
|
||||
"commitLimit": false,
|
||||
"backfillLimit": false,
|
||||
"hideCredit": true
|
||||
},
|
||||
"publishConfig": {
|
||||
"ignore": [
|
||||
".github/workflows"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
}
|
||||
|
8
node_modules/es-object-atoms/tsconfig.json
generated
vendored
8
node_modules/es-object-atoms/tsconfig.json
generated
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"extends": "@ljharb/tsconfig",
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
},
|
||||
"extends": "@ljharb/tsconfig",
|
||||
"compilerOptions": {
|
||||
"target": "es5"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user