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

normalize-exception

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normalize-exception - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

build/src/create/main.js

7

build/src/main.js
import{normalizeAggregate}from"./aggregate.js";
import{normalizeCause}from"./cause.js";
import{createError}from"./create.js";
import{createError}from"./create/main.js";
import{setErrorProperty,normalizeDescriptors}from"./descriptors.js";

@@ -37,6 +37,3 @@ import{setFullStack,fixStack}from"./stack.js";

if(!isDefinedString(error.name)){
const name=isDefinedString(error.constructor.name)?
error.constructor.name:
"Error";
setErrorProperty(error,"name",name);
setErrorProperty(error,"name",error.constructor.name);
}

@@ -43,0 +40,0 @@ };

{
"name": "normalize-exception",
"version": "1.1.4",
"version": "1.1.5",
"type": "module",

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

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