Comparing version 1.0.1 to 1.1.0
@@ -8,2 +8,16 @@ # Changelog | ||
## [v1.1.0](https://github.com/ljharb/gopd/compare/v1.0.1...v1.1.0) - 2024-11-29 | ||
### Commits | ||
- [New] add types [`f585e39`](https://github.com/ljharb/gopd/commit/f585e397886d270e4ba84e53d226e4f9ca2eb0e6) | ||
- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `tape` [`0b8e4fd`](https://github.com/ljharb/gopd/commit/0b8e4fded64397a7726a9daa144a6cc9a5e2edfa) | ||
- [Dev Deps] update `aud`, `npmignore`, `tape` [`48378b2`](https://github.com/ljharb/gopd/commit/48378b2443f09a4f7efbd0fb6c3ee845a6cabcf3) | ||
- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`78099ee`](https://github.com/ljharb/gopd/commit/78099eeed41bfdc134c912280483689cc8861c31) | ||
- [Tests] replace `aud` with `npm audit` [`4e0d0ac`](https://github.com/ljharb/gopd/commit/4e0d0ac47619d24a75318a8e1f543ee04b2a2632) | ||
- [meta] add missing `engines.node` [`1443316`](https://github.com/ljharb/gopd/commit/14433165d07835c680155b3dfd62d9217d735eca) | ||
- [Deps] update `get-intrinsic` [`eee5f51`](https://github.com/ljharb/gopd/commit/eee5f51769f3dbaf578b70e2a3199116b01aa670) | ||
- [Deps] update `get-intrinsic` [`550c378`](https://github.com/ljharb/gopd/commit/550c3780e3a9c77b62565712a001b4ed64ea61f5) | ||
- [Dev Deps] add missing peer dep [`8c2ecf8`](https://github.com/ljharb/gopd/commit/8c2ecf848122e4e30abfc5b5086fb48b390dce75) | ||
## [v1.0.1](https://github.com/ljharb/gopd/compare/v1.0.0...v1.0.1) - 2022-11-01 | ||
@@ -10,0 +24,0 @@ |
@@ -5,2 +5,3 @@ 'use strict'; | ||
/** @type {import('.')} */ | ||
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); | ||
@@ -7,0 +8,0 @@ |
{ | ||
"name": "gopd", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.", | ||
@@ -15,2 +15,3 @@ "main": "index.js", | ||
"prepublish": "not-in-publish || npm run prepublishOnly", | ||
"prelint": "tsc -p . && attw -P", | ||
"lint": "eslint --ext=js,mjs .", | ||
@@ -21,3 +22,3 @@ "postlint": "evalmd README.md", | ||
"test": "npm run tests-only", | ||
"posttest": "aud --production", | ||
"posttest": "npx npm@'>=10.2' audit --production", | ||
"version": "auto-changelog && git add CHANGELOG.md", | ||
@@ -47,14 +48,19 @@ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" | ||
"dependencies": { | ||
"get-intrinsic": "^1.1.3" | ||
"get-intrinsic": "^1.2.4" | ||
}, | ||
"devDependencies": { | ||
"@ljharb/eslint-config": "^21.0.0", | ||
"aud": "^2.0.1", | ||
"auto-changelog": "^2.4.0", | ||
"@arethetypeswrong/cli": "^0.17.0", | ||
"@ljharb/eslint-config": "^21.1.1", | ||
"@ljharb/tsconfig": "^0.2.0", | ||
"@types/get-intrinsic": "^1.2.3", | ||
"@types/tape": "^5.6.5", | ||
"auto-changelog": "^2.5.0", | ||
"encoding": "^0.1.13", | ||
"eslint": "=8.8.0", | ||
"evalmd": "^0.0.19", | ||
"in-publish": "^2.0.1", | ||
"npmignore": "^0.3.0", | ||
"npmignore": "^0.3.1", | ||
"safe-publish-latest": "^2.0.0", | ||
"tape": "^5.6.1" | ||
"tape": "^5.9.0", | ||
"typescript": "^5.8.0-dev.20241129" | ||
}, | ||
@@ -73,3 +79,6 @@ "auto-changelog": { | ||
] | ||
}, | ||
"engines": { | ||
"node": ">= 0.4" | ||
} | ||
} |
@@ -13,2 +13,3 @@ 'use strict'; | ||
// @ts-expect-error TS can't figure out narrowing from `skip` | ||
var desc = gOPD(obj, 'x'); | ||
@@ -29,3 +30,3 @@ st.deepEqual( | ||
t.test('not supported', { skip: gOPD }, function (st) { | ||
t.test('not supported', { skip: !!gOPD }, function (st) { | ||
st.notOk(gOPD, 'is falsy'); | ||
@@ -32,0 +33,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9648
10
52
14
Updatedget-intrinsic@^1.2.4