es-toolkit 1.20.0-dev.628 → 1.20.0-dev.630
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/compat/index.js
CHANGED
|
@@ -1369,11 +1369,11 @@ function endsWith(str, target, position = str.length) {
|
|
|
1369
1369
|
}
|
|
1370
1370
|
|
|
1371
1371
|
function padStart(str, length = 0, chars = ' ') {
|
|
1372
|
-
return str.padStart(length, chars);
|
|
1372
|
+
return toString(str).padStart(length, chars);
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
1375
1375
|
function padEnd(str, length = 0, chars = ' ') {
|
|
1376
|
-
return str.padEnd(length, chars);
|
|
1376
|
+
return toString(str).padEnd(length, chars);
|
|
1377
1377
|
}
|
|
1378
1378
|
|
|
1379
1379
|
function repeat(str, n) {
|
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.20.0-dev.
|
|
4
|
+
"version": "1.20.0-dev.630+0061e902",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|