{"_id":"unherit","_rev":"387522","name":"unherit","description":"Clone a constructor without affecting the super-class","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2021-08-04T03:36:08.000Z","created":"2015-07-26T17:38:47.581Z","3.0.0":"2021-07-16T08:16:43.763Z","2.0.0":"2021-03-09T10:10:23.053Z","1.1.3":"2020-01-26T12:27:39.333Z","1.1.2":"2019-05-11T07:29:02.452Z","1.1.1":"2018-04-28T10:42:56.185Z","1.1.0":"2016-08-18T11:08:17.077Z","1.0.4":"2015-07-28T17:57:29.644Z","1.0.3":"2015-07-27T17:17:20.139Z","1.0.2":"2015-07-27T16:41:16.459Z","1.0.1":"2015-07-26T18:25:37.177Z","1.0.0":"2015-07-26T17:38:47.581Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"versions":{"3.0.0":{"name":"unherit","version":"3.0.0","description":"Clone a constructor without affecting the super-class","license":"MIT","keywords":["clone","super","class","constructor"],"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"bugs":{"url":"https://github.com/wooorm/unherit/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.2","tape":"^5.0.0","type-coverage":"^2.18.0","typescript":"^4.3.5","xo":"^0.39.0"},"scripts":{"prepublishOnly":"npm run build","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"#":"we need a couple `any`s in parameters","ignoreFiles":["index.d.ts"]},"gitHead":"2b7ed17e85ef31f40309f38efa7b7200297a8ef6","homepage":"https://github.com/wooorm/unherit#readme","_id":"unherit@3.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"83d69af9d8e3afd28fa51cff9ee84de7a1d82a6b","size":2732,"noattachment":false,"key":"/unherit/-/unherit-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unherit/download/unherit-3.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unherit_3.0.0_1626423403603_0.3112285698249371"},"_hasShrinkwrap":false,"publish_time":1626423403763,"_cnpm_publish_time":1626423403763},"2.0.0":{"name":"unherit","version":"2.0.0","description":"Clone a constructor without affecting the super-class","license":"MIT","keywords":["clone","super","class","constructor"],"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"bugs":{"url":"https://github.com/wooorm/unherit/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"inherits":"^2.0.0"},"devDependencies":{"@types/inherits":"^0.0.30","@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","typescript":"^4.0.0","xo":"^0.38.0"},"scripts":{"prepublishOnly":"npm run build","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","prebuild":"rimraf \"*.d.ts\"","build":"tsc","test-api":"node test","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-var":"off","prefer-arrow-callback":"off","unicorn/prefer-reflect-apply":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"cde94bdebb740017609bb3146f98c5ca8c5c810b","homepage":"https://github.com/wooorm/unherit#readme","_id":"unherit@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.1","dist":{"shasum":"eae9ba759ae8fb50ee5843487a54322d9e5e820c","size":2913,"noattachment":false,"key":"/unherit/-/unherit-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unherit/download/unherit-2.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unherit_2.0.0_1615284622915_0.11801889520627662"},"_hasShrinkwrap":false,"publish_time":1615284623053,"_cnpm_publish_time":1615284623053},"1.1.3":{"name":"unherit","version":"1.1.3","description":"Clone a constructor without affecting the super-class","license":"MIT","keywords":["clone","super","class","constructor"],"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"bugs":{"url":"https://github.com/wooorm/unherit/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"inherits":"^2.0.0","xtend":"^4.0.0"},"devDependencies":{"browserify":"^16.0.0","nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","xo":"^0.25.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s unherit -o unherit.js","build-mangle":"browserify . -s unherit -p tinyify -o unherit.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-reflect-apply":"off","guard-for-in":"off"},"ignores":["unherit.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"2e64baeea9450acd28bd50d1a0bf87ee067e06d3","homepage":"https://github.com/wooorm/unherit#readme","_id":"unherit@1.1.3","_nodeVersion":"13.0.1","_npmVersion":"6.13.6","dist":{"shasum":"6c9b503f2b41b262330c80e91c8614abdaa69c22","size":2519,"noattachment":false,"key":"/unherit/-/unherit-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/unherit/download/unherit-1.1.3.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unherit_1.1.3_1580041659199_0.6613153759563415"},"_hasShrinkwrap":false,"publish_time":1580041659333,"_cnpm_publish_time":1580041659333},"1.1.2":{"name":"unherit","version":"1.1.2","description":"Clone a constructor without affecting the super-class","license":"MIT","keywords":["clone","super","class","constructor"],"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"bugs":{"url":"https://github.com/wooorm/unherit/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"inherits":"^2.0.1","xtend":"^4.0.1"},"devDependencies":{"browserify":"^16.0.0","nyc":"^14.0.0","prettier":"^1.12.1","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.5.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s unherit -o unherit.js","build-mangle":"browserify . -s unherit -p tinyify -o unherit.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"guard-for-in":"off"},"ignores":["unherit.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"7e6d9c419f6ee67983f76f98830a70aeb2cc1cb4","homepage":"https://github.com/wooorm/unherit#readme","_id":"unherit@1.1.2","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"shasum":"14f1f397253ee4ec95cec167762e77df83678449","size":2472,"noattachment":false,"key":"/unherit/-/unherit-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/unherit/download/unherit-1.1.2.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unherit_1.1.2_1557559742337_0.6399746231618841"},"_hasShrinkwrap":false,"publish_time":1557559742452,"_cnpm_publish_time":1557559742452},"1.1.1":{"name":"unherit","version":"1.1.1","description":"Clone a constructor without affecting the super-class","license":"MIT","keywords":["clone","super","class","constructor"],"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"bugs":{"url":"https://github.com/wooorm/unherit/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{"inherits":"^2.0.1","xtend":"^4.0.1"},"devDependencies":{"browserify":"^16.0.0","esmangle":"^1.0.1","nyc":"^11.0.0","prettier":"^1.12.1","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","xo":"^0.20.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js --bare -s unherit > unherit.js","build-mangle":"esmangle unherit.js > unherit.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"no-var":"off","prefer-arrow-callback":"off","guard-for-in":"off"},"ignores":["unherit.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"e41f0acebc397bafde87b16db784c5fd40b69bd0","homepage":"https://github.com/wooorm/unherit#readme","_id":"unherit@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"132748da3e88eab767e08fabfbb89c5e9d28628c","size":2444,"noattachment":false,"key":"/unherit/-/unherit-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unherit/download/unherit-1.1.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unherit_1.1.1_1524912176106_0.7610550529665316"},"_hasShrinkwrap":false,"publish_time":1524912176185,"_cnpm_publish_time":1524912176185},"1.1.0":{"name":"unherit","version":"1.1.0","description":"Clone a constructor without affecting the super-class","license":"MIT","keywords":["clone","super","class","constructor"],"files":["index.js"],"dependencies":{"inherits":"^2.0.1","xtend":"^4.0.1"},"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"bugs":{"url":"https://github.com/wooorm/unherit/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"devDependencies":{"browserify":"^13.0.1","esmangle":"^1.0.1","nyc":"^8.1.0","remark-cli":"^1.0.0","remark-comment-config":"^4.0.0","remark-github":"^5.0.0","remark-lint":"^4.0.0","remark-validate-links":"^4.0.0","tape":"^4.0.0","xo":"^0.16.0"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js --bare -s unherit > unherit.js","build-mangle":"esmangle unherit.js > unherit.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"xo":{"space":true,"rules":{"guard-for-in":"off"},"ignores":["unherit.js"]},"remarkConfig":{"output":true,"plugins":{"comment-config":null,"github":null,"lint":{"heading-increment":false},"validate-links":null},"settings":{"bullet":"*"}},"gitHead":"43822edbe663824109960ea8bc38c45c890d561a","homepage":"https://github.com/wooorm/unherit#readme","_id":"unherit@1.1.0","_shasum":"6b9aaedfbf73df1756ad9e316dd981885840cd7d","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"6b9aaedfbf73df1756ad9e316dd981885840cd7d","size":2523,"noattachment":false,"key":"/unherit/-/unherit-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unherit/download/unherit-1.1.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/unherit-1.1.0.tgz_1471518495151_0.7505096562672406"},"directories":{},"publish_time":1471518497077,"_cnpm_publish_time":1471518497077,"_hasShrinkwrap":false},"1.0.4":{"name":"unherit","version":"1.0.4","description":"Clone a constructor without affecting the super-class","license":"MIT","keywords":["clone","super","class","constructor"],"dependencies":{"clone":"^1.0.1","inherits":"^2.0.1"},"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"files":["index.js"],"devDependencies":{"browserify":"^11.0.0","eslint":"^0.24.0","esmangle":"^1.0.0","istanbul":"^0.3.0","jscs":"^1.0.0","jscs-jsdoc":"^1.0.0","mdast":"^0.27.1","mdast-comment-config":"^0.1.2","mdast-github":"^0.3.0","mdast-lint":"^0.4.0","mdast-man":"^0.4.0","mdast-toc":"^0.5.0","mdast-validate-links":"^0.3.0","mocha":"^2.0.0"},"scripts":{"test-api":"mocha --check-leaks test.js","test-coveralls":"istanbul cover _mocha --report lcovonly -- --check-leaks test.js","test-coverage":"istanbul cover _mocha -- -- test.js","test-travis":"npm run test-coveralls","test":"npm run test-api","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","make":"npm run lint && npm run test-coverage","build-md":"mdast . --quiet","build-bundle":"browserify index.js --bare -s unherit > unherit.js","postbuild-bundle":"esmangle unherit.js > unherit.min.js","build":"npm run build-md && npm run build-bundle"},"gitHead":"03c7c3e7ff84f443f7418e39d28fb45f859d660a","bugs":{"url":"https://github.com/wooorm/unherit/issues"},"homepage":"https://github.com/wooorm/unherit#readme","_id":"unherit@1.0.4","_shasum":"b9bcf6487dd04d4782665802dbb4b4f05d618503","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.3","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"b9bcf6487dd04d4782665802dbb4b4f05d618503","size":2898,"noattachment":false,"key":"/unherit/-/unherit-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/unherit/download/unherit-1.0.4.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"publish_time":1438106249644,"_cnpm_publish_time":1438106249644,"_hasShrinkwrap":false},"1.0.3":{"name":"unherit","version":"1.0.3","description":"Clone a constructor without affecting the super-class","license":"MIT","keywords":["clone","super","class","constructor"],"dependencies":{"clone":"^1.0.1","inherits":"^2.0.1"},"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"files":["index.js"],"devDependencies":{"browserify":"^11.0.0","eslint":"^0.24.0","esmangle":"^1.0.0","istanbul":"^0.3.0","jscs":"^1.0.0","jscs-jsdoc":"^1.0.0","mdast":"^0.27.1","mdast-comment-config":"^0.1.2","mdast-github":"^0.3.0","mdast-lint":"^0.4.0","mdast-man":"^0.4.0","mdast-toc":"^0.5.0","mdast-validate-links":"^0.3.0","mocha":"^2.0.0"},"scripts":{"test-api":"mocha --check-leaks test.js","test-coveralls":"istanbul cover _mocha --report lcovonly -- --check-leaks test.js","test-coverage":"istanbul cover _mocha -- -- test.js","test-travis":"npm run test-coveralls","test":"npm run test-api","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","make":"npm run lint && npm run test-coverage","build-md":"mdast . --quiet","build-bundle":"browserify index.js --bare -s unherit > unherit.js","postbuild-bundle":"esmangle unherit.js > unherit.min.js","build":"npm run build-md && npm run build-bundle"},"gitHead":"1876573845c9d53e1ba1a4d73b1d6ae17e43219e","bugs":{"url":"https://github.com/wooorm/unherit/issues"},"homepage":"https://github.com/wooorm/unherit#readme","_id":"unherit@1.0.3","_shasum":"7e13790cb56b0bf8347661ca0031a969a239bb61","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.3","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"7e13790cb56b0bf8347661ca0031a969a239bb61","size":2819,"noattachment":false,"key":"/unherit/-/unherit-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/unherit/download/unherit-1.0.3.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"publish_time":1438017440139,"_cnpm_publish_time":1438017440139,"_hasShrinkwrap":false},"1.0.2":{"name":"unherit","version":"1.0.2","description":"Clone a constructor without affecting the super-class","license":"MIT","keywords":["clone","super","class","constructor"],"dependencies":{"inherits":"^2.0.1"},"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"files":["index.js"],"devDependencies":{"browserify":"^11.0.0","clone":"^1.0.1","diff":"^1.0.0","eslint":"^0.24.0","esmangle":"^1.0.0","istanbul":"^0.3.0","jscs":"^1.0.0","jscs-jsdoc":"^1.0.0","mdast":"^0.27.1","mdast-comment-config":"^0.1.2","mdast-github":"^0.3.0","mdast-lint":"^0.4.0","mdast-man":"^0.4.0","mdast-toc":"^0.5.0","mdast-validate-links":"^0.3.0","mocha":"^2.0.0"},"scripts":{"test-api":"mocha --check-leaks test.js","test-coveralls":"istanbul cover _mocha --report lcovonly -- --check-leaks test.js","test-coverage":"istanbul cover _mocha -- -- test.js","test-travis":"npm run test-coveralls","test":"npm run test-api","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","make":"npm run lint && npm run test-coverage","build-md":"mdast . --quiet","build-bundle":"browserify index.js --bare -s unherit > unherit.js","postbuild-bundle":"esmangle unherit.js > unherit.min.js","build":"npm run build-md && npm run build-bundle"},"gitHead":"49768d133eac8dd7c0cd004dc24b010350323d95","bugs":{"url":"https://github.com/wooorm/unherit/issues"},"homepage":"https://github.com/wooorm/unherit#readme","_id":"unherit@1.0.2","_shasum":"5dabddedb19bfd070e44c3c8d52b12e9f9ab9305","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.3","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"5dabddedb19bfd070e44c3c8d52b12e9f9ab9305","size":2795,"noattachment":false,"key":"/unherit/-/unherit-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/unherit/download/unherit-1.0.2.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"publish_time":1438015276459,"_cnpm_publish_time":1438015276459,"_hasShrinkwrap":false},"1.0.1":{"name":"unherit","version":"1.0.1","description":"Clone a constructor without affecting the super-class","license":"MIT","keywords":["clone","super","class","constructor"],"dependencies":{"inherits":"^2.0.1"},"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"files":["index.js"],"devDependencies":{"browserify":"^11.0.0","clone":"^1.0.1","diff":"^1.0.0","eslint":"^0.24.0","esmangle":"^1.0.0","istanbul":"^0.3.0","jscs":"^1.0.0","jscs-jsdoc":"^1.0.0","mdast":"^0.27.1","mdast-comment-config":"^0.1.2","mdast-github":"^0.3.0","mdast-lint":"^0.4.0","mdast-man":"^0.4.0","mdast-toc":"^0.5.0","mdast-validate-links":"^0.3.0","mocha":"^2.0.0"},"scripts":{"test-api":"mocha --check-leaks test.js","test-coveralls":"istanbul cover _mocha --report lcovonly -- --check-leaks test.js","test-coverage":"istanbul cover _mocha -- -- test.js","test-travis":"npm run test-coveralls","test":"npm run test-api","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","make":"npm run lint && npm run test-coverage","build-md":"mdast . --quiet","build-bundle":"browserify index.js --bare -s unherit > unherit.js","postbuild-bundle":"esmangle unherit.js > unherit.min.js","build":"npm run build-md && npm run build-bundle"},"gitHead":"af306b2f67fef728a5e9a36b6467228654ae15b7","bugs":{"url":"https://github.com/wooorm/unherit/issues"},"homepage":"https://github.com/wooorm/unherit#readme","_id":"unherit@1.0.1","_shasum":"261d77b6b98154bcfeeb5672638de22c2240f22b","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.3","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"261d77b6b98154bcfeeb5672638de22c2240f22b","size":2659,"noattachment":false,"key":"/unherit/-/unherit-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unherit/download/unherit-1.0.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"publish_time":1437935137177,"_cnpm_publish_time":1437935137177,"_hasShrinkwrap":false},"1.0.0":{"name":"unherit","version":"1.0.0","description":"Clone a constructor without affecting the super-class","license":"MIT","keywords":["clone","super","class","constructor"],"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/wooorm/unherit.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"files":["index.js"],"devDependencies":{"browserify":"^11.0.0","clone":"^1.0.1","diff":"^1.0.0","eslint":"^0.24.0","esmangle":"^1.0.0","istanbul":"^0.3.0","jscs":"^1.0.0","jscs-jsdoc":"^1.0.0","mdast":"^0.27.1","mdast-comment-config":"^0.1.2","mdast-github":"^0.3.0","mdast-lint":"^0.4.0","mdast-man":"^0.4.0","mdast-toc":"^0.5.0","mdast-validate-links":"^0.3.0","mocha":"^2.0.0"},"scripts":{"test-api":"mocha --check-leaks test.js","test-coveralls":"istanbul cover _mocha --report lcovonly -- --check-leaks test.js","test-coverage":"istanbul cover _mocha -- -- test.js","test-travis":"npm run test-coveralls","test":"npm run test-api","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","make":"npm run lint && npm run test-coverage","build-md":"mdast . --quiet","build-bundle":"browserify index.js -s unherit > unherit.js","postbuild-bundle":"esmangle unherit.js > unherit.min.js","build":"npm run build-md && npm run build-bundle"},"gitHead":"811555dfebca29c36cff235aa39a45f3a850382e","bugs":{"url":"https://github.com/wooorm/unherit/issues"},"homepage":"https://github.com/wooorm/unherit#readme","_id":"unherit@1.0.0","_shasum":"473c0229c4ba7345c50e83c962685e0aed7beb0e","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.3","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"473c0229c4ba7345c50e83c962685e0aed7beb0e","size":2755,"noattachment":false,"key":"/unherit/-/unherit-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unherit/download/unherit-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"publish_time":1437932327581,"_cnpm_publish_time":1437932327581,"_hasShrinkwrap":false}},"readme":"# unherit\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nCreate a custom constructor which can be modified without affecting the original\nclass.\n\n## Install\n\nThis package is ESM only: Node 12+ is needed to use it and it must be `import`ed\ninstead of `require`d.\n\n[npm][]:\n\n```sh\nnpm install unherit\n```\n\n## Use\n\n```js\nimport {EventEmitter} from 'events'\nimport {unherit} from 'unherit'\n\n// Create a private class which acts just like `EventEmitter`.\nvar Emitter = unherit(EventEmitter)\n\nEmitter.prototype.defaultMaxListeners = 0\n// Now, all instances of `Emitter` have no maximum listeners, without affecting\n// other `EventEmitter`s.\n\nnew Emitter().defaultMaxListeners === 0 // => true\nnew EventEmitter().defaultMaxListeners === undefined // => true\nnew Emitter() instanceof EventEmitter // => true\n```\n\n## API\n\nThis package exports the following identifiers: `unherit`.\nThere is no default export.\n\n### `unherit(Super)`\n\nCreate a custom constructor (`Function`) from `Super` (`Function`) which can be\nmodified without affecting the original class.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/wooorm/unherit/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/unherit/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/unherit.svg\n\n[coverage]: https://codecov.io/github/wooorm/unherit\n\n[downloads-badge]: https://img.shields.io/npm/dm/unherit.svg\n\n[downloads]: https://www.npmjs.com/package/unherit\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/unherit.svg\n\n[size]: https://bundlephobia.com/result?p=unherit\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[license]: license\n\n[author]: https://wooorm.com\n","_attachments":{},"homepage":"https://github.com/wooorm/unherit#readme","bugs":{"url":"https://github.com/wooorm/unherit/issues"},"license":"MIT"}