Comparing version 0.4.1 to 0.4.2
@@ -0,1 +1,8 @@ | ||
0.4.2 / 2012-01-16 | ||
================== | ||
* Multiple selectors support: $('.apple, .orange'). Thanks @siddMahen! | ||
* Update package.json to always use latest cheerio-soupselect | ||
* Fix memory leak in index.js | ||
0.4.1 / 2011-12-19 | ||
@@ -2,0 +9,0 @@ ================== |
13
index.js
// Use source if we have coffeescript otherwise use lib | ||
var base; | ||
try { | ||
// Need to have coffeescript installed locally in order to run from src | ||
require('./node_modules/coffee-script'); | ||
base = './src/' | ||
base = './src/'; | ||
} catch (e) { | ||
base = './lib/' | ||
base = './lib/'; | ||
} | ||
exports = module.exports = require(base + 'cheerio') | ||
exports = module.exports = require(base + 'cheerio'); | ||
exports.parse = require(base + 'parse') | ||
exports.render = require(base + 'render') | ||
exports.utils = require(base + 'utils') | ||
exports.parse = require(base + 'parse'); | ||
exports.render = require(base + 'render'); | ||
exports.utils = require(base + 'utils'); | ||
@@ -16,0 +17,0 @@ /* |
@@ -21,3 +21,3 @@ (function() { | ||
cheerio.fn = cheerio.prototype = { | ||
cheerio: "0.4.1", | ||
cheerio: "0.4.2", | ||
constructor: cheerio, | ||
@@ -24,0 +24,0 @@ init: function(selector, context, root) { |
@@ -6,3 +6,3 @@ { | ||
"keywords": ["htmlparser", "jquery", "selector", "scraper"], | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"repository": { | ||
@@ -17,3 +17,3 @@ "type": "git", | ||
"dependencies": { | ||
"cheerio-soupselect" : "0.0.x", | ||
"cheerio-soupselect" : "*", | ||
"htmlparser2" : "2.x", | ||
@@ -23,3 +23,3 @@ "underscore" : "1.x" | ||
"devDependencies": { | ||
"mocha" : "0.x", | ||
"mocha" : "0.x", | ||
"should" : "*" | ||
@@ -26,0 +26,0 @@ }, |
Sorry, the diff of this file is not supported yet
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
73222
1054
1
+ Addedcheerio-soupselect@0.1.1(transitive)
- Removedcheerio-soupselect@0.0.3(transitive)
Updatedcheerio-soupselect@*