Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 8845209

Browse files
committed
chore: bump vue deps
1 parent d70f594 commit 8845209

File tree

6 files changed

+31
-37
lines changed

6 files changed

+31
-37
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@types/hash-sum": "^1.0.0",
3131
"@types/jest": "^25.2.3",
3232
"@types/node": "^13.13.2",
33-
"@vue/compiler-sfc": "^3.0.2",
33+
"@vue/compiler-sfc": "^3.0.3",
3434
"husky": "^4.2.0",
3535
"jest": "^26.0.1",
3636
"lint-staged": "^10.1.7",

src/script.ts

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export function resolveScript(
3838
if (compileScript) {
3939
try {
4040
resolved = compileScript(descriptor, {
41-
// @ts-ignore
4241
id: scopeId,
4342
isProd,
4443
inlineTemplate: true,

src/sfc.ts

-3
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ function genStyleCode(
172172
hasCSSModules = true
173173
}
174174
stylesCode += genCSSModulesCode(
175-
scopeId,
176175
i,
177176
styleRequest,
178177
styleRequestWithoutModule,
@@ -209,8 +208,6 @@ function getCustomBlock(
209208
}
210209

211210
function genCSSModulesCode(
212-
// @ts-ignore
213-
id: string,
214211
index: number,
215212
request: string,
216213
requestWithoutModule: string,

src/style.ts

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ export async function transformStyle(
4949
const result = await compileStyleAsync({
5050
filename: query.filename,
5151
id: `data-v-${query.id}`,
52-
// @ts-ignore
5352
isProd: isProduction,
5453
source: code,
5554
scoped: block.scoped,

src/template.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export function transformTemplate(
2121
const descriptor = getDescriptor(query.filename)
2222
const result = compileTemplate({
2323
...getTemplateCompilerOptions(options, descriptor, query.id),
24+
id: query.id,
2425
source: code,
2526
filename: query.filename,
2627
})
@@ -72,7 +73,6 @@ export function getTemplateCompilerOptions(
7273
options.templatePreprocessOptions[preprocessLang]
7374
const resolvedScript = getResolvedScript(descriptor, isServer)
7475
return {
75-
// @ts-ignore
7676
id: scopeId,
7777
scoped: hasScoped,
7878
isProd,
@@ -83,7 +83,6 @@ export function getTemplateCompilerOptions(
8383
preprocessCustomRequire: options.preprocessCustomRequire,
8484
compiler: options.compiler,
8585
ssr: isServer,
86-
// @ts-ignore
8786
ssrCssVars: descriptor.cssVars,
8887
compilerOptions: {
8988
...options.compilerOptions,

yarn.lock

+29-29
Original file line numberDiff line numberDiff line change
@@ -686,36 +686,36 @@
686686
dependencies:
687687
"@types/yargs-parser" "*"
688688

689-
690-
version "3.0.2"
691-
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.0.2.tgz#7790b7a1fcbba5ace4d81a70ce59096fa5c95734"
692-
integrity sha512-GOlEMTlC/OdzBkKaKOniYErbkjoKxkBOmulxGmMR10I2JJX6TvXd/peaO/kla2xhpliV/M6Z4TLJp0yjAvRIAw==
689+
690+
version "3.0.3"
691+
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.0.3.tgz#dbb4d5eb91f294038f0bed170a1c25f59f7dc74f"
692+
integrity sha512-iWlRT8RYLmz7zkg84pTOriNUzjH7XACWN++ImFkskWXWeev29IKi7p76T9jKDaMZoPiGcUZ0k9wayuASWVxOwg==
693693
dependencies:
694694
"@babel/parser" "^7.12.0"
695695
"@babel/types" "^7.12.0"
696-
"@vue/shared" "3.0.2"
696+
"@vue/shared" "3.0.3"
697697
estree-walker "^2.0.1"
698698
source-map "^0.6.1"
699699

700-
701-
version "3.0.2"
702-
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.0.2.tgz#1d40de04bcdf9aabb79fb6a802dd70a2f3c2992a"
703-
integrity sha512-jvaL4QF2yXBJVD+JLbM2YA3e5fNfflJnfQ+GtfYk46ENGsEetqbkZqcX7fO+RHdG8tZBo7LCNBvgD0QLr+V4sg==
700+
701+
version "3.0.3"
702+
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.0.3.tgz#582ba30bc82da8409868bc1153ff0e0e2be617e5"
703+
integrity sha512-6GdUbDPjsc0MDZGAgpi4lox+d+aW9/brscwBOLOFfy9wcI9b6yLPmBbjdIsJq3pYdJWbdvACdJ77avBBdHEP8A==
704704
dependencies:
705-
"@vue/compiler-core" "3.0.2"
706-
"@vue/shared" "3.0.2"
705+
"@vue/compiler-core" "3.0.3"
706+
"@vue/shared" "3.0.3"
707707

708-
"@vue/compiler-sfc@^3.0.2":
709-
version "3.0.2"
710-
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.0.2.tgz#22c70fed72c347a4d5fa2db2e80594b3193dce57"
711-
integrity sha512-viYjT5ehDSLM3v0jQ9hbTs4I5e/7lSlYsDOp7TQ1qcwHRvzoTQMTkFpY/Iae+LFKM124Ld17tBfXgfrZl9dt+g==
708+
"@vue/compiler-sfc@^3.0.3":
709+
version "3.0.3"
710+
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.0.3.tgz#7fad9d40e139dd717713c0db701e1eb776f8349f"
711+
integrity sha512-YocHSirye85kRVC4lU0+SE6uhrwGJzbhwkrqG4g6kmsAUopZ0qUjbICMlej5bYx2+AUz9yBIM7hpK8nIKFVFjg==
712712
dependencies:
713713
"@babel/parser" "^7.12.0"
714714
"@babel/types" "^7.12.0"
715-
"@vue/compiler-core" "3.0.2"
716-
"@vue/compiler-dom" "3.0.2"
717-
"@vue/compiler-ssr" "3.0.2"
718-
"@vue/shared" "3.0.2"
715+
"@vue/compiler-core" "3.0.3"
716+
"@vue/compiler-dom" "3.0.3"
717+
"@vue/compiler-ssr" "3.0.3"
718+
"@vue/shared" "3.0.3"
719719
consolidate "^0.16.0"
720720
estree-walker "^2.0.1"
721721
hash-sum "^2.0.0"
@@ -727,18 +727,18 @@
727727
postcss-selector-parser "^6.0.4"
728728
source-map "^0.6.1"
729729

730-
731-
version "3.0.2"
732-
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.0.2.tgz#73af4d274a79bfcc72a996a9b45f1072e7deaa26"
733-
integrity sha512-gOgK1lf+0bFl+kQj6TU0TU1jIDFlsPRlSBZaUUA16DGeeiJrFanhsMuIs/l9U0IBFr/VJcHgzYpTXqHp95luHw==
730+
731+
version "3.0.3"
732+
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.0.3.tgz#7d9e5c1b8c71d69865ac6c48d2e6eb2eecb68501"
733+
integrity sha512-IjJMoHCiDk939Ix7Q5wrex59TVJr6JFQ95gf36f4G4UrVau0GGY/3HudnWT/6eyWJ7267+odqQs1uCZgDfL/Ww==
734734
dependencies:
735-
"@vue/compiler-dom" "3.0.2"
736-
"@vue/shared" "3.0.2"
735+
"@vue/compiler-dom" "3.0.3"
736+
"@vue/shared" "3.0.3"
737737

738-
739-
version "3.0.2"
740-
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.0.2.tgz#419bd85a2ebdbd4f42963e98c5a1b103452176d9"
741-
integrity sha512-Zx869zlNoujFOclKIoYmkh8ES2RcS/+Jn546yOiPyZ+3+Ejivnr+fb8l+DdXUEFjo+iVDNR3KyLzg03aBFfZ4Q==
738+
739+
version "3.0.3"
740+
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.0.3.tgz#ef12ebff93a446df281e8a0fd765b5aea8e7745b"
741+
integrity sha512-yGgkF7u4W0Dmwri9XdeY50kOowN4UIX7aBQ///jbxx37itpzVjK7QzvD3ltQtPfWaJDGBfssGL0wpAgwX9OJpQ==
742742

743743
abab@^2.0.3:
744744
version "2.0.3"

0 commit comments

Comments
 (0)