diff --git a/app/package.json b/app/package.json index 413b90a9f50f..5ba88a344b74 100644 --- a/app/package.json +++ b/app/package.json @@ -34,7 +34,7 @@ "@previewjs/plugin-vue2": "workspace:*", "@previewjs/plugin-vue3": "workspace:*", "@previewjs/properties": "workspace:*", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/fs-extra": "^11.0.4", "@types/node": "^20.17.6", "cross-env": "^7.0.3", diff --git a/chromeless/package.json b/chromeless/package.json index 7aa53f89da32..b228914c815c 100644 --- a/chromeless/package.json +++ b/chromeless/package.json @@ -32,7 +32,7 @@ "typescript": "^5.6.3" }, "devDependencies": { - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "rimraf": "^5.0.10", "unbuild": "^2.0.0", "vite": "^5.3.1" diff --git a/core/package.json b/core/package.json index a4b6c54e90c9..014b018047bc 100644 --- a/core/package.json +++ b/core/package.json @@ -50,7 +50,7 @@ }, "devDependencies": { "@rollup/plugin-alias": "^5.1.1", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/fs-extra": "^11.0.4", "@types/html-escaper": "^3.0.2", "shx": "^0.3.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ccf1668d6095..a3b9889d878b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -207,8 +207,8 @@ importers: specifier: workspace:* version: link:../properties '@types/express': - specifier: ^4.17.21 - version: 4.17.21 + specifier: ^5.0.0 + version: 5.0.0 '@types/fs-extra': specifier: ^11.0.4 version: 11.0.4 @@ -262,8 +262,8 @@ importers: version: 5.6.3 devDependencies: '@types/express': - specifier: ^4.17.21 - version: 4.17.21 + specifier: ^5.0.0 + version: 5.0.0 rimraf: specifier: ^5.0.10 version: 5.0.10 @@ -390,8 +390,8 @@ importers: specifier: ^5.1.1 version: 5.1.1(rollup@4.24.0) '@types/express': - specifier: ^4.17.21 - version: 4.17.21 + specifier: ^5.0.0 + version: 5.0.0 '@types/fs-extra': specifier: ^11.0.4 version: 11.0.4 @@ -8867,9 +8867,15 @@ packages: '@types/express-serve-static-core@4.17.33': resolution: {integrity: sha512-TPBqmR/HRYI3eC2E5hmiivIzv+bidAfXofM+sbonAGvyDhySGw9/PQZFt2BLOrjUUR++4eJVpx6KnLQK1Fk9tA==} + '@types/express-serve-static-core@5.0.1': + resolution: {integrity: sha512-CRICJIl0N5cXDONAdlTv5ShATZ4HEwk6kDDIW2/w9qOWKg+NU/5F8wYRWCrONad0/UKkloNSmmyN/wX4rtpbVA==} + '@types/express@4.17.21': resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} + '@types/express@5.0.0': + resolution: {integrity: sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ==} + '@types/file-loader@5.0.1': resolution: {integrity: sha512-FHPPuRb/Ts/25qvNU/mQGwRZUp793nBxYqXd/KwApykxATagqrO4+2EEcGDm/DuXyV/EkOa04umS1DQ8tQSomg==} @@ -8966,6 +8972,9 @@ packages: '@types/mime-types@2.1.1': resolution: {integrity: sha512-vXOTGVSLR2jMw440moWTC7H19iUyLtP3Z1YTj7cSsubOICinjMxFeb/V57v9QdyyPGbbWolUFSSmSiRSn94tFw==} + '@types/mime@1.3.5': + resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} + '@types/mime@3.0.1': resolution: {integrity: sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==} @@ -9111,6 +9120,9 @@ packages: '@types/semver@7.5.8': resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} + '@types/send@0.17.4': + resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} + '@types/serve-index@1.9.1': resolution: {integrity: sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg==} @@ -29112,7 +29124,7 @@ snapshots: '@jest/console@27.5.1': dependencies: '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 chalk: 4.1.2 jest-message-util: 27.5.1 jest-util: 27.5.1 @@ -29121,7 +29133,7 @@ snapshots: '@jest/console@28.1.3': dependencies: '@jest/types': 28.1.3 - '@types/node': 18.16.14 + '@types/node': 20.17.6 chalk: 4.1.2 jest-message-util: 28.1.3 jest-util: 28.1.3 @@ -29134,7 +29146,7 @@ snapshots: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.8.1 @@ -29171,7 +29183,7 @@ snapshots: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.8.1 @@ -29208,7 +29220,7 @@ snapshots: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.8.1 @@ -29246,14 +29258,14 @@ snapshots: dependencies: '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 jest-mock: 27.5.1 '@jest/fake-timers@27.5.1': dependencies: '@jest/types': 27.5.1 '@sinonjs/fake-timers': 8.1.0 - '@types/node': 18.16.14 + '@types/node': 20.17.6 jest-message-util: 27.5.1 jest-mock: 27.5.1 jest-util: 27.5.1 @@ -29271,7 +29283,7 @@ snapshots: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -29395,7 +29407,7 @@ snapshots: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 '@types/yargs': 15.0.15 chalk: 4.1.2 @@ -29412,7 +29424,7 @@ snapshots: '@jest/schemas': 28.1.3 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 '@types/yargs': 17.0.22 chalk: 4.1.2 @@ -29421,7 +29433,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 '@types/yargs': 17.0.22 chalk: 4.1.2 @@ -35425,12 +35437,12 @@ snapshots: '@types/clean-css@4.2.6': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 source-map: 0.6.1 '@types/compression@1.7.2': dependencies: - '@types/express': 4.17.21 + '@types/express': 5.0.0 '@types/connect-history-api-fallback@1.3.5': dependencies: @@ -35481,6 +35493,13 @@ snapshots: '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 + '@types/express-serve-static-core@5.0.1': + dependencies: + '@types/node': 20.17.6 + '@types/qs': 6.9.7 + '@types/range-parser': 1.2.4 + '@types/send': 0.17.4 + '@types/express@4.17.21': dependencies: '@types/body-parser': 1.19.2 @@ -35488,6 +35507,13 @@ snapshots: '@types/qs': 6.9.7 '@types/serve-static': 1.15.1 + '@types/express@5.0.0': + dependencies: + '@types/body-parser': 1.19.2 + '@types/express-serve-static-core': 5.0.1 + '@types/qs': 6.9.7 + '@types/serve-static': 1.15.1 + '@types/file-loader@5.0.1': dependencies: '@types/webpack': 4.41.33 @@ -35502,16 +35528,16 @@ snapshots: '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 18.16.14 + '@types/node': 20.17.6 '@types/glob@8.1.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 18.16.14 + '@types/node': 20.17.6 '@types/graceful-fs@4.1.6': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 '@types/hast@2.3.4': dependencies: @@ -35538,11 +35564,11 @@ snapshots: '@types/http-proxy@1.17.10': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 '@types/http-proxy@1.17.11': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 '@types/inquirer@9.0.7': dependencies: @@ -35573,7 +35599,7 @@ snapshots: '@types/keyv@3.1.4': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 '@types/less@3.0.3': {} @@ -35591,6 +35617,8 @@ snapshots: '@types/mime-types@2.1.1': {} + '@types/mime@1.3.5': {} + '@types/mime@3.0.1': {} '@types/minimatch@3.0.5': {} @@ -35601,7 +35629,7 @@ snapshots: '@types/node-fetch@2.6.2': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 form-data: 3.0.2 '@types/node@16.18.14': {} @@ -35732,13 +35760,13 @@ snapshots: '@types/resolve@1.17.1': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 '@types/resolve@1.20.2': {} '@types/responselike@1.0.0': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 '@types/retry@0.12.0': {} @@ -35752,9 +35780,14 @@ snapshots: '@types/semver@7.5.8': {} + '@types/send@0.17.4': + dependencies: + '@types/mime': 1.3.5 + '@types/node': 20.17.6 + '@types/serve-index@1.9.1': dependencies: - '@types/express': 4.17.21 + '@types/express': 5.0.0 '@types/serve-static@1.15.1': dependencies: @@ -44467,7 +44500,7 @@ snapshots: '@jest/environment': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 @@ -44675,7 +44708,7 @@ snapshots: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 jest-mock: 27.5.1 jest-util: 27.5.1 jsdom: 16.7.0 @@ -44690,7 +44723,7 @@ snapshots: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 jest-mock: 27.5.1 jest-util: 27.5.1 @@ -44702,7 +44735,7 @@ snapshots: dependencies: '@jest/types': 26.6.2 '@types/graceful-fs': 4.1.6 - '@types/node': 18.16.14 + '@types/node': 20.17.6 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.10 @@ -44722,7 +44755,7 @@ snapshots: dependencies: '@jest/types': 27.5.1 '@types/graceful-fs': 4.1.6 - '@types/node': 18.16.14 + '@types/node': 20.17.6 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.10 @@ -44739,7 +44772,7 @@ snapshots: dependencies: '@jest/types': 29.5.0 '@types/graceful-fs': 4.1.6 - '@types/node': 18.16.14 + '@types/node': 20.17.6 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.10 @@ -44757,7 +44790,7 @@ snapshots: '@jest/source-map': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 chalk: 4.1.2 co: 4.6.0 expect: 27.5.1 @@ -44854,7 +44887,7 @@ snapshots: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 chalk: 4.1.2 emittery: 0.8.1 graceful-fs: 4.2.10 @@ -44905,12 +44938,12 @@ snapshots: jest-serializer@26.6.2: dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 graceful-fs: 4.2.10 jest-serializer@27.5.1: dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 graceful-fs: 4.2.10 jest-snapshot@27.5.1: @@ -44943,7 +44976,7 @@ snapshots: jest-util@26.6.2: dependencies: '@jest/types': 26.6.2 - '@types/node': 18.16.14 + '@types/node': 20.17.6 chalk: 4.1.2 graceful-fs: 4.2.10 is-ci: 2.0.0 @@ -44952,7 +44985,7 @@ snapshots: jest-util@27.5.1: dependencies: '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.10 @@ -44961,7 +44994,7 @@ snapshots: jest-util@28.1.3: dependencies: '@jest/types': 28.1.3 - '@types/node': 18.16.14 + '@types/node': 20.17.6 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.10 @@ -44970,7 +45003,7 @@ snapshots: jest-util@29.5.0: dependencies: '@jest/types': 29.5.0 - '@types/node': 18.16.14 + '@types/node': 20.17.6 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.10 @@ -45031,7 +45064,7 @@ snapshots: dependencies: '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 jest-util: 27.5.1 @@ -45041,7 +45074,7 @@ snapshots: dependencies: '@jest/test-result': 28.1.3 '@jest/types': 28.1.3 - '@types/node': 18.16.14 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.10.2 @@ -45062,19 +45095,19 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 merge-stream: 2.0.0 supports-color: 8.1.1 jest-worker@28.1.3: dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 merge-stream: 2.0.0 supports-color: 8.1.1 jest-worker@29.5.0: dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.6 jest-util: 29.5.0 merge-stream: 2.0.0 supports-color: 8.1.1