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.4 to 2.0.5

3

dist/index.js

@@ -50,3 +50,2 @@ "use strict";

};
var PROTECTED_KEYS = ["__proto__", "constructor", "prototype"];
var merge = function () {

@@ -62,3 +61,3 @@ var objects = [];

Object.keys(current).forEach(function (key) {
if (PROTECTED_KEYS.includes(key)) {
if (["__proto__", "constructor", "prototype"].includes(key)) {
return;

@@ -65,0 +64,0 @@ }

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

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

@@ -12,2 +12,7 @@ "typescript",

"merge",
"types",
"ts-merge",
"ts-deepmerge",
"merging",
"deep",
"deepmerge",

@@ -41,17 +46,17 @@ "deep-merge",

"devDependencies": {
"@types/jest": "^28.1.4",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@types/jest": "^28.1.6",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"cross-env": "^7.0.3",
"eslint": "^8.19.0",
"eslint": "^8.21.0",
"eslint-config-voodoocreation": "^2.0.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-jest": "^26.8.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"jest": "^28.1.2",
"jest-environment-jsdom": "^28.1.2",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"ts-jest": "^28.0.5",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4"
}
}

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