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.0.0 to 2.1.0

dist/cjs/Errors.d.ts

17

package.json
{
"name": "@jamashita/anden-error",
"version": "2.0.0",
"version": "2.1.0",
"private": false,

@@ -12,8 +12,5 @@ "repository": {

"sideEffects": false,
"type": "module",
"exports": {
".": "./dist/index.js"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [

@@ -24,3 +21,5 @@ "dist",

"scripts": {
"build": "yarn clean && tsc -b tsconfig.build.json",
"build": "yarn clean && concurrently \"npm:build:*\"",
"build:cjs": "tsc -b tsconfig.cjs.json",
"build:esm": "tsc -b tsconfig.esm.json",
"clean": "concurrently \"npm:clean:*\"",

@@ -32,3 +31,3 @@ "clean:coverage": "rimraf coverage",

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

@@ -35,0 +34,0 @@ },

import { Ambiguous, Kind } from '@jamashita/anden-type';
import { RuntimeError } from './RuntimeError.js';
import { RuntimeError } from './RuntimeError';

@@ -4,0 +4,0 @@ export class Errors<E extends Error> extends RuntimeError<'Errors'> implements Iterable<E> {

@@ -1,4 +0,4 @@

export * from './Mock/index.js';
export * from './Errors.js';
export * from './RuntimeError.js';
export * from './UnimplementedError.js';
export * from './Mock/index';
export * from './Errors';
export * from './RuntimeError';
export * from './UnimplementedError';

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

export * from './MockRuntimeError.js';
export * from './MockRuntimeError';

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

import { RuntimeError } from '../RuntimeError.js';
import { RuntimeError } from '../RuntimeError';

@@ -3,0 +3,0 @@ export class MockRuntimeError extends RuntimeError<'MockRuntimeError'> {

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

import { RuntimeError } from './RuntimeError.js';
import { RuntimeError } from './RuntimeError';

@@ -3,0 +3,0 @@ export class UnimplementedError extends RuntimeError<'UnimplementedError'> {

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