Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cheerio-select

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cheerio-select - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

14

lib/index.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc