@vue/language-plugin-pug 2.0.21 → 2.0.23-alpha.0
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/index.js +1 -1
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -28,7 +28,7 @@ const plugin = ({ modules }) => {
|
|
|
28
28
|
if (prop === 'offset') {
|
|
29
29
|
const htmlOffset = target.offset;
|
|
30
30
|
const nums = [];
|
|
31
|
-
for (const mapped of map.
|
|
31
|
+
for (const mapped of map.toSourceLocation(htmlOffset)) {
|
|
32
32
|
nums.push(mapped[0]);
|
|
33
33
|
}
|
|
34
34
|
return Math.max(-1, ...nums);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/language-plugin-pug",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.23-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"**/*.js",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@types/node": "latest",
|
|
16
|
-
"@vue/language-core": "2.0.
|
|
16
|
+
"@vue/language-core": "2.0.23-alpha.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@volar/source-map": "~2.
|
|
20
|
-
"volar-service-pug": "0.0.
|
|
19
|
+
"@volar/source-map": "~2.4.0-alpha.0",
|
|
20
|
+
"volar-service-pug": "0.0.55"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "c1b2f64df85617643c1b4b408d99447df3fa2d5f"
|
|
23
23
|
}
|