New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

to-extend

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

to-extend - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

9

dist/index.d.ts

@@ -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[]): {};

2

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc