is-what 5.0.0 → 5.0.1
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/README.md +1 -1
- package/dist/isPlainObject.d.ts +3 -1
- package/package.json +17 -21
package/README.md
CHANGED
package/dist/isPlainObject.d.ts
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
export type PlainObject =
|
1
|
+
export type PlainObject = {
|
2
|
+
[key in string | number | symbol]: unknown;
|
3
|
+
};
|
2
4
|
/**
|
3
5
|
* Returns whether the payload is a plain JavaScript object (excluding special classes or objects
|
4
6
|
* with other prototypes)
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "is-what",
|
3
|
-
"version": "5.0.
|
3
|
+
"version": "5.0.1",
|
4
4
|
"description": "JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.",
|
5
5
|
"type": "module",
|
6
6
|
"sideEffects": false,
|
@@ -8,9 +8,6 @@
|
|
8
8
|
".": "./dist/index.js",
|
9
9
|
"./*": "./dist/*"
|
10
10
|
},
|
11
|
-
"files": [
|
12
|
-
"dist"
|
13
|
-
],
|
14
11
|
"engines": {
|
15
12
|
"node": ">=18"
|
16
13
|
},
|
@@ -21,10 +18,17 @@
|
|
21
18
|
"build:docs": "typedoc",
|
22
19
|
"release": "npm run lint && npm run build && np"
|
23
20
|
},
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
21
|
+
"devDependencies": {
|
22
|
+
"@cycraft/eslint": "^0.3.0",
|
23
|
+
"@cycraft/tsconfig": "^0.1.2",
|
24
|
+
"del-cli": "^5.1.0",
|
25
|
+
"np": "^10.0.5",
|
26
|
+
"typedoc": "^0.25.13",
|
27
|
+
"vitest": "^1.6.0"
|
27
28
|
},
|
29
|
+
"files": [
|
30
|
+
"dist"
|
31
|
+
],
|
28
32
|
"keywords": [
|
29
33
|
"javascript",
|
30
34
|
"typescript",
|
@@ -46,21 +50,13 @@
|
|
46
50
|
"is-plain-obj",
|
47
51
|
"is-plain-object"
|
48
52
|
],
|
49
|
-
"author": "Luca Ban - Mesqueeb",
|
53
|
+
"author": "Luca Ban - Mesqueeb (https://cycraft.co)",
|
50
54
|
"funding": "https://github.com/sponsors/mesqueeb",
|
51
55
|
"license": "MIT",
|
52
|
-
"
|
53
|
-
|
54
|
-
"
|
55
|
-
"@cycraft/tsconfig": "^0.1.2",
|
56
|
-
"del-cli": "^5.1.0",
|
57
|
-
"np": "^10.0.5",
|
58
|
-
"typedoc": "^0.25.13",
|
59
|
-
"vitest": "^1.6.0"
|
56
|
+
"repository": {
|
57
|
+
"type": "git",
|
58
|
+
"url": "https://github.com/mesqueeb/is-what.git"
|
60
59
|
},
|
61
|
-
"
|
62
|
-
|
63
|
-
"publish": false,
|
64
|
-
"yarn": false
|
65
|
-
}
|
60
|
+
"homepage": "https://github.com/mesqueeb/is-what#readme",
|
61
|
+
"bugs": "https://github.com/mesqueeb/is-what/issues"
|
66
62
|
}
|