@vue/compiler-sfc 3.4.12 → 3.4.14
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/compiler-sfc.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-sfc v3.4.
|
|
2
|
+
* @vue/compiler-sfc v3.4.14
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -4279,6 +4279,7 @@ function doCompileTemplate({
|
|
|
4279
4279
|
}
|
|
4280
4280
|
if (inAST == null ? void 0 : inAST.transformed) {
|
|
4281
4281
|
const newAST = (ssr ? CompilerDOM__namespace : compiler).parse(inAST.source, {
|
|
4282
|
+
prefixIdentifiers: true,
|
|
4282
4283
|
...compilerOptions,
|
|
4283
4284
|
parseMode: "sfc",
|
|
4284
4285
|
onError: (e) => errors.push(e)
|
|
@@ -20607,7 +20608,7 @@ function isStaticNode(node) {
|
|
|
20607
20608
|
return false;
|
|
20608
20609
|
}
|
|
20609
20610
|
|
|
20610
|
-
const version = "3.4.
|
|
20611
|
+
const version = "3.4.14";
|
|
20611
20612
|
const parseCache = parseCache$1;
|
|
20612
20613
|
const errorMessages = {
|
|
20613
20614
|
...CompilerDOM.errorMessages,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-sfc v3.4.
|
|
2
|
+
* @vue/compiler-sfc v3.4.14
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -32653,7 +32653,9 @@ function doCompileTemplate({
|
|
|
32653
32653
|
inAST = void 0;
|
|
32654
32654
|
}
|
|
32655
32655
|
if (inAST == null ? void 0 : inAST.transformed) {
|
|
32656
|
-
const newAST = (ssr ? CompilerDOM : compiler).parse(inAST.source, __spreadProps$5(__spreadValues$6({
|
|
32656
|
+
const newAST = (ssr ? CompilerDOM : compiler).parse(inAST.source, __spreadProps$5(__spreadValues$6({
|
|
32657
|
+
prefixIdentifiers: true
|
|
32658
|
+
}, compilerOptions), {
|
|
32657
32659
|
parseMode: "sfc",
|
|
32658
32660
|
onError: (e) => errors.push(e)
|
|
32659
32661
|
}));
|
|
@@ -34489,6 +34491,7 @@ let MapGenerator$2 = class MapGenerator {
|
|
|
34489
34491
|
this.root = root;
|
|
34490
34492
|
this.opts = opts;
|
|
34491
34493
|
this.css = cssString;
|
|
34494
|
+
this.originalCSS = cssString;
|
|
34492
34495
|
this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute;
|
|
34493
34496
|
|
|
34494
34497
|
this.memoizedFileURLs = new Map();
|
|
@@ -34547,7 +34550,7 @@ let MapGenerator$2 = class MapGenerator {
|
|
|
34547
34550
|
}
|
|
34548
34551
|
}
|
|
34549
34552
|
} else if (this.css) {
|
|
34550
|
-
this.css = this.css.replace(
|
|
34553
|
+
this.css = this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm, '');
|
|
34551
34554
|
}
|
|
34552
34555
|
}
|
|
34553
34556
|
|
|
@@ -34749,7 +34752,7 @@ let MapGenerator$2 = class MapGenerator {
|
|
|
34749
34752
|
}
|
|
34750
34753
|
});
|
|
34751
34754
|
} else {
|
|
34752
|
-
let input = new Input$3(this.
|
|
34755
|
+
let input = new Input$3(this.originalCSS, this.opts);
|
|
34753
34756
|
if (input.map) this.previousMaps.push(input.map);
|
|
34754
34757
|
}
|
|
34755
34758
|
}
|
|
@@ -36805,6 +36808,9 @@ let NoWorkResult$1 = class NoWorkResult {
|
|
|
36805
36808
|
if (generatedMap) {
|
|
36806
36809
|
this.result.map = generatedMap;
|
|
36807
36810
|
}
|
|
36811
|
+
} else {
|
|
36812
|
+
map.clearAnnotation();
|
|
36813
|
+
this.result.css = map.css;
|
|
36808
36814
|
}
|
|
36809
36815
|
}
|
|
36810
36816
|
|
|
@@ -36909,7 +36915,7 @@ let Root$2 = root$2;
|
|
|
36909
36915
|
|
|
36910
36916
|
let Processor$1 = class Processor {
|
|
36911
36917
|
constructor(plugins = []) {
|
|
36912
|
-
this.version = '8.4.
|
|
36918
|
+
this.version = '8.4.33';
|
|
36913
36919
|
this.plugins = this.normalize(plugins);
|
|
36914
36920
|
}
|
|
36915
36921
|
|
|
@@ -36945,10 +36951,10 @@ let Processor$1 = class Processor {
|
|
|
36945
36951
|
|
|
36946
36952
|
process(css, opts = {}) {
|
|
36947
36953
|
if (
|
|
36948
|
-
this.plugins.length
|
|
36949
|
-
|
|
36950
|
-
|
|
36951
|
-
|
|
36954
|
+
!this.plugins.length &&
|
|
36955
|
+
!opts.parser &&
|
|
36956
|
+
!opts.stringifier &&
|
|
36957
|
+
!opts.syntax
|
|
36952
36958
|
) {
|
|
36953
36959
|
return new NoWorkResult(this, css, opts)
|
|
36954
36960
|
} else {
|
|
@@ -48642,7 +48648,7 @@ var __spreadValues = (a, b) => {
|
|
|
48642
48648
|
}
|
|
48643
48649
|
return a;
|
|
48644
48650
|
};
|
|
48645
|
-
const version = "3.4.
|
|
48651
|
+
const version = "3.4.14";
|
|
48646
48652
|
const parseCache = parseCache$1;
|
|
48647
48653
|
const errorMessages = __spreadValues(__spreadValues({}, errorMessages$1), DOMErrorMessages);
|
|
48648
48654
|
const walk = walk$2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-sfc",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.14",
|
|
4
4
|
"description": "@vue/compiler-sfc",
|
|
5
5
|
"main": "dist/compiler-sfc.cjs.js",
|
|
6
6
|
"module": "dist/compiler-sfc.esm-browser.js",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"@babel/parser": "^7.23.6",
|
|
46
46
|
"estree-walker": "^2.0.2",
|
|
47
47
|
"magic-string": "^0.30.5",
|
|
48
|
-
"postcss": "^8.4.
|
|
48
|
+
"postcss": "^8.4.33",
|
|
49
49
|
"source-map-js": "^1.0.2",
|
|
50
|
-
"@vue/compiler-core": "3.4.
|
|
51
|
-
"@vue/compiler-
|
|
52
|
-
"@vue/shared": "3.4.
|
|
53
|
-
"@vue/compiler-
|
|
50
|
+
"@vue/compiler-core": "3.4.14",
|
|
51
|
+
"@vue/compiler-dom": "3.4.14",
|
|
52
|
+
"@vue/shared": "3.4.14",
|
|
53
|
+
"@vue/compiler-ssr": "3.4.14"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@babel/types": "^7.23.6",
|