New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

restle-error

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restle-error - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

3

index.js

@@ -47,2 +47,3 @@ const RestleError = require('./restle-error');

const method = options.method;
const target = options.target;

@@ -52,3 +53,3 @@ this.status = 400;

this.title = `Relationship error`;
this.detail = `You cannot ${method} a ${type} relationship.`;
this.detail = `You cannot ${method} a ${type} relationship with a ${target}.`;
}

@@ -55,0 +56,0 @@

{
"name": "restle-error",
"version": "0.0.4",
"version": "0.0.5",
"description": "Restle errors.",

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

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