@sap-ux/ui5-proxy-middleware 1.6.7 → 1.6.9

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.
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SANDBOX2_LINK = exports.SANDBOX2_REPLACE_REGEX = exports.SANDBOX_REPLACE_REGEX = exports.SANDBOX_LINK = exports.BOOTSTRAP_REPLACE_REGEX = exports.BOOTSTRAP_LINK = void 0;
4
4
  exports.BOOTSTRAP_LINK = 'resources/sap-ui-core.js';
5
- exports.BOOTSTRAP_REPLACE_REGEX = /src="[.{0,2}\/]*resources\/sap-ui-core\.js"/;
5
+ exports.BOOTSTRAP_REPLACE_REGEX = /src="[.{0,2}/]*resources\/sap-ui-core\.js"/;
6
6
  exports.SANDBOX_LINK = 'test-resources/sap/ushell/bootstrap/sandbox.js';
7
- exports.SANDBOX_REPLACE_REGEX = /src="[.{0,2}\/]*test-resources\/sap\/ushell\/bootstrap\/sandbox\.js"/;
8
- exports.SANDBOX2_REPLACE_REGEX = /src="[.{0,2}\/]*resources\/sap\/ushell\/bootstrap\/sandbox2\.js"/;
7
+ exports.SANDBOX_REPLACE_REGEX = /src="[.{0,2}/]*test-resources\/sap\/ushell\/bootstrap\/sandbox\.js"/;
8
+ exports.SANDBOX2_REPLACE_REGEX = /src="[.{0,2}/]*resources\/sap\/ushell\/bootstrap\/sandbox2\.js"/;
9
9
  exports.SANDBOX2_LINK = 'resources/sap/ushell/bootstrap/sandbox2.js';
10
10
  //# sourceMappingURL=constants.js.map
@@ -1,5 +1,5 @@
1
1
  import type { Filter, Options } from 'http-proxy-middleware';
2
- import type { IncomingMessage, ServerResponse } from 'http';
2
+ import type { IncomingMessage, ServerResponse } from 'node:http';
3
3
  import type { ProxyConfig } from './types';
4
4
  import { ToolsLogger } from '@sap-ux/logger';
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import type { NextFunction } from 'express';
2
- import type { IncomingMessage } from 'http';
2
+ import type { IncomingMessage } from 'node:http';
3
3
  export interface ProxyConfig {
4
4
  /**
5
5
  * Path that is to be proxied.
@@ -1,9 +1,9 @@
1
- import type { ClientRequest, IncomingMessage, ServerResponse } from 'http';
1
+ import type { ClientRequest, IncomingMessage, ServerResponse } from 'node:http';
2
2
  import type { Options } from 'http-proxy-middleware';
3
3
  import type { ToolsLogger } from '@sap-ux/logger';
4
4
  import { type Manifest } from '@sap-ux/project-access';
5
5
  import type { RequestHandler, NextFunction, Request, Response } from 'express';
6
- import type http from 'http';
6
+ import type http from 'node:http';
7
7
  import type { ProxyConfig } from './types';
8
8
  import type { Url } from 'node:url';
9
9
  import type { ReaderCollection } from '@ui5/fs';
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "bugs": {
10
10
  "url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Aui5-proxy-middleware"
11
11
  },
12
- "version": "1.6.7",
12
+ "version": "1.6.9",
13
13
  "license": "Apache-2.0",
14
14
  "author": "@SAP/ux-tools-team",
15
15
  "main": "dist/index.js",
@@ -29,8 +29,8 @@
29
29
  "https-proxy-agent": "5.0.1",
30
30
  "i18next": "25.3.0",
31
31
  "proxy-from-env": "1.1.0",
32
- "@sap-ux/logger": "0.7.1",
33
- "@sap-ux/ui5-config": "0.29.10"
32
+ "@sap-ux/logger": "0.7.3",
33
+ "@sap-ux/ui5-config": "0.29.12"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/express": "4.17.21",
@@ -40,10 +40,7 @@
40
40
  "nock": "13.4.0",
41
41
  "supertest": "7.1.4",
42
42
  "yaml": "2.2.2",
43
- "@sap-ux/project-access": "1.32.11"
44
- },
45
- "ui5": {
46
- "dependencies": []
43
+ "@sap-ux/project-access": "1.32.17"
47
44
  },
48
45
  "engines": {
49
46
  "node": ">=20.x"
@@ -53,8 +50,8 @@
53
50
  "watch": "tsc --watch",
54
51
  "clean": "rimraf --glob dist test/test-output coverage *.tsbuildinfo",
55
52
  "format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
56
- "lint": "eslint . --ext .ts",
57
- "lint:fix": "eslint . --ext .ts --fix",
53
+ "lint": "eslint",
54
+ "lint:fix": "eslint --fix",
58
55
  "test": "jest --ci --forceExit --detectOpenHandles --colors",
59
56
  "test-u": "jest --ci --forceExit --detectOpenHandles --colors -u",
60
57
  "link": "pnpm link --global",