diff --git a/app/package.json b/app/package.json index 31312be4021..ed36e15abe9 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.10", "cross-env": "^7.0.3", diff --git a/chromeless/package.json b/chromeless/package.json index 0dd6ec68b09..49f5f5da320 100644 --- a/chromeless/package.json +++ b/chromeless/package.json @@ -32,7 +32,7 @@ "typescript": "^5.7.2" }, "devDependencies": { - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "rimraf": "^6.0.1", "unbuild": "^2.0.0", "vite": "^6.0.3" diff --git a/core/package.json b/core/package.json index 5be99b78219..bf54e43d7f6 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 ee6d2746431..6e1a6b9a02c 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.7.2 devDependencies: '@types/express': - specifier: ^4.17.21 - version: 4.17.21 + specifier: ^5.0.0 + version: 5.0.0 rimraf: specifier: ^6.0.1 version: 6.0.1 @@ -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 @@ -8682,9 +8682,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.2': + resolution: {integrity: sha512-vluaspfvWEtE4vcSDlKRNer52DvOGrB2xv6diXy6UKyKW0lqZiWHGNApSyxOv+8DE5Z27IzVvE7hNkxg7EXIcg==} + '@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==} @@ -8781,6 +8787,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==} @@ -8928,6 +8937,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==} @@ -20141,12 +20153,15 @@ packages: sudo-prompt@8.2.5: resolution: {integrity: sha512-rlBo3HU/1zAJUrkY6jNxDOC9eVYliG6nS4JA8u8KAshITd07tafMc/Br7xQwCSseXwJ2iCcHCE8SNWX3q8Z+kw==} + deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. sudo-prompt@9.1.1: resolution: {integrity: sha512-es33J1g2HjMpyAhz8lOR+ICmXXAqTuKbuXuUWLhOLew20oN9oUCgCJx615U/v7aioZg7IX5lIh9x34vwneu4pA==} + deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. sudo-prompt@9.2.1: resolution: {integrity: sha512-Mu7R0g4ig9TUuGSxJavny5Rv0egCEtpZRNMrZaYS1vxkiIxGiGUwoezU3LazIQ+KE04hTrTfNPgxU5gzi7F5Pw==} + deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. supports-color@5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} @@ -27771,7 +27786,7 @@ snapshots: '@jest/console@27.5.1': dependencies: '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.10 chalk: 4.1.2 jest-message-util: 27.5.1 jest-util: 27.5.1 @@ -27780,7 +27795,7 @@ snapshots: '@jest/console@28.1.3': dependencies: '@jest/types': 28.1.3 - '@types/node': 18.16.14 + '@types/node': 20.17.10 chalk: 4.1.2 jest-message-util: 28.1.3 jest-util: 28.1.3 @@ -27793,7 +27808,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.10 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.8.1 @@ -27830,7 +27845,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.10 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.8.1 @@ -27867,7 +27882,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.10 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.8.1 @@ -27905,14 +27920,14 @@ snapshots: dependencies: '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.10 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.10 jest-message-util: 27.5.1 jest-mock: 27.5.1 jest-util: 27.5.1 @@ -27930,7 +27945,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.10 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -28054,7 +28069,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.10 '@types/yargs': 15.0.15 chalk: 4.1.2 @@ -28071,7 +28086,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.10 '@types/yargs': 17.0.22 chalk: 4.1.2 @@ -28080,7 +28095,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.10 '@types/yargs': 17.0.22 chalk: 4.1.2 @@ -31626,7 +31641,7 @@ snapshots: case-sensitive-paths-webpack-plugin: 2.4.0 core-js: 3.30.2 css-loader: 3.6.0(webpack@4.46.0) - file-loader: 6.2.0(webpack@4.46.0) + file-loader: 6.2.0(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) find-up: 5.0.0 fork-ts-checker-webpack-plugin: 4.1.6(eslint@9.14.0(jiti@2.3.3))(typescript@5.7.2)(vue-template-compiler@2.7.16)(webpack@4.46.0) glob: 7.2.3 @@ -32665,7 +32680,7 @@ snapshots: core-js: 3.30.2 css-loader: 3.6.0(webpack@4.46.0) express: 4.21.2 - file-loader: 6.2.0(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) + file-loader: 6.2.0(webpack@4.46.0) find-up: 5.0.0 fs-extra: 9.1.0 html-webpack-plugin: 4.5.2(webpack@4.46.0) @@ -34026,12 +34041,12 @@ snapshots: '@types/clean-css@4.2.6': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.10 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: @@ -34082,6 +34097,13 @@ snapshots: '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 + '@types/express-serve-static-core@5.0.2': + dependencies: + '@types/node': 20.17.10 + '@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 @@ -34089,6 +34111,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.2 + '@types/qs': 6.9.7 + '@types/serve-static': 1.15.1 + '@types/file-loader@5.0.1': dependencies: '@types/webpack': 4.41.33 @@ -34103,16 +34132,16 @@ snapshots: '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 18.16.14 + '@types/node': 20.17.10 '@types/glob@8.1.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 18.16.14 + '@types/node': 20.17.10 '@types/graceful-fs@4.1.6': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.10 '@types/hast@2.3.4': dependencies: @@ -34139,11 +34168,11 @@ snapshots: '@types/http-proxy@1.17.10': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.10 '@types/http-proxy@1.17.11': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.10 '@types/inquirer@9.0.7': dependencies: @@ -34174,7 +34203,7 @@ snapshots: '@types/keyv@3.1.4': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.10 '@types/less@3.0.3': {} @@ -34192,6 +34221,8 @@ snapshots: '@types/mime-types@2.1.1': {} + '@types/mime@1.3.5': {} + '@types/mime@3.0.1': {} '@types/minimatch@3.0.5': {} @@ -34202,7 +34233,7 @@ snapshots: '@types/node-fetch@2.6.2': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.10 form-data: 3.0.2 '@types/node@16.18.14': {} @@ -34333,13 +34364,13 @@ snapshots: '@types/resolve@1.17.1': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.10 '@types/resolve@1.20.2': {} '@types/responselike@1.0.0': dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.10 '@types/retry@0.12.0': {} @@ -34353,9 +34384,14 @@ snapshots: '@types/semver@7.5.8': {} + '@types/send@0.17.4': + dependencies: + '@types/mime': 1.3.5 + '@types/node': 20.17.10 + '@types/serve-index@1.9.1': dependencies: - '@types/express': 4.17.21 + '@types/express': 5.0.0 '@types/serve-static@1.15.1': dependencies: @@ -42976,7 +43012,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.10 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 @@ -43184,7 +43220,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.10 jest-mock: 27.5.1 jest-util: 27.5.1 jsdom: 16.7.0 @@ -43199,7 +43235,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.10 jest-mock: 27.5.1 jest-util: 27.5.1 @@ -43211,7 +43247,7 @@ snapshots: dependencies: '@jest/types': 26.6.2 '@types/graceful-fs': 4.1.6 - '@types/node': 18.16.14 + '@types/node': 20.17.10 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -43231,7 +43267,7 @@ snapshots: dependencies: '@jest/types': 27.5.1 '@types/graceful-fs': 4.1.6 - '@types/node': 18.16.14 + '@types/node': 20.17.10 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.10 @@ -43248,7 +43284,7 @@ snapshots: dependencies: '@jest/types': 29.5.0 '@types/graceful-fs': 4.1.6 - '@types/node': 18.16.14 + '@types/node': 20.17.10 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -43266,7 +43302,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.10 chalk: 4.1.2 co: 4.6.0 expect: 27.5.1 @@ -43363,7 +43399,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.10 chalk: 4.1.2 emittery: 0.8.1 graceful-fs: 4.2.11 @@ -43414,12 +43450,12 @@ snapshots: jest-serializer@26.6.2: dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.10 graceful-fs: 4.2.11 jest-serializer@27.5.1: dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.10 graceful-fs: 4.2.11 jest-snapshot@27.5.1: @@ -43452,7 +43488,7 @@ snapshots: jest-util@26.6.2: dependencies: '@jest/types': 26.6.2 - '@types/node': 18.16.14 + '@types/node': 20.17.10 chalk: 4.1.2 graceful-fs: 4.2.11 is-ci: 2.0.0 @@ -43461,7 +43497,7 @@ snapshots: jest-util@27.5.1: dependencies: '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.10 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.10 @@ -43470,7 +43506,7 @@ snapshots: jest-util@28.1.3: dependencies: '@jest/types': 28.1.3 - '@types/node': 18.16.14 + '@types/node': 20.17.10 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.11 @@ -43479,7 +43515,7 @@ snapshots: jest-util@29.5.0: dependencies: '@jest/types': 29.5.0 - '@types/node': 18.16.14 + '@types/node': 20.17.10 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.11 @@ -43540,7 +43576,7 @@ snapshots: dependencies: '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 18.16.14 + '@types/node': 20.17.10 ansi-escapes: 4.3.2 chalk: 4.1.2 jest-util: 27.5.1 @@ -43550,7 +43586,7 @@ snapshots: dependencies: '@jest/test-result': 28.1.3 '@jest/types': 28.1.3 - '@types/node': 18.16.14 + '@types/node': 20.17.10 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.10.2 @@ -43571,19 +43607,19 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 18.16.14 + '@types/node': 20.17.10 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.10 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.10 jest-util: 29.5.0 merge-stream: 2.0.0 supports-color: 8.1.1