is-kit 1.1.8 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +4 -1
package/dist/index.js
CHANGED
|
@@ -200,8 +200,8 @@ var isTypedArray = define(
|
|
|
200
200
|
var isError = define(
|
|
201
201
|
(value) => value instanceof Error || getTag(value) === "[object Error]"
|
|
202
202
|
);
|
|
203
|
-
var isURL = typeof URL !== "undefined" ? define((value) => value instanceof URL) : define((
|
|
204
|
-
var isBlob = typeof Blob !== "undefined" ? define((value) => value instanceof Blob) : define((
|
|
203
|
+
var isURL = typeof URL !== "undefined" ? define((value) => value instanceof URL) : define(() => false);
|
|
204
|
+
var isBlob = typeof Blob !== "undefined" ? define((value) => value instanceof Blob) : define(() => false);
|
|
205
205
|
|
|
206
206
|
// src/core/equals.ts
|
|
207
207
|
function equals(target) {
|
package/dist/index.mjs
CHANGED
|
@@ -114,8 +114,8 @@ var isTypedArray = define(
|
|
|
114
114
|
var isError = define(
|
|
115
115
|
(value) => value instanceof Error || getTag(value) === "[object Error]"
|
|
116
116
|
);
|
|
117
|
-
var isURL = typeof URL !== "undefined" ? define((value) => value instanceof URL) : define((
|
|
118
|
-
var isBlob = typeof Blob !== "undefined" ? define((value) => value instanceof Blob) : define((
|
|
117
|
+
var isURL = typeof URL !== "undefined" ? define((value) => value instanceof URL) : define(() => false);
|
|
118
|
+
var isBlob = typeof Blob !== "undefined" ? define((value) => value instanceof Blob) : define(() => false);
|
|
119
119
|
|
|
120
120
|
// src/core/equals.ts
|
|
121
121
|
function equals(target) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "is-kit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
4
4
|
"description": "Make 'isXXX' easier. Let's make your code type safe and more readable!",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -39,10 +39,13 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@eslint/js": "^9.33.0",
|
|
41
41
|
"@types/jest": "^30.0.0",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^8.12.0",
|
|
43
|
+
"@typescript-eslint/parser": "^8.12.0",
|
|
42
44
|
"eslint": "^9.33.0",
|
|
43
45
|
"eslint-config-prettier": "^10.1.8",
|
|
44
46
|
"eslint-plugin-prettier": "^5.5.4",
|
|
45
47
|
"jest": "^30.0.5",
|
|
48
|
+
"lefthook": "^2.0.13",
|
|
46
49
|
"prettier": "^3.6.2",
|
|
47
50
|
"ts-jest": "^29.4.1",
|
|
48
51
|
"tsd": "^0.33.0",
|