Skip to content

Commit 248c177

Browse files
committed
deps: hasown@2.0.2
1 parent 4af9e86 commit 248c177

File tree

3 files changed

+11
-51
lines changed

3 files changed

+11
-51
lines changed

node_modules/hasown/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hasown",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "A robust, ES3 compatible, \"has own property\" predicate.",
55
"main": "index.js",
66
"exports": {
@@ -18,6 +18,7 @@
1818
"postlint": "npm run tsc",
1919
"pretest": "npm run lint",
2020
"tsc": "tsc -p .",
21+
"posttsc": "attw -P",
2122
"tests-only": "nyc tape 'test/**/*.js'",
2223
"test": "npm run tests-only",
2324
"posttest": "aud --production",
@@ -50,7 +51,9 @@
5051
"function-bind": "^1.1.2"
5152
},
5253
"devDependencies": {
54+
"@arethetypeswrong/cli": "^0.15.1",
5355
"@ljharb/eslint-config": "^21.1.0",
56+
"@ljharb/tsconfig": "^0.2.0",
5457
"@types/function-bind": "^1.1.10",
5558
"@types/mock-property": "^1.0.2",
5659
"@types/tape": "^5.6.4",
@@ -63,7 +66,7 @@
6366
"npmignore": "^0.3.1",
6467
"nyc": "^10.3.2",
6568
"safe-publish-latest": "^2.0.0",
66-
"tape": "^5.7.4",
69+
"tape": "^5.7.5",
6770
"typescript": "next"
6871
},
6972
"engines": {

node_modules/hasown/tsconfig.json

+3-46
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,6 @@
11
{
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-
},
2+
"extends": "@ljharb/tsconfig",
463
"exclude": [
47-
"coverage"
48-
]
4+
"coverage",
5+
],
496
}

package-lock.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -6006,9 +6006,9 @@
60066006
}
60076007
},
60086008
"node_modules/hasown": {
6009-
"version": "2.0.1",
6010-
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz",
6011-
"integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==",
6009+
"version": "2.0.2",
6010+
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
6011+
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
60126012
"inBundle": true,
60136013
"dependencies": {
60146014
"function-bind": "^1.1.2"

0 commit comments

Comments
 (0)