@umijs/preset-vue
Advanced tools
Comparing version 4.0.0-rc.15 to 4.0.0-rc.16
@@ -23,3 +23,3 @@ "use strict"; | ||
...config.alias, | ||
vue$: ((_a = api.userConfig.vue) === null || _a === void 0 ? void 0 : _a.runtimeCompiler) ? vuePath : vueRuntimePath, | ||
vue: ((_a = api.userConfig.vue) === null || _a === void 0 ? void 0 : _a.runtimeCompiler) ? vuePath : vueRuntimePath, | ||
'vue-router': (0, resolveProjectDep_1.resolveProjectDep)({ | ||
@@ -44,2 +44,6 @@ pkg: api.pkg, | ||
}); | ||
api.modifyAppData((memo) => { | ||
memo.framework = 'vue'; | ||
return memo; | ||
}); | ||
api.modifyRendererPath(() => (0, path_1.dirname)(require.resolve('@umijs/renderer-vue/package.json'))); | ||
@@ -46,0 +50,0 @@ // 增加运行时key |
@@ -11,4 +11,4 @@ "use strict"; | ||
}, | ||
default: {}, | ||
}, | ||
enableBy: api.EnableBy.config, | ||
}); | ||
@@ -20,4 +20,5 @@ return { | ||
require.resolve('./features/tmpFiles/tmpFiles'), | ||
require.resolve('./features/vite/vite'), | ||
], | ||
}; | ||
}; |
{ | ||
"name": "@umijs/preset-vue", | ||
"version": "4.0.0-rc.15", | ||
"version": "4.0.0-rc.16", | ||
"description": "@umijs/preset-vue", | ||
@@ -25,9 +25,10 @@ "homepage": "https://github.com/umijs/umi-next/tree/master/packages/preset-vue#readme", | ||
"dependencies": { | ||
"@umijs/renderer-vue": "4.0.0-rc.15", | ||
"vue": "3.2.31", | ||
"@umijs/renderer-vue": "4.0.0-rc.16", | ||
"vue": "3.2.33", | ||
"vue-loader": "17.0.0", | ||
"vue-router": "4.0.12" | ||
"vue-router": "4.0.15" | ||
}, | ||
"devDependencies": { | ||
"umi": "4.0.0-rc.15" | ||
"@vitejs/plugin-vue": "2.3.1", | ||
"umi": "4.0.0-rc.16" | ||
}, | ||
@@ -39,3 +40,17 @@ "publishConfig": { | ||
"chencheng <sorrycc@gmail.com> (https://github.com/sorrycc)" | ||
] | ||
], | ||
"compiledConfig": { | ||
"deps": [ | ||
"@vitejs/plugin-vue" | ||
], | ||
"externals": { | ||
"vue": "vue", | ||
"vue/compiler-sfc": "vue/compiler-sfc", | ||
"vite": "@umijs/bundler-vite/compiled/vite", | ||
"esbuild": "@umijs/bundler-utils/compiled/esbuild" | ||
}, | ||
"excludeDtsDeps": [ | ||
"@vitejs/plugin-vue" | ||
] | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106698
27
362
2
3
12
+ Added@umijs/renderer-vue@4.0.0-rc.16(transitive)
+ Added@vue/compiler-core@3.2.33(transitive)
+ Added@vue/compiler-dom@3.2.33(transitive)
+ Added@vue/compiler-sfc@3.2.33(transitive)
+ Added@vue/compiler-ssr@3.2.33(transitive)
+ Added@vue/reactivity@3.2.33(transitive)
+ Added@vue/reactivity-transform@3.2.33(transitive)
+ Added@vue/runtime-core@3.2.33(transitive)
+ Added@vue/runtime-dom@3.2.33(transitive)
+ Added@vue/server-renderer@3.2.33(transitive)
+ Added@vue/shared@3.2.33(transitive)
+ Addedvue@3.2.33(transitive)
+ Addedvue-router@4.0.15(transitive)
- Removed@umijs/renderer-vue@4.0.0-rc.15(transitive)
- Removed@vue/compiler-core@3.2.31(transitive)
- Removed@vue/compiler-dom@3.2.31(transitive)
- Removed@vue/compiler-sfc@3.2.31(transitive)
- Removed@vue/compiler-ssr@3.2.31(transitive)
- Removed@vue/reactivity@3.2.31(transitive)
- Removed@vue/reactivity-transform@3.2.31(transitive)
- Removed@vue/runtime-core@3.2.31(transitive)
- Removed@vue/runtime-dom@3.2.31(transitive)
- Removed@vue/server-renderer@3.2.31(transitive)
- Removed@vue/shared@3.2.31(transitive)
- Removedvue@3.2.31(transitive)
- Removedvue-router@4.0.12(transitive)
Updatedvue@3.2.33
Updatedvue-router@4.0.15