Skip to content

Commit 8ec4fd5

Browse files
committed
deps: hasown@2.0.1
1 parent 98b1189 commit 8ec4fd5

File tree

3 files changed

+17
-19
lines changed

3 files changed

+17
-19
lines changed

node_modules/hasown/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ var call = Function.prototype.call;
44
var $hasOwn = Object.prototype.hasOwnProperty;
55
var bind = require('function-bind');
66

7-
/** @type {(o: {}, p: PropertyKey) => p is keyof o} */
7+
/** @type {import('.')} */
88
module.exports = bind.call(call, $hasOwn);

node_modules/hasown/package.json

+13-15
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "hasown",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "A robust, ES3 compatible, \"has own property\" predicate.",
55
"main": "index.js",
66
"exports": {
77
".": "./index.js",
88
"./package.json": "./package.json"
99
},
10+
"types": "index.d.ts",
11+
"sideEffects": false,
1012
"scripts": {
11-
"prepack": "npmignore --auto --commentLines=autogenerated && npm run emit-types",
13+
"prepack": "npmignore --auto --commentLines=autogenerated",
1214
"prepublish": "not-in-publish || npm run prepublishOnly",
1315
"prepublishOnly": "safe-publish-latest",
1416
"prelint": "evalmd README.md",
1517
"lint": "eslint --ext=js,mjs .",
1618
"postlint": "npm run tsc",
17-
"preemit-types": "rm -f *.ts *.ts.map test/*.ts test/*.ts.map",
18-
"emit-types": "npm run tsc -- --noEmit false --emitDeclarationOnly",
1919
"pretest": "npm run lint",
2020
"tsc": "tsc -p .",
2121
"tests-only": "nyc tape 'test/**/*.js'",
@@ -51,20 +51,20 @@
5151
},
5252
"devDependencies": {
5353
"@ljharb/eslint-config": "^21.1.0",
54-
"@types/function-bind": "^1.1.9",
55-
"@types/mock-property": "^1.0.1",
56-
"@types/tape": "^5.6.3",
57-
"aud": "^2.0.3",
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",
5858
"auto-changelog": "^2.4.0",
5959
"eslint": "=8.8.0",
6060
"evalmd": "^0.0.19",
6161
"in-publish": "^2.0.1",
62-
"mock-property": "^1.0.2",
63-
"npmignore": "^0.3.0",
62+
"mock-property": "^1.0.3",
63+
"npmignore": "^0.3.1",
6464
"nyc": "^10.3.2",
6565
"safe-publish-latest": "^2.0.0",
66-
"tape": "^5.7.1",
67-
"typescript": "^5.3.0-dev.20231019"
66+
"tape": "^5.7.4",
67+
"typescript": "next"
6868
},
6969
"engines": {
7070
"node": ">= 0.4"
@@ -83,9 +83,7 @@
8383
"publishConfig": {
8484
"ignore": [
8585
".github/workflows",
86-
"test",
87-
"!*.d.ts",
88-
"!*.d.ts.map"
86+
"test"
8987
]
9088
}
9189
}

package-lock.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5989,9 +5989,9 @@
59895989
}
59905990
},
59915991
"node_modules/hasown": {
5992-
"version": "2.0.0",
5993-
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
5994-
"integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
5992+
"version": "2.0.1",
5993+
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz",
5994+
"integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==",
59955995
"inBundle": true,
59965996
"dependencies": {
59975997
"function-bind": "^1.1.2"

0 commit comments

Comments
 (0)