Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fastify/deepmerge

Package Overview
Dependencies
Maintainers
17
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastify/deepmerge - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

4

package.json
{
"name": "@fastify/deepmerge",
"version": "1.2.0",
"version": "1.3.0",
"description": "Merges the enumerable properties of two or more objects deeply.",

@@ -11,3 +11,3 @@ "main": "index.js",

"test": "npm run test:unit && npm run test:typescript",
"test:unit": "tap -J test/*.test.js test/**/*.test.js",
"test:unit": "tap",
"test:typescript": "tsd"

@@ -14,0 +14,0 @@ },

@@ -1,4 +0,1 @@

declare function deepmerge(options: Options & { all: true }): DeepMergeAllFn;
declare function deepmerge(options?: Options): DeepMergeFn;
type DeepMergeFn = <T1, T2>(target: T1, source: T2) => DeepMerge<T1, T2>;

@@ -72,6 +69,13 @@ type DeepMergeAllFn = <T extends Array<any>>(...targets: T) => DeepMergeAll<{}, T>;

export default deepmerge
export {
deepmerge,
Options
}
type DeepmergeConstructor = typeof deepmerge
declare namespace deepmerge {
export { Options }
export const deepmerge: DeepmergeConstructor
export { deepmerge as default }
}
declare function deepmerge(options: Options & { all: true }): DeepMergeAllFn;
declare function deepmerge(options?: Options): DeepMergeFn;
export = deepmerge
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