{"name":"@eggjs/extend2","version":"5.0.0-beta.31","keywords":["extend","clone","merge"],"author":{"name":"popomore","email":"sakura9515@gmail.com"},"license":"MIT","_id":"@eggjs/extend2@5.0.0-beta.31","maintainers":[{"name":"gxkl","email":"gxkl203@gmail.com"},{"name":"eggjs-admin","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"atian25","email":"atian25@qq.com"},{"name":"hyj1991","email":"yeekwanvong@gmail.com"},{"name":"killagu","email":"killa07071201@gmail.com"},{"name":"coolme200","email":"2001-wms@163.com"},{"name":"akitasummer","email":"akitasummer@outlook.com"}],"homepage":"https://github.com/eggjs/egg/tree/next/packages/extend2","bugs":{"url":"https://github.com/eggjs/egg/issues"},"dist":{"shasum":"04b5123bab10d3ec0203ddc9f2033a87be98594d","tarball":"http://registry-npm.ywwl.com/@eggjs/extend2/download/@eggjs/extend2-5.0.0-beta.31.tgz","fileCount":5,"integrity":"sha512-/wONQClLUIGSRolHURgna8PJSrNQ3qQLj4C12HNutq7D9hj8IIN1CtIVHLxzkpsq2VsdeM1nJGI7v3y959U7Lw==","signatures":[{"sig":"MEYCIQDUD1T5qx627PyoZGNBHWfv9GdNt0ZRoM9i4+keRyNxXwIhAKrcEaQPOvwmdl+lLdv/gBF9sxSiMgVe8uV2ZRllRd1B","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@eggjs%2fextend2@5.0.0-beta.31","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9210,"size":3957,"noattachment":false,"key":"/@eggjs/extend2/-/@eggjs/extend2-5.0.0-beta.31.tgz"},"main":"./dist/index.js","type":"module","_from":"file:eggjs-extend2-5.0.0-beta.31.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.18.0"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"lint":"oxlint","test":"vitest run","build":"tsdown && rimraf dist *.tsbuildinfo && tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:429f1115-a8cf-471d-856f-65389a46e045"}},"_resolved":"/tmp/2351d1fb6f54d936518f021f8a8bfd64/eggjs-extend2-5.0.0-beta.31.tgz","_integrity":"sha512-/wONQClLUIGSRolHURgna8PJSrNQ3qQLj4C12HNutq7D9hj8IIN1CtIVHLxzkpsq2VsdeM1nJGI7v3y959U7Lw==","repository":{"url":"git+https://github.com/eggjs/egg.git","type":"git","directory":"packages/extend2"},"_npmVersion":"11.6.2","description":"Port of jQuery.extend for Node.js","directories":{},"_nodeVersion":"22.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"oxlint":"^1.24.0","tsdown":"0.15.10","vitest":"4.0.4","typescript":"^5.9.3","@eggjs/tsconfig":"3.1.0-beta.31"},"_npmOperationalInternal":{"tmp":"tmp/extend2_5.0.0-beta.31_1761577851162_0.7834096970389663","host":"s3://npm-registry-packages-npm-production"},"readme":"# @eggjs/extend2\n\nForked from [node-extend], the difference is overriding array as primitive when deep clone.\n\n[![NPM version][npm-image]][npm-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/@eggjs/extend2.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@eggjs/extend2\n[snyk-image]: https://snyk.io/test/npm/extend2/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/@eggjs/extend2\n[download-image]: https://img.shields.io/npm/dm/@eggjs/extend2.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@eggjs/extend2\n\n## Usage\n\n```ts\nimport { extend } from '@eggjs/extend2';\n\n// for deep clone\nextend(true, {}, object1, objectN);\n```\n\n## License\n\n`@eggjs/extend2` is licensed under the [MIT License](LICENSE).\n\n## Acknowledgements\n\nAll credit to the jQuery authors for perfecting this amazing utility.\n\nPorted to Node.js by [Stefan Thomas][github-justmoon] with contributions by [Jonathan Buchanan][github-insin] and [Jordan Harband][github-ljharb].\n\n[github-justmoon]: https://github.com/justmoon\n[github-insin]: https://github.com/insin\n[github-ljharb]: https://github.com/ljharb\n[node-extend]: https://github.com/justmoon/node-extend\n","publish_time":1761577851377,"_cnpm_publish_time":1761577851377,"dist-tags":{"beta":"5.0.2-beta.27","latest":"5.1.0","rc":"5.0.2-rc.1"}}