Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2020-07-24 22:55:18 +0300
committerisaacs <i@izs.me>2020-07-29 21:55:03 +0300
commit53ed7e5205a3f4d5d33828ff9dc11c093f482f7b (patch)
treed76317be79432c9527e8fb37d4c13e0719cdbaf9 /node_modules/yallist
parentbbe4279120c94791b70d97f235c73d972fd67354 (diff)
reset deps using npm v7
First self-install!
Diffstat (limited to 'node_modules/yallist')
-rw-r--r--node_modules/yallist/package.json64
-rw-r--r--node_modules/yallist/yallist.js6
2 files changed, 18 insertions, 52 deletions
diff --git a/node_modules/yallist/package.json b/node_modules/yallist/package.json
index 9683b0bdd..8a083867d 100644
--- a/node_modules/yallist/package.json
+++ b/node_modules/yallist/package.json
@@ -1,43 +1,8 @@
{
- "_from": "yallist@^3.0.3",
- "_id": "yallist@3.1.1",
- "_inBundle": false,
- "_integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
- "_location": "/yallist",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "yallist@^3.0.3",
- "name": "yallist",
- "escapedName": "yallist",
- "rawSpec": "^3.0.3",
- "saveSpec": null,
- "fetchSpec": "^3.0.3"
- },
- "_requiredBy": [
- "/minipass",
- "/node-gyp/tar"
- ],
- "_resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
- "_shasum": "dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd",
- "_spec": "yallist@^3.0.3",
- "_where": "/Users/isaacs/dev/npm/cli/node_modules/node-gyp/node_modules/tar",
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "i@izs.me",
- "url": "http://blog.izs.me/"
- },
- "bugs": {
- "url": "https://github.com/isaacs/yallist/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
+ "name": "yallist",
+ "version": "4.0.0",
"description": "Yet Another Linked List",
- "devDependencies": {
- "tap": "^12.1.0"
- },
+ "main": "yallist.js",
"directories": {
"test": "test"
},
@@ -45,19 +10,20 @@
"yallist.js",
"iterator.js"
],
- "homepage": "https://github.com/isaacs/yallist#readme",
- "license": "ISC",
- "main": "yallist.js",
- "name": "yallist",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/isaacs/yallist.git"
+ "dependencies": {},
+ "devDependencies": {
+ "tap": "^12.1.0"
},
"scripts": {
- "postpublish": "git push origin --all; git push origin --tags",
- "postversion": "npm publish",
+ "test": "tap test/*.js --100",
"preversion": "npm test",
- "test": "tap test/*.js --100"
+ "postversion": "npm publish",
+ "postpublish": "git push origin --all; git push origin --tags"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/isaacs/yallist.git"
},
- "version": "3.1.1"
+ "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
+ "license": "ISC"
}
diff --git a/node_modules/yallist/yallist.js b/node_modules/yallist/yallist.js
index ed4e7303a..4e83ab1c5 100644
--- a/node_modules/yallist/yallist.js
+++ b/node_modules/yallist/yallist.js
@@ -320,7 +320,7 @@ Yallist.prototype.sliceReverse = function (from, to) {
return ret
}
-Yallist.prototype.splice = function (start, deleteCount /*, ...nodes */) {
+Yallist.prototype.splice = function (start, deleteCount, ...nodes) {
if (start > this.length) {
start = this.length - 1
}
@@ -345,8 +345,8 @@ Yallist.prototype.splice = function (start, deleteCount /*, ...nodes */) {
walker = walker.prev
}
- for (var i = 2; i < arguments.length; i++) {
- walker = insert(this, walker, arguments[i])
+ for (var i = 0; i < nodes.length; i++) {
+ walker = insert(this, walker, nodes[i])
}
return ret;
}