@ui5/server 4.0.4 → 4.0.6

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,19 @@
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-server/compare/v4.0.4...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-server/compare/v4.0.6...HEAD).
6
+
7
+ <a name="v4.0.6"></a>
8
+ ## [v4.0.6] - 2025-06-02
9
+ ### Bug Fixes
10
+ - Log error in case UI5 Server uses HTTP/2 with Node 24 ([#722](https://github.com/SAP/ui5-server/issues/722)) [`71dd7af`](https://github.com/SAP/ui5-server/commit/71dd7afc946dd4d56005a9f430148670cae5e76c)
11
+
12
+
13
+ <a name="v4.0.5"></a>
14
+ ## [v4.0.5] - 2024-09-11
15
+ ### Dependency Updates
16
+ - Bump path-to-regexp and router [`f713647`](https://github.com/SAP/ui5-server/commit/f713647258c89df7355c78a6c3b86817167027ed)
17
+
6
18
 
7
19
  <a name="v4.0.4"></a>
8
20
  ## [v4.0.4] - 2024-08-27
@@ -387,6 +399,8 @@ Only Node.js v10 or higher is supported.
387
399
 
388
400
  <a name="v0.0.1"></a>
389
401
  ## v0.0.1 - 2018-06-06
402
+ [v4.0.6]: https://github.com/SAP/ui5-server/compare/v4.0.5...v4.0.6
403
+ [v4.0.5]: https://github.com/SAP/ui5-server/compare/v4.0.4...v4.0.5
390
404
  [v4.0.4]: https://github.com/SAP/ui5-server/compare/v4.0.3...v4.0.4
391
405
  [v4.0.3]: https://github.com/SAP/ui5-server/compare/v4.0.2...v4.0.3
392
406
  [v4.0.2]: https://github.com/SAP/ui5-server/compare/v4.0.1...v4.0.2
package/LICENSE.txt CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2018-2024 SAP SE or an SAP affiliate company and UI5 Tooling contributors
189
+ Copyright [yyyy] [name of copyright owner]
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/lib/server.js CHANGED
@@ -3,7 +3,9 @@ import portscanner from "portscanner";
3
3
  import MiddlewareManager from "./middleware/MiddlewareManager.js";
4
4
  import {createReaderCollection} from "@ui5/fs/resourceFactory";
5
5
  import ReaderCollectionPrioritized from "@ui5/fs/ReaderCollectionPrioritized";
6
+ import {getLogger} from "@ui5/logger";
6
7
 
8
+ const log = getLogger("server");
7
9
  /**
8
10
  * @public
9
11
  * @module @ui5/server
@@ -178,6 +180,12 @@ export async function serve(graph, {
178
180
  await middlewareManager.applyMiddleware(app);
179
181
 
180
182
  if (h2) {
183
+ const nodeVersion = parseInt(process.versions.node.split(".")[0], 10);
184
+ if (nodeVersion >= 24) {
185
+ log.error("ERROR: With Node v24, usage of HTTP/2 is no longer supported. Please check https://github.com/SAP/ui5-tooling/issues/327 for updates.");
186
+ process.exit(1);
187
+ }
188
+
181
189
  app = await _addSsl({app, key, cert});
182
190
  }
183
191
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/server",
3
- "version": "4.0.4",
3
+ "version": "4.0.6",
4
4
  "description": "UI5 Tooling - Server",
5
5
  "author": {
6
6
  "name": "SAP SE",
@@ -117,47 +117,47 @@
117
117
  "url": "git@github.com:SAP/ui5-server.git"
118
118
  },
119
119
  "dependencies": {
120
- "@ui5/builder": "^4.0.3",
120
+ "@ui5/builder": "^4.0.7",
121
121
  "@ui5/fs": "^4.0.1",
122
122
  "@ui5/logger": "^4.0.1",
123
123
  "body-parser": "^1.20.2",
124
- "compression": "^1.7.4",
124
+ "compression": "^1.8.0",
125
125
  "cors": "^2.8.5",
126
126
  "devcert-sanscache": "^0.5.1",
127
127
  "escape-html": "^1.0.3",
128
128
  "etag": "^1.8.1",
129
- "express": "^4.19.2",
129
+ "express": "^4.21.2",
130
130
  "fresh": "^0.5.2",
131
131
  "graceful-fs": "^4.2.11",
132
132
  "mime-types": "^2.1.35",
133
133
  "parseurl": "^1.3.3",
134
134
  "portscanner": "^2.2.0",
135
135
  "replacestream": "^4.0.3",
136
- "router": "^1.3.8",
136
+ "router": "^2.2.0",
137
137
  "spdy": "^4.0.2",
138
138
  "yesno": "^0.4.0"
139
139
  },
140
140
  "devDependencies": {
141
141
  "@eslint/js": "^9.8.0",
142
- "@istanbuljs/esm-loader-hook": "^0.2.0",
143
- "@ui5/project": "^4.0.3",
144
- "ava": "^6.1.3",
142
+ "@istanbuljs/esm-loader-hook": "^0.3.0",
143
+ "@ui5/project": "^4.0.4",
144
+ "ava": "^6.3.0",
145
145
  "chokidar-cli": "^3.0.0",
146
146
  "cross-env": "^7.0.3",
147
147
  "depcheck": "^1.4.7",
148
148
  "docdash": "^2.0.2",
149
- "eslint": "^9.9.1",
149
+ "eslint": "^9.28.0",
150
150
  "eslint-config-google": "^0.14.0",
151
151
  "eslint-plugin-ava": "^15.0.1",
152
- "eslint-plugin-jsdoc": "^50.2.2",
153
- "esmock": "^2.6.7",
154
- "globals": "^15.9.0",
155
- "jsdoc": "^4.0.3",
156
- "nyc": "^17.0.0",
152
+ "eslint-plugin-jsdoc": "^50.7.1",
153
+ "esmock": "^2.7.0",
154
+ "globals": "^16.2.0",
155
+ "jsdoc": "^4.0.4",
156
+ "nyc": "^17.1.0",
157
157
  "open-cli": "^8.0.0",
158
158
  "rimraf": "^6.0.1",
159
- "sinon": "^18.0.0",
160
- "supertest": "^7.0.0",
159
+ "sinon": "^20.0.0",
160
+ "supertest": "^7.1.1",
161
161
  "tap-xunit": "^2.4.1"
162
162
  }
163
163
  }
package/.reuse/dep5 DELETED
@@ -1,40 +0,0 @@
1
- Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2
- Upstream-Name: ui5-server
3
- Upstream-Contact: SAP OpenUI5 <openui5@sap.com>
4
- Source: https://github.com/SAP/ui5-server
5
- Disclaimer: The code in this project may include calls to APIs (“API Calls”) of
6
- SAP or third-party products or services developed outside of this project
7
- (“External Products”).
8
- “APIs” means application programming interfaces, as well as their respective
9
- specifications and implementing code that allows software to communicate with
10
- other software.
11
- API Calls to External Products are not licensed under the open source license
12
- that governs this project. The use of such API Calls and related External
13
- Products are subject to applicable additional agreements with the relevant
14
- provider of the External Products. In no event shall the open source license
15
- that governs this project grant any rights in or to any External Products,or
16
- alter, expand or supersede any terms of the applicable additional agreements.
17
- If you have a valid license agreement with SAP for the use of a particular SAP
18
- External Product, then you may make use of any API Calls included in this
19
- project’s code for that SAP External Product, subject to the terms of such
20
- license agreement. If you do not have a valid license agreement for the use of
21
- a particular SAP External Product, then you may only make use of any API Calls
22
- in this project for that SAP External Product for your internal, non-productive
23
- and non-commercial test and evaluation of such API Calls. Nothing herein grants
24
- you any rights to use or access any SAP External Product, or provide any third
25
- parties the right to use of access any SAP External Product, through API Calls.
26
-
27
- Files: *
28
- Copyright: 2018-2024 SAP SE or an SAP affiliate company and UI5 Tooling contributors
29
- License: Apache-2.0
30
-
31
- Files: lib/middleware/serveIndex/*
32
- Copyright: 2010 Sencha Inc.
33
- 2011 LearnBoost
34
- 2011 TJ Holowaychuk
35
- 2014-2015 Douglas Christopher Wilson
36
- License: MIT
37
-
38
- Files: lib/middleware/testRunner/*
39
- Copyright: 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
40
- License: Apache-2.0