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

@jymfony/exceptions

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jymfony/exceptions - npm Package Compare versions

Comparing version 0.1.0-alpha.11 to 0.1.0-alpha.12

15

lib/Exception.js

@@ -42,2 +42,9 @@ const UNKNOWN_FUNCTION = '?';

/**
* @type {Object.<string, string>[]}
*
* @private
*/
this._stackTrace = undefined;
Error.captureStackTrace(this, this.constructor);

@@ -55,3 +62,7 @@ this._originalStack = this.stack.split('\n').join('\n');

get stackTrace() {
return Exception.parseStackTrace(this);
if (undefined === this._stackTrace) {
this._stackTrace = Exception.parseStackTrace(this);
}
return this._stackTrace;
}

@@ -78,2 +89,3 @@

_updateStack() {
this._stackTrace = undefined;
this.stack = this.constructor.name + ': ' + this.message + '\n\n' + this._originalStack;

@@ -96,2 +108,3 @@ }

for (let i = 0, j = lines.length; i < j; ++i) {
regex.lastIndex = 0;
if ((parts = regex.exec(lines[i]))) {

@@ -98,0 +111,0 @@ element = {

2

package.json
{
"name": "@jymfony/exceptions",
"version": "0.1.0-alpha.11",
"version": "0.1.0-alpha.12",
"description": "Jymfony exception (core package)",

@@ -5,0 +5,0 @@ "main": "index.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