New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tobi

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tobi - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

9

History.md
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 @@ ==================

11

lib/browser.js

@@ -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

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