Socket
Socket
Sign inDemoInstall

@verdaccio/commons-api

Package Overview
Dependencies
Maintainers
4
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@verdaccio/commons-api - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

9

CHANGELOG.md

@@ -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 @@

7

lib/index.js

@@ -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",

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