Socket
Socket
Sign inDemoInstall

node.extend

Package Overview
Dependencies
3
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

.github/FUNDING.yml

6

lib/extend.js

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc