{"_id":"define-properties","_rev":"3013846","name":"define-properties","description":"Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.","dist-tags":{"latest":"1.2.1"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2023-09-19T07:26:38.000Z","created":"2015-01-04T08:34:45.318Z","1.2.1":"2023-09-13T06:05:13.962Z","1.2.0":"2023-02-10T17:02:02.316Z","1.1.4":"2022-04-15T06:15:43.631Z","1.1.3":"2018-08-15T04:40:39.246Z","1.1.2":"2015-10-14T22:28:41.286Z","1.1.1":"2015-07-21T07:17:08.897Z","1.1.0":"2015-07-02T06:52:56.628Z","1.0.2":"2015-05-24T03:26:06.197Z","1.0.1":"2015-01-06T22:29:12.451Z","1.0.0":"2015-01-04T08:34:45.318Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git://github.com/ljharb/define-properties.git"},"versions":{"1.2.1":{"name":"define-properties","version":"1.2.1","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint --ext=js,mjs .","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://github.com/ljharb/define-properties.git"},"keywords":["Object.defineProperty","Object.defineProperties","object","property descriptor","descriptor","define","ES5"],"dependencies":{"define-data-property":"^1.0.1","has-property-descriptors":"^1.0.0","object-keys":"^1.1.1"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","eslint":"=8.8.0","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true,"startingVersion":"1.1.5"},"publishConfig":{"ignore":[".github/workflows","test/"]},"_id":"define-properties@1.2.1","gitHead":"d7a4db30214eb06d3997dc3e662c11dfe95b25bd","bugs":{"url":"https://github.com/ljharb/define-properties/issues"},"homepage":"https://github.com/ljharb/define-properties#readme","_nodeVersion":"20.6.0","_npmVersion":"9.8.1","dist":{"shasum":"10781cc616eb951a80a034bafcaa7377f6af2b6c","size":5203,"noattachment":false,"key":"/define-properties/-/define-properties-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-properties/download/define-properties-1.2.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/define-properties_1.2.1_1694585113776_0.7418978055551875"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-13T06:05:13.962Z","publish_time":1694585113962,"_source_registry_name":"default","_cnpm_publish_time":1694585113962},"1.2.0":{"name":"define-properties","version":"1.2.0","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint --ext=js,mjs .","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://github.com/ljharb/define-properties.git"},"keywords":["Object.defineProperty","Object.defineProperties","object","property descriptor","descriptor","define","ES5"],"dependencies":{"has-property-descriptors":"^1.0.0","object-keys":"^1.1.1"},"devDependencies":{"@ljharb/eslint-config":"^21.0.1","aud":"^2.0.2","auto-changelog":"^2.4.0","eslint":"=8.8.0","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.3"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true,"startingVersion":"1.1.5"},"publishConfig":{"ignore":[".github/workflows","test/"]},"gitHead":"aa5afa274d736c1ebd59e403b5b3b5b404689a57","bugs":{"url":"https://github.com/ljharb/define-properties/issues"},"homepage":"https://github.com/ljharb/define-properties#readme","_id":"define-properties@1.2.0","_nodeVersion":"19.6.0","_npmVersion":"9.4.0","dist":{"shasum":"52988570670c9eacedd8064f4a990f2405849bd5","size":5093,"noattachment":false,"key":"/define-properties/-/define-properties-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-properties/download/define-properties-1.2.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/define-properties_1.2.0_1676048522165_0.7917569075351913"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-10T17:02:02.316Z","publish_time":1676048522316,"_cnpm_publish_time":1676048522316},"1.1.4":{"name":"define-properties","version":"1.1.4","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.","license":"MIT","main":"index.js","scripts":{"prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint --ext=js,mjs ."},"repository":{"type":"git","url":"git://github.com/ljharb/define-properties.git"},"keywords":["Object.defineProperty","Object.defineProperties","object","property descriptor","descriptor","define","ES5"],"dependencies":{"has-property-descriptors":"^1.0.0","object-keys":"^1.1.1"},"devDependencies":{"@ljharb/eslint-config":"^21.0.0","aud":"^2.0.0","eslint":"=8.8.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.5.3"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"08fa234e22964a179aad624bed13eca44ad8c6b4","bugs":{"url":"https://github.com/ljharb/define-properties/issues"},"homepage":"https://github.com/ljharb/define-properties#readme","_id":"define-properties@1.1.4","_nodeVersion":"17.9.0","_npmVersion":"8.3.1","dist":{"shasum":"0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1","size":4301,"noattachment":false,"key":"/define-properties/-/define-properties-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-properties/download/define-properties-1.1.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/define-properties_1.1.4_1650003343480_0.7576999598646093"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-15T06:16:06.903Z","publish_time":1650003343631,"_cnpm_publish_time":1650003343631},"1.1.3":{"name":"define-properties","version":"1.1.3","author":{"name":"Jordan Harband"},"description":"Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.","license":"MIT","main":"index.js","scripts":{"pretest":"npm run --silent lint","test":"npm run --silent tests-only","posttest":"npm run --silent security","tests-only":"node test/index.js","coverage":"covert test/*.js","coverage-quiet":"covert test/*.js --quiet","lint":"npm run --silent jscs && npm run --silent eslint","jscs":"jscs test/*.js *.js","eslint":"eslint test/*.js *.js","security":"nsp check"},"repository":{"type":"git","url":"git://github.com/ljharb/define-properties.git"},"keywords":["Object.defineProperty","Object.defineProperties","object","property descriptor","descriptor","define","ES5"],"dependencies":{"object-keys":"^1.0.12"},"devDependencies":{"@ljharb/eslint-config":"^13.0.0","covert":"^1.1.0","eslint":"^5.3.0","jscs":"^3.0.7","nsp":"^3.2.1","tape":"^4.9.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"e5478e3d2880b90a97daa62d76abed34d91154dd","bugs":{"url":"https://github.com/ljharb/define-properties/issues"},"homepage":"https://github.com/ljharb/define-properties#readme","_id":"define-properties@1.1.3","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"cf88da6cbee26fe6db7094f61d870cbd84cee9f1","size":6295,"noattachment":false,"key":"/define-properties/-/define-properties-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-properties/download/define-properties-1.1.3.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/define-properties_1.1.3_1534308039180_0.8446271629420612"},"_hasShrinkwrap":false,"publish_time":1534308039246,"_cnpm_publish_time":1534308039246},"1.1.2":{"name":"define-properties","version":"1.1.2","author":{"name":"Jordan Harband"},"description":"Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.","license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node test/index.js && npm run security","coverage":"covert test/*.js","coverage-quiet":"covert test/*.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs test/*.js *.js","eslint":"eslint test/*.js *.js","eccheck":"editorconfig-tools check *.js **/*.js > /dev/null","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/define-properties.git"},"keywords":["Object.defineProperty","Object.defineProperties","object","property descriptor","descriptor","define","ES5"],"dependencies":{"foreach":"^2.0.5","object-keys":"^1.0.8"},"devDependencies":{"tape":"^4.2.1","covert":"^1.1.0","jscs":"^2.3.1","editorconfig-tools":"^0.1.1","nsp":"^1.1.0","eslint":"^1.6.0","@ljharb/eslint-config":"^1.3.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"6467a10e6f493d8a1a4f6ec8442ffee137aab7ba","bugs":{"url":"https://github.com/ljharb/define-properties/issues"},"homepage":"https://github.com/ljharb/define-properties#readme","_id":"define-properties@1.1.2","_shasum":"83a73f2fea569898fb737193c8f873caf6d45c94","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"83a73f2fea569898fb737193c8f873caf6d45c94","size":5381,"noattachment":false,"key":"/define-properties/-/define-properties-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-properties/download/define-properties-1.1.2.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1444861721286,"_cnpm_publish_time":1444861721286,"_hasShrinkwrap":false},"1.1.1":{"name":"define-properties","version":"1.1.1","author":{"name":"Jordan Harband"},"description":"Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.","license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node test/index.js && npm run security","coverage":"covert test/*.js","coverage-quiet":"covert test/*.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs test/*.js *.js","eslint":"eslint test/*.js *.js","eccheck":"editorconfig-tools check *.js **/*.js > /dev/null","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/define-properties.git"},"keywords":["Object.defineProperty","Object.defineProperties","object","property descriptor","descriptor","define","ES5"],"dependencies":{"foreach":"^2.0.5","object-keys":"^1.0.7"},"devDependencies":{"tape":"^4.0.1","covert":"^1.1.0","jscs":"^1.13.1","editorconfig-tools":"^0.1.1","nsp":"^1.0.3","eslint":"^1.0.0-rc-1"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"4647949f0b4da52f9968977a9be754e5e11c5ac4","bugs":{"url":"https://github.com/ljharb/define-properties/issues"},"homepage":"https://github.com/ljharb/define-properties#readme","_id":"define-properties@1.1.1","_shasum":"ac04abba5d32847f912cfbe41aed932faa14061f","_from":".","_npmVersion":"2.13.0","_nodeVersion":"2.4.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"ac04abba5d32847f912cfbe41aed932faa14061f","size":6674,"noattachment":false,"key":"/define-properties/-/define-properties-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-properties/download/define-properties-1.1.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1437463028897,"_cnpm_publish_time":1437463028897,"_hasShrinkwrap":false},"1.1.0":{"name":"define-properties","version":"1.1.0","author":{"name":"Jordan Harband"},"description":"Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.","license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node test/index.js && npm run security","coverage":"covert test/*.js","coverage-quiet":"covert test/*.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs test/*.js *.js","eslint":"eslint test/*.js *.js","eccheck":"editorconfig-tools check *.js **/*.js > /dev/null","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/define-properties.git"},"keywords":["Object.defineProperty","Object.defineProperties","object","property descriptor","descriptor","define","ES5"],"dependencies":{"foreach":"^2.0.5","object-keys":"^1.0.4"},"devDependencies":{"tape":"^4.0.0","covert":"^1.1.0","jscs":"^1.13.1","editorconfig-tools":"^0.1.1","nsp":"^1.0.3","eslint":"^0.24.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"0855002376afdcbc6c6c5d56cdb207cc69231535","bugs":{"url":"https://github.com/ljharb/define-properties/issues"},"homepage":"https://github.com/ljharb/define-properties#readme","_id":"define-properties@1.1.0","_shasum":"e445de572ba03584e707e6e7fa7757bcb61e2688","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"e445de572ba03584e707e6e7fa7757bcb61e2688","size":5981,"noattachment":false,"key":"/define-properties/-/define-properties-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-properties/download/define-properties-1.1.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1435819976628,"_cnpm_publish_time":1435819976628,"_hasShrinkwrap":false},"1.0.2":{"name":"define-properties","version":"1.0.2","author":{"name":"Jordan Harband"},"description":"Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.","license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node test/index.js && npm run security","coverage":"covert test/*.js","coverage-quiet":"covert test/*.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs test/*.js *.js","eslint":"eslint test/*.js *.js","eccheck":"editorconfig-tools check *.js **/*.js > /dev/null","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/define-properties.git"},"keywords":["Object.defineProperty","Object.defineProperties","object","property descriptor","descriptor","define","ES5"],"dependencies":{"foreach":"^2.0.5","object-keys":"^1.0.4"},"devDependencies":{"tape":"^4.0.0","covert":"^1.1.0","jscs":"^1.13.1","editorconfig-tools":"^0.1.1","nsp":"^1.0.1","eslint":"^0.21.2"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"37dd7335f8ec75f93ffb0768a321a8f277a2bc94","bugs":{"url":"https://github.com/ljharb/define-properties/issues"},"homepage":"https://github.com/ljharb/define-properties#readme","_id":"define-properties@1.0.2","_shasum":"6999cad02fd97bd62b06a9eb121d8d6966d48d37","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.2","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"6999cad02fd97bd62b06a9eb121d8d6966d48d37","size":5596,"noattachment":false,"key":"/define-properties/-/define-properties-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-properties/download/define-properties-1.0.2.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1432437966197,"_cnpm_publish_time":1432437966197,"_hasShrinkwrap":false},"1.0.1":{"name":"define-properties","version":"1.0.1","author":{"name":"Jordan Harband"},"description":"Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.","license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node test/index.js && npm run security","coverage":"covert test/*.js","coverage-quiet":"covert test/*.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs test/*.js *.js","eslint":"eslint test/*.js *.js","eccheck":"editorconfig-tools check *.js **/*.js > /dev/null","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/define-properties.git"},"keywords":["Object.defineProperty","Object.defineProperties","object","property descriptor","descriptor","define","ES5"],"dependencies":{"foreach":"~2.0.5","object-keys":"~1.0.3"},"devDependencies":{"tape":"~3.0.3","covert":"1.0.0","jscs":"~1.9.0","editorconfig-tools":"~0.0.1","nsp":"~0.5.2","eslint":"~0.11.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"0fc836602486b1360bb54f430c18cebba25a0288","bugs":{"url":"https://github.com/ljharb/define-properties/issues"},"homepage":"https://github.com/ljharb/define-properties","_id":"define-properties@1.0.1","_shasum":"aa2f1a1d38cc4ebaabf314ac1e77e024060e0ec0","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"aa2f1a1d38cc4ebaabf314ac1e77e024060e0ec0","size":5135,"noattachment":false,"key":"/define-properties/-/define-properties-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-properties/download/define-properties-1.0.1.tgz"},"directories":{},"publish_time":1420583352451,"_cnpm_publish_time":1420583352451,"_hasShrinkwrap":false},"1.0.0":{"name":"define-properties","version":"1.0.0","author":{"name":"Jordan Harband"},"description":"Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.","license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node test/index.js && npm run security","coverage":"covert test/*.js","coverage-quiet":"covert test/*.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs test/*.js *.js","eslint":"eslint test/*.js *.js","eccheck":"editorconfig-tools check *.js **/*.js > /dev/null","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/define-properties.git"},"keywords":["Object.defineProperty","Object.defineProperties","object","property descriptor","descriptor","define","ES5"],"dependencies":{"foreach":"~2.0.5","object-keys":"~1.0.2"},"devDependencies":{"tape":"~3.0.3","covert":"1.0.0","jscs":"~1.9.0","editorconfig-tools":"~0.0.1","nsp":"~0.5.2","eslint":"~0.11.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"7f59dd1723500ba6390a2a6fc330e20ad7a1f58c","bugs":{"url":"https://github.com/ljharb/define-properties/issues"},"homepage":"https://github.com/ljharb/define-properties","_id":"define-properties@1.0.0","_shasum":"64e04df26f37a219a4467b2cde19eb075de9d004","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"64e04df26f37a219a4467b2cde19eb075de9d004","size":5093,"noattachment":false,"key":"/define-properties/-/define-properties-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-properties/download/define-properties-1.0.0.tgz"},"directories":{},"publish_time":1420360485318,"_cnpm_publish_time":1420360485318,"_hasShrinkwrap":false}},"readme":"# define-properties <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\nDefine multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.\nExisting properties are not overridden. Accepts a map of property names to a predicate that, when true, force-overrides.\n\n## Example\n\n```js\nvar define = require('define-properties');\nvar assert = require('assert');\n\nvar obj = define({ a: 1, b: 2 }, {\n\ta: 10,\n\tb: 20,\n\tc: 30\n});\nassert(obj.a === 1);\nassert(obj.b === 2);\nassert(obj.c === 30);\nif (define.supportsDescriptors) {\n\tassert.deepEqual(Object.keys(obj), ['a', 'b']);\n\tassert.deepEqual(Object.getOwnPropertyDescriptor(obj, 'c'), {\n\t\tconfigurable: true,\n\t\tenumerable: false,\n\t\tvalue: 30,\n\t\twritable: false\n\t});\n}\n```\n\nThen, with predicates:\n```js\nvar define = require('define-properties');\nvar assert = require('assert');\n\nvar obj = define({ a: 1, b: 2, c: 3 }, {\n\ta: 10,\n\tb: 20,\n\tc: 30\n}, {\n\ta: function () { return false; },\n\tb: function () { return true; }\n});\nassert(obj.a === 1);\nassert(obj.b === 20);\nassert(obj.c === 3);\nif (define.supportsDescriptors) {\n\tassert.deepEqual(Object.keys(obj), ['a', 'c']);\n\tassert.deepEqual(Object.getOwnPropertyDescriptor(obj, 'b'), {\n\t\tconfigurable: true,\n\t\tenumerable: false,\n\t\tvalue: 20,\n\t\twritable: false\n\t});\n}\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/define-properties\n[npm-version-svg]: https://versionbadg.es/ljharb/define-properties.svg\n[deps-svg]: https://david-dm.org/ljharb/define-properties.svg\n[deps-url]: https://david-dm.org/ljharb/define-properties\n[dev-deps-svg]: https://david-dm.org/ljharb/define-properties/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/define-properties#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/define-properties.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/define-properties.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/define-properties.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=define-properties\n[codecov-image]: https://codecov.io/gh/ljharb/define-properties/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/define-properties/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/define-properties\n[actions-url]: https://github.com/ljharb/define-properties/actions\n","_attachments":{},"homepage":"https://github.com/ljharb/define-properties#readme","bugs":{"url":"https://github.com/ljharb/define-properties/issues"},"license":"MIT"}