es-toolkit 1.16.0-dev.461 → 1.16.0-dev.463
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/array/sampleSize.d.mts +1 -1
- package/dist/array/sampleSize.d.ts +1 -1
- package/dist/browser.global.js.map +1 -1
- package/dist/compat/predicate/isBoolean.d.mts +1 -1
- package/dist/compat/predicate/isBoolean.d.ts +1 -1
- package/dist/compat/predicate/isString.d.mts +2 -2
- package/dist/compat/predicate/isString.d.ts +2 -2
- package/package.json +1 -7
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `boolean`.
|
|
8
8
|
*
|
|
9
9
|
* @param {unknown} x - The Value to test if it is boolean.
|
|
10
|
-
* @returns {x is boolean} True if the value is
|
|
10
|
+
* @returns {x is boolean} True if the value is boolean, false otherwise.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `boolean`.
|
|
8
8
|
*
|
|
9
9
|
* @param {unknown} x - The Value to test if it is boolean.
|
|
10
|
-
* @returns {x is boolean} True if the value is
|
|
10
|
+
* @returns {x is boolean} True if the value is boolean, false otherwise.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Checks if a given value is
|
|
2
|
+
* Checks if a given value is string.
|
|
3
3
|
*
|
|
4
4
|
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `string`.
|
|
5
5
|
*
|
|
6
6
|
* @param {unknown} value The value to check if it is string.
|
|
7
|
-
* @returns {value is string} Returns `true` if `value` is a
|
|
7
|
+
* @returns {value is string} Returns `true` if `value` is a string, else `false`.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* const value1 = 'abc';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Checks if a given value is
|
|
2
|
+
* Checks if a given value is string.
|
|
3
3
|
*
|
|
4
4
|
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `string`.
|
|
5
5
|
*
|
|
6
6
|
* @param {unknown} value The value to check if it is string.
|
|
7
|
-
* @returns {value is string} Returns `true` if `value` is a
|
|
7
|
+
* @returns {value is string} Returns `true` if `value` is a string, else `false`.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* const value1 = 'abc';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-toolkit",
|
|
3
3
|
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
|
|
4
|
-
"version": "1.16.0-dev.
|
|
4
|
+
"version": "1.16.0-dev.463+8c1e7c79",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|
|
@@ -213,16 +213,11 @@
|
|
|
213
213
|
},
|
|
214
214
|
"devDependencies": {
|
|
215
215
|
"@arethetypeswrong/cli": "^0.15.3",
|
|
216
|
-
"@babel/core": "^7.24.5",
|
|
217
|
-
"@babel/preset-env": "^7.24.5",
|
|
218
|
-
"@babel/preset-typescript": "^7.24.1",
|
|
219
216
|
"@changesets/changelog-github": "^0.5.0",
|
|
220
217
|
"@changesets/cli": "^2.27.1",
|
|
221
218
|
"@eslint/js": "^9.9.0",
|
|
222
219
|
"@rollup/plugin-terser": "^0.4.4",
|
|
223
220
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
224
|
-
"@types/babel__core": "^7",
|
|
225
|
-
"@types/babel__preset-env": "^7",
|
|
226
221
|
"@types/broken-link-checker": "^0",
|
|
227
222
|
"@types/eslint": "^9",
|
|
228
223
|
"@types/node": "^20.12.11",
|
|
@@ -239,7 +234,6 @@
|
|
|
239
234
|
"rollup-plugin-dts": "^6.1.1",
|
|
240
235
|
"tar": "^6",
|
|
241
236
|
"tslib": "^2.6.3",
|
|
242
|
-
"tsup": "^8.1.0",
|
|
243
237
|
"typescript": "^5.4.5",
|
|
244
238
|
"typescript-eslint": "^8.1.0",
|
|
245
239
|
"vitest": "^1.5.2"
|