Socket
Socket
Sign inDemoInstall

extend

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "extend",
"version": "1.1.0",
"version": "1.1.1",
"description": "Port of jQuery.extend for Node.js",

@@ -5,0 +5,0 @@ "main": "./index",

@@ -5,2 +5,10 @@ # extend() for Node.js

## Installation
This package is available on [NPM](https://npmjs.org/) as: `extend`
``` sh
npm install extend
```
## Usage

@@ -12,7 +20,5 @@

If no target is specified, the JQuery namespace itself is extended. This can be useful for plugin authors wishing to add new methods to JQuery.
Keep in mind that the target object will be modified, and will be returned from extend().
If a boolean true is specified as the first argument, JQuery performs a deep copy, recursively copying any objects it finds. Otherwise, the copy will share structure with the original object(s).
If a boolean true is specified as the first argument, extend performs a deep copy, recursively copying any objects it finds. Otherwise, the copy will share structure with the original object(s).
Undefined properties are not copied. However, properties inherited from the object's prototype will be copied over.

@@ -19,0 +25,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc