🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

error-status-helper

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

error-status-helper - npm Package Compare versions

Package was removed
Sorry, it seems this package was removed from the registry
Comparing version
2.1.1
to
2.1.2
+3
-3
.idea/workspace.xml

@@ -159,3 +159,3 @@ <?xml version="1.0" encoding="UTF-8"?>

<workItem from="1525845266379" duration="4879000" />
<workItem from="1528458052991" duration="1144000" />
<workItem from="1528458052991" duration="1845000" />
</task>

@@ -194,3 +194,3 @@ <task id="LOCAL-00001" summary="2.0">

<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="10200000" />
<option name="totallyTimeSpent" value="10901000" />
</component>

@@ -208,3 +208,3 @@ <component name="ToolWindowManager">

<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.31944445" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.49305555" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />

@@ -211,0 +211,0 @@ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.5902778" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />

@@ -8,6 +8,6 @@ /**

module.exports = function (express) {
express.response['sendData'] = function (data) {
express.response['sendData'] = function (data, message = null, statusCode = 0) {
return this.status(200).send({
"statusCode": 0,
"message": null,
"statusCode": statusCode,
"message": message,
"result": data

@@ -14,0 +14,0 @@ });

{
"name": "error-status-helper",
"version": "2.1.1",
"version": "2.1.2",
"description": "Extends node.js response middleware with status codes helper methods.",

@@ -5,0 +5,0 @@ "main": "index.js",