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

@strapi/utils

Package Overview
Dependencies
Maintainers
8
Versions
1388
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strapi/utils - npm Package Compare versions

Comparing version 4.0.4 to 4.0.5

10

lib/errors.js

@@ -72,2 +72,11 @@ 'use strict';

class PolicyError extends ForbiddenError {
constructor(message, details) {
super(message, details);
this.name = 'PolicyError';
this.message = message || 'Policy Failed';
this.details = details || {};
}
}
module.exports = {

@@ -83,2 +92,3 @@ HttpError,

UnauthorizedError,
PolicyError,
};

4

package.json
{
"name": "@strapi/utils",
"version": "4.0.4",
"version": "4.0.5",
"description": "Shared utilities for the Strapi packages",

@@ -48,3 +48,3 @@ "keywords": [

},
"gitHead": "d81919ac2272948b3f5d3b25a4cf8cc7b6994460"
"gitHead": "45020eee065af8917011cc43398f95c4c624d6ad"
}
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