@jsopen/objects 1.5.2 → 1.6.0

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/CHANGELOG.md CHANGED
@@ -1,7 +1,11 @@
1
- # v1.5.2
2
- [2025-02-27]
1
+ ## Changelog
3
2
 
4
- ### Fixes
3
+ ### [v1.6.0](https://github.com/panates/jsopen-objects/compare/v1.5.2...v1.6.0) -
5
4
 
6
- * fix: Fixed coverage badge ([`6e8f94a`](https://github.com/panates/jsopen-objects/commit/6e8f94add7bb33cb7470a19008df2c95329b951b))
7
- * fix: Removed Node 16 tests. Jest not supported it anymore ([`84b9c7d`](https://github.com/panates/jsopen-objects/commit/84b9c7d9ef123543f7c848f987e2d5afa9a69c8d))
5
+ #### 🪲 Fixes
6
+
7
+ - fix: Fixed SharedArrayBuffer is not defined error on browsers @Eray Hanoğlu
8
+
9
+ #### 🛠 Refactoring and Updates
10
+
11
+ - fix: Fixed SharedArrayBuffer is not defined error on browsers @Eray Hanoğlu
@@ -1 +1 @@
1
- {"root":["../../src/clone.ts","../../src/index.ts","../../src/is-object.ts","../../src/merge.ts","../../src/omit.ts","../../src/type-guards.ts"],"version":"5.7.3"}
1
+ {"root":["../../src/clone.ts","../../src/index.ts","../../src/is-object.ts","../../src/merge.ts","../../src/omit.ts","../../src/type-guards.ts"],"version":"5.8.3"}
@@ -16,7 +16,6 @@ function isBuiltIn(v) {
16
16
  v instanceof Promise ||
17
17
  v instanceof Error ||
18
18
  v instanceof ArrayBuffer ||
19
- v instanceof SharedArrayBuffer ||
20
19
  v instanceof Uint8Array ||
21
20
  v instanceof Uint8ClampedArray ||
22
21
  v instanceof Uint16Array ||
@@ -25,6 +24,7 @@ function isBuiltIn(v) {
25
24
  v instanceof Int8Array ||
26
25
  v instanceof Int16Array ||
27
26
  v instanceof Int32Array ||
27
+ v.constructor.name === 'SharedArrayBuffer' ||
28
28
  Buffer.isBuffer(v))) ||
29
29
  Array.isArray(v));
30
30
  }
@@ -1 +1 @@
1
- {"root":["../../src/clone.ts","../../src/index.ts","../../src/is-object.ts","../../src/merge.ts","../../src/omit.ts","../../src/type-guards.ts"],"version":"5.7.3"}
1
+ {"root":["../../src/clone.ts","../../src/index.ts","../../src/is-object.ts","../../src/merge.ts","../../src/omit.ts","../../src/type-guards.ts"],"version":"5.8.3"}
@@ -10,7 +10,6 @@ export function isBuiltIn(v) {
10
10
  v instanceof Promise ||
11
11
  v instanceof Error ||
12
12
  v instanceof ArrayBuffer ||
13
- v instanceof SharedArrayBuffer ||
14
13
  v instanceof Uint8Array ||
15
14
  v instanceof Uint8ClampedArray ||
16
15
  v instanceof Uint16Array ||
@@ -19,6 +18,7 @@ export function isBuiltIn(v) {
19
18
  v instanceof Int8Array ||
20
19
  v instanceof Int16Array ||
21
20
  v instanceof Int32Array ||
21
+ v.constructor.name === 'SharedArrayBuffer' ||
22
22
  Buffer.isBuffer(v))) ||
23
23
  Array.isArray(v));
24
24
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jsopen/objects",
3
3
  "description": "Helper utilities for working with JavaScript objects and arrays",
4
- "version": "1.5.2",
4
+ "version": "1.6.0",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "dependencies": {
@@ -53,5 +53,8 @@
53
53
  "omit",
54
54
  "is-plain",
55
55
  "object-utils"
56
- ]
56
+ ],
57
+ "publishConfig": {
58
+ "access": "public"
59
+ }
57
60
  }