@thi.ng/errors
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -1,2 +0,2 @@ | ||
import { defError } from "./deferror"; | ||
import { defError } from "./deferror.js"; | ||
// FIXME https://github.com/snowpackjs/snowpack/issues/3621#issuecomment-907731004 | ||
@@ -3,0 +3,0 @@ import.meta.hot; |
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/errors@2.0.0...@thi.ng/errors@2.0.1) (2021-10-13) | ||
**Note:** Version bump only for package @thi.ng/errors | ||
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/errors@1.3.4...@thi.ng/errors@2.0.0) (2021-10-12) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { defError } from "./deferror"; | ||
import { defError } from "./deferror.js"; | ||
export const IllegalArgumentError = defError(() => "illegal argument(s)"); | ||
@@ -3,0 +3,0 @@ export const illegalArgs = (msg) => { |
@@ -1,2 +0,2 @@ | ||
import { defError } from "./deferror"; | ||
import { defError } from "./deferror.js"; | ||
export const IllegalArityError = defError(() => "illegal arity"); | ||
@@ -3,0 +3,0 @@ export const illegalArity = (n) => { |
@@ -1,2 +0,2 @@ | ||
import { defError } from "./deferror"; | ||
import { defError } from "./deferror.js"; | ||
export const IllegalStateError = defError(() => "illegal state"); | ||
@@ -3,0 +3,0 @@ export const illegalState = (msg) => { |
@@ -1,8 +0,8 @@ | ||
export * from "./deferror"; | ||
export * from "./assert"; | ||
export * from "./illegal-arguments"; | ||
export * from "./illegal-arity"; | ||
export * from "./illegal-state"; | ||
export * from "./out-of-bounds"; | ||
export * from "./unsupported"; | ||
export * from "./deferror.js"; | ||
export * from "./assert.js"; | ||
export * from "./illegal-arguments.js"; | ||
export * from "./illegal-arity.js"; | ||
export * from "./illegal-state.js"; | ||
export * from "./out-of-bounds.js"; | ||
export * from "./unsupported.js"; | ||
//# sourceMappingURL=index.d.ts.map |
14
index.js
@@ -1,7 +0,7 @@ | ||
export * from "./deferror"; | ||
export * from "./assert"; | ||
export * from "./illegal-arguments"; | ||
export * from "./illegal-arity"; | ||
export * from "./illegal-state"; | ||
export * from "./out-of-bounds"; | ||
export * from "./unsupported"; | ||
export * from "./deferror.js"; | ||
export * from "./assert.js"; | ||
export * from "./illegal-arguments.js"; | ||
export * from "./illegal-arity.js"; | ||
export * from "./illegal-state.js"; | ||
export * from "./out-of-bounds.js"; | ||
export * from "./unsupported.js"; |
@@ -1,2 +0,2 @@ | ||
import { defError } from "./deferror"; | ||
import { defError } from "./deferror.js"; | ||
export const OutOfBoundsError = defError(() => "index out of bounds"); | ||
@@ -3,0 +3,0 @@ export const outOfBounds = (index) => { |
{ | ||
"name": "@thi.ng/errors", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Custom error types and error factory functions", | ||
@@ -37,3 +37,3 @@ "type": "module", | ||
"devDependencies": { | ||
"@thi.ng/testament": "^0.1.0" | ||
"@thi.ng/testament": "^0.1.1" | ||
}, | ||
@@ -52,2 +52,5 @@ "keywords": [ | ||
}, | ||
"engines": { | ||
"node": ">=12.7" | ||
}, | ||
"files": [ | ||
@@ -86,3 +89,3 @@ "*.js", | ||
}, | ||
"gitHead": "9ac1344b38b565eb894306fbf72233b6c0b2d115" | ||
"gitHead": "2e6b3d7c0f4c5686c1e9bdb4902ed7d3f90bcc19" | ||
} |
@@ -57,6 +57,7 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
For NodeJS (v14.6+): | ||
For Node.js REPL: | ||
```text | ||
node --experimental-specifier-resolution=node --experimental-repl-await | ||
# with flag only for < v16 | ||
node --experimental-repl-await | ||
@@ -63,0 +64,0 @@ > const errors = await import("@thi.ng/errors"); |
@@ -1,2 +0,2 @@ | ||
import { defError } from "./deferror"; | ||
import { defError } from "./deferror.js"; | ||
export const UnsupportedOperationError = defError(() => "unsupported operation"); | ||
@@ -3,0 +3,0 @@ export const unsupported = (msg) => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28513
133