@jsverse/transloco-utils 7.0.2 โ†’ 8.0.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/CHANGELOG.md CHANGED
@@ -1,11 +1,25 @@
1
- ## 7.0.2 (2024-07-26)
1
+ # 8.0.0 (2025-09-14)
2
+
3
+ ### ๐Ÿ’ก Refactor
4
+
5
+ - **utils:** ๐Ÿ’ก update node version ([a1f5b097](https://github.com/jsverse/transloco/commit/a1f5b097))
6
+
7
+ ### โš  BREAKING CHANGES
2
8
 
9
+ - **utils:** ๐Ÿงจ Minimum node version is now 18
10
+
11
+ ### โค๏ธ Thank You
12
+
13
+ - chaitanay94
14
+ - Shahar Kazaz
15
+
16
+ ## 7.0.2 (2024-07-26)
3
17
 
4
18
  ### ๐Ÿฉน Fixes
5
19
 
6
20
  - **utils:** ๐Ÿ› update the global config types
7
21
 
8
- ## [7.0.1](https://github.com/ngneat/transloco/compare/transloco-utils-7.0.0...transloco-utils-7.0.1) (2024-05-31)
22
+ ## [7.0.1](https://github.com/jsverse/transloco/compare/transloco-utils-7.0.0...transloco-utils-7.0.1) (2024-05-31)
9
23
 
10
24
  # [7.0.0](https://github.com/jsverse/transloco/compare/transloco-utils-6.0.0...transloco-utils-7.0.0) (2024-03-23)
11
25
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@jsverse/transloco-utils",
3
- "version": "7.0.2",
3
+ "version": "8.0.0",
4
4
  "description": "Transloco utils library",
5
5
  "main": "src/index.js",
6
6
  "engines": {
7
- "node": ">=16"
7
+ "node": ">=18"
8
8
  },
9
9
  "publishConfig": {
10
10
  "access": "public"
@@ -18,21 +18,18 @@
18
18
  "url": "https://github.com/jsverse/transloco"
19
19
  },
20
20
  "keywords": [
21
- "angular",
22
- "angular 2",
21
+ "Angular",
23
22
  "i18n",
24
- "translate",
25
- "angular translate",
26
- "angular i18n",
27
- "transloco",
28
- "comments",
29
- "build",
30
- "optimize"
23
+ "Translate",
24
+ "Angular Translate",
25
+ "Transloco",
26
+ "Utils"
31
27
  ],
32
28
  "license": "MIT",
33
29
  "dependencies": {
34
30
  "cosmiconfig": "^8.1.3",
35
31
  "tslib": "^2.3.0"
36
32
  },
37
- "type": "commonjs"
33
+ "type": "commonjs",
34
+ "types": "./src/index.d.ts"
38
35
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getGlobalConfig = void 0;
3
+ exports.getGlobalConfig = getGlobalConfig;
4
4
  const path = require("node:path");
5
5
  const cosmiconfig_1 = require("cosmiconfig");
6
6
  function getGlobalConfig(searchPath = '') {
@@ -9,4 +9,3 @@ function getGlobalConfig(searchPath = '') {
9
9
  const configSearch = explorer.search(resolvedPath);
10
10
  return configSearch ? configSearch.config : {};
11
11
  }
12
- exports.getGlobalConfig = getGlobalConfig;
@@ -17,5 +17,6 @@ export interface TranslocoGlobalConfig {
17
17
  replace?: boolean;
18
18
  defaultValue?: string | undefined;
19
19
  unflat?: boolean;
20
+ sort?: boolean;
20
21
  };
21
22
  }