diff --git a/lib/api/traversing.js b/lib/api/traversing.js index cb7506944f..f474e10c18 100644 --- a/lib/api/traversing.js +++ b/lib/api/traversing.js @@ -4,7 +4,7 @@ * @module cheerio/traversing */ -var select = require('cheerio-select-tmp'); +var select = require('cheerio-select'); var utils = require('../utils'); var domEach = utils.domEach; var uniqueSort = require('htmlparser2').DomUtils.uniqueSort; diff --git a/lib/static.js b/lib/static.js index 4b4c41ae27..46175998e7 100644 --- a/lib/static.js +++ b/lib/static.js @@ -4,7 +4,7 @@ */ var defaultOptions = require('./options').default; var flattenOptions = require('./options').flatten; -var select = require('cheerio-select-tmp').select; +var select = require('cheerio-select').select; var renderWithParse5 = require('./parsers/parse5').render; var renderWithHtmlparser2 = require('./parsers/htmlparser2').render; var parse = require('./parse'); diff --git a/package-lock.json b/package-lock.json index 9f8dd9c811..a0effe6e01 100644 --- a/package-lock.json +++ b/package-lock.json @@ -865,10 +865,10 @@ } } }, - "cheerio-select-tmp": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/cheerio-select-tmp/-/cheerio-select-tmp-0.1.0.tgz", - "integrity": "sha512-kx/pq9hxLo6FhjiYqUheSOV0Eb729ZwkXXPrPTeK6kl/VMgaUlsYoAOv3nOJZcHk++V9pI17YNNngtbLVPTB9A==", + "cheerio-select": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-1.0.0.tgz", + "integrity": "sha512-ngCrm1rYldyYXgjkO+8fmjuoj7CtoVqg/xbi1kPmwBYMARHMOwMKp2qlBx6F7LXejB0kRvO3xnOXZvUcpEzseQ==", "requires": { "css-select": "^3.1.2", "css-what": "^4.0.0", diff --git a/package.json b/package.json index 240b40b5b0..fa3e21e6d8 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "node": ">= 0.12" }, "dependencies": { - "cheerio-select-tmp": "^0.1.0", + "cheerio-select": "^1.0.0", "dom-serializer": "~1.2.0", "domhandler": "^4.0.0", "entities": "~2.1.0",