@smartcorehub/localization-sdk 1.0.3881 → 1.0.3917

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +39 -12
package/README.md CHANGED
@@ -13,7 +13,7 @@ SDK TypeScript para consumir a API de localizacao da SmartCoreHub em projetos An
13
13
 
14
14
  ## Requisitos
15
15
 
16
- - Node.js 18+
16
+ - Node.js conforme `engines` em `frontendsdk/LocalizationSdkTypeScript/package.json` (e apps Angular consumidores)
17
17
  - npm 9+
18
18
 
19
19
  ## Como instalar o pacote no projeto consumidor
package/package.json CHANGED
@@ -23,15 +23,23 @@
23
23
  },
24
24
  "unpkg": "./dist/umd/localization-sdk.min.js",
25
25
  "jsdelivr": "./dist/umd/localization-sdk.min.js",
26
- "version": "1.0.3881",
26
+ "version": "1.0.3917",
27
+ "engines": {
28
+ "node": "^22.22.3 || ^24.15.0 || >=26.0.0"
29
+ },
27
30
  "devDependencies": {
28
- "@angular/core": "^20.3.15",
29
- "@angular/common": "^20.3.15",
30
- "@angular/compiler": "^20.3.15",
31
- "@angular/compiler-cli": "^20.3.15",
32
- "@angular/platform-browser": "^20.3.15",
33
- "@angular/platform-browser-dynamic": "^20.3.15",
34
- "jest-preset-angular": "^16.0.0",
31
+ "@angular/core": "^22.0.0",
32
+ "@angular/common": "^22.0.0",
33
+ "@angular/compiler": "^22.0.0",
34
+ "@angular/compiler-cli": "^22.0.0",
35
+ "@angular/platform-browser": "^22.0.0",
36
+ "@angular/platform-browser-dynamic": "^22.0.0",
37
+ "jest-preset-angular": "^16.1.5",
38
+ "graceful-fs": "^4.2.11",
39
+ "istanbul-lib-coverage": "^3.2.2",
40
+ "istanbul-lib-report": "^3.0.1",
41
+ "istanbul-reports": "^3.2.0",
42
+ "exit-x": "^0.2.2",
35
43
  "jest-environment-jsdom": "^30.2.0",
36
44
  "jest-html-reporter": "^4.4.0",
37
45
  "jest-html-reporters": "^3.1.7",
@@ -40,15 +48,16 @@
40
48
  "jest-sonar": "^0.2.16",
41
49
  "jest-stare": "^2.5.3",
42
50
  "@types/jest": "^30.0.0",
51
+ "jsdom": "^26.1.0",
43
52
  "ts-jest": "^29.0.0",
44
- "rxjs": "^7.8.0",
53
+ "rxjs": "~7.8.0",
45
54
  "tsup": "^8.0.0",
46
- "typescript": "^5.0.0",
55
+ "typescript": "~6.0.3",
47
56
  "whatwg-fetch": "^3.6.20",
48
- "zone.js": "~0.15.0"
57
+ "zone.js": "~0.16.0"
49
58
  },
50
59
  "peerDependencies": {
51
- "@angular/core": ">=16",
60
+ "@angular/core": ">=16 <23",
52
61
  "rxjs": ">=7"
53
62
  },
54
63
  "peerDependenciesMeta": {
@@ -59,6 +68,24 @@
59
68
  "optional": true
60
69
  }
61
70
  },
71
+ "overrides": {
72
+ "jest-preset-angular": {
73
+ "@angular/compiler-cli": "$@angular/compiler-cli",
74
+ "@angular/core": "$@angular/core",
75
+ "@angular/platform-browser": "$@angular/platform-browser",
76
+ "@angular/platform-browser-dynamic": "$@angular/platform-browser-dynamic"
77
+ },
78
+ "@jest/reporters": {
79
+ "graceful-fs": "$graceful-fs",
80
+ "istanbul-lib-report": "$istanbul-lib-report",
81
+ "istanbul-lib-coverage": "$istanbul-lib-coverage",
82
+ "istanbul-reports": "$istanbul-reports",
83
+ "exit-x": "$exit-x"
84
+ },
85
+ "jest-cli": {
86
+ "exit-x": "$exit-x"
87
+ }
88
+ },
62
89
  "module": "./dist/index.mjs",
63
90
  "types": "./dist/index.d.ts"
64
91
  }