Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blue-cot

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blue-cot - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

benchmark/benchmark.coffee

8

cot.js

@@ -45,10 +45,12 @@ // Generated by CoffeeScript 1.10.0

accept: 'application/json',
host: this.hostHeader,
'content-type': body ? 'application/json' : void 0
host: this.hostHeader
};
params = {
url: protocol + "://" + this.hostname + ":" + this.port + path,
body: body,
headers: headers
};
if (body != null) {
headers['content-type'] = 'application/json';
params.body = body;
}
if ((this.user != null) && (this.pass != null)) {

@@ -55,0 +57,0 @@ params.auth = {

@@ -16,5 +16,6 @@ {

"watch-test": "coffee -cw test/*.coffee",
"test": "npm run build-test && mocha"
"test": "npm run build-test && mocha",
"benchmark": "coffee benchmark/benchmark.coffee"
},
"version": "1.0.0",
"version": "1.0.1",
"main": "cot",

@@ -34,7 +35,9 @@ "dependencies": {

"devDependencies": {
"benchmark": "^1.0.0",
"bluebird": "^3.0.5",
"chai": "^1.9.2",
"coffee-script": "^1.10.0",
"cot": "0.0.6",
"mocha": "^2.0.1"
}
}

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