es-toolkit 1.13.1-dev.387 → 1.13.1-dev.389
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.
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
*/
|
|
26
26
|
declare function bind<F extends Function>(func: F, thisObj?: unknown, ...partialArgs: any[]): F;
|
|
27
27
|
declare namespace bind {
|
|
28
|
-
var placeholder:
|
|
28
|
+
var placeholder: typeof bindPlaceholder;
|
|
29
29
|
}
|
|
30
|
+
declare const bindPlaceholder: unique symbol;
|
|
30
31
|
|
|
31
32
|
export { bind };
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
*/
|
|
26
26
|
declare function bind<F extends Function>(func: F, thisObj?: unknown, ...partialArgs: any[]): F;
|
|
27
27
|
declare namespace bind {
|
|
28
|
-
var placeholder:
|
|
28
|
+
var placeholder: typeof bindPlaceholder;
|
|
29
29
|
}
|
|
30
|
+
declare const bindPlaceholder: unique symbol;
|
|
30
31
|
|
|
31
32
|
export { bind };
|
package/dist/compat/index.js
CHANGED
|
@@ -198,7 +198,8 @@ function bind(func, thisObj, ...partialArgs) {
|
|
|
198
198
|
};
|
|
199
199
|
return binded;
|
|
200
200
|
}
|
|
201
|
-
|
|
201
|
+
const bindPlaceholder = Symbol('bind.placeholder');
|
|
202
|
+
bind.placeholder = bindPlaceholder;
|
|
202
203
|
|
|
203
204
|
const IS_PLAIN = /^\w*$/;
|
|
204
205
|
const IS_DEEP = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
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.13.1-dev.
|
|
4
|
+
"version": "1.13.1-dev.389+9109e890",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|