Socket
Socket
Sign inDemoInstall

osmosis

Package Overview
Dependencies
127
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

3

index.js

@@ -175,2 +175,3 @@ 'use strict';

var self = this,
href = url.href,
method = url.method,

@@ -225,3 +226,3 @@ params = url.params;

self.command.log('[redirect] ' +
url.href + ' -> ' + new_url);
href + ' -> ' + new_url);
}

@@ -228,0 +229,0 @@ });

@@ -126,2 +126,14 @@ /*jslint node: true */

case 'radio':
case 'image':
['x', 'y'].forEach(function (p) {
var array = [];
if (name) {
array.push(name);
}
array.push(p);
params[array.join('.')] = 0;
});
case 'checkbox':

@@ -128,0 +140,0 @@ if (!input.hasAttribute('checked')) {

{
"name": "osmosis",
"version": "1.1.1",
"version": "1.1.2",
"description": "Web scraper for NodeJS",

@@ -23,3 +23,3 @@ "keywords": [

"dependencies": {
"needle": "1.1.2",
"needle": "1.3.0",
"libxmljs-dom": "0.0.8"

@@ -26,0 +26,0 @@ },

@@ -111,4 +111,3 @@ 'use strict';

assert.deepEqual(data.follow_cookies, expected);
// Not yet supported by Needle
// expected.testSetCookie1 = 'true';
expected.testSetCookie1 = 'true';
expected.testSetCookie2 = 'true';

@@ -115,0 +114,0 @@ assert.deepEqual(parseCookies(data.post_cookies), expected);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc