Socket
Socket
Sign inDemoInstall

z-common-tools

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

z-common-tools - npm Package Compare versions

Comparing version 1.0.22 to 1.0.23

4

network/cookies2.js

@@ -101,4 +101,4 @@ /**

var cook = _exportCookies(req, this.domain);
return cook[key];
var cook = cookieTools.getCookie(req, this.domain,key);
return cook;
}

@@ -105,0 +105,0 @@

@@ -15,2 +15,3 @@ /**

getCookie: function (req, url1, name) {
var url = parse(url1);
return req.jar.getCookie(name, CookieAccess(url.hostname, url.pathname, 'https:' == url.protocol));

@@ -17,0 +18,0 @@ },

{
"name": "z-common-tools",
"version": "1.0.22",
"version": "1.0.23",
"description": "just tools",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -30,3 +30,3 @@ /**

var req = agent("taokemiao").get("http://www.hi-pda.com/forum/forumdisplay.php?fid=6&filter=0&orderby=dateline&ascdesc=DESC");
req.proxy("http://127.0.0.1:8888")
//req.proxy("http://127.0.0.1:8888")
// req.set(defaultHeader);

@@ -38,2 +38,3 @@ // req.set(defaultHeader2);

cookies.save(agent("taokemiao"), "taokemiao");
console.log(cookies.get(agent("taokemiao"),"cdb_sid"))
}else{

@@ -40,0 +41,0 @@ console.log(err.message);

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