good-guy-http
Advanced tools
Comparing version 1.10.3 to 1.12.0
var _ = require('underscore'); | ||
var _s = require('underscore.string'); | ||
var capitalize = require('capitalize'); | ||
@@ -31,3 +31,3 @@ module.exports = Response; | ||
function capitalizeHeader(header) { | ||
return header.split("-").map(_s.capitalize).join("-"); | ||
return header.split("-").map(capitalize).join("-"); | ||
} |
{ | ||
"name": "good-guy-http", | ||
"version": "1.10.3", | ||
"version": "1.12.0", | ||
"description": "The opinionated sane HTTP client with a good guy approach.", | ||
@@ -18,21 +18,21 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=0.12" | ||
"node": ">=5" | ||
}, | ||
"dependencies": { | ||
"@schibstedpl/circuit-breaker-js": "0.0.2", | ||
"capitalize": "^1.0.0", | ||
"clone": "2.1.1", | ||
"request": "2.81.0", | ||
"underscore": "1.8.3", | ||
"underscore.string": "3.3.4" | ||
"request": "2.87.0", | ||
"underscore": "1.8.3" | ||
}, | ||
"devDependencies": { | ||
"coveralls": "^2.11.4", | ||
"coveralls": "^3.0.2", | ||
"express": "^4.13.3", | ||
"istanbul": "^0.4.2", | ||
"jshint": "^2.8.0", | ||
"mocha": "^3.5.0", | ||
"mocha": "^5.2.0", | ||
"q": "^1.4.1", | ||
"sinon": "^3.2.0", | ||
"sinon": "^6.1.5", | ||
"supertest": "^3.0.0" | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
95232
4
+ Addedcapitalize@^1.0.0
+ Addedajv@5.5.2(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedcapitalize@1.0.0(transitive)
+ Addedfast-deep-equal@1.1.0(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.0.3(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedjson-schema-traverse@0.3.1(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.87.0(transitive)
- Removedunderscore.string@3.3.4
- Removedajv@4.11.8(transitive)
- Removedassert-plus@0.2.0(transitive)
- Removedaws-sign2@0.6.0(transitive)
- Removedboom@2.10.1(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedcryptiles@2.0.5(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedform-data@2.1.4(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgopd@1.1.0(transitive)
- Removedhar-schema@1.0.5(transitive)
- Removedhar-validator@4.2.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhawk@3.1.3(transitive)
- Removedhoek@2.16.3(transitive)
- Removedhttp-signature@1.1.1(transitive)
- Removedisarray@2.0.5(transitive)
- Removedjson-stable-stringify@1.1.1(transitive)
- Removedjsonify@0.0.1(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedperformance-now@0.2.0(transitive)
- Removedqs@6.4.1(transitive)
- Removedrequest@2.81.0(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsntp@1.0.9(transitive)
- Removedsprintf-js@1.1.3(transitive)
- Removedstringstream@0.0.6(transitive)
- Removedunderscore.string@3.3.4(transitive)
- Removedutil-deprecate@1.0.2(transitive)
Updatedrequest@2.87.0