@naturalcycles/dev-lib 17.2.1 → 17.3.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/tsconfig.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "outDir": "${configDir}/dist",
11
11
 
12
12
  // Target/module
13
- "target": "es2022", // todo: es2023 when all consumers are on ts5.6+
13
+ "target": "es2023",
14
14
  "lib": ["esnext"], // add "dom" if needed
15
15
  // module `nodenext` is a modern mode that auto-detects cjs/esm
16
16
  // it also defaults `esModuleInterop` and `allowSyntheticDefaultImports` to true
@@ -32,7 +32,7 @@
32
32
  // Otherwise since es2022 it defaults to true
33
33
  // and starts to produce different/unexpected behavior
34
34
  // https://angular.schule/blog/2022-11-use-define-for-class-fields
35
- "useDefineForClassFields": false,
35
+ "useDefineForClassFields": true,
36
36
  "importHelpers": true,
37
37
 
38
38
  // Strictness
@@ -42,6 +42,7 @@
42
42
  "resolveJsonModule": true,
43
43
  "noImplicitOverride": true,
44
44
  "noUncheckedIndexedAccess": true,
45
+ "noUncheckedSideEffectImports": true,
45
46
  "noPropertyAccessFromIndexSignature": true,
46
47
 
47
48
  // todo: monitor if we should have it default or not
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
- "version": "17.2.1",
3
+ "version": "17.3.0",
4
4
  "scripts": {
5
5
  "prepare": "husky",
6
6
  "tsn-debug": "tsx scripts/testScript.ts",