Socket
Socket
Sign inDemoInstall

clean-stack

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.2.0

10

index.js

@@ -15,3 +15,11 @@ 'use strict';

return !pathRegex.test(pathMatches[1]);
const match = pathMatches[1];
// Electron
if (match.includes('.app/Contents/Resources/electron.asar') ||
match.includes('.app/Contents/Resources/default_app.asar')) {
return false;
}
return !pathRegex.test(match);
})

@@ -18,0 +26,0 @@ .filter(x => x.trim() !== '')

5

package.json
{
"name": "clean-stack",
"version": "1.1.1",
"version": "1.2.0",
"description": "Clean up error stack traces",

@@ -27,3 +27,4 @@ "license": "MIT",

"error",
"err"
"err",
"electron"
],

@@ -30,0 +31,0 @@ "devDependencies": {

@@ -7,3 +7,5 @@ # clean-stack [![Build Status](https://travis-ci.org/sindresorhus/clean-stack.svg?branch=master)](https://travis-ci.org/sindresorhus/clean-stack)

Also works in Electron.
## Install

@@ -44,3 +46,4 @@

Check out [stack-utils](https://github.com/tapjs/stack-utils) if you want something more.
- [extrack-stack](https://github.com/sindresorhus/extract-stack) - Extract the actual stack of an error
- [stack-utils](https://github.com/tapjs/stack-utils) - Captures and cleans stack traces

@@ -47,0 +50,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc