error-status-helper
Advanced tools
+10
-10
@@ -59,3 +59,3 @@ <?xml version="1.0" encoding="UTF-8"?> | ||
| <provider selected="true" editor-type-id="text-editor"> | ||
| <state vertical-scroll-proportion="0.0"> | ||
| <state vertical-scroll-proportion="-9.814815"> | ||
| <caret line="54" column="0" selection-start-line="54" selection-start-column="0" selection-end-line="54" selection-end-column="0" /> | ||
@@ -79,4 +79,4 @@ <folding /> | ||
| <option value="$PROJECT_DIR$/statusCodes.js" /> | ||
| <option value="$PROJECT_DIR$/package.json" /> | ||
| <option value="$PROJECT_DIR$/README.md" /> | ||
| <option value="$PROJECT_DIR$/package.json" /> | ||
| </list> | ||
@@ -282,4 +282,4 @@ </option> | ||
| <component name="ToolWindowManager"> | ||
| <frame x="0" y="25" width="1680" height="1000" extended-state="7" /> | ||
| <editor active="false" /> | ||
| <frame x="0" y="25" width="1680" height="1000" extended-state="6" /> | ||
| <editor active="true" /> | ||
| <layout> | ||
@@ -293,3 +293,3 @@ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3270809" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | ||
| <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> | ||
| <window_info id="Version Control" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32905483" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | ||
| <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32905483" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> | ||
| <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||
@@ -573,6 +573,6 @@ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | ||
| </entry> | ||
| <entry file="file://$PROJECT_DIR$/README.md"> | ||
| <entry file="file://$PROJECT_DIR$/statusCodes.js"> | ||
| <provider selected="true" editor-type-id="text-editor"> | ||
| <state vertical-scroll-proportion="0.0"> | ||
| <caret line="54" column="0" selection-start-line="54" selection-start-column="0" selection-end-line="54" selection-end-column="0" /> | ||
| <caret line="210" column="18" selection-start-line="210" selection-start-column="18" selection-end-line="210" selection-end-column="18" /> | ||
| <folding /> | ||
@@ -582,6 +582,6 @@ </state> | ||
| </entry> | ||
| <entry file="file://$PROJECT_DIR$/statusCodes.js"> | ||
| <entry file="file://$PROJECT_DIR$/README.md"> | ||
| <provider selected="true" editor-type-id="text-editor"> | ||
| <state vertical-scroll-proportion="0.0"> | ||
| <caret line="210" column="18" selection-start-line="210" selection-start-column="18" selection-end-line="210" selection-end-column="18" /> | ||
| <state vertical-scroll-proportion="-9.814815"> | ||
| <caret line="54" column="0" selection-start-line="54" selection-start-column="0" selection-end-line="54" selection-end-column="0" /> | ||
| <folding /> | ||
@@ -588,0 +588,0 @@ </state> |
+1
-1
| { | ||
| "name": "error-status-helper", | ||
| "version": "1.0.5", | ||
| "version": "1.0.6", | ||
| "description": "Extends node.js response middleware with status codes helper methods.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+2
-2
@@ -33,3 +33,3 @@ # error-status-helper | ||
| var _statusCodes = require('./statusCodes.js'); | ||
| var errorStatus = require('error-status-hepler').use(_statusCodes); | ||
| var errorStatus = require('error-status-helper').use(_statusCodes); | ||
@@ -48,4 +48,4 @@ var app = express(); | ||
| code: 400, | ||
| statusCode:401001, | ||
| message: { | ||
| statusCode:401001, | ||
| en: "Bad Request" | ||
@@ -52,0 +52,0 @@ } |
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
49185
0.03%