@verdaccio/commons-api
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -5,2 +5,11 @@ # Changelog | ||
### [0.1.1](https://github.com/verdaccio/commons-api/compare/v0.1.0...v0.1.1) (2019-07-12) | ||
### Bug Fixes | ||
* remove unecessary shallow copy ([af7bc7c](https://github.com/verdaccio/commons-api/commit/af7bc7c)) | ||
## 0.1.0 (2019-06-25) | ||
@@ -7,0 +16,0 @@ |
@@ -111,6 +111,5 @@ "use strict"; | ||
function getError(code, message) { | ||
const err = Object.assign({}, (0, _httpErrors.default)(code, message), { | ||
code | ||
}); | ||
return err; | ||
const httpError = (0, _httpErrors.default)(code, message); | ||
httpError.code = code; | ||
return httpError; | ||
} | ||
@@ -117,0 +116,0 @@ |
{ | ||
"name": "@verdaccio/commons-api", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "commons api utilities for verdaccio", | ||
@@ -16,3 +16,3 @@ "main": "lib/index.js", | ||
"@types/jest": "24.0.15", | ||
"@types/node": "12.0.10", | ||
"@types/node": "12.6.2", | ||
"@verdaccio/babel-preset": "0.2.1", | ||
@@ -19,0 +19,0 @@ "@verdaccio/eslint-config": "0.0.1", |
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
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
12978
1
231