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.30 to 0.1.0-alpha.31

2

lib/Exception.js

@@ -125,3 +125,3 @@ const UNKNOWN_FUNCTION = '?';

if ('Object.construct' === element.function && element.file.match(/Namespace\.js$/)) {
if ('Object.construct' === element.function && element.file.match(/(Namespace|ManagedProxy)\.js$/)) {
continue;

@@ -128,0 +128,0 @@ }

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

@@ -18,3 +18,3 @@ "main": "index.js",

"engines": {
"node": ">=8.10.0"
"node": ">=12.0.0"
},

@@ -25,3 +25,3 @@ "devDependencies": {

"chai": "^4.2",
"mocha": "^6.0"
"mocha": "^10.2"
},

@@ -28,0 +28,0 @@ "config": {

@@ -7,45 +7,44 @@ /// <reference lib="es2015" />

declare class Exception extends Error {
name: string;
previous?: Exception|Error;
code: number;
declare global {
class Exception extends Error {
name: string;
previous?: Exception | Error;
code: number;
/**
* The parsed stack trace for this exception.
*/
readonly stackTrace: StackTraceRecord[];
/**
* The parsed stack trace for this exception.
*/
readonly stackTrace: StackTraceRecord[];
/**
* The exception message.
*/
message: string;
/**
* The exception message.
*/
message: string;
/**
* Constructor.
*/
__construct(message?: string, code?: number, previous?: Error): void;
constructor(message?: string, code?: number, previous?: Error);
/**
* Constructor.
*/
__construct(message?: string, code?: number, previous?: Error): void;
constructor(message?: string, code?: number, previous?: Error);
/**
* Parses the stack trace of the given error and
* returns it as an key-value object.
*/
static parseStackTrace(error: Error): StackTraceRecord[];
/**
* Parses the stack trace of the given error and
* returns it as an key-value object.
*/
static parseStackTrace(error: Error): StackTraceRecord[];
private _message: string;
private _stackTrace: Record<string, string>[];
private _originalStack: string;
}
private _message: string;
private _stackTrace: Record<string, string>[];
private _originalStack: string;
}
declare class BadMethodCallException extends Exception {}
declare class DomainException extends Exception {}
declare class InvalidArgumentException extends Exception {}
declare class LogicException extends Exception {}
declare class OutOfBoundsException extends Exception {}
declare class RuntimeException extends Exception {}
declare class UnderflowException extends Exception {}
declare class UnexpectedValueException extends Exception {}
class BadMethodCallException extends Exception {}
class DomainException extends Exception {}
class InvalidArgumentException extends Exception {}
class LogicException extends Exception {}
class OutOfBoundsException extends Exception {}
class RuntimeException extends Exception {}
class UnderflowException extends Exception {}
class UnexpectedValueException extends Exception {}
export {};
declare global {
namespace NodeJS {

@@ -65,1 +64,3 @@ interface Global {

}
export {};

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