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

error-type

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

error-type - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

7

build/src/create.js

@@ -36,11 +36,6 @@

for(const key in params){
for(const key of Reflect.ownKeys(params)){
setKey({error,params,key,onCreateParams});
}
for(const symbol of Object.getOwnPropertySymbols(params)){
setKey({error,params,key:symbol,onCreateParams});
}
return onCreateParams;

@@ -47,0 +42,0 @@ };

4

build/src/main.js

@@ -8,2 +8,6 @@ import{defaultOnCreate,getOnCreateParams}from"./create.js";

export default function errorType(name,onCreate=defaultOnCreate){

@@ -10,0 +14,0 @@ const ErrorType=class extends Error{

{
"name": "error-type",
"version": "1.1.8",
"version": "1.1.9",
"type": "module",

@@ -5,0 +5,0 @@ "exports": "./build/src/main.js",

Sorry, the diff of this file is not supported yet

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