@jsopen/objects 1.5.1 → 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,6 +1,11 @@
1
- # v1.5.1
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 calling cached filter function issue ([`b8a3849`](https://github.com/panates/jsopen-objects/commit/b8a38494567cf824d8c6983e0a00b4233356fa2f))
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
package/README.md CHANGED
@@ -23,8 +23,8 @@ A 'swiss army knife' solution for working with javascript objects.
23
23
  [npm-url]: https://npmjs.org/package/@jsopen/objects
24
24
  [ci-test-image]: https://github.com/panates/jsopen-objects/actions/workflows/test.yml/badge.svg
25
25
  [ci-test-url]: https://github.com/panates/jsopen-objects/actions/workflows/test.yml
26
- [coveralls-image]: https://img.shields.io/coveralls/panates/@jsopen/objects/master.svg
27
- [coveralls-url]: https://coveralls.io/r/panates/@jsopen/objects
26
+ [coveralls-image]: https://coveralls.io/repos/github/panates/jsopen-objects/badge.svg?branch=main
27
+ [coveralls-url]: https://coveralls.io/github/panates/jsopen-objects?branch=main
28
28
  [downloads-image]: https://img.shields.io/npm/dm/@jsopen/objects.svg
29
29
  [downloads-url]: https://npmjs.org/package/@jsopen/objects
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"}
@@ -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.1",
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
  }