diff --git a/client/web/build/utils.ts b/client/web/build/utils.ts index 080b4099..ba69d876 100644 --- a/client/web/build/utils.ts +++ b/client/web/build/utils.ts @@ -1,3 +1,4 @@ +import type { RuntimeCaching } from 'workbox-build'; /** * workbox 匹配plugin的缓存 */ @@ -6,3 +7,30 @@ export const workboxPluginEntryPattern = export const workboxPluginDetailPattern = /plugins\/com\.msgbyte\.(.*?)\/(\S+?)\-(\S*?)\.js/; + +export function buildRuntimePluginJSResourceCacheGroup( + pattern: RegExp, + name: string, + expiration: number +): RuntimeCaching { + return { + urlPattern: ({ url }) => { + // 使用自定义匹配函数而不是直接传是为了方便解决跨域资源的service worker存储 + // 否则需要填入完整的前缀以解决跨域匹配(workbox对此进行了特殊的处理) + return pattern.test(url.pathname); + }, + handler: 'StaleWhileRevalidate' as const, + options: { + cacheName: name, + expiration: { + maxAgeSeconds: expiration, + }, + cacheableResponse: { + // 只缓存js, 防止404后台直接fallback到html + headers: { + 'content-type': 'application/javascript; charset=utf-8', + }, + }, + }, + }; +} diff --git a/client/web/build/workbox.ts b/client/web/build/workbox.ts index c8328eca..5e1729a3 100644 --- a/client/web/build/workbox.ts +++ b/client/web/build/workbox.ts @@ -1,4 +1,8 @@ -import { workboxPluginDetailPattern, workboxPluginEntryPattern } from './utils'; +import { + buildRuntimePluginJSResourceCacheGroup, + workboxPluginDetailPattern, + workboxPluginEntryPattern, +} from './utils'; import WorkboxPlugin from 'workbox-webpack-plugin'; /** @@ -45,40 +49,19 @@ export function buildWorkboxPlugin(isDev: boolean) { }, }, //#region 插件缓存匹配 - { - // 匹配内置 plugins 入口文件 以加速 - urlPattern: workboxPluginEntryPattern, - handler: 'StaleWhileRevalidate', - options: { - cacheName: 'builtin-plugins-entry', - expiration: { - maxAgeSeconds: 24 * 60 * 60, // 1 day - }, - cacheableResponse: { - // 只缓存js, 防止404后台直接fallback到html - headers: { - 'content-type': 'application/javascript; charset=utf-8', - }, - }, - }, - }, - { - // 匹配内置 plugins 内容 以加速 - urlPattern: workboxPluginDetailPattern, - handler: 'StaleWhileRevalidate', - options: { - cacheName: 'builtin-plugins-detail', - expiration: { - maxAgeSeconds: 7 * 24 * 60 * 60, // 1 week - }, - cacheableResponse: { - // 只缓存js, 防止404后台直接fallback到html - headers: { - 'content-type': 'application/javascript; charset=utf-8', - }, - }, - }, - }, + + // 匹配内置 plugins 入口文件 以加速 + buildRuntimePluginJSResourceCacheGroup( + workboxPluginEntryPattern, + 'builtin-plugins-entry', + 24 * 60 * 60 // 1 day + ), + // 匹配内置 plugins 内容 以加速 + buildRuntimePluginJSResourceCacheGroup( + workboxPluginDetailPattern, + 'builtin-plugins-detail', + 7 * 24 * 60 * 60 // 1 week + ), //#endregion ], }); diff --git a/client/web/package.json b/client/web/package.json index 9c4ae44e..776e62b9 100644 --- a/client/web/package.json +++ b/client/web/package.json @@ -144,6 +144,7 @@ "webpack-retry-chunk-load-plugin": "^3.1.1", "webpack-stats-viewer-plugin": "1.0.2", "webpackbar": "^5.0.2", + "workbox-build": "^6.5.4", "workbox-webpack-plugin": "^6.5.4" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 196b12da..1be72b14 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -432,6 +432,7 @@ importers: webpack-retry-chunk-load-plugin: ^3.1.1 webpack-stats-viewer-plugin: 1.0.2 webpackbar: ^5.0.2 + workbox-build: ^6.5.4 workbox-webpack-plugin: ^6.5.4 yup: ^0.32.11 zustand: ^4.1.5 @@ -554,6 +555,7 @@ importers: webpack-retry-chunk-load-plugin: 3.1.1_webpack@5.75.0 webpack-stats-viewer-plugin: 1.0.2_webpack@5.75.0 webpackbar: 5.0.2_webpack@5.75.0 + workbox-build: 6.5.4 workbox-webpack-plugin: 6.5.4_webpack@5.75.0 client/web/plugins/com.msgbyte.bbcode: @@ -1581,19 +1583,6 @@ packages: browserslist: 4.21.3 semver: 6.3.0 - /@babel/helper-compilation-targets/7.18.9_@babel+core@7.20.5: - resolution: {integrity: sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/compat-data': 7.18.13 - '@babel/core': 7.20.5 - '@babel/helper-validator-option': 7.18.6 - browserslist: 4.21.3 - semver: 6.3.0 - dev: true - /@babel/helper-compilation-targets/7.20.0_@babel+core@7.20.5: resolution: {integrity: sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ==} engines: {node: '>=6.9.0'} @@ -1624,24 +1613,6 @@ packages: transitivePeerDependencies: - supports-color - /@babel/helper-create-class-features-plugin/7.18.13_@babel+core@7.20.5: - resolution: {integrity: sha512-hDvXp+QYxSRL+23mpAlSGxHMDyIGChm0/AwTfTAAK5Ufe40nCsyNdaYCGuK91phn/fVu9kqayImRDkvNAgdrsA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.20.5 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-function-name': 7.18.9 - '@babel/helper-member-expression-to-functions': 7.18.9 - '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/helper-replace-supers': 7.18.9 - '@babel/helper-split-export-declaration': 7.18.6 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/helper-create-class-features-plugin/7.20.5_@babel+core@7.20.5: resolution: {integrity: sha512-3RCdA/EmEaikrhayahwToF0fpweU/8o2p8vhc1c/1kftHOdTKuC65kik/TLc+qfbS8JKw4qqJbne4ovICDhmww==} engines: {node: '>=6.9.0'} @@ -1670,17 +1641,6 @@ packages: '@babel/helper-annotate-as-pure': 7.18.6 regexpu-core: 5.1.0 - /@babel/helper-create-regexp-features-plugin/7.18.6_@babel+core@7.20.5: - resolution: {integrity: sha512-7LcpH1wnQLGrI+4v+nPp+zUvIkF9x0ddv1Hkdue10tg3gmRnLy97DXh4STiOf1qeIInyD69Qv5kKSZzKD8B/7A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.20.5 - '@babel/helper-annotate-as-pure': 7.18.6 - regexpu-core: 5.1.0 - dev: true - /@babel/helper-create-regexp-features-plugin/7.20.5_@babel+core@7.20.5: resolution: {integrity: sha512-m68B1lkg3XDGX5yCvGO0kPx3v9WIYLnzjKfPcQiwntEQa5ZeRkPmo2X/ISJc8qxWGfwUr+kvZAeEzAwLec2r2w==} engines: {node: '>=6.9.0'} @@ -1856,7 +1816,7 @@ packages: '@babel/helper-annotate-as-pure': 7.18.6 '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-wrap-function': 7.18.11 - '@babel/types': 7.18.13 + '@babel/types': 7.20.5 transitivePeerDependencies: - supports-color dev: true @@ -1942,10 +1902,10 @@ packages: resolution: {integrity: sha512-oBUlbv+rjZLh2Ks9SKi4aL7eKaAXBWleHzU89mP0G6BMUlRxSckk9tSIkgDGydhgFxHuGSlBQZfnaD47oBEB7w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-function-name': 7.18.9 + '@babel/helper-function-name': 7.19.0 '@babel/template': 7.18.10 - '@babel/traverse': 7.18.13 - '@babel/types': 7.18.13 + '@babel/traverse': 7.20.5 + '@babel/types': 7.20.5 transitivePeerDependencies: - supports-color @@ -2008,7 +1968,7 @@ packages: '@babel/core': ^7.0.0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/7.18.9_@babel+core@7.18.13: @@ -2029,8 +1989,8 @@ packages: '@babel/core': ^7.13.0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 - '@babel/helper-skip-transparent-expression-wrappers': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 '@babel/plugin-proposal-optional-chaining': 7.18.9_@babel+core@7.20.5 dev: true @@ -2082,8 +2042,8 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-create-class-features-plugin': 7.18.13_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-create-class-features-plugin': 7.20.5_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.20.2 transitivePeerDependencies: - supports-color dev: true @@ -2108,8 +2068,8 @@ packages: '@babel/core': ^7.12.0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-create-class-features-plugin': 7.18.13_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-create-class-features-plugin': 7.20.5_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-class-static-block': 7.14.5_@babel+core@7.20.5 transitivePeerDependencies: - supports-color @@ -2148,7 +2108,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.20.5 dev: true @@ -2180,7 +2140,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-export-namespace-from': 7.8.3_@babel+core@7.20.5 dev: true @@ -2201,7 +2161,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.20.5 dev: true @@ -2222,7 +2182,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.20.5 dev: true @@ -2243,7 +2203,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.20.5 dev: true @@ -2264,7 +2224,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.20.5 dev: true @@ -2322,7 +2282,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.20.5 dev: true @@ -2344,8 +2304,8 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 - '@babel/helper-skip-transparent-expression-wrappers': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.20.5 dev: true @@ -2368,8 +2328,8 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-create-class-features-plugin': 7.18.13_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-create-class-features-plugin': 7.20.5_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.20.2 transitivePeerDependencies: - supports-color dev: true @@ -2420,8 +2380,8 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-create-regexp-features-plugin': 7.18.6_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-create-regexp-features-plugin': 7.20.5_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.18.13: @@ -2438,7 +2398,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-bigint/7.8.3_@babel+core@7.20.5: @@ -2464,7 +2424,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-class-static-block/7.14.5_@babel+core@7.18.13: @@ -2483,7 +2443,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-decorators/7.18.6_@babel+core@7.18.13: @@ -2510,7 +2470,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-export-default-from/7.18.6_@babel+core@7.18.13: @@ -2537,7 +2497,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-flow/7.18.6_@babel+core@7.18.13: @@ -2592,7 +2552,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-jsx/7.12.1_@babel+core@7.12.9: @@ -2626,7 +2586,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.18.13: @@ -2643,7 +2603,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.18.13: @@ -2660,7 +2620,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.12.9: @@ -2685,7 +2645,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.18.13: @@ -2702,7 +2662,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.18.13: @@ -2719,7 +2679,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-private-property-in-object/7.14.5_@babel+core@7.18.13: @@ -2738,7 +2698,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-top-level-await/7.14.5_@babel+core@7.18.13: @@ -2757,7 +2717,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-syntax-typescript/7.18.6_@babel+core@7.18.13: @@ -2795,7 +2755,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-async-to-generator/7.18.6_@babel+core@7.18.13: @@ -2819,7 +2779,7 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-module-imports': 7.18.6 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 '@babel/helper-remap-async-to-generator': 7.18.9_@babel+core@7.20.5 transitivePeerDependencies: - supports-color @@ -2841,7 +2801,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-block-scoping/7.18.9_@babel+core@7.18.13: @@ -2917,7 +2877,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-destructuring/7.18.13_@babel+core@7.18.13: @@ -2956,8 +2916,8 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-create-regexp-features-plugin': 7.18.6_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-create-regexp-features-plugin': 7.20.5_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-duplicate-keys/7.18.9_@babel+core@7.18.13: @@ -2976,7 +2936,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-exponentiation-operator/7.18.6_@babel+core@7.18.13: @@ -2997,7 +2957,7 @@ packages: dependencies: '@babel/core': 7.20.5 '@babel/helper-builder-binary-assignment-operator-visitor': 7.18.9 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-flow-strip-types/7.18.9_@babel+core@7.18.13: @@ -3027,7 +2987,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-function-name/7.18.9_@babel+core@7.18.13: @@ -3048,9 +3008,9 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-compilation-targets': 7.18.9_@babel+core@7.20.5 - '@babel/helper-function-name': 7.18.9 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-compilation-targets': 7.20.0_@babel+core@7.20.5 + '@babel/helper-function-name': 7.19.0 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-literals/7.18.9_@babel+core@7.18.13: @@ -3069,7 +3029,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-member-expression-literals/7.18.6_@babel+core@7.18.13: @@ -3088,7 +3048,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-modules-amd/7.18.6_@babel+core@7.18.13: @@ -3194,8 +3154,8 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-module-transforms': 7.18.9 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-module-transforms': 7.20.2 + '@babel/helper-plugin-utils': 7.20.2 transitivePeerDependencies: - supports-color dev: true @@ -3237,7 +3197,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-object-super/7.18.6_@babel+core@7.18.13: @@ -3259,8 +3219,8 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 - '@babel/helper-replace-supers': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-replace-supers': 7.19.1 transitivePeerDependencies: - supports-color dev: true @@ -3309,7 +3269,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-react-constant-elements/7.18.12_@babel+core@7.18.13: @@ -3420,7 +3380,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-runtime/7.18.10_@babel+core@7.18.13: @@ -3456,7 +3416,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-spread/7.18.9_@babel+core@7.18.13: @@ -3496,7 +3456,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-template-literals/7.18.9_@babel+core@7.18.13: @@ -3515,7 +3475,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-typeof-symbol/7.18.9_@babel+core@7.18.13: @@ -3534,7 +3494,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-typescript/7.18.12_@babel+core@7.18.13: @@ -3566,7 +3526,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/plugin-transform-unicode-regex/7.18.6_@babel+core@7.18.13: @@ -3586,8 +3546,8 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-create-regexp-features-plugin': 7.18.6_@babel+core@7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-create-regexp-features-plugin': 7.20.5_@babel+core@7.20.5 + '@babel/helper-plugin-utils': 7.20.2 dev: true /@babel/polyfill/7.12.1: @@ -3799,10 +3759,10 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.20.5 - '@babel/helper-plugin-utils': 7.18.9 + '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-proposal-unicode-property-regex': 7.18.6_@babel+core@7.20.5 '@babel/plugin-transform-dotall-regex': 7.18.6_@babel+core@7.20.5 - '@babel/types': 7.18.13 + '@babel/types': 7.20.5 esutils: 2.0.3 dev: true @@ -5631,7 +5591,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 15.14.9 + '@types/node': 18.11.16 chalk: 4.1.2 jest-message-util: 27.5.1 jest-util: 27.5.1 @@ -5742,7 +5702,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 15.14.9 + '@types/node': 18.11.16 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -5909,7 +5869,7 @@ packages: '@jest/schemas': 29.0.0 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 15.14.9 + '@types/node': 18.11.16 '@types/yargs': 17.0.17 chalk: 4.1.2 dev: true @@ -10685,7 +10645,7 @@ packages: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} dependencies: '@types/connect': 3.4.35 - '@types/node': 15.14.9 + '@types/node': 18.11.16 /@types/bonjour/3.5.10: resolution: {integrity: sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw==} @@ -10724,7 +10684,7 @@ packages: /@types/connect/3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 15.14.9 + '@types/node': 18.11.16 /@types/content-disposition/0.5.5: resolution: {integrity: sha512-v6LCdKfK6BwcqMo+wYW05rLS12S0ZO0Fl4w1h4aaZMD7bqT3gVUns6FvLJKGZHQmYn3SX55JWGpziwJRwVgutA==} @@ -10844,12 +10804,12 @@ packages: resolution: {integrity: sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==} dependencies: '@types/eslint': 8.4.10 - '@types/estree': 0.0.51 + '@types/estree': 1.0.0 /@types/eslint/8.4.10: resolution: {integrity: sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==} dependencies: - '@types/estree': 0.0.51 + '@types/estree': 1.0.0 '@types/json-schema': 7.0.11 /@types/estree/0.0.39: @@ -10875,7 +10835,7 @@ packages: /@types/express-serve-static-core/4.17.31: resolution: {integrity: sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q==} dependencies: - '@types/node': 15.14.9 + '@types/node': 18.11.16 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 @@ -10918,7 +10878,7 @@ packages: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 3.0.5 - '@types/node': 15.14.9 + '@types/node': 18.11.16 /@types/glob/8.0.0: resolution: {integrity: sha512-l6NQsDDyQUVeoTynNpC9uRvCUint/gSUXQA2euwmTuWGvPY5LSDUu6tkCtJB2SvGQlJQzLaKqcGZP4//7EDveA==} @@ -10930,7 +10890,7 @@ packages: /@types/graceful-fs/4.1.5: resolution: {integrity: sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==} dependencies: - '@types/node': 15.14.9 + '@types/node': 18.11.16 dev: true /@types/hast/2.3.4: @@ -10966,7 +10926,7 @@ packages: /@types/http-proxy/1.17.9: resolution: {integrity: sha512-QsbSjA/fSk7xB+UXlCT3wHBy5ai9wOcNDWwZAtud+jXhwOM3l+EYZh8Lng4+/6n8uar0J7xILzqftJdJ/Wdfkw==} dependencies: - '@types/node': 15.14.9 + '@types/node': 18.11.16 /@types/i18next-fs-backend/1.1.2: resolution: {integrity: sha512-ZzTRXA5B0x0oGhzKNp08IsYjZpli4LjRZpg3q4j0XFxN5lKG2MVLnR4yHX8PPExBk4sj9Yfk1z9O6CjPrAlmIQ==} @@ -22043,7 +22003,7 @@ packages: '@jest/environment': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 15.14.9 + '@types/node': 18.11.16 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 @@ -22217,7 +22177,7 @@ packages: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 15.14.9 + '@types/node': 18.11.16 jest-mock: 27.5.1 jest-util: 27.5.1 dev: true @@ -22271,7 +22231,7 @@ packages: dependencies: '@jest/types': 27.5.1 '@types/graceful-fs': 4.1.5 - '@types/node': 15.14.9 + '@types/node': 18.11.16 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.10 @@ -22293,7 +22253,7 @@ packages: '@jest/source-map': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 15.14.9 + '@types/node': 18.11.16 chalk: 4.1.2 co: 4.6.0 expect: 27.5.1 @@ -22459,7 +22419,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 15.14.9 + '@types/node': 18.11.16 chalk: 4.1.2 emittery: 0.8.1 graceful-fs: 4.2.10 @@ -22524,7 +22484,7 @@ packages: resolution: {integrity: sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: - '@types/node': 15.14.9 + '@types/node': 18.11.16 graceful-fs: 4.2.10 dev: true @@ -22611,7 +22571,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.3.1 - '@types/node': 15.14.9 + '@types/node': 18.11.16 chalk: 4.1.2 ci-info: 3.7.0 graceful-fs: 4.2.10 @@ -22636,7 +22596,7 @@ packages: dependencies: '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 15.14.9 + '@types/node': 18.11.16 ansi-escapes: 4.3.2 chalk: 4.1.2 jest-util: 27.5.1 @@ -22647,7 +22607,7 @@ packages: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 15.14.9 + '@types/node': 18.11.16 merge-stream: 2.0.0 supports-color: 7.2.0 @@ -32687,7 +32647,7 @@ packages: peerDependencies: react: '>=16.8.3' dependencies: - '@babel/runtime': 7.4.5 + '@babel/runtime': 7.20.6 invariant: 2.2.4 react: 18.2.0 dev: false