You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

set-error-message

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

set-error-message - npm Package Compare versions

Comparing version

to
1.0.1

3

build/src/main.js

@@ -28,3 +28,4 @@ import normalizeException from"normalize-exception";

const stackIncludesMessage=function(){
return new Error(EXAMPLE_MESSAGE).stack.includes(EXAMPLE_MESSAGE);
const{stack}=new Error(EXAMPLE_MESSAGE);
return typeof stack==="string"&&stack.includes(EXAMPLE_MESSAGE);
};

@@ -31,0 +32,0 @@

{
"name": "set-error-message",
"version": "1.0.0",
"version": "1.0.1",
"type": "module",

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

"dependencies": {
"normalize-exception": "^2.4.0"
"normalize-exception": "^2.5.1"
},

@@ -52,0 +52,0 @@ "devDependencies": {