{"_id":"internal-slot","_rev":"3744947","name":"internal-slot","description":"ES spec-like internal slots","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2025-02-13T06:27:59.000Z","created":"2019-10-21T06:00:07.641Z","1.1.0":"2024-12-13T16:02:29.590Z","1.0.7":"2024-02-06T05:13:03.391Z","1.0.6":"2023-10-21T05:37:32.744Z","1.0.5":"2023-02-09T21:24:46.683Z","1.0.4":"2022-12-13T19:39:35.926Z","1.0.3":"2021-01-26T20:14:53.516Z","1.0.2":"2019-12-20T20:59:34.523Z","1.0.1":"2019-12-02T07:48:15.146Z","1.0.0":"2019-10-21T06:00:07.641Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/ljharb/internal-slot.git"},"versions":{"1.1.0":{"name":"internal-slot","version":"1.1.0","description":"ES spec-like internal slots","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","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)\")\"","pretest":"npm run lint","lint":"eslint --ext=js,mjs .","postlint":"tsc && attw -P","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@'>= 10.2' audit --production"},"repository":{"type":"git","url":"git+https://github.com/ljharb/internal-slot.git"},"keywords":["internal","slot","internal slot","ecmascript","es","spec","private","data","private data","weakmap"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/internal-slot/issues"},"homepage":"https://github.com/ljharb/internal-slot#readme","engines":{"node":">= 0.4"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.1","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.2","@types/for-each":"^0.3.3","@types/object-inspect":"^1.13.0","@types/tape":"^5.6.5","auto-changelog":"^2.5.0","encoding":"^0.1.13","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.3","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"next"},"dependencies":{"es-errors":"^1.3.0","hasown":"^2.0.2","side-channel":"^1.1.0"},"auto-changelog":{"output":"CHANGELOG.md","unreleased":false,"commitLimit":false,"backfillLimit":false},"publishConfig":{"ignore":[".github/workflows"]},"_id":"internal-slot@1.1.0","gitHead":"7e8e584fb6b3389ff6305fcbbb213622d75cf0d9","types":"./index.d.ts","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"shasum":"1eac91762947d2f7056bc838d93e13b2e9604961","size":7836,"noattachment":false,"key":"/internal-slot/-/internal-slot-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/internal-slot/download/internal-slot-1.1.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/internal-slot_1.1.0_1734105749396_0.3045510233914843"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-13T16:02:29.590Z","publish_time":1734105749590,"_source_registry_name":"default","_cnpm_publish_time":1734105749590},"1.0.7":{"name":"internal-slot","version":"1.0.7","description":"ES spec-like internal slots","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","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)\")\"","pretest":"npm run lint","lint":"eslint .","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production"},"repository":{"type":"git","url":"git+https://github.com/ljharb/internal-slot.git"},"keywords":["internal","slot","internal slot","ecmascript","es","spec","private","data","private data","weakmap"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/internal-slot/issues"},"homepage":"https://github.com/ljharb/internal-slot#readme","engines":{"node":">= 0.4"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","eslint":"=8.8.0","for-each":"^0.3.3","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.1","safe-publish-latest":"^2.0.0","tape":"^5.7.4"},"dependencies":{"es-errors":"^1.3.0","hasown":"^2.0.0","side-channel":"^1.0.4"},"auto-changelog":{"output":"CHANGELOG.md","unreleased":false,"commitLimit":false,"backfillLimit":false},"publishConfig":{"ignore":[".github/workflows"]},"_id":"internal-slot@1.0.7","gitHead":"293160b43164b435cd9c980eb3f003c49b88755f","_nodeVersion":"21.6.0","_npmVersion":"10.2.4","dist":{"shasum":"c06dcca3ed874249881007b0a5523b172a190802","size":6985,"noattachment":false,"key":"/internal-slot/-/internal-slot-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/internal-slot/download/internal-slot-1.0.7.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/internal-slot_1.0.7_1707196383156_0.15654529309440535"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-06T05:13:03.391Z","publish_time":1707196383391,"_source_registry_name":"default","_cnpm_publish_time":1707196383391},"1.0.6":{"name":"internal-slot","version":"1.0.6","description":"ES spec-like internal slots","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","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)\")\"","pretest":"npm run lint","lint":"eslint .","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production"},"repository":{"type":"git","url":"git+https://github.com/ljharb/internal-slot.git"},"keywords":["internal","slot","internal slot","ecmascript","es","spec","private","data","private data","weakmap"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/internal-slot/issues"},"homepage":"https://github.com/ljharb/internal-slot#readme","engines":{"node":">= 0.4"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","eslint":"=8.8.0","for-each":"^0.3.3","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.13.1","safe-publish-latest":"^2.0.0","tape":"^5.7.2"},"dependencies":{"get-intrinsic":"^1.2.2","hasown":"^2.0.0","side-channel":"^1.0.4"},"auto-changelog":{"output":"CHANGELOG.md","unreleased":false,"commitLimit":false,"backfillLimit":false},"publishConfig":{"ignore":[".github/workflows"]},"_id":"internal-slot@1.0.6","gitHead":"e01fb0c564e5d6c932fcbd899c142465bd2b0927","_nodeVersion":"21.0.0","_npmVersion":"10.2.0","dist":{"shasum":"37e756098c4911c5e912b8edbf71ed3aa116f930","size":6874,"noattachment":false,"key":"/internal-slot/-/internal-slot-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/internal-slot/download/internal-slot-1.0.6.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/internal-slot_1.0.6_1697866652478_0.7415527036095158"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-21T05:37:32.744Z","publish_time":1697866652744,"_source_registry_name":"default","_cnpm_publish_time":1697866652744},"1.0.5":{"name":"internal-slot","version":"1.0.5","description":"ES spec-like internal slots","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","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)\")\"","pretest":"npm run lint","lint":"eslint .","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production"},"repository":{"type":"git","url":"git+https://github.com/ljharb/internal-slot.git"},"keywords":["internal","slot","internal slot","ecmascript","es","spec","private","data","private data","weakmap"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/internal-slot/issues"},"homepage":"https://github.com/ljharb/internal-slot#readme","engines":{"node":">= 0.4"},"devDependencies":{"@ljharb/eslint-config":"^21.0.1","aud":"^2.0.2","auto-changelog":"^2.4.0","eslint":"=8.8.0","for-each":"^0.3.3","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.3","safe-publish-latest":"^2.0.0","tape":"^5.6.3"},"dependencies":{"get-intrinsic":"^1.2.0","has":"^1.0.3","side-channel":"^1.0.4"},"auto-changelog":{"output":"CHANGELOG.md","unreleased":false,"commitLimit":false,"backfillLimit":false},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"88dca88014ff908f86c1ae292371a07e4ed06368","_id":"internal-slot@1.0.5","_nodeVersion":"19.6.0","_npmVersion":"9.4.0","dist":{"shasum":"f2a2ee21f668f8627a4667f309dc0f4fb6674986","size":6690,"noattachment":false,"key":"/internal-slot/-/internal-slot-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/internal-slot/download/internal-slot-1.0.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/internal-slot_1.0.5_1675977886546_0.3985005074969261"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-09T21:24:46.683Z","publish_time":1675977886683,"_cnpm_publish_time":1675977886683},"1.0.4":{"name":"internal-slot","version":"1.0.4","description":"ES spec-like internal slots","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","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)\")\"","pretest":"npm run lint","lint":"eslint .","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production"},"repository":{"type":"git","url":"git+https://github.com/ljharb/internal-slot.git"},"keywords":["internal","slot","internal slot","ecmascript","es","spec","private","data","private data","weakmap"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/internal-slot/issues"},"homepage":"https://github.com/ljharb/internal-slot#readme","engines":{"node":">= 0.4"},"devDependencies":{"@ljharb/eslint-config":"^21.0.0","aud":"^2.0.1","auto-changelog":"^2.4.0","eslint":"=8.8.0","for-each":"^0.3.3","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.2","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"dependencies":{"get-intrinsic":"^1.1.3","has":"^1.0.3","side-channel":"^1.0.4"},"auto-changelog":{"output":"CHANGELOG.md","unreleased":false,"commitLimit":false,"backfillLimit":false},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"36eb820fff0dd696f966ab9ed597ddabdd401b3c","_id":"internal-slot@1.0.4","_nodeVersion":"19.2.0","_npmVersion":"8.19.3","dist":{"shasum":"8551e7baf74a7a6ba5f749cfb16aa60722f0d6f3","size":6535,"noattachment":false,"key":"/internal-slot/-/internal-slot-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/internal-slot/download/internal-slot-1.0.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/internal-slot_1.0.4_1670960375764_0.8641480894436218"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-13T19:54:34.161Z","publish_time":1670960375926,"_cnpm_publish_time":1670960375926},"1.0.3":{"name":"internal-slot","version":"1.0.3","description":"ES spec-like internal slots","main":"index.js","scripts":{"prepublish":"safe-publish-latest","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)\")\"","pretest":"npm run lint","lint":"eslint .","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production"},"repository":{"type":"git","url":"git+https://github.com/ljharb/internal-slot.git"},"keywords":["internal","slot","internal slot","ecmascript","es","spec","private","data","private data","weakmap"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/internal-slot/issues"},"homepage":"https://github.com/ljharb/internal-slot#readme","engines":{"node":">= 0.4"},"devDependencies":{"@ljharb/eslint-config":"^17.5.0","aud":"^1.1.3","auto-changelog":"^2.2.1","eslint":"^7.18.0","foreach":"^2.0.5","nyc":"^10.3.2","object-inspect":"^1.9.0","safe-publish-latest":"^1.1.4","tape":"^5.1.1"},"dependencies":{"get-intrinsic":"^1.1.0","has":"^1.0.3","side-channel":"^1.0.4"},"auto-changelog":{"output":"CHANGELOG.md","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"94c565fba1d59f1f5dc510c66e9d3554240c7b14","_id":"internal-slot@1.0.3","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"shasum":"7347e307deeea2faac2ac6205d4bc7d34967f59c","size":5626,"noattachment":false,"key":"/internal-slot/-/internal-slot-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/internal-slot/download/internal-slot-1.0.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/internal-slot_1.0.3_1611692093252_0.5701073709385671"},"_hasShrinkwrap":false,"publish_time":1611692093516,"_cnpm_publish_time":1611692093516},"1.0.2":{"name":"internal-slot","version":"1.0.2","description":"ES spec-like internal slots","main":"index.js","scripts":{"prepublish":"safe-publish-latest","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)\")\"","pretest":"npm run lint","lint":"eslint .","tests-only":"node test","test":"npm run tests-only","posttest":"npx aud"},"repository":{"type":"git","url":"git+https://github.com/ljharb/internal-slot.git"},"keywords":["internal","slot","internal slot","ecmascript","es","spec","private","data","private data","weakmap"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/internal-slot/issues"},"homepage":"https://github.com/ljharb/internal-slot#readme","engines":{"node":">= 0.4"},"devDependencies":{"@ljharb/eslint-config":"^15.1.0","auto-changelog":"^1.16.2","eslint":"^6.7.2","foreach":"^2.0.5","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","tape":"^4.12.0"},"dependencies":{"es-abstract":"^1.17.0-next.1","has":"^1.0.3","side-channel":"^1.0.2"},"auto-changelog":{"output":"CHANGELOG.md","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"f236165bc5fee44d37ff34fc22f0017e0617fbf4","_id":"internal-slot@1.0.2","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","dist":{"shasum":"9c2e9fb3cd8e5e4256c6f45fe310067fcfa378a3","size":5509,"noattachment":false,"key":"/internal-slot/-/internal-slot-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/internal-slot/download/internal-slot-1.0.2.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/internal-slot_1.0.2_1576875574402_0.059510546321444924"},"_hasShrinkwrap":false,"publish_time":1576875574523,"_cnpm_publish_time":1576875574523},"1.0.1":{"name":"internal-slot","version":"1.0.1","description":"ES spec-like internal slots","main":"index.js","scripts":{"prepublish":"safe-publish-latest","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)\")\"","pretest":"npm run lint","lint":"eslint .","tests-only":"node test","test":"npm run tests-only","posttest":"npx aud"},"repository":{"type":"git","url":"git+https://github.com/ljharb/internal-slot.git"},"keywords":["internal","slot","internal slot","ecmascript","es","spec","private","data","private data","weakmap"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/internal-slot/issues"},"homepage":"https://github.com/ljharb/internal-slot#readme","engines":{"node":">= 0.4"},"devDependencies":{"@ljharb/eslint-config":"^15.0.2","auto-changelog":"^1.16.2","eslint":"^6.7.2","foreach":"^2.0.5","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","tape":"^4.11.0"},"dependencies":{"es-abstract":"^1.16.2","has":"^1.0.3","side-channel":"^1.0.1"},"auto-changelog":{"output":"CHANGELOG.md","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"2df57fb55542977e3a61548b4b9cbb3cda5e40d7","_id":"internal-slot@1.0.1","_nodeVersion":"13.2.0","_npmVersion":"6.13.1","dist":{"shasum":"84e940f560e6f1547a979dafbc59ffa9525d8226","size":5415,"noattachment":false,"key":"/internal-slot/-/internal-slot-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/internal-slot/download/internal-slot-1.0.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/internal-slot_1.0.1_1575272895002_0.24797653513859852"},"_hasShrinkwrap":false,"publish_time":1575272895146,"_cnpm_publish_time":1575272895146},"1.0.0":{"name":"internal-slot","version":"1.0.0","description":"ES spec-like internal slots","main":"index.js","scripts":{"prepublish":"safe-publish-latest","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)\")\"","pretest":"npm run lint","lint":"eslint .","tests-only":"node test","test":"npm run tests-only","posttest":"npx aud"},"repository":{"type":"git","url":"git+https://github.com/ljharb/internal-slot.git"},"keywords":["internal","slot","internal slot","ecmascript","es","spec","private","data","private data","weakmap"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/internal-slot/issues"},"homepage":"https://github.com/ljharb/internal-slot#readme","engines":{"node":">= 0.4"},"devDependencies":{"@ljharb/eslint-config":"^14.1.0","auto-changelog":"^1.16.1","eslint":"^6.5.1","foreach":"^2.0.5","object-inspect":"^1.6.0","safe-publish-latest":"^1.1.3","tape":"^4.11.0"},"dependencies":{"es-abstract":"^1.16.0","has":"^1.0.3"},"auto-changelog":{"output":"CHANGELOG.md","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"1d86b7bf3bb84a8772e9faf1b37bc4883e1bb29d","_id":"internal-slot@1.0.0","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"shasum":"ac737889aa55002ac24dff28beaa4efe83898b3c","size":5413,"noattachment":false,"key":"/internal-slot/-/internal-slot-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/internal-slot/download/internal-slot-1.0.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/internal-slot_1.0.0_1571637607499_0.768492863794743"},"_hasShrinkwrap":false,"publish_time":1571637607641,"_cnpm_publish_time":1571637607641}},"readme":"# internal-slot <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\nTruly private storage, akin to the JS spec’s concept of internal slots.\n\nUses a WeakMap when available; a Map when not; and a regular object in even older engines. Performance and garbage collection behavior will reflect the environment’s capabilities accordingly.\n\n## Example\n\n```js\nvar SLOT = require('internal-slot');\nvar assert = require('assert');\n\nvar o = {};\n\nassert.throws(function () { SLOT.assert(o, 'foo'); });\n\nassert.equal(SLOT.has(o, 'foo'), false);\nassert.equal(SLOT.get(o, 'foo'), undefined);\n\nSLOT.set(o, 'foo', 42);\n\nassert.equal(SLOT.has(o, 'foo'), true);\nassert.equal(SLOT.get(o, 'foo'), 42);\n\nassert.doesNotThrow(function () { SLOT.assert(o, 'foo'); });\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/internal-slot\n[npm-version-svg]: https://versionbadg.es/ljharb/internal-slot.svg\n[deps-svg]: https://david-dm.org/ljharb/internal-slot.svg\n[deps-url]: https://david-dm.org/ljharb/internal-slot\n[dev-deps-svg]: https://david-dm.org/ljharb/internal-slot/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/internal-slot#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/internal-slot.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/internal-slot.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/internal-slot.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=internal-slot\n[codecov-image]: https://codecov.io/gh/ljharb/internal-slot/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/internal-slot/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/internal-slot\n[actions-url]: https://github.com/ljharb/internal-slot/actions\n","_attachments":{},"homepage":"https://github.com/ljharb/internal-slot#readme","bugs":{"url":"https://github.com/ljharb/internal-slot/issues"},"license":"MIT"}