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-23 20:58:04 +0300
committerisaacs <i@izs.me>2020-07-29 21:53:42 +0300
commitad5e07d8bd86d1dbe2b03dc142f8c8d6f4828ffe (patch)
tree97b66f97d77f35774f10a5e3e9957b1897d150bb /node_modules/yallist
parenta16994cfdd2f255016f3d8ee60d03473d80eabd8 (diff)
Full dependency reboot
Reinstall everything from a clean node_modules and package-lock.json state. Re-generate list of bundleDependencies and node_modules/.gitignore with a script that does the right thing based on actual dependency state.
Diffstat (limited to 'node_modules/yallist')
-rw-r--r--node_modules/yallist/package.json26
-rw-r--r--node_modules/yallist/yallist.js6
2 files changed, 16 insertions, 16 deletions
diff --git a/node_modules/yallist/package.json b/node_modules/yallist/package.json
index 4a5662cf1..9683b0bdd 100644
--- a/node_modules/yallist/package.json
+++ b/node_modules/yallist/package.json
@@ -1,29 +1,28 @@
{
- "_from": "yallist@^4.0.0",
- "_id": "yallist@4.0.0",
+ "_from": "yallist@^3.0.3",
+ "_id": "yallist@3.1.1",
"_inBundle": false,
- "_integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "_integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
"_location": "/yallist",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
- "raw": "yallist@^4.0.0",
+ "raw": "yallist@^3.0.3",
"name": "yallist",
"escapedName": "yallist",
- "rawSpec": "^4.0.0",
+ "rawSpec": "^3.0.3",
"saveSpec": null,
- "fetchSpec": "^4.0.0"
+ "fetchSpec": "^3.0.3"
},
"_requiredBy": [
"/minipass",
- "/minizlib",
- "/tar"
+ "/node-gyp/tar"
],
- "_resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "_shasum": "9bb92790d9c0effec63be73519e11a35019a3a72",
- "_spec": "yallist@^4.0.0",
- "_where": "/Users/claudiahdz/npm/cli/node_modules/cacache/node_modules/minipass",
+ "_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",
@@ -32,6 +31,7 @@
"bugs": {
"url": "https://github.com/isaacs/yallist/issues"
},
+ "bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "Yet Another Linked List",
@@ -59,5 +59,5 @@
"preversion": "npm test",
"test": "tap test/*.js --100"
},
- "version": "4.0.0"
+ "version": "3.1.1"
}
diff --git a/node_modules/yallist/yallist.js b/node_modules/yallist/yallist.js
index 4e83ab1c5..ed4e7303a 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 = 0; i < nodes.length; i++) {
- walker = insert(this, walker, nodes[i])
+ for (var i = 2; i < arguments.length; i++) {
+ walker = insert(this, walker, arguments[i])
}
return ret;
}