bunshin-clone 1.3.1 → 1.3.2

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 CHANGED
@@ -13,11 +13,11 @@ npm i bunshin-clone
13
13
  import { bunshinClone } from 'bunshin-clone';
14
14
 
15
15
  // CDNs
16
- import { bunshinClone } from 'https://esm.sh/bunshin-clone@1.3.1';
16
+ import { bunshinClone } from 'https://esm.sh/bunshin-clone@1.3.2';
17
17
  // or
18
- import { bunshinClone } from 'https://cdn.jsdelivr.net/npm/bunshin-clone@1.3.1/+esm';
18
+ import { bunshinClone } from 'https://cdn.jsdelivr.net/npm/bunshin-clone@1.3.2/+esm';
19
19
  // or
20
- import { bunshinClone } from 'https://esm.unpkg.com/bunshin-clone@1.3.1';
20
+ import { bunshinClone } from 'https://esm.unpkg.com/bunshin-clone@1.3.2';
21
21
  ```
22
22
 
23
23
  ## 📦 APIs
package/dist/index.cjs CHANGED
@@ -193,7 +193,7 @@ function isObject(value) {
193
193
  return typeof value === "object" && value !== null;
194
194
  }
195
195
  function isPlainObject(value) {
196
- if (typeof value !== "object" || value === null) {
196
+ if (!isObject(value)) {
197
197
  return false;
198
198
  }
199
199
  const proto = Object.getPrototypeOf(value);
@@ -219,7 +219,7 @@ function resolveOptions(options) {
219
219
  * High-performance deep clone utility with descriptor support.
220
220
  * Handles circular ref and complex built-in types.
221
221
  *
222
- * @version 1.3.1
222
+ * @version 1.3.2
223
223
  * @author Yusuke Kamiyamane
224
224
  * @license MIT
225
225
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@
3
3
  * High-performance deep clone utility with descriptor support.
4
4
  * Handles circular ref and complex built-in types.
5
5
  *
6
- * @version 1.3.1
6
+ * @version 1.3.2
7
7
  * @author Yusuke Kamiyamane
8
8
  * @license MIT
9
9
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * High-performance deep clone utility with descriptor support.
4
4
  * Handles circular ref and complex built-in types.
5
5
  *
6
- * @version 1.3.1
6
+ * @version 1.3.2
7
7
  * @author Yusuke Kamiyamane
8
8
  * @license MIT
9
9
  * @copyright Copyright (c) Yusuke Kamiyamane
package/dist/index.js CHANGED
@@ -191,7 +191,7 @@ function isObject(value) {
191
191
  return typeof value === "object" && value !== null;
192
192
  }
193
193
  function isPlainObject(value) {
194
- if (typeof value !== "object" || value === null) {
194
+ if (!isObject(value)) {
195
195
  return false;
196
196
  }
197
197
  const proto = Object.getPrototypeOf(value);
@@ -217,7 +217,7 @@ function resolveOptions(options) {
217
217
  * High-performance deep clone utility with descriptor support.
218
218
  * Handles circular ref and complex built-in types.
219
219
  *
220
- * @version 1.3.1
220
+ * @version 1.3.2
221
221
  * @author Yusuke Kamiyamane
222
222
  * @license MIT
223
223
  * @copyright Copyright (c) Yusuke Kamiyamane
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunshin-clone",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "High-performance deep clone utility with descriptor support",
5
5
  "keywords": [
6
6
  "array",