node.extend
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -13,3 +13,3 @@ 'use strict'; | ||
var is = require('is'); | ||
var has = require('has'); | ||
var hasOwn = require('hasown'); | ||
@@ -29,3 +29,3 @@ var defineProperty = Object.defineProperty; | ||
} else { | ||
target[name] = value; | ||
target[name] = value; // eslint-disable-line no-param-reassign | ||
} | ||
@@ -37,3 +37,3 @@ }; | ||
if (name === '__proto__') { | ||
if (!has(obj, name)) { | ||
if (!hasOwn(obj, name)) { | ||
return void 0; | ||
@@ -40,0 +40,0 @@ } else if (gOPD) { |
{ | ||
"name": "node.extend", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A port of jQuery.extend that actually works on node.js", | ||
@@ -15,12 +15,16 @@ "keywords": [ | ||
"dependencies": { | ||
"has": "^1.0.3", | ||
"is": "^3.2.1" | ||
"hasown": "^2.0.0", | ||
"is": "^3.3.0" | ||
}, | ||
"devDependencies": { | ||
"@ljharb/eslint-config": "^13.0.0", | ||
"covert": "^1.1.0", | ||
"eslint": "^5.8.0", | ||
"jscs": "^3.0.7", | ||
"safe-publish-latest": "^1.1.2", | ||
"tape": "^4.9.1" | ||
"@ljharb/eslint-config": "^21.1.0", | ||
"aud": "^2.0.3", | ||
"eslint": "=8.8.0", | ||
"in-publish": "^2.0.1", | ||
"is-date-object": "^1.0.5", | ||
"npmignore": "^0.3.0", | ||
"nyc": "^10.3.2", | ||
"object.assign": "^4.1.4", | ||
"safe-publish-latest": "^2.0.0", | ||
"tape": "^5.7.2" | ||
}, | ||
@@ -39,12 +43,10 @@ "repository": { | ||
"scripts": { | ||
"prepublish": "safe-publish-latest", | ||
"prepack": "npmignore --auto --commentLines=autogenerated", | ||
"prepublishOnly": "safe-publish-latest", | ||
"prepublish": "not-in-publish || npm run prepublishOnly", | ||
"lint": "eslint --ext=js,mjs .", | ||
"pretest": "npm run lint", | ||
"tests-only": "nyc tape 'test/**/*.js'", | ||
"test": "npm run --silent tests-only", | ||
"posttest": "npm run coverage-quiet", | ||
"tests-only": "node test", | ||
"coverage": "covert test/index.js", | ||
"coverage-quiet": "covert test/index.js --quiet", | ||
"lint": "npm run jscs && npm run eslint .", | ||
"jscs": "jscs *.js */*.js", | ||
"eslint": "eslint" | ||
"posttest": "aud --production" | ||
}, | ||
@@ -71,3 +73,9 @@ "engines": { | ||
}, | ||
"license": "(MIT OR GPL-2.0)" | ||
"license": "(MIT OR GPL-2.0)", | ||
"publishConfig": { | ||
"ignore": [ | ||
".github/workflows", | ||
"test" | ||
] | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
11
27836
10
94
+ Addedhasown@^2.0.0
+ Addedfunction-bind@1.1.2(transitive)
+ Addedhasown@2.0.2(transitive)
- Removedhas@^1.0.3
- Removedhas@1.0.4(transitive)
Updatedis@^3.3.0