{"_id":"object.defineproperties","_rev":"3-d13f82a3952d6206e0c19fc677389119","name":"object.defineproperties","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"object.defineproperties","version":"1.0.0","description":"ES spec-compliant `Object.defineProperties` shim/polyfill/replacement that works as far down as ES3","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"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":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"aud --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/es-shims/Object.defineProperties.git"},"keywords":["javascript","ecmascript","polyfill","shim","Object","defineProperty","defineProperties"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Object.defineProperties/issues"},"homepage":"https://github.com/es-shims/Object.defineProperties","dependencies":{"define-properties":"^1.1.4","es-abstract":"^1.20.0"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.0","auto-changelog":"^2.4.0","call-bind":"^1.0.2","es-value-fixtures":"^1.4.1","eslint":"=8.8.0","evalmd":"^0.0.19","functions-have-names":"^1.2.3","has-symbols":"^1.0.3","npmignore":"^0.3.0","nyc":"^10.3.2","object.hasown":"^1.1.1","safe-publish-latest":"^2.0.0","tape":"^5.5.3"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"f6844bb0ebfdc6c58a7831801134102e8535ddaa","_id":"object.defineproperties@1.0.0","_nodeVersion":"18.0.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-7fj1y8DVdABKxAXjjUn754C+EGzZ9CmbasK7oB3CRDFF42TDDk1zY4DTke8fhGT+ttRDzQCEhDIfke0fxMdbsw==","shasum":"5acf40e176752c7818a6856a84fa7d4d7a8d2dbe","tarball":"https://registry.npmjs.org/object.defineproperties/-/object.defineproperties-1.0.0.tgz","fileCount":18,"unpackedSize":12901,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYbaP50B4Gx/+BkzKNmjkhevFNpPK9yAts4POKY6VSogIgVbyAbtfT24e1p3F29rLXbsD9AwuvnH9KyDLpoOnc1jQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidKFQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4Xw//dsjGaFoRub8Hj+7RP2bgWiA9cGTlQEzSJAInFZusPdz1UbmL\r\n7oW10NQyerovJZ2TOnftHr0mtQGIk5IHpmHpKCGZIlqwoFcJt+byH0zhIYUM\r\n6tzjNLI7LyQIaO2Aw/TRxNHCMB7YZh+KP+nLjW+cZLw1KZb69wP4eUmWYDK8\r\ncyUn4ffm0MQkf+Ars/+1np4m6UFp1PfBTAhRBJJ4wgTSeOq4RlAbC0Cc3Ijm\r\niMG8878QikJq2WcAWfzhmm3ScusU5d4KM4G1XMFw7ziX25mJvtcPhrfNixEI\r\nVeNQ6OotEkF8RrWGr+vR14fzjaSq51NAmHTDL+6SPDfVx+AeZJE9v+rAfeYP\r\niP6q53ErotENKJI+ocqJEWwmltOj9PMfbGCvXjDyovq6aNT7wN1dTHnoPXO1\r\nXBc0m4D5KKkOODrGRNiuzuDPrfb4k7L6jf0LiZNCsvXf3g5OaguvcHRJyxTs\r\n0lQFxCf1zKsLwm9wChgH1fhrsVQoyTDWKzVy8e7P11MfGw8VxN03Nn9YPZ10\r\nsy8NDcUjtr/1nFBOb9u1RGuvnVuwh5s/6DsFvhTEsjosWDfB1yXRm5/0V2VC\r\nCUDNOVIwRRIu+hlhlkIY5t41J3CssnWKdEYmx8JrFV6XoOW04YIsXIZw83HI\r\nG33Rg9glCNcoaUzGyL3uDDNyy2Io5jPxWTE=\r\n=IF7y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.defineproperties_1.0.0_1651810640353_0.8741607594901479"},"_hasShrinkwrap":false},"1.0.1":{"name":"object.defineproperties","version":"1.0.1","description":"ES spec-compliant `Object.defineProperties` shim/polyfill/replacement that works as far down as ES3","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"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":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"aud --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/es-shims/Object.defineProperties.git"},"keywords":["javascript","ecmascript","polyfill","shim","Object","defineProperty","defineProperties"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Object.defineProperties/issues"},"homepage":"https://github.com/es-shims/Object.defineProperties","dependencies":{"define-properties":"^1.1.4","es-abstract":"^1.20.4"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.1","auto-changelog":"^2.4.0","call-bind":"^1.0.2","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","functions-have-names":"^1.2.3","has-property-descriptors":"^1.0.0","has-symbols":"^1.0.3","in-publish":"^2.0.1","mock-property":"^1.0.0","npmignore":"^0.3.0","nyc":"^10.3.2","object.entries":"^1.1.5","object.hasown":"^1.1.1","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"74c5aa78c40461c25930389665c2ed6afaab7a2b","_id":"object.defineproperties@1.0.1","_nodeVersion":"19.0.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-vL4cqMOeJKxCF5oeV9qv0oynB0WAPkX5aksXDjhW2EpaGseQxTODFwlJLgbWUtY6sFxs7Vi9YjTnMjBMMGF0Aw==","shasum":"bd2d5c28c3fde06d027ebf5928b1451964df7a3f","tarball":"https://registry.npmjs.org/object.defineproperties/-/object.defineproperties-1.0.1.tgz","fileCount":18,"unpackedSize":16250,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZ+dNQVl55ZG9WEHs9Cfk7WlrHLLDEDQMbaVxSCFCYqgIhANuWZesayPFoXxFINoyjnKM1VAbrsQhpybSQN+tzkLgn"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZ0WhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPgg//S1p5fbqQ6pCCa5gs7PJZujrJ302X7Mlcxdz6J/6QY2FghmPT\r\nTuC/nxfMBh4EHeUWBju8IaggUjvnOsWDXEXuGEZB3e/Vhyw76j0AMTSkAQTw\r\nPWJhcG7ttyxSGF3kJDk3iggXuGnQx8/5hpPPf78S1v8IuuFxCyoh3W0+F2Cs\r\nhEawQF1a28Nxf6wsBJfwIFdKOD8dARtrgrgw8ETHi0Zb7a+xXUpjABrwVP/q\r\nI0R9IXPDufQJ/PPwdm18t/7XrqnfUaoFwe6y9QQamnGWz3K4l4X+huR8A+m9\r\npKjCQu3bTO5r/qe1ncuENTAevdwDfCK+egfyWjOXM1qgJ1PYwax5hq0UExhl\r\nJO0cx7meiTXM/xil23G6Pje0xKbaTgBf3tdHtiUqoGF7RXn1G+ZKeJqbmF0p\r\nEJruTeh4dHNf98hH1l1ht0/gfrf+Oo5I/Rld+Mn6MaGHrOZGc5/lF1IXl7hA\r\nzaK29/gjTzY0PLya95HXx7UBwuG5gs+HxlKe6X+9oonWql05/I96SUHFtZM6\r\nSt4yvGPBu4XSrg92tpvpiUlN7k5F/VLdLs7YNOb8DVqO/+2bhrCVc+G6A6eM\r\nHJ3a2XpkJzutYZ3a+FYWUGjX51qOie/FmYfEKTwmbLRjw71CoEbY7UyZ79Wh\r\nnyNHE2bIocm0SUodvYnjI7RaQdp0eDSPU/0=\r\n=kTrh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.defineproperties_1.0.1_1667712417457_0.5276537109979116"},"_hasShrinkwrap":false},"1.0.2":{"name":"object.defineproperties","version":"1.0.2","description":"ES spec-compliant `Object.defineProperties` shim/polyfill/replacement that works as far down as ES3","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"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":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"aud --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/es-shims/Object.defineProperties.git"},"keywords":["javascript","ecmascript","polyfill","shim","Object","defineProperty","defineProperties"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Object.defineProperties/issues"},"homepage":"https://github.com/es-shims/Object.defineProperties","dependencies":{"define-properties":"^1.2.0","es-abstract":"^1.22.1"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","call-bind":"^1.0.2","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","functions-have-names":"^1.2.3","has-property-descriptors":"^1.0.0","has-symbols":"^1.0.3","in-publish":"^2.0.1","mock-property":"^1.0.0","npmignore":"^0.3.0","nyc":"^10.3.2","object.entries":"^1.1.7","object.hasown":"^1.1.3","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"object.defineproperties@1.0.2","gitHead":"152e80f9ccfcb3ec6f5f08ab1f6b8d4bb0206bbd","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-zKnzvCsxQ+36melnR6tOb6eoeTItEbI2VY38Bg0o97Hy/woRXmgdtbIjtT/NICaet1tHCEXydTlJGJUO1Wl8OQ==","shasum":"71cde7b8e150080545c2969885c8a4a6f453bda4","tarball":"https://registry.npmjs.org/object.defineproperties/-/object.defineproperties-1.0.2.tgz","fileCount":18,"unpackedSize":16756,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGEE49R0lT5f/PiWLpW5PbpPO5t36HYXOOThCMbSof7EAiEA7zGOzG7aRzYTLPOzScNQkpgTtSFqALAban0JLJAC5Ok="}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.defineproperties_1.0.2_1693282694827_0.14240100259192467"},"_hasShrinkwrap":false},"1.0.3":{"name":"object.defineproperties","version":"1.0.3","description":"ES spec-compliant `Object.defineProperties` shim/polyfill/replacement that works as far down as ES3","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"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":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"aud --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/es-shims/Object.defineProperties.git"},"keywords":["javascript","ecmascript","polyfill","shim","Object","defineProperty","defineProperties"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Object.defineProperties/issues"},"homepage":"https://github.com/es-shims/Object.defineProperties","dependencies":{"define-properties":"^1.2.1","es-abstract":"^1.23.1","es-object-atoms":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","call-bind":"^1.0.7","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","functions-have-names":"^1.2.3","has-property-descriptors":"^1.0.2","has-symbols":"^1.0.3","in-publish":"^2.0.1","mock-property":"^1.0.3","npmignore":"^0.3.1","nyc":"^10.3.2","object.entries":"^1.1.7","object.hasown":"^1.1.3","safe-publish-latest":"^2.0.0","tape":"^5.7.5"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"object.defineproperties@1.0.3","gitHead":"2918d57c534d780151787a66549290ebb62c2a76","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-b2BiCZ0E63BDENPeuALoWidl/K/kwUxqwIw4IgeWhd8bXgbu5aep9Q6flY3fbFrKVOFBeGhqiQKccRwEJwOgag==","shasum":"c18c5f9c720eacd3d5e6fb3175005ccb24eac90b","tarball":"https://registry.npmjs.org/object.defineproperties/-/object.defineproperties-1.0.3.tgz","fileCount":18,"unpackedSize":17349,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0qFfbP7XvMsmk5aLGdaJqYNHV06NwDbPCnro1DoHsygIhAMHwVdX1Dks0S2VuJM85eb2Kbhp+1LBoqV3w6UcWVFwp"}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.defineproperties_1.0.3_1710658963298_0.05542983181082639"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-06T04:17:20.352Z","1.0.0":"2022-05-06T04:17:20.583Z","modified":"2024-03-17T07:02:44.404Z","1.0.1":"2022-11-06T05:26:57.624Z","1.0.2":"2023-08-29T04:18:14.993Z","1.0.3":"2024-03-17T07:02:43.447Z"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"description":"ES spec-compliant `Object.defineProperties` shim/polyfill/replacement that works as far down as ES3","homepage":"https://github.com/es-shims/Object.defineProperties","keywords":["javascript","ecmascript","polyfill","shim","Object","defineProperty","defineProperties"],"repository":{"type":"git","url":"git+https://github.com/es-shims/Object.defineProperties.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"bugs":{"url":"https://github.com/es-shims/Object.defineProperties/issues"},"license":"MIT","readme":"# object.defineproperties <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\nAn ES spec-compliant `Object.defineProperties` shim. Invoke its \"shim\" method to shim `Object.defineProperties` if it is unavailable or noncompliant.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://tc39.es/ecma262/#sec-object.defineproperties).\n\nMost common usage:\n```js\nvar assert = require('assert');\nvar defineProperties = require('object.defineproperties');\n\nvar descriptors = {\n\ta: {\n\t\tvalue: 2\n\t},\n\tc: {\n\t\tconfigurable: true,\n\t\tenumerable: true,\n\t\tvalue: 3,\n\t\twritable: true\n\t}\n};\n\nvar obj = { a: 1, b: 2 };\nvar result = defineProperties(obj, descriptors);\n\nassert.equal(obj, result); // same object\nassert.deepEqual(obj, { a: 2, b: 2, c: 3 });\n\ndefineProperties.shim();\n\nassert.deepEqual(\n\tObject.defineProperties({ a: 1, b: 2 }, descriptors),\n\tdefineProperties({ a: 1, b: 2 }, descriptors)\n);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/object.defineproperties\n[npm-version-svg]: https://versionbadg.es/es-shims/Object.defineProperties.svg\n[deps-svg]: https://david-dm.org/es-shims/Object.defineProperties.svg\n[deps-url]: https://david-dm.org/es-shims/Object.defineProperties\n[dev-deps-svg]: https://david-dm.org/es-shims/Object.defineProperties/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Object.defineProperties#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/object.defineproperties.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/object.defineproperties.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/object.defineproperties.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=object.defineproperties\n[codecov-image]: https://codecov.io/gh/es-shims/Object.defineProperties/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Object.defineProperties/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Object.defineProperties\n[actions-url]: https://github.com/es-shims/Object.defineProperties/actions\n","readmeFilename":"README.md"}