@naturalcycles/js-lib 15.56.0 → 15.57.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.
@@ -370,7 +370,7 @@ export function _set(obj, path, value) {
370
370
  a[c]
371
371
  : // No: create the key. Is the next key a potential array-index?
372
372
  (a[c] =
373
- // eslint-disable-next-line
373
+ // oxlint-disable-next-line no-bitwise no-implicit-coercion unicorn/prefer-math-trunc
374
374
  Math.abs(path[i + 1]) >> 0 === +path[i + 1]
375
375
  ? [] // Yes: assign a new array object
376
376
  : {}), // No: assign a new plain object
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/js-lib",
3
3
  "type": "module",
4
- "version": "15.56.0",
4
+ "version": "15.57.0",
5
5
  "dependencies": {
6
6
  "tslib": "^2",
7
7
  "undici": "^7",
@@ -9,11 +9,11 @@
9
9
  },
10
10
  "devDependencies": {
11
11
  "@types/crypto-js": "^4",
12
- "@types/node": "^24",
12
+ "@types/node": "^25",
13
13
  "@types/semver": "^7",
14
14
  "crypto-js": "^4",
15
15
  "dayjs": "^1",
16
- "@naturalcycles/dev-lib": "18.4.2"
16
+ "@naturalcycles/dev-lib": "20.15.0"
17
17
  },
18
18
  "exports": {
19
19
  ".": "./dist/index.js",
@@ -443,7 +443,7 @@ export function _set<T extends AnyObject>(obj: T, path: PropertyPath, value: any
443
443
  a[c]
444
444
  : // No: create the key. Is the next key a potential array-index?
445
445
  (a[c] =
446
- // eslint-disable-next-line
446
+ // oxlint-disable-next-line no-bitwise no-implicit-coercion unicorn/prefer-math-trunc
447
447
  Math.abs(path[i + 1]) >> 0 === +path[i + 1]
448
448
  ? [] // Yes: assign a new array object
449
449
  : {}), // No: assign a new plain object