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

ts-deepmerge

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-deepmerge - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

1

dist/index.d.ts
interface IObject {
[key: string]: any;
length?: never;
}

@@ -5,0 +4,0 @@ declare type TUnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;

3

dist/index.js

@@ -57,2 +57,5 @@ "use strict";

return objects.reduce(function (result, current) {
if (Array.isArray(current)) {
throw new TypeError("Arguments provided to ts-deepmerge must be objects, not arrays.");
}
Object.keys(current).forEach(function (key) {

@@ -59,0 +62,0 @@ if (PROTECTED_KEYS.includes(key)) {

@@ -6,3 +6,3 @@ {

"license": "ISC",
"version": "2.0.3",
"version": "2.0.4",
"keywords": [

@@ -9,0 +9,0 @@ "typescript",

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