Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@doing-things-with-node-red/node-red-contrib-http-out-error

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@doing-things-with-node-red/node-red-contrib-http-out-error - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

package.json
{
"name": "@doing-things-with-node-red/node-red-contrib-http-out-error",
"version": "1.0.1",
"description": "",
"version": "1.0.2",
"description": "It's a Node-RED custom node allowing to use http-errors to response in a easy way with a http error on a catch node.",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

[![Build Status](https://dev.azure.com/doing-things-with-node-red/node-red-contrib/_apis/build/status/doing-things-with-node-red.node-red-contrib-http-out-error?branchName=master)](https://dev.azure.com/doing-things-with-node-red/node-red-contrib/_build/latest?definitionId=1&branchName=master)
[![Greenkeeper badge](https://badges.greenkeeper.io/doing-things-with-node-red/node-red-contrib-http-out-error.svg)](https://greenkeeper.io/)
[![npm](https://img.shields.io/npm/dw/@doing-things-with-node-red/node-red-contrib-http-out-error.svg)](https://www.npmjs.com/package/@doing-things-with-node-red/node-red-contrib-http-out-error)
[![npm](https://img.shields.io/npm/dm/@doing-things-with-node-red/node-red-contrib-http-out-error.svg)](https://www.npmjs.com/package/@doing-things-with-node-red/node-red-contrib-http-out-error)
[![npm](https://img.shields.io/npm/dy/@doing-things-with-node-red/node-red-contrib-http-out-error.svg)](https://www.npmjs.com/package/@doing-things-with-node-red/node-red-contrib-http-out-error)
[![npm](https://img.shields.io/npm/dt/@doing-things-with-node-red/node-red-contrib-http-out-error.svg)](https://www.npmjs.com/package/@doing-things-with-node-red/node-red-contrib-http-out-error)

@@ -16,2 +21,2 @@ # node-red-contrib-http-response-error

See the [LICENSE file](LICENSE) for license text and copyright information.
See the [LICENSE file](LICENSE) for license text and copyright information.

@@ -224,3 +224,3 @@ /* eslint-disable import/no-extraneous-dependencies */

if (msg.res) {
const statusCode = msg.statusCode || 500;
const statusCode = msg.statusCode >= 400 ? msg.statusCode : 500;
const httpError = getHttpError(statusCode);

@@ -227,0 +227,0 @@ // parse msg Headers and Cookies:

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