@naturalcycles/dev-lib 13.16.1 → 13.17.1

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/tsconfig.json CHANGED
@@ -10,7 +10,7 @@
10
10
  // "rootDir": "./src",
11
11
 
12
12
  // Target/module
13
- "target": "es2021",
13
+ "target": "es2022",
14
14
  "lib": ["esnext"], // add "dom" if needed
15
15
  "module": "commonjs",
16
16
  "moduleResolution": "node",
@@ -28,6 +28,10 @@
28
28
  "noImplicitOverride": true,
29
29
  "noUncheckedIndexedAccess": true,
30
30
  "noPropertyAccessFromIndexSignature": true,
31
+ // Otherwise since es2022 it defaults to true
32
+ // and starts to produce different/unexpected behavior
33
+ // https://angular.schule/blog/2022-11-use-define-for-class-fields
34
+ "useDefineForClassFields": false,
31
35
 
32
36
  // todo: monitor if we should have it default or not
33
37
  // Enabled should be faster, but will catch less errors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
- "version": "13.16.1",
3
+ "version": "13.17.1",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "tsn-debug": "tsn testScript.ts",
@@ -104,7 +104,7 @@
104
104
  "update-from-dev-lib": "dist/bin/update-from-dev-lib.js"
105
105
  },
106
106
  "engines": {
107
- "node": ">=16.10.0"
107
+ "node": ">=18.12.0"
108
108
  },
109
109
  "publishConfig": {
110
110
  "access": "public"