Comparing version 0.13.0 to 0.13.1
0.13.1 / 2014-01-07 | ||
================== | ||
* Fix select with context in Cheerio function (@jugglinmike) | ||
* Remove unecessary DOM maintenance logic (@jugglinmike) | ||
* Deprecate support for node 0.6 | ||
0.13.0 / 2013-12-30 | ||
@@ -3,0 +10,0 @@ ================== |
@@ -68,4 +68,2 @@ var _ = require('underscore'), | ||
updateDOM(siblings, parent); | ||
parent.children = siblings; | ||
}); | ||
@@ -97,4 +95,2 @@ | ||
updateDOM(siblings, parent); | ||
parent.children = siblings; | ||
}); | ||
@@ -126,3 +122,2 @@ | ||
updateDOM(siblings, parent); | ||
parent.children = siblings; | ||
}); | ||
@@ -129,0 +124,0 @@ |
@@ -52,3 +52,5 @@ /* | ||
if (Array.isArray(selector)) { | ||
_.defaults(this, selector); | ||
_.forEach(selector, function(elem, idx) { | ||
this[idx] = elem; | ||
}, this); | ||
this.length = selector.length; | ||
@@ -55,0 +57,0 @@ return this; |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"repository": { | ||
@@ -23,3 +23,3 @@ "type": "git", | ||
"htmlparser2": "~3.4.0", | ||
"underscore": "~1.4", | ||
"underscore": "~1.5", | ||
"entities": "0.x", | ||
@@ -26,0 +26,0 @@ "CSSselect": "~0.4.0" |
@@ -35,2 +35,9 @@ var expect = require('expect.js'), | ||
it('$(node) : should override previously-loaded nodes', function() { | ||
var C = $.load('<div><span></span></div>'); | ||
var spanNode = C('span')[0]; | ||
var $span = C(spanNode); | ||
expect($span[0]).to.equal(spanNode); | ||
}); | ||
it('should be able to create html without a root or context', function() { | ||
@@ -37,0 +44,0 @@ var $h2 = $('<h2>'); |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
491035
11186
0
+ Addedunderscore@1.5.2(transitive)
- Removedunderscore@1.4.4(transitive)
Updatedunderscore@~1.5