@ttoss/config 1.34.2 → 1.35.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/dist/esm/index.js CHANGED
@@ -168,7 +168,7 @@ var typescriptConfig_exports = {};
168
168
  __export(typescriptConfig_exports, {
169
169
  target: () => target
170
170
  });
171
- var target = "es2021";
171
+ var target = "es2023";
172
172
 
173
173
  // src/tsup.ts
174
174
  import { transformAsync } from "@babel/core";
package/dist/index.d.mts CHANGED
@@ -45,10 +45,10 @@ declare const tsupConfig: (config?: any, deepmergeConfig?: {
45
45
  } | undefined) => any;
46
46
 
47
47
  /**
48
- * `target` to `es2021` because Node.js 20 supports ES2021 features.
49
- * https://node.green/#ES2021
48
+ * `target` to `es2023` because Node.js 20 supports ES2023 features.
49
+ * https://node.green/#ES2023
50
50
  */
51
- declare const target = "es2021";
51
+ declare const target = "es2023";
52
52
 
53
53
  declare const typescriptConfig_target: typeof target;
54
54
  declare namespace typescriptConfig {
package/dist/index.d.ts CHANGED
@@ -45,10 +45,10 @@ declare const tsupConfig: (config?: any, deepmergeConfig?: {
45
45
  } | undefined) => any;
46
46
 
47
47
  /**
48
- * `target` to `es2021` because Node.js 20 supports ES2021 features.
49
- * https://node.green/#ES2021
48
+ * `target` to `es2023` because Node.js 20 supports ES2023 features.
49
+ * https://node.green/#ES2023
50
50
  */
51
- declare const target = "es2021";
51
+ declare const target = "es2023";
52
52
 
53
53
  declare const typescriptConfig_target: typeof target;
54
54
  declare namespace typescriptConfig {
package/dist/index.js CHANGED
@@ -212,7 +212,7 @@ var typescriptConfig_exports = {};
212
212
  __export(typescriptConfig_exports, {
213
213
  target: () => target
214
214
  });
215
- var target = "es2021";
215
+ var target = "es2023";
216
216
 
217
217
  // src/tsup.ts
218
218
  var import_core = require("@babel/core");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/config",
3
- "version": "1.34.2",
3
+ "version": "1.35.0",
4
4
  "description": "Default configuration for packages.",
5
5
  "license": "MIT",
6
6
  "author": "ttoss",
package/tsconfig.json CHANGED
@@ -17,10 +17,10 @@
17
17
  "moduleResolution": "Bundler",
18
18
  "module": "ESNext",
19
19
  /**
20
- * `target` to `es2021` because Node.js 20 supports ES2021 features.
21
- * https://node.green/#ES2021
20
+ * `target` to `es2023` because Node.js 20 supports ES2023 features.
21
+ * https://node.green/#ES2023
22
22
  */
23
- "target": "es2021",
23
+ "target": "es2023",
24
24
  "declaration": true,
25
25
  "sourceMap": true,
26
26
  "strict": true,