array-initial
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "array-initial", | ||
"description": "Get all but the last element or last n elements of an array.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/jonschlinkert/array-initial", | ||
@@ -17,6 +17,3 @@ "author": { | ||
}, | ||
"license": { | ||
"type": "MIT", | ||
"url": "https://github.com/jonschlinkert/array-initial/blob/master/LICENSE-MIT" | ||
}, | ||
"license": "MIT", | ||
"main": "index.js", | ||
@@ -31,7 +28,7 @@ "engines": { | ||
"mocha": "*", | ||
"should": "^4.3.1" | ||
"should": "^11.2.1" | ||
}, | ||
"dependencies": { | ||
"array-slice": "^0.2.2", | ||
"is-number": "^0.1.1" | ||
"array-slice": "^1.0.0", | ||
"is-number": "^3.0.0" | ||
}, | ||
@@ -38,0 +35,0 @@ "keywords": [ |
@@ -5,7 +5,6 @@ # array-initial [![NPM version](https://badge.fury.io/js/array-initial.svg)](http://badge.fury.io/js/array-initial) | ||
## Install | ||
### Install with [npm](npmjs.org): | ||
## Install with [npm](npmjs.org) | ||
```bash | ||
npm i array-initial --save-dev | ||
npm i array-initial --save | ||
``` | ||
@@ -16,3 +15,3 @@ | ||
```js | ||
var last = require('array-last'); | ||
var initial = require('array-initial'); | ||
@@ -19,0 +18,0 @@ initial(['a', 'b', 'c', 'd', 'e', 'f']); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4409
7
40
1
+ Addedarray-slice@1.1.0(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedis-number@3.0.0(transitive)
+ Addedkind-of@3.2.2(transitive)
- Removedarray-slice@0.2.3(transitive)
- Removedis-number@0.1.1(transitive)
Updatedarray-slice@^1.0.0
Updatedis-number@^3.0.0