{"name":"@eggjs/extend2","version":"4.0.0","keywords":["extend","clone","merge"],"author":{"name":"popomore","email":"sakura9515@gmail.com"},"license":"MIT","_id":"@eggjs/extend2@4.0.0","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":"dead_horse","email":"dead_horse@qq.com"},{"name":"wanghx","email":"whxaxes@gmail.com"},{"name":"hyj1991","email":"yeekwanvong@gmail.com"},{"name":"killagu","email":"killa07071201@gmail.com"},{"name":"coolme200","email":"2001-wms@163.com"},{"name":"mansonchor.zzw","email":"mansonchor1987@gmail.com"},{"name":"hubcarl","email":"hubcarl@126.com"},{"name":"gemwuu","email":"gemwuu@gmail.com"},{"name":"akitasummer","email":"akitasummer@outlook.com"}],"homepage":"https://github.com/eggjs/egg#readme","bugs":{"url":"https://github.com/eggjs/egg/issues"},"dist":{"shasum":"0a6ee0f484526d8b1bda326209538a40d752aac4","tarball":"http://registry-npm.ywwl.com/@eggjs/extend2/download/@eggjs/extend2-4.0.0.tgz","fileCount":5,"integrity":"sha512-pi99FLl0DQ9Gf5GHJo1Q32wFeaeNH/daFpWWjsdFNcP/PAzavdS/IlO04tuSpQG3rD81chDRwKkLhUsHjIUS4w==","signatures":[{"sig":"MEUCIQD1xwB7iJKMCU6g2HCjS+/jJvAXk6fFNnkQau2S9v192AIgGo3sIEohZSlGliDB6XxEq3SCvjc/NxVbUpPdFt80df0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8456,"size":3007,"noattachment":false,"key":"/@eggjs/extend2/-/@eggjs/extend2-4.0.0.tgz"},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.7.0"},"exports":{".":"./src/index.ts","./package.json":"./package.json"},"gitHead":"62270bb57ebbd23cfcd5c84122a15b385517ddcc","scripts":{"lint":"oxlint","test":"vitest run","build":"tsdown","clean":"rimraf dist","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git+https://github.com/eggjs/egg.git","type":"git","directory":"packages/extend2"},"_npmVersion":"10.9.3","description":"Port of jQuery.extend for Node.js","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public","exports":{".":"./dist/index.js","./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"oxlint":"catalog:","tsdown":"catalog:","vitest":"catalog:","typescript":"catalog:","@types/node":"catalog:","@eggjs/tsconfig":"catalog:"},"_npmOperationalInternal":{"tmp":"tmp/extend2_4.0.0_1757775683569_0.6109191234772093","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":1757775683761,"_cnpm_publish_time":1757775683761,"dist-tags":{"beta":"5.0.2-beta.27","latest":"5.1.0","rc":"5.0.2-rc.1"}}