Comparing version 3.1.1 to 4.0.0
{ | ||
"name": "yallist", | ||
"version": "3.1.1", | ||
"version": "4.0.0", | ||
"description": "Yet Another Linked List", | ||
@@ -5,0 +5,0 @@ "main": "yallist.js", |
@@ -323,3 +323,3 @@ 'use strict' | ||
Yallist.prototype.splice = function (start, deleteCount /*, ...nodes */) { | ||
Yallist.prototype.splice = function (start, deleteCount, ...nodes) { | ||
if (start > this.length) { | ||
@@ -349,4 +349,4 @@ start = this.length - 1 | ||
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]) | ||
} | ||
@@ -353,0 +353,0 @@ return ret; |
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
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
14752