Comparing version 1.4.2 to 1.4.3
@@ -0,1 +1,10 @@ | ||
/** | ||
* Extening object that entered in first argument. | ||
* | ||
* Returns extended object or false if have no target object or incorrect type. | ||
* | ||
* If you wish to clone source object (without modify it), just use empty new | ||
* object as first argument, like this: | ||
* extend({}, yourObj_1, [yourObj_N]); | ||
*/ | ||
export default function extend(...sources: any[]): {}; |
@@ -1,1 +0,1 @@ | ||
{"name":"to-extend","scripts":{"build":"aron pack","dev":"npm run build -- --watch","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"Deeply extend objects","author":{"name":"Aron","email":"i@aron.tw","url":"http://aron.tw"},"homepage":"https://aron.tw","bugs":{"url":"https://github.com/1aron/utils/issues"},"repository":{"type":"git","url":"https://github.com/1aron/utils.git","directory":"packages/extend"},"keywords":["extend","merge","deeply","utils"],"sideEffects":false,"main":"./dist/index.cjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"version":"1.4.2"} | ||
{"name":"to-extend","scripts":{"build":"aron pack","dev":"npm run build -- --watch","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"Deeply extend objects","author":{"name":"Aron","email":"i@aron.tw","url":"http://aron.tw"},"homepage":"https://aron.tw","bugs":{"url":"https://github.com/1aron/utils/issues"},"repository":{"type":"git","url":"https://github.com/1aron/utils.git","directory":"packages/extend"},"keywords":["extend","merge","deeply","utils"],"sideEffects":false,"main":"./dist/index.cjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"version":"1.4.3"} |
<br> | ||
<div align="center"> | ||
<p align="center">Deeply extend objects ~200B</p> | ||
<p align="center">Deeply extend objects ~380B</p> | ||
@@ -6,0 +6,0 @@ <p align="center"> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
8765
20
0