typedescriptor
Advanced tools
Comparing version 4.0.0-internal.1 to 4.0.0-internal.2
import { isArray } from './isArray'; | ||
import { isBoolean } from './isBoolean'; | ||
import { isError } from './isError'; | ||
import { isError } from 'defekt'; | ||
import { isFunction } from './isFunction'; | ||
@@ -5,0 +5,0 @@ import { isMap } from './isMap'; |
@@ -8,4 +8,4 @@ "use strict"; | ||
Object.defineProperty(exports, "isBoolean", { enumerable: true, get: function () { return isBoolean_1.isBoolean; } }); | ||
const isError_1 = require("./isError"); | ||
Object.defineProperty(exports, "isError", { enumerable: true, get: function () { return isError_1.isError; } }); | ||
const defekt_1 = require("defekt"); | ||
Object.defineProperty(exports, "isError", { enumerable: true, get: function () { return defekt_1.isError; } }); | ||
const isFunction_1 = require("./isFunction"); | ||
@@ -12,0 +12,0 @@ Object.defineProperty(exports, "isFunction", { enumerable: true, get: function () { return isFunction_1.isFunction; } }); |
@@ -6,3 +6,3 @@ "use strict"; | ||
const isBoolean_1 = require("./isBoolean"); | ||
const isError_1 = require("./isError"); | ||
const defekt_1 = require("defekt"); | ||
const isFunction_1 = require("./isFunction"); | ||
@@ -24,3 +24,3 @@ const isMap_1 = require("./isMap"); | ||
} | ||
if (isError_1.isError(value)) { | ||
if (defekt_1.isError(value)) { | ||
return 'error'; | ||
@@ -27,0 +27,0 @@ } |
import { isArray } from './isArray'; | ||
import { isBoolean } from './isBoolean'; | ||
import { isError } from './isError'; | ||
import { isError } from 'defekt'; | ||
import { isFunction } from './isFunction'; | ||
@@ -5,0 +5,0 @@ import { isMap } from './isMap'; |
import { isArray } from './isArray'; | ||
import { isBoolean } from './isBoolean'; | ||
import { isError } from './isError'; | ||
import { isError } from 'defekt'; | ||
import { isFunction } from './isFunction'; | ||
@@ -5,0 +5,0 @@ import { isMap } from './isMap'; |
{ | ||
"name": "typedescriptor", | ||
"version": "4.0.0-internal.1", | ||
"version": "4.0.0-internal.2", | ||
"description": "typedescriptor identifies and describes types.", | ||
@@ -17,3 +17,5 @@ "contributors": [ | ||
"types": "build/lib/index.d.ts", | ||
"dependencies": {}, | ||
"dependencies": { | ||
"defekt": "7.1.0" | ||
}, | ||
"devDependencies": { | ||
@@ -20,0 +22,0 @@ "assertthat": "6.0.0", |
@@ -77,2 +77,4 @@ # typedescriptor | ||
The `isError` implementation is re-exported from [`defekt`](https://github.com/thenativeweb/defekt/). | ||
### Getting a variable's type name | ||
@@ -79,0 +81,0 @@ |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
488
114
0
28782
1
+ Addeddefekt@7.1.0
+ Addeddefekt@7.1.0(transitive)