Socket
Socket
Sign inDemoInstall

array-differ

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 2.0.0

license

14

package.json
{
"name": "array-differ",
"version": "1.0.0",
"version": "2.0.0",
"description": "Create an array with values that are present in the first input array but not additional ones",

@@ -10,9 +10,9 @@ "license": "MIT",

"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
"url": "sindresorhus.com"
},
"engines": {
"node": ">=0.10.0"
"node": ">=6"
},
"scripts": {
"test": "mocha"
"test": "xo && ava"
},

@@ -31,4 +31,8 @@ "files": [

"devDependencies": {
"mocha": "*"
"ava": "*",
"xo": "*"
},
"xo": {
"esnext": true
}
}

@@ -8,3 +8,3 @@ # array-differ [![Build Status](https://travis-ci.org/sindresorhus/array-differ.svg?branch=master)](https://travis-ci.org/sindresorhus/array-differ)

```sh
```
$ npm install --save array-differ

@@ -17,3 +17,3 @@ ```

```js
var arrayDiffer = require('array-differ');
const arrayDiffer = require('array-differ');

@@ -28,3 +28,3 @@ arrayDiffer([2, 3, 4], [3, 50]);

Returns the new array.
Returns a new array.

@@ -44,2 +44,2 @@ #### input

MIT © [Sindre Sorhus](http://sindresorhus.com)
MIT © [Sindre Sorhus](https://sindresorhus.com)
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