Socket
Socket
Sign inDemoInstall

gromit

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gromit - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

14

lib/GromitError.js

@@ -601,2 +601,16 @@ 'use strict';

/**
* Create a new internal (500) error
* @param {string} [message] - Override the existing error message if provided
* @param {string} [name] - A unique name for the error. If not provided the default name for the status code will be used.
* @param {Object} [data] - Extra data to add to the error
* @return {GromitError} - A new GromitError
*/
}, {
key: 'internal',
value: function internal(message, name, data) {
return GromitError.create(500, message, name, data);
}
/**
* Create a new notImplemented (501) error

@@ -603,0 +617,0 @@ * @param {string} [message] - Override the existing error message if provided

2

package.json

@@ -7,3 +7,3 @@ {

"name": "gromit",
"version": "0.0.5",
"version": "0.0.6",
"description": "",

@@ -10,0 +10,0 @@ "license": "UNLICENSED",

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