@ui5/cli 2.14.13 → 2.14.14

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
@@ -2,7 +2,16 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
4
 
5
- A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v2.14.13...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v2.14.14...HEAD).
6
+
7
+ <a name="v2.14.14"></a>
8
+ ## [v2.14.14] - 2022-10-28
9
+ ### Bug Fixes
10
+ - **SyntaxError:** Unexpected token '.' in Node.js v12 [`bab2057`](https://github.com/SAP/ui5-cli/commit/bab2057e184a2072f9b596565d9690b6e39b109d)
11
+
12
+ ### Dependency Updates
13
+ - Bump [@ui5](https://github.com/ui5)/builder from 2.11.7 to 2.11.8 [`1f5e517`](https://github.com/SAP/ui5-cli/commit/1f5e5173d0ca594ea4a34b97b0a760c67a9664a9)
14
+
6
15
 
7
16
  <a name="v2.14.13"></a>
8
17
  ## [v2.14.13] - 2022-10-20
@@ -756,6 +765,7 @@ Only Node.js v10 or higher is supported.
756
765
  <a name="v0.0.1"></a>
757
766
  ## v0.0.1 - 2018-06-06
758
767
 
768
+ [v2.14.14]: https://github.com/SAP/ui5-cli/compare/v2.14.13...v2.14.14
759
769
  [v2.14.13]: https://github.com/SAP/ui5-cli/compare/v2.14.12...v2.14.13
760
770
  [v2.14.12]: https://github.com/SAP/ui5-cli/compare/v2.14.11...v2.14.12
761
771
  [v2.14.11]: https://github.com/SAP/ui5-cli/compare/v2.14.10...v2.14.11
package/bin/ui5.js CHANGED
@@ -26,16 +26,31 @@ if (
26
26
  console.log("=====================================================================");
27
27
  process.exit(1);
28
28
  } else {
29
- if (semver && semver.prerelease(nodeVersion)) {
30
- console.log("====================== UNSTABLE NODE.JS VERSION =====================");
31
- console.log("You are using an unstable version of Node.js");
32
- console.log("Detected Node.js version " + nodeVersion);
33
- console.log("");
34
- console.log("=> Please note that an unstable version might cause unexpected");
35
- console.log(" behavior. For productive use please consider using a stable");
36
- console.log(" version of Node.js! For the release policy of Node.js, see");
37
- console.log(" https://nodejs.org/en/about/releases");
38
- console.log("=====================================================================");
29
+ if (semver) {
30
+ if (semver.prerelease(nodeVersion)) {
31
+ console.log("====================== UNSTABLE NODE.JS VERSION =====================");
32
+ console.log("You are using an unstable version of Node.js");
33
+ console.log("Detected Node.js version: " + nodeVersion);
34
+ console.log("");
35
+ console.log("=> Please note that an unstable version might cause unexpected");
36
+ console.log(" behavior. For productive use please consider using a stable");
37
+ console.log(" version of Node.js! For the release policy of Node.js, see");
38
+ console.log(" https://nodejs.org/en/about/releases");
39
+ console.log("=====================================================================");
40
+ } else if (semver.satisfies(nodeVersion, "< 14.16 || ^15 || ^17")) {
41
+ console.log("================ NODE.JS VERSION REACHED END OF LIFE ================");
42
+ console.log("You are using a version of Node.js that reached its end of life, see:");
43
+ console.log("https://github.com/nodejs/release#end-of-life-releases");
44
+ console.log("");
45
+ console.log("Detected Node.js version: " + nodeVersion);
46
+ console.log("");
47
+ console.log("There might also be a newer version of @ui5/cli available at:");
48
+ console.log("https://www.npmjs.com/package/@ui5/cli");
49
+ console.log("");
50
+ console.log("=> Please upgrade to a supported version of Node.js and make sure to");
51
+ console.log(" use the latest version of @ui5/cli");
52
+ console.log("=====================================================================");
53
+ }
39
54
  }
40
55
  // Timeout is required to log info when importing from local installation
41
56
  setTimeout(async () => {
@@ -70,8 +85,9 @@ if (
70
85
  if (
71
86
  !disableUpdateNotifier &&
72
87
 
73
- // Node.js versions supporting ES modules
74
- semver.satisfies(nodeVersion, "^12.20 || ^14.14 || >= 16.0", {includePrerelease: true})
88
+ // Check for minimum supported Node.js version of update-notifier v6
89
+ // See https://github.com/yeoman/update-notifier/blob/3046d0f61a57f8270291b6ab271f8a12df8421a6/package.json#L16
90
+ semver.satisfies(nodeVersion, ">=14.16", {includePrerelease: true})
75
91
  ) {
76
92
  const updateNotifier = require("../lib/cli/update-notifier");
77
93
  await updateNotifier({pkg});
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/cli",
3
- "version": "2.14.13",
3
+ "version": "2.14.14",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -79,9 +79,9 @@
79
79
  }
80
80
  },
81
81
  "@babel/parser": {
82
- "version": "7.19.4",
83
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.4.tgz",
84
- "integrity": "sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA=="
82
+ "version": "7.20.0",
83
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.20.0.tgz",
84
+ "integrity": "sha512-G9VgAhEaICnz8iiJeGJQyVl6J2nTjbW0xeisva0PK6XcKsga7BIaqm4ZF8Rg1Wbaqmy6znspNqhPaPkyukujzg=="
85
85
  },
86
86
  "@jridgewell/gen-mapping": {
87
87
  "version": "0.3.2",
@@ -209,9 +209,9 @@
209
209
  "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw=="
210
210
  },
211
211
  "@ui5/builder": {
212
- "version": "2.11.7",
213
- "resolved": "https://registry.npmjs.org/@ui5/builder/-/builder-2.11.7.tgz",
214
- "integrity": "sha512-bjgEGFaicQA++DqZq6cmLq+kiNYbmsMnkTiNkuiTIIxpfXGgp6JrhjKp+8s/WUhv1iOfw/naZjcHtK1oCOR6HQ==",
212
+ "version": "2.11.8",
213
+ "resolved": "https://registry.npmjs.org/@ui5/builder/-/builder-2.11.8.tgz",
214
+ "integrity": "sha512-Rz1uja84yT09q2ubTJP7shyZlym/k/ByekS7Y4xapVAYjHXAPMICva+9PsRduXOKp3bxxFtHUfOAP8G8l/pa9w==",
215
215
  "requires": {
216
216
  "@ui5/fs": "^2.0.6",
217
217
  "@ui5/logger": "^2.0.1",
@@ -655,16 +655,16 @@
655
655
  "integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w=="
656
656
  },
657
657
  "cacheable-request": {
658
- "version": "10.2.1",
659
- "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.1.tgz",
660
- "integrity": "sha512-3tLJyBjGuXw1s5gpKFSG3iS4kaKT4id04dZi98wzHQp/8cqZNweBnrF9J+rrlvrf4M53OdtDGNctNHFias8BEA==",
658
+ "version": "10.2.2",
659
+ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.2.tgz",
660
+ "integrity": "sha512-KxjQZM3UIo7/J6W4sLpwFvu1GB3Whv8NtZ8ZrUL284eiQjiXeeqWTdhixNrp/NLZ/JNuFBo6BD4ZaO8ZJ5BN8Q==",
661
661
  "requires": {
662
662
  "@types/http-cache-semantics": "^4.0.1",
663
663
  "get-stream": "^6.0.1",
664
664
  "http-cache-semantics": "^4.1.0",
665
665
  "keyv": "^4.5.0",
666
666
  "mimic-response": "^4.0.0",
667
- "normalize-url": "^7.1.0",
667
+ "normalize-url": "^7.2.0",
668
668
  "responselike": "^3.0.0"
669
669
  },
670
670
  "dependencies": {
@@ -1917,9 +1917,9 @@
1917
1917
  }
1918
1918
  },
1919
1919
  "is-core-module": {
1920
- "version": "2.10.0",
1921
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz",
1922
- "integrity": "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==",
1920
+ "version": "2.11.0",
1921
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",
1922
+ "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",
1923
1923
  "requires": {
1924
1924
  "has": "^1.0.3"
1925
1925
  }
@@ -3615,9 +3615,9 @@
3615
3615
  },
3616
3616
  "dependencies": {
3617
3617
  "acorn": {
3618
- "version": "8.8.0",
3619
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz",
3620
- "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w=="
3618
+ "version": "8.8.1",
3619
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz",
3620
+ "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA=="
3621
3621
  }
3622
3622
  }
3623
3623
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/cli",
3
- "version": "2.14.13",
3
+ "version": "2.14.14",
4
4
  "description": "UI5 Tooling - CLI",
5
5
  "author": {
6
6
  "name": "SAP SE",
@@ -107,7 +107,7 @@
107
107
  "url": "git@github.com:SAP/ui5-cli.git"
108
108
  },
109
109
  "dependencies": {
110
- "@ui5/builder": "^2.11.7",
110
+ "@ui5/builder": "^2.11.8",
111
111
  "@ui5/fs": "^2.0.6",
112
112
  "@ui5/logger": "^2.0.1",
113
113
  "@ui5/project": "^2.6.0",