Comparing version 0.1.1 to 0.2.0
0.2.0 / 2011-04-13 | ||
================== | ||
* node 0.4.x | ||
* Fixed cookie support due to array | ||
* Fixed `session()` usage in tests | ||
* Fixed querystring related issues for 0.4.x | ||
* Fixed redirect `Location` support | ||
0.1.1 / 2011-01-13 | ||
@@ -3,0 +12,0 @@ ================== |
@@ -17,2 +17,3 @@ | ||
, jQuery = require('./jquery/core') | ||
, url = require('url') | ||
, http = require('http'); | ||
@@ -182,3 +183,5 @@ | ||
if (res.headers['set-cookie']) { | ||
self.cookieJar.add(new Cookie(res.headers['set-cookie'])); | ||
res.headers['set-cookie'].forEach(function(cookie) { | ||
self.cookieJar.add(new Cookie(cookie)); | ||
}); | ||
} | ||
@@ -222,6 +225,6 @@ | ||
} else if (status >= 300 && status < 400) { | ||
var location = res.headers.location; | ||
var location = res.headers.location | ||
, path = url.parse(location).pathname; | ||
self.emit('redirect', location); | ||
self.request('GET', location, options, fn); | ||
self.request('GET', path, options, fn); | ||
// Error | ||
@@ -228,0 +231,0 @@ } else { |
@@ -12,3 +12,3 @@ | ||
exports.version = '0.1.1'; | ||
exports.version = '0.2.0'; | ||
@@ -15,0 +15,0 @@ /** |
{ "name": "tobi" | ||
, "description": "expressive server-side functional testing with jQuery and jsdom" | ||
, "version": "0.1.1" | ||
, "version": "0.2.0" | ||
, "author": "TJ Holowaychuk <tj@vision-media.ca>" | ||
@@ -10,5 +10,6 @@ , "keywords": ["test", "testing", "browser", "jquery", "css"] | ||
, "should": ">= 0.0.4" | ||
, "qs": ">= 0.1.0" | ||
} | ||
, "main": "./index.js" | ||
, "engines": { "node": ">= 0.2.5" } | ||
, "engines": { "node": "0.4.x" } | ||
} |
@@ -15,3 +15,3 @@ | ||
var tobi = require('tobi') | ||
, app = require('./my/app) | ||
, app = require('./my/app') | ||
, browser = tobi.createBrowser(app); | ||
@@ -18,0 +18,0 @@ |
Sorry, the diff of this file is not supported yet
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
2
292607
4
17
6169
+ Addedqs@>= 0.1.0
+ Addedcall-bound@1.0.3(transitive)
+ Addedobject-inspect@1.13.4(transitive)
+ Addedqs@6.14.0(transitive)
+ Addedside-channel@1.1.0(transitive)
+ Addedside-channel-list@1.0.0(transitive)
+ Addedside-channel-map@1.0.1(transitive)
+ Addedside-channel-weakmap@1.0.2(transitive)