@naturalcycles/dev-lib 20.7.0 → 20.9.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/cfg/biome.jsonc CHANGED
@@ -32,6 +32,7 @@
32
32
  "rules": {
33
33
  "recommended": true,
34
34
  "performance": {
35
+ "noAccumulatingSpread": "off", // oxlint
35
36
  // "useTopLevelRegex": "error" // consider
36
37
  "noDelete": "off" // oxlint
37
38
  },
@@ -308,7 +308,7 @@ export default {
308
308
  // 2,
309
309
  // { vars: 'all', varsIgnorePattern: '^_', args: 'after-used', argsIgnorePattern: '^_' },
310
310
  // ],
311
- '@typescript-eslint/no-duplicate-enum-values': 2,
311
+ '@typescript-eslint/no-duplicate-enum-values': 0, // oxlint
312
312
  '@typescript-eslint/no-redundant-type-constituents': 0, // `'a' | string` is still useful for DX
313
313
  '@typescript-eslint/no-empty-function': 0,
314
314
  '@typescript-eslint/no-var-requires': 0,
@@ -120,6 +120,7 @@
120
120
  "unicorn/prefer-array-some": 2,
121
121
  "unicorn/prefer-math-trunc": 2,
122
122
  "import/no-named-default": 2,
123
+ "unicorn/no-new-array": 0, // it's actually ok
123
124
  "unicorn/catch-error-name": [
124
125
  2,
125
126
  {
@@ -9,7 +9,7 @@
9
9
  "baseUrl": "${configDir}/src",
10
10
  "outDir": "${configDir}/dist",
11
11
  // Target/module
12
- "target": "es2023",
12
+ "target": "es2024",
13
13
  "lib": ["esnext"], // add "dom" if needed
14
14
  // module `nodenext` is a modern mode that auto-detects cjs/esm
15
15
  // it also defaults `esModuleInterop` and `allowSyntheticDefaultImports` to true
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
3
  "type": "module",
4
- "version": "20.7.0",
4
+ "version": "20.9.0",
5
5
  "dependencies": {
6
6
  "@biomejs/biome": "^2",
7
7
  "@commitlint/cli": "^20",
@@ -17,7 +17,7 @@
17
17
  "eslint-plugin-import-x": "^4",
18
18
  "eslint-plugin-oxlint": "^1",
19
19
  "eslint-plugin-simple-import-sort": "^12",
20
- "eslint-plugin-unicorn": "^61",
20
+ "eslint-plugin-unicorn": "^62",
21
21
  "eslint-plugin-vue": "^10",
22
22
  "globals": "^16",
23
23
  "lint-staged": "^16",
@@ -78,7 +78,7 @@
78
78
  "dev-lib": "dist/bin/dev-lib.js"
79
79
  },
80
80
  "engines": {
81
- "node": ">=22.12.0"
81
+ "node": ">=24.10.0"
82
82
  },
83
83
  "publishConfig": {
84
84
  "provenance": true,