Skip to content

Commit 89757ed

Browse files
committed
deps: is-core-module@2.13.1
1 parent bc1e841 commit 89757ed

File tree

13 files changed

+196
-104
lines changed

13 files changed

+196
-104
lines changed

DEPENDENCIES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ graph LR;
326326
glob-->once;
327327
glob-->path-is-absolute;
328328
glob-->path-scurry;
329-
has-->function-bind;
329+
hasown-->function-bind;
330330
hosted-git-info-->lru-cache;
331331
http-proxy-agent-->agent-base;
332332
http-proxy-agent-->debug;
@@ -348,7 +348,7 @@ graph LR;
348348
ip-address-->jsbn;
349349
ip-address-->sprintf-js;
350350
is-cidr-->cidr-regex;
351-
is-core-module-->has;
351+
is-core-module-->hasown;
352352
isaacs-cliui-->string-width-cjs;
353353
isaacs-cliui-->string-width;
354354
isaacs-cliui-->strip-ansi-cjs;

node_modules/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
!/glob
109109
!/graceful-fs
110110
!/has-unicode
111-
!/has
111+
!/hasown
112112
!/hosted-git-info
113113
!/http-cache-semantics
114114
!/http-proxy-agent

node_modules/has/LICENSE-MIT

Lines changed: 0 additions & 22 deletions
This file was deleted.

node_modules/has/package.json

Lines changed: 0 additions & 48 deletions
This file was deleted.

node_modules/has/src/index.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

node_modules/has/test/index.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

node_modules/hasown/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Jordan Harband and contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

node_modules/hasown/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
var call = Function.prototype.call;
4+
var $hasOwn = Object.prototype.hasOwnProperty;
5+
var bind = require('function-bind');
6+
7+
/** @type {import('.')} */
8+
module.exports = bind.call(call, $hasOwn);

node_modules/hasown/package.json

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"name": "hasown",
3+
"version": "2.0.1",
4+
"description": "A robust, ES3 compatible, \"has own property\" predicate.",
5+
"main": "index.js",
6+
"exports": {
7+
".": "./index.js",
8+
"./package.json": "./package.json"
9+
},
10+
"types": "index.d.ts",
11+
"sideEffects": false,
12+
"scripts": {
13+
"prepack": "npmignore --auto --commentLines=autogenerated",
14+
"prepublish": "not-in-publish || npm run prepublishOnly",
15+
"prepublishOnly": "safe-publish-latest",
16+
"prelint": "evalmd README.md",
17+
"lint": "eslint --ext=js,mjs .",
18+
"postlint": "npm run tsc",
19+
"pretest": "npm run lint",
20+
"tsc": "tsc -p .",
21+
"tests-only": "nyc tape 'test/**/*.js'",
22+
"test": "npm run tests-only",
23+
"posttest": "aud --production",
24+
"version": "auto-changelog && git add CHANGELOG.md",
25+
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
26+
},
27+
"repository": {
28+
"type": "git",
29+
"url": "git+https://github.com/inspect-js/hasOwn.git"
30+
},
31+
"keywords": [
32+
"has",
33+
"hasOwnProperty",
34+
"hasOwn",
35+
"has-own",
36+
"own",
37+
"has",
38+
"property",
39+
"in",
40+
"javascript",
41+
"ecmascript"
42+
],
43+
"author": "Jordan Harband <ljharb@gmail.com>",
44+
"license": "MIT",
45+
"bugs": {
46+
"url": "https://github.com/inspect-js/hasOwn/issues"
47+
},
48+
"homepage": "https://github.com/inspect-js/hasOwn#readme",
49+
"dependencies": {
50+
"function-bind": "^1.1.2"
51+
},
52+
"devDependencies": {
53+
"@ljharb/eslint-config": "^21.1.0",
54+
"@types/function-bind": "^1.1.10",
55+
"@types/mock-property": "^1.0.2",
56+
"@types/tape": "^5.6.4",
57+
"aud": "^2.0.4",
58+
"auto-changelog": "^2.4.0",
59+
"eslint": "=8.8.0",
60+
"evalmd": "^0.0.19",
61+
"in-publish": "^2.0.1",
62+
"mock-property": "^1.0.3",
63+
"npmignore": "^0.3.1",
64+
"nyc": "^10.3.2",
65+
"safe-publish-latest": "^2.0.0",
66+
"tape": "^5.7.4",
67+
"typescript": "next"
68+
},
69+
"engines": {
70+
"node": ">= 0.4"
71+
},
72+
"testling": {
73+
"files": "test/index.js"
74+
},
75+
"auto-changelog": {
76+
"output": "CHANGELOG.md",
77+
"template": "keepachangelog",
78+
"unreleased": false,
79+
"commitLimit": false,
80+
"backfillLimit": false,
81+
"hideCredit": true
82+
},
83+
"publishConfig": {
84+
"ignore": [
85+
".github/workflows",
86+
"test"
87+
]
88+
}
89+
}

node_modules/hasown/tsconfig.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"compilerOptions": {
3+
/* Visit https://aka.ms/tsconfig to read more about this file */
4+
5+
/* Projects */
6+
7+
/* Language and Environment */
8+
"target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
9+
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
10+
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
11+
"useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
12+
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
13+
14+
/* Modules */
15+
"module": "commonjs", /* Specify what module code is generated. */
16+
// "rootDir": "./", /* Specify the root folder within your source files. */
17+
// "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
18+
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
19+
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
20+
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
21+
"typeRoots": ["types"], /* Specify multiple folders that act like './node_modules/@types'. */
22+
"resolveJsonModule": true, /* Enable importing .json files. */
23+
// "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
24+
25+
/* JavaScript Support */
26+
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
27+
"checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
28+
"maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
29+
30+
/* Emit */
31+
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
32+
"declarationMap": true, /* Create sourcemaps for d.ts files. */
33+
"noEmit": true, /* Disable emitting files from a compilation. */
34+
35+
/* Interop Constraints */
36+
"allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
37+
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
38+
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
39+
40+
/* Type Checking */
41+
"strict": true, /* Enable all strict type-checking options. */
42+
43+
/* Completeness */
44+
//"skipLibCheck": true /* Skip type checking all .d.ts files. */
45+
},
46+
"exclude": [
47+
"coverage"
48+
]
49+
}

0 commit comments

Comments
 (0)