Socket
Socket
Sign inDemoInstall

@jamashita/anden-error

Package Overview
Dependencies
2
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.14.0 to 2.15.0

1

dist/cjs/mock/MockRuntimeError.d.ts
import { RuntimeError } from '../RuntimeError';
export declare class MockRuntimeError extends RuntimeError {
constructor(cause?: Error);
}
//# sourceMappingURL=MockRuntimeError.d.ts.map

@@ -6,7 +6,4 @@ "use strict";

class MockRuntimeError extends RuntimeError_1.RuntimeError {
constructor(cause) {
super('failed', cause);
}
}
exports.MockRuntimeError = MockRuntimeError;
//# sourceMappingURL=MockRuntimeError.js.map

1

dist/cjs/RuntimeError.d.ts

@@ -5,2 +5,3 @@ export declare class RuntimeError extends Error {

toString(): string;
get [Symbol.toStringTag](): string;
get name(): string;

@@ -7,0 +8,0 @@ get stack(): string;

@@ -25,2 +25,5 @@ "use strict";

}
get [Symbol.toStringTag]() {
return this.constructor.name;
}
get name() {

@@ -27,0 +30,0 @@ return this.constructor.name;

import { RuntimeError } from '../RuntimeError';
export declare class MockRuntimeError extends RuntimeError {
constructor(cause?: Error);
}
//# sourceMappingURL=MockRuntimeError.d.ts.map
import { RuntimeError } from '../RuntimeError';
export class MockRuntimeError extends RuntimeError {
constructor(cause) {
super('failed', cause);
}
}
//# sourceMappingURL=MockRuntimeError.js.map

@@ -5,2 +5,3 @@ export declare class RuntimeError extends Error {

toString(): string;
get [Symbol.toStringTag](): string;
get name(): string;

@@ -7,0 +8,0 @@ get stack(): string;

@@ -22,2 +22,5 @@ import { Kind } from '@jamashita/anden-type';

}
get [Symbol.toStringTag]() {
return this.constructor.name;
}
get name() {

@@ -24,0 +27,0 @@ return this.constructor.name;

{
"name": "@jamashita/anden-error",
"version": "2.14.0",
"version": "2.15.0",
"private": false,

@@ -5,0 +5,0 @@ "repository": {

import { RuntimeError } from '../RuntimeError';
export class MockRuntimeError extends RuntimeError {
public constructor(cause?: Error) {
super('failed', cause);
}
// NOOP
}

@@ -29,2 +29,6 @@ import { Ambiguous, Kind } from '@jamashita/anden-type';

public get [Symbol.toStringTag](): string {
return this.constructor.name;
}
public override get name(): string {

@@ -31,0 +35,0 @@ return this.constructor.name;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc