@asamuzakjp/nwsapi
Advanced tools
Comparing version 2.2.27 to 2.3.0
{ | ||
"name": "@asamuzakjp/nwsapi", | ||
"version": "2.2.27", | ||
"version": "2.3.0", | ||
"description": "Fast CSS Selectors API Engine", | ||
@@ -5,0 +5,0 @@ "homepage": "http://javascript.nwbox.com/nwsapi/", |
@@ -43,3 +43,2 @@ /** | ||
let root = doc.documentElement; | ||
const slice = Array.prototype.slice; | ||
@@ -463,3 +462,3 @@ /** | ||
if (api in context) { | ||
return slice.call(context[api](tag)); | ||
return Array.prototype.slice.call(context[api](tag)); | ||
} else { | ||
@@ -470,3 +469,3 @@ tag = tag.toLowerCase(); | ||
if (!(e.nextElementSibling || tag === '*' || e.localName === tag)) { | ||
return slice.call(e[api](tag)); | ||
return Array.prototype.slice.call(e[api](tag)); | ||
} else { | ||
@@ -496,3 +495,3 @@ nodes = []; | ||
if (api in context) { | ||
return slice.call(context[api](cls)); | ||
return Array.prototype.slice.call(context[api](cls)); | ||
} else { | ||
@@ -503,3 +502,3 @@ // DOCUMENT_FRAGMENT_NODE (11) | ||
if (!(e.nextElementSibling || reCls.test(e.className))) { | ||
return slice.call(e[api](cls)); | ||
return Array.prototype.slice.call(e[api](cls)); | ||
} else { | ||
@@ -719,3 +718,3 @@ nodes = []; | ||
// check if node is inderminate | ||
// check if node is indeterminate | ||
const isIndeterminate = function (node) { | ||
@@ -722,0 +721,0 @@ if ((node.indeterminate && node.localName === 'input' && |
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
68652
1724