@umijs/preset-umi 4.6.67 → 4.6.68
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/dist/commands/build.d.ts +1 -1
- package/dist/commands/config/config.d.ts +1 -1
- package/dist/commands/config/list.d.ts +1 -1
- package/dist/commands/config/remove.js +2 -1
- package/dist/commands/config/set.js +2 -1
- package/dist/commands/deadcode.d.ts +1 -1
- package/dist/commands/deadcode.js +2 -1
- package/dist/commands/dev/createRouteMiddleware.js +2 -1
- package/dist/commands/dev/depBuildWorker/depBuildWorker.js +3 -3
- package/dist/commands/dev/depBuildWorker/depBuilder.d.ts +1 -1
- package/dist/commands/dev/depBuildWorker/depBuilder.js +6 -5
- package/dist/commands/dev/depBuildWorker/dev-config.d.ts +1 -1
- package/dist/commands/dev/depBuildWorker/getConfig.js +2 -2
- package/dist/commands/dev/depBuildWorker/workerPreset.d.ts +2 -2
- package/dist/commands/dev/dev.d.ts +1 -1
- package/dist/commands/dev/dev.js +2 -1
- package/dist/commands/generators/api.d.ts +1 -1
- package/dist/commands/generators/component.d.ts +1 -1
- package/dist/commands/generators/component.js +0 -2
- package/dist/commands/generators/cypress.d.ts +1 -1
- package/dist/commands/generators/dva.d.ts +1 -1
- package/dist/commands/generators/jest.d.ts +1 -1
- package/dist/commands/generators/mock.d.ts +1 -1
- package/dist/commands/generators/page.d.ts +1 -1
- package/dist/commands/generators/page.js +9 -8
- package/dist/commands/generators/precommit.d.ts +1 -1
- package/dist/commands/generators/prettier.d.ts +1 -1
- package/dist/commands/generators/tailwindcss.d.ts +1 -1
- package/dist/commands/generators/tsconfig.d.ts +1 -1
- package/dist/commands/generators/utils.js +0 -2
- package/dist/commands/help.d.ts +1 -1
- package/dist/commands/lint.d.ts +1 -1
- package/dist/commands/mfsu/mfsu.d.ts +1 -1
- package/dist/commands/mfsu/util.js +0 -2
- package/dist/commands/plugin.d.ts +1 -1
- package/dist/commands/preview.d.ts +1 -1
- package/dist/commands/setup.d.ts +1 -1
- package/dist/commands/verify-commit.d.ts +1 -1
- package/dist/commands/version.d.ts +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +3 -0
- package/dist/features/404/404.d.ts +2 -2
- package/dist/features/__sample.d.ts +1 -1
- package/dist/features/aiDev/aiDev.d.ts +1 -1
- package/dist/features/aiDev/aiDev.js +2 -1
- package/dist/features/apiRoute/apiRoute.d.ts +1 -1
- package/dist/features/apiRoute/apiRoute.js +2 -1
- package/dist/features/apiRoute/dev-server/esbuild.js +2 -1
- package/dist/features/apiRoute/request.d.ts +0 -2
- package/dist/features/apiRoute/request.js +6 -5
- package/dist/features/apiRoute/response.d.ts +0 -1
- package/dist/features/apiRoute/response.js +0 -1
- package/dist/features/apiRoute/utils.js +18 -9
- package/dist/features/appData/appData.d.ts +1 -1
- package/dist/features/appData/appData.js +2 -2
- package/dist/features/appData/umiInfo.d.ts +1 -1
- package/dist/features/bundler/bundler.d.ts +1 -1
- package/dist/features/check/babel722.d.ts +1 -1
- package/dist/features/check/check.d.ts +1 -1
- package/dist/features/classPropertiesLoose/classPropertiesLoose.d.ts +1 -1
- package/dist/features/clickToComponent/clickToComponent.d.ts +1 -1
- package/dist/features/clientLoader/clientLoader.d.ts +1 -1
- package/dist/features/codeSplitting/codeSplitting.d.ts +1 -1
- package/dist/features/codeSplitting/codeSplitting.js +4 -2
- package/dist/features/configPlugins/configPlugins.d.ts +1 -1
- package/dist/features/crossorigin/crossorigin.d.ts +1 -1
- package/dist/features/depsOnDemand/depsOnDemand.d.ts +1 -1
- package/dist/features/devTool/devTool.d.ts +1 -1
- package/dist/features/esbuildHelperChecker/esbuildHelperChecker.d.ts +1 -1
- package/dist/features/esbuildHelperChecker/esbuildHelperChecker.js +10 -5
- package/dist/features/esmi/Service.js +5 -5
- package/dist/features/esmi/esmi.d.ts +1 -1
- package/dist/features/exportStatic/exportStatic.d.ts +1 -1
- package/dist/features/favicons/favicons.d.ts +1 -1
- package/dist/features/favicons/favicons.js +4 -2
- package/dist/features/helmet/helmet.d.ts +2 -2
- package/dist/features/icons/icons.d.ts +1 -1
- package/dist/features/icons/svgr.js +4 -2
- package/dist/features/legacy/legacy.d.ts +1 -1
- package/dist/features/legacy/legacy.js +6 -6
- package/dist/features/lowImport/lowImport.d.ts +1 -1
- package/dist/features/mako/mako.d.ts +1 -1
- package/dist/features/mock/createMockMiddleware.js +2 -1
- package/dist/features/monorepo/redirect.d.ts +1 -1
- package/dist/features/monorepo/redirect.js +4 -2
- package/dist/features/mpa/mpa.d.ts +1 -1
- package/dist/features/mpa/mpa.js +10 -5
- package/dist/features/okam/okam.d.ts +1 -1
- package/dist/features/overrides/overrides.d.ts +1 -1
- package/dist/features/overrides/overrides.js +2 -1
- package/dist/features/overrides/transform.js +4 -2
- package/dist/features/phantomDependency/phantomDependency.d.ts +1 -1
- package/dist/features/phantomDependency/phantomDependency.js +30 -15
- package/dist/features/polyfill/polyfill.d.ts +1 -1
- package/dist/features/polyfill/publicPathPolyfill.d.ts +1 -1
- package/dist/features/prepare/esbuildPlugins/esbuildAliasPlugin.js +8 -4
- package/dist/features/prepare/prepare.d.ts +1 -1
- package/dist/features/prepare/prepare.js +2 -1
- package/dist/features/reactCompiler/forget.d.ts +1 -1
- package/dist/features/reactCompiler/reactCompiler.d.ts +1 -1
- package/dist/features/reactCompiler/reactCompiler.js +4 -2
- package/dist/features/routePrefetch/routePrefetch.d.ts +1 -1
- package/dist/features/routePreloadOnLoad/routePreloadOnLoad.d.ts +1 -1
- package/dist/features/routePreloadOnLoad/routePreloadOnLoad.js +4 -2
- package/dist/features/routeProps/routeProps.d.ts +1 -1
- package/dist/features/ssr/builder/css-loader.js +2 -2
- package/dist/features/ssr/mako/mako.d.ts +1 -0
- package/dist/features/ssr/mako/mako.js +2 -2
- package/dist/features/ssr/ssr.d.ts +1 -1
- package/dist/features/ssr/ssr.js +4 -3
- package/dist/features/ssr/utils.js +4 -2
- package/dist/features/ssr/utoopack/utoopack.js +3 -3
- package/dist/features/ssr/webpack/webpack.js +2 -2
- package/dist/features/stagewise/stagewise.d.ts +1 -1
- package/dist/features/swc/swc.d.ts +1 -1
- package/dist/features/terminal/terminal.d.ts +1 -1
- package/dist/features/test/test.d.ts +1 -1
- package/dist/features/tmpFiles/configTypes.d.ts +1 -1
- package/dist/features/tmpFiles/getModuleExports.js +2 -2
- package/dist/features/tmpFiles/routes.js +7 -6
- package/dist/features/tmpFiles/tmpFiles.d.ts +1 -1
- package/dist/features/tmpFiles/tmpFiles.js +13 -14
- package/dist/features/transform/CodeFrameError.js +0 -1
- package/dist/features/transform/transform.d.ts +1 -1
- package/dist/features/ui/ui.d.ts +1 -1
- package/dist/features/ui/ui.js +2 -1
- package/dist/features/utoopack/utoopack.d.ts +1 -1
- package/dist/features/vite/vite.d.ts +1 -1
- package/dist/features/webpack/webpack.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/libs/folderCache/AutoUpdateFolderCache.js +3 -9
- package/dist/libs/folderCache/AutoUpdateSourceCodeCache.d.ts +2 -2
- package/dist/libs/folderCache/AutoUpdateSourceCodeCache.js +2 -5
- package/dist/libs/folderCache/FolderWatch.js +2 -5
- package/dist/libs/folderCache/LazySourceCodeCache.d.ts +2 -2
- package/dist/libs/folderCache/LazySourceCodeCache.js +6 -10
- package/dist/libs/folderCache/constant.d.ts +28 -28
- package/dist/libs/folderCache/types.d.ts +5 -5
- package/dist/libs/scan.d.ts +1 -1
- package/dist/libs/scan.js +4 -2
- package/dist/registerMethods.d.ts +1 -1
- package/dist/types.d.ts +12 -13
- package/dist/utils/extractEntryAssets.d.ts +1 -1
- package/dist/utils/routeExportExtractor.d.ts +1 -1
- package/dist/utils/routeExportExtractor.js +2 -1
- package/dist/utils/serializeAppData.js +2 -1
- package/package.json +15 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/preset-umi",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.68",
|
|
4
4
|
"description": "@umijs/preset-umi",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/preset-umi#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
"react-router": "6.3.0",
|
|
43
43
|
"react-router-dom": "6.3.0",
|
|
44
44
|
"regenerator-runtime": "0.13.11",
|
|
45
|
-
"@umijs/
|
|
46
|
-
"@umijs/bundler-esbuild": "4.6.
|
|
47
|
-
"@umijs/
|
|
48
|
-
"@umijs/bundler-
|
|
49
|
-
"@umijs/bundler-
|
|
50
|
-
"@umijs/
|
|
51
|
-
"@umijs/core": "4.6.
|
|
52
|
-
"@umijs/
|
|
53
|
-
"@umijs/plugin-run": "4.6.
|
|
54
|
-
"@umijs/
|
|
55
|
-
"@umijs/server": "4.6.67",
|
|
56
|
-
"@umijs/utils": "4.6.67",
|
|
45
|
+
"@umijs/ast": "4.6.68",
|
|
46
|
+
"@umijs/bundler-esbuild": "4.6.68",
|
|
47
|
+
"@umijs/bundler-utils": "4.6.68",
|
|
48
|
+
"@umijs/bundler-vite": "4.6.68",
|
|
49
|
+
"@umijs/bundler-utoopack": "4.6.68",
|
|
50
|
+
"@umijs/mfsu": "4.6.68",
|
|
51
|
+
"@umijs/core": "4.6.68",
|
|
52
|
+
"@umijs/renderer-react": "4.6.68",
|
|
53
|
+
"@umijs/plugin-run": "4.6.68",
|
|
54
|
+
"@umijs/server": "4.6.68",
|
|
57
55
|
"@umijs/ui": "3.0.1",
|
|
58
|
-
"@umijs/
|
|
59
|
-
"@umijs/
|
|
56
|
+
"@umijs/utils": "4.6.68",
|
|
57
|
+
"@umijs/zod2ts": "4.6.68",
|
|
58
|
+
"@umijs/bundler-webpack": "4.6.68",
|
|
59
|
+
"@umijs/babel-preset-umi": "4.6.68"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@manypkg/get-packages": "1.1.3",
|