{"name":"es-shim-unscopables","version":"1.1.0","description":"Helper package to shim a method into `Array.prototype[Symbol.unscopables]`","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","prelint-disabled":"evalmd README.md","lint":"eslint --ext=.js,.mjs .","postlint":"tsc && attw -P","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@\">= 10.2\" audit --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/ljharb/es-shim-unscopables.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/es-shim-unscopables/issues"},"homepage":"https://github.com/ljharb/es-shim-unscopables#readme","devDependencies":{"@arethetypeswrong/cli":"^0.17.3","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.3","@types/object-inspect":"^1.13.0","@types/tape":"^5.8.1","auto-changelog":"^2.5.0","encoding":"^0.1.13","es-value-fixtures":"^1.7.1","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.5","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.4","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"^5.8.0-dev.20250211"},"dependencies":{"hasown":"^2.0.2"},"publishConfig":{"ignore":[".github/workflows"]},"engines":{"node":">= 0.4"},"_id":"es-shim-unscopables@1.1.0","gitHead":"6d2fbe1c017a4e6f31c8d856675f4fea06cd26e0","types":"./index.d.ts","_nodeVersion":"23.7.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==","shasum":"438df35520dac5d105f3943d927549ea3b00f4b5","tarball":"http://registry-npm.ywwl.com/es-shim-unscopables/download/es-shim-unscopables-1.1.0.tgz","fileCount":12,"unpackedSize":12902,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGh9D8wijpB3AOn7ypaIzzZ3QpudOsKYIoUh68s/3F8eAiBve/D9udd0isFvVivZzpzPfMNDI9tybx2+k4RahVaJrA=="}],"size":5058,"noattachment":false,"key":"/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/es-shim-unscopables_1.1.0_1739333424616_0.06623722598080373"},"_hasShrinkwrap":false,"readme":"# es-shim-unscopables <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nHelper package to shim a method into `Array.prototype[Symbol.unscopables]`\n\n## Example\n\n```js\nconst assert = require('assert');\n\nconst shimUnscopables = require('es-shim-unscopables');\n\nlet copyWithin;\nlet concat;\nwith ([]) {\n    assert.equal(concat, Array.prototype.concat);\n    assert.notEqual(copyWithin, Array.prototype.copyWithin);\n}\n\nshimUnscopables('concat');\n\nwith ([]) {\n    assert.notEqual(concat, Array.prototype.concat);\n    assert.notEqual(copyWithin, Array.prototype.copyWithin);\n}\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n## Security\n\nPlease email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.\n\n[package-url]: https://npmjs.org/package/es-shim-unscopables\n[npm-version-svg]: https://versionbadg.es/ljharb/es-shim-unscopables.svg\n[deps-svg]: https://david-dm.org/ljharb/es-shim-unscopables.svg\n[deps-url]: https://david-dm.org/ljharb/es-shim-unscopables\n[dev-deps-svg]: https://david-dm.org/ljharb/es-shim-unscopables/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/es-shim-unscopables#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/es-shim-unscopables.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/es-shim-unscopables.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/es-shim-unscopables.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=es-shim-unscopables\n[codecov-image]: https://codecov.io/gh/ljharb/es-shim-unscopables/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/es-shim-unscopables/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-shim-unscopables\n[actions-url]: https://github.com/ljharb/es-shim-unscopables/actions\n","publish_time":1739333424766,"_cnpm_publish_time":1739333424766,"dist-tags":{"latest":"1.1.0"}}