Socket
Socket
Sign inDemoInstall

@jamashita/anden-error

Package Overview
Dependencies
4
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.10.0 to 2.11.0

3

dist/cjs/mock/MockRuntimeError.d.ts

@@ -0,5 +1,6 @@

import { Ambiguous } from '@jamashita/anden-type';
import { RuntimeError } from '../RuntimeError';
export declare class MockRuntimeError extends RuntimeError {
constructor(cause?: Error);
constructor(cause?: Ambiguous<Error>);
}
//# sourceMappingURL=MockRuntimeError.d.ts.map

@@ -1,2 +0,2 @@

import { Ambiguous } from '@jamashita/anden-type/src/index';
import { Ambiguous } from '@jamashita/anden-type';
import { RuntimeError } from './RuntimeError';

@@ -3,0 +3,0 @@ export declare class UnimplementedError extends RuntimeError {

@@ -0,5 +1,6 @@

import { Ambiguous } from '@jamashita/anden-type';
import { RuntimeError } from '../RuntimeError';
export declare class MockRuntimeError extends RuntimeError {
constructor(cause?: Error);
constructor(cause?: Ambiguous<Error>);
}
//# sourceMappingURL=MockRuntimeError.d.ts.map

@@ -1,2 +0,2 @@

import { Ambiguous } from '@jamashita/anden-type/src/index';
import { Ambiguous } from '@jamashita/anden-type';
import { RuntimeError } from './RuntimeError';

@@ -3,0 +3,0 @@ export declare class UnimplementedError extends RuntimeError {

{
"name": "@jamashita/anden-error",
"version": "2.10.0",
"version": "2.11.0",
"private": false,

@@ -28,3 +28,3 @@ "repository": {

"dependencies": {
"@jamashita/anden-type": "^2.6.1",
"@jamashita/anden-type": "^2.8.0",
"make-error-cause": "2.3.0"

@@ -31,0 +31,0 @@ },

@@ -0,7 +1,8 @@

import { Ambiguous } from '@jamashita/anden-type';
import { RuntimeError } from '../RuntimeError';
export class MockRuntimeError extends RuntimeError {
public constructor(cause?: Error) {
public constructor(cause?: Ambiguous<Error>) {
super('failed', cause);
}
}

@@ -1,2 +0,2 @@

import { Ambiguous } from '@jamashita/anden-type/src/index';
import { Ambiguous } from '@jamashita/anden-type';
import { RuntimeError } from './RuntimeError';

@@ -3,0 +3,0 @@

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