cheerio-select
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -32,8 +32,6 @@ "use strict"; | ||
}; | ||
var __spreadArrays = (this && this.__spreadArrays) || function () { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
@@ -126,3 +124,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
var root = helpers_1.getDocumentRoot(elements[0]); | ||
var sel = __spreadArrays(filteredSelector, [CUSTOM_SCOPE_PSEUDO]); | ||
var sel = __spreadArray(__spreadArray([], filteredSelector), [CUSTOM_SCOPE_PSEUDO]); | ||
filtered = findFilterElements(root, sel, options, true, elements); | ||
@@ -172,3 +170,3 @@ } | ||
// Sort results, filtering for duplicates | ||
return DomUtils.uniqueSort(results.reduce(function (a, b) { return __spreadArrays(a, b); })); | ||
return DomUtils.uniqueSort(results.reduce(function (a, b) { return __spreadArray(__spreadArray([], a), b); })); | ||
} | ||
@@ -175,0 +173,0 @@ exports.select = select; |
{ | ||
"name": "cheerio-select", | ||
"description": "CSS selector engine supporting jQuery selectors", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"author": "Felix Boehm <me@feedic.com>", | ||
@@ -37,20 +37,20 @@ "funding": { | ||
"dependencies": { | ||
"css-select": "^3.1.2", | ||
"css-what": "^4.0.0", | ||
"domelementtype": "^2.1.0", | ||
"domhandler": "^4.0.0", | ||
"domutils": "^2.4.4" | ||
"css-select": "^4.0.0", | ||
"css-what": "^5.0.0", | ||
"domelementtype": "^2.2.0", | ||
"domhandler": "^4.1.0", | ||
"domutils": "^2.5.2" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^26.0.19", | ||
"@typescript-eslint/eslint-plugin": "^4.9.1", | ||
"@typescript-eslint/parser": "^4.9.1", | ||
"coveralls": "^3.0.2", | ||
"eslint": "^7.15.0", | ||
"eslint-config-prettier": "^7.0.0", | ||
"htmlparser2": "^6.0.0", | ||
"@types/jest": "^26.0.22", | ||
"@typescript-eslint/eslint-plugin": "^4.21.0", | ||
"@typescript-eslint/parser": "^4.21.0", | ||
"coveralls": "^3.1.0", | ||
"eslint": "^7.23.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"htmlparser2": "^6.1.0", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.2.1", | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.1.3" | ||
"ts-jest": "^26.5.4", | ||
"typescript": "^4.2.4" | ||
}, | ||
@@ -57,0 +57,0 @@ "jest": { |
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
20108
359
+ Addedcss-select@4.3.0(transitive)
+ Addedcss-what@5.1.06.1.0(transitive)
- Removedcss-select@3.1.2(transitive)
- Removedcss-what@4.0.0(transitive)
Updatedcss-select@^4.0.0
Updatedcss-what@^5.0.0
Updateddomelementtype@^2.2.0
Updateddomhandler@^4.1.0
Updateddomutils@^2.5.2