Comparing version 1.0.0 to 1.0.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
150345
25
2806
6
1
1
3