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.2 to 1.1.3

9

build/src/create.js

@@ -0,5 +1,6 @@

import isPlainObj from"is-plain-obj";
import{supportsAggregateError}from"./aggregate.js";
import{setErrorProperty,isNonModifiableError}from"./descriptors.js";
import{setFullStack}from"./stack.js";
import{isPlainObj}from"./utils.js";

@@ -25,5 +26,7 @@

const isError=function(value){
return(
objectToString.call(value)==="[object Error]"&&
!(Symbol.toStringTag in value));
const isError=function(value){
return objectToString.call(value)==="[object Error]";
};

@@ -30,0 +33,0 @@

{
"name": "normalize-exception",
"version": "1.1.2",
"version": "1.1.3",
"type": "module",

@@ -55,3 +55,6 @@ "exports": "./build/src/main.js",

"node": ">=14.18.0"
},
"dependencies": {
"is-plain-obj": "^4.1.0"
}
}

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