@nuxt/webpack-builder 3.9.0 → 3.9.2
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/index.mjs +4 -1
- package/package.json +18 -18
package/dist/index.mjs
CHANGED
|
@@ -52,7 +52,10 @@ const stringTypes = ["Literal", "TemplateLiteral"];
|
|
|
52
52
|
const NUXT_LIB_RE = /node_modules\/(nuxt|nuxt3|nuxt-nightly)\//;
|
|
53
53
|
const SUPPORTED_EXT_RE = /\.(m?[jt]sx?|vue)/;
|
|
54
54
|
const composableKeysPlugin = createUnplugin((options) => {
|
|
55
|
-
const composableMeta =
|
|
55
|
+
const composableMeta = {};
|
|
56
|
+
for (const { name, ...meta } of options.composables) {
|
|
57
|
+
composableMeta[name] = meta;
|
|
58
|
+
}
|
|
56
59
|
const maxLength = Math.max(...options.composables.map(({ argumentLength }) => argumentLength));
|
|
57
60
|
const keyedFunctions = new Set(options.composables.map(({ name }) => name));
|
|
58
61
|
const KEYED_FUNCTIONS_RE = new RegExp(`\\b(${[...keyedFunctions].map((f) => escapeRE(f)).join("|")})\\b`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/webpack-builder",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -24,46 +24,46 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@nuxt/friendly-errors-webpack-plugin": "^2.6.0",
|
|
26
26
|
"autoprefixer": "^10.4.16",
|
|
27
|
-
"css-loader": "^6.
|
|
27
|
+
"css-loader": "^6.9.0",
|
|
28
28
|
"css-minimizer-webpack-plugin": "^5.0.1",
|
|
29
|
-
"cssnano": "^6.0.
|
|
30
|
-
"defu": "^6.1.
|
|
29
|
+
"cssnano": "^6.0.3",
|
|
30
|
+
"defu": "^6.1.4",
|
|
31
31
|
"esbuild-loader": "^4.0.2",
|
|
32
32
|
"escape-string-regexp": "^5.0.0",
|
|
33
33
|
"estree-walker": "^3.0.3",
|
|
34
34
|
"file-loader": "^6.2.0",
|
|
35
35
|
"fork-ts-checker-webpack-plugin": "^9.0.2",
|
|
36
36
|
"fs-extra": "^11.2.0",
|
|
37
|
-
"h3": "^1.
|
|
37
|
+
"h3": "^1.10.0",
|
|
38
38
|
"hash-sum": "^2.0.0",
|
|
39
39
|
"lodash-es": "4.17.21",
|
|
40
40
|
"magic-string": "^0.30.5",
|
|
41
41
|
"memfs": "^4.6.0",
|
|
42
|
-
"mini-css-extract-plugin": "^2.7.
|
|
43
|
-
"mlly": "^1.
|
|
42
|
+
"mini-css-extract-plugin": "^2.7.7",
|
|
43
|
+
"mlly": "^1.5.0",
|
|
44
44
|
"ohash": "^1.1.3",
|
|
45
|
-
"pathe": "^1.1.
|
|
45
|
+
"pathe": "^1.1.2",
|
|
46
46
|
"pify": "^6.1.0",
|
|
47
|
-
"postcss": "^8.4.
|
|
48
|
-
"postcss-import": "^
|
|
47
|
+
"postcss": "^8.4.33",
|
|
48
|
+
"postcss-import": "^16.0.0",
|
|
49
49
|
"postcss-import-resolver": "^2.0.0",
|
|
50
|
-
"postcss-loader": "^7.3.
|
|
50
|
+
"postcss-loader": "^7.3.4",
|
|
51
51
|
"postcss-url": "^10.1.3",
|
|
52
52
|
"pug-plain-loader": "^1.1.0",
|
|
53
53
|
"std-env": "^3.7.0",
|
|
54
54
|
"time-fix-plugin": "^2.0.7",
|
|
55
55
|
"ufo": "^1.3.2",
|
|
56
|
-
"unplugin": "^1.
|
|
56
|
+
"unplugin": "^1.6.0",
|
|
57
57
|
"url-loader": "^4.1.1",
|
|
58
58
|
"vue-bundle-renderer": "^2.0.0",
|
|
59
|
-
"vue-loader": "^17.4.
|
|
59
|
+
"vue-loader": "^17.4.2",
|
|
60
60
|
"webpack": "^5.89.0",
|
|
61
61
|
"webpack-bundle-analyzer": "^4.10.1",
|
|
62
|
-
"webpack-dev-middleware": "^
|
|
63
|
-
"webpack-hot-middleware": "^2.
|
|
62
|
+
"webpack-dev-middleware": "^7.0.0",
|
|
63
|
+
"webpack-hot-middleware": "^2.26.0",
|
|
64
64
|
"webpack-virtual-modules": "^0.6.1",
|
|
65
65
|
"webpackbar": "^6.0.0",
|
|
66
|
-
"@nuxt/kit": "3.9.
|
|
66
|
+
"@nuxt/kit": "3.9.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/fs-extra": "11.0.4",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"@types/webpack-hot-middleware": "2.25.9",
|
|
74
74
|
"@types/webpack-virtual-modules": "0.1.3",
|
|
75
75
|
"unbuild": "latest",
|
|
76
|
-
"vue": "3.
|
|
77
|
-
"@nuxt/schema": "3.9.
|
|
76
|
+
"vue": "3.4.14",
|
|
77
|
+
"@nuxt/schema": "3.9.2"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"vue": "^3.3.4"
|