es-toolkit 1.34.0-dev.1073 → 1.34.0-dev.1075

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.
@@ -11,7 +11,7 @@ const range$1 = require('../_chunk/range-HnEIT7.js');
11
11
  const randomInt = require('../_chunk/randomInt-CF7bZK.js');
12
12
  const toMerged = require('../_chunk/toMerged-CwnQF6.js');
13
13
  const isPlainObject$1 = require('../_chunk/isPlainObject-Xaozpc.js');
14
- const isWeakSet$1 = require('../_chunk/isWeakSet-CQZSI-.js');
14
+ const isWeakSet$1 = require('../_chunk/isWeakSet-C2NpfO.js');
15
15
  const promise_index = require('../promise/index.js');
16
16
  const upperFirst$1 = require('../_chunk/upperFirst-nA5L7X.js');
17
17
  const invariant = require('../_chunk/invariant-BfGFfr.js');
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ const randomInt = require('./_chunk/randomInt-CF7bZK.js');
14
14
  const math_index = require('./math/index.js');
15
15
  const toMerged = require('./_chunk/toMerged-CwnQF6.js');
16
16
  const object_index = require('./object/index.js');
17
- const isWeakSet = require('./_chunk/isWeakSet-CQZSI-.js');
17
+ const isWeakSet = require('./_chunk/isWeakSet-C2NpfO.js');
18
18
  const predicate_index = require('./predicate/index.js');
19
19
  const isPlainObject = require('./_chunk/isPlainObject-Xaozpc.js');
20
20
  const delay = require('./_chunk/delay-_VMfFa.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const isWeakSet = require('../_chunk/isWeakSet-CQZSI-.js');
5
+ const isWeakSet = require('../_chunk/isWeakSet-C2NpfO.js');
6
6
  const isPlainObject = require('../_chunk/isPlainObject-Xaozpc.js');
7
7
 
8
8
  function isBoolean(x) {
@@ -1,5 +1,5 @@
1
1
  function isBrowser() {
2
- return globalThis.window?.document != null;
2
+ return typeof window !== 'undefined' && window?.document != null;
3
3
  }
4
4
 
5
5
  export { isBrowser };
@@ -1,5 +1,5 @@
1
1
  function isNode() {
2
- return globalThis.process?.versions?.node != null;
2
+ return typeof process !== 'undefined' && process?.versions?.node != null;
3
3
  }
4
4
 
5
5
  export { isNode };
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.34.0-dev.1073+cbf270e4",
4
+ "version": "1.34.0-dev.1075+2cd49eae",
5
5
  "homepage": "https://es-toolkit.slash.page",
6
6
  "bugs": "https://github.com/toss/es-toolkit/issues",
7
7
  "repository": {