Socket
Socket
Sign inDemoInstall

cheerio

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cheerio - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

43

History.md

@@ -1,22 +0,29 @@

0.3.1 / 2011-11-19
0.3.2 / 2011-12-1
=================
* Now relying on cheerio-soupselect instead of node-soupselect
* Removed all lingering htmlparser dependencies
* parser now returns parent "root" element. Root now never needs to be updated when there is multiple roots. This fixes ongoing issues with before(...), after(...) and other manipulation functions
* Added jQuery's $(...).replaceWith(...)
* Fixed $(...).text(...) to work with "root" element
0.3.1 / 2011-11-25
==================
* Now relying on cheerio-soupselect instead of node-soupselect
* Removed all lingering htmlparser dependencies
* parser now returns parent "root" element. Root now never needs to be updated when there is multiple roots. This fixes ongoing issues with before(...), after(...) and other manipulation functions
* Added jQuery's $(...).replaceWith(...)
0.3.0 / 2011-11-19
=================
* Now using htmlparser2 for parsing (2x speed increase, cleaner, actively developed)
* Added benchmark directory for future speed tests
* $("...").dom() was funky, so it was removed in favor of $("...").get(). $.dom() still works the same.
* $.root now correctly static across all instances of $
* Added a screencast
==================
* Now using htmlparser2 for parsing (2x speed increase, cleaner, actively developed)
* Added benchmark directory for future speed tests
* $("...").dom() was funky, so it was removed in favor of $("...").get(). $.dom() still works the same.
* $.root now correctly static across all instances of $
* Added a screencast
0.2.2 / 2011-11-9
=================
* Traversing will select `<script>` and `<style>` tags (Closes Issue: #8)
* .text(string) now working with empty elements (Closes Issue: #7)
* Fixed before(...) & after(...) again if there is no parent (Closes Issue: #2)
* Traversing will select `<script>` and `<style>` tags (Closes Issue: #8)
* .text(string) now working with empty elements (Closes Issue: #7)
* Fixed before(...) & after(...) again if there is no parent (Closes Issue: #2)

@@ -26,9 +33,9 @@ 0.2.1 / 2011-11-5

* Fixed before(...) & after(...) if there is no parent (Closes Issue: #2)
* Comments now rendered correctly (Closes Issue: #5)
* Fixed before(...) & after(...) if there is no parent (Closes Issue: #2)
* Comments now rendered correctly (Closes Issue: #5)
< 0.2.0 / 2011-10-31
==================
====================
* Initial release (untracked development)
* Initial release (untracked development)

@@ -148,5 +148,14 @@ (function() {

if (typeof textString !== "object" && textString !== void 0) {
textElement = parser.parse(textString);
textElement = {
raw: textString,
data: textString,
type: "text",
parent: null,
prev: null,
next: null,
children: []
};
this.each(function(i) {
return this.children = textElement;
this.children = textElement;
return $.updateDOM(this.children, this);
});

@@ -153,0 +162,0 @@ return this;

@@ -21,3 +21,3 @@ (function() {

cheerio.fn = cheerio.prototype = {
cheerio: "0.3.1",
cheerio: "0.3.2",
constructor: cheerio,

@@ -24,0 +24,0 @@ init: function(selector, context, root) {

@@ -6,3 +6,3 @@ {

"keywords": ["htmlparser", "jquery", "selector", "scraper"],
"version": "0.3.1",
"version": "0.3.2",
"repository": {

@@ -9,0 +9,0 @@ "type": "git",

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