Skip to content

Commit

Permalink
deps: hasown@2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Feb 22, 2024
1 parent 98b1189 commit 8ec4fd5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
2 changes: 1 addition & 1 deletion node_modules/hasown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ var call = Function.prototype.call;
var $hasOwn = Object.prototype.hasOwnProperty;
var bind = require('function-bind');

/** @type {(o: {}, p: PropertyKey) => p is keyof o} */
/** @type {import('.')} */
module.exports = bind.call(call, $hasOwn);
28 changes: 13 additions & 15 deletions node_modules/hasown/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"name": "hasown",
"version": "2.0.0",
"version": "2.0.1",
"description": "A robust, ES3 compatible, \"has own property\" predicate.",
"main": "index.js",
"exports": {
".": "./index.js",
"./package.json": "./package.json"
},
"types": "index.d.ts",
"sideEffects": false,
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated && npm run emit-types",
"prepack": "npmignore --auto --commentLines=autogenerated",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "safe-publish-latest",
"prelint": "evalmd README.md",
"lint": "eslint --ext=js,mjs .",
"postlint": "npm run tsc",
"preemit-types": "rm -f *.ts *.ts.map test/*.ts test/*.ts.map",
"emit-types": "npm run tsc -- --noEmit false --emitDeclarationOnly",
"pretest": "npm run lint",
"tsc": "tsc -p .",
"tests-only": "nyc tape 'test/**/*.js'",
Expand Down Expand Up @@ -51,20 +51,20 @@
},
"devDependencies": {
"@ljharb/eslint-config": "^21.1.0",
"@types/function-bind": "^1.1.9",
"@types/mock-property": "^1.0.1",
"@types/tape": "^5.6.3",
"aud": "^2.0.3",
"@types/function-bind": "^1.1.10",
"@types/mock-property": "^1.0.2",
"@types/tape": "^5.6.4",
"aud": "^2.0.4",
"auto-changelog": "^2.4.0",
"eslint": "=8.8.0",
"evalmd": "^0.0.19",
"in-publish": "^2.0.1",
"mock-property": "^1.0.2",
"npmignore": "^0.3.0",
"mock-property": "^1.0.3",
"npmignore": "^0.3.1",
"nyc": "^10.3.2",
"safe-publish-latest": "^2.0.0",
"tape": "^5.7.1",
"typescript": "^5.3.0-dev.20231019"
"tape": "^5.7.4",
"typescript": "next"
},
"engines": {
"node": ">= 0.4"
Expand All @@ -83,9 +83,7 @@
"publishConfig": {
"ignore": [
".github/workflows",
"test",
"!*.d.ts",
"!*.d.ts.map"
"test"
]
}
}
6 changes: 3 additions & 3 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -5989,9 +5989,9 @@
}
},
"node_modules/hasown": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
"integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz",
"integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==",
"inBundle": true,
"dependencies": {
"function-bind": "^1.1.2"
Expand Down

0 comments on commit 8ec4fd5

Please sign in to comment.