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

Commit

Permalink
chore: bump vue deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Nov 25, 2020
1 parent d70f594 commit 8845209
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 37 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@types/hash-sum": "^1.0.0",
"@types/jest": "^25.2.3",
"@types/node": "^13.13.2",
"@vue/compiler-sfc": "^3.0.2",
"@vue/compiler-sfc": "^3.0.3",
"husky": "^4.2.0",
"jest": "^26.0.1",
"lint-staged": "^10.1.7",
Expand Down
1 change: 0 additions & 1 deletion src/script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export function resolveScript(
if (compileScript) {
try {
resolved = compileScript(descriptor, {
// @ts-ignore
id: scopeId,
isProd,
inlineTemplate: true,
Expand Down
3 changes: 0 additions & 3 deletions src/sfc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ function genStyleCode(
hasCSSModules = true
}
stylesCode += genCSSModulesCode(
scopeId,
i,
styleRequest,
styleRequestWithoutModule,
Expand Down Expand Up @@ -209,8 +208,6 @@ function getCustomBlock(
}

function genCSSModulesCode(
// @ts-ignore
id: string,
index: number,
request: string,
requestWithoutModule: string,
Expand Down
1 change: 0 additions & 1 deletion src/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export async function transformStyle(
const result = await compileStyleAsync({
filename: query.filename,
id: `data-v-${query.id}`,
// @ts-ignore
isProd: isProduction,
source: code,
scoped: block.scoped,
Expand Down
3 changes: 1 addition & 2 deletions src/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export function transformTemplate(
const descriptor = getDescriptor(query.filename)
const result = compileTemplate({
...getTemplateCompilerOptions(options, descriptor, query.id),
id: query.id,
source: code,
filename: query.filename,
})
Expand Down Expand Up @@ -72,7 +73,6 @@ export function getTemplateCompilerOptions(
options.templatePreprocessOptions[preprocessLang]
const resolvedScript = getResolvedScript(descriptor, isServer)
return {
// @ts-ignore
id: scopeId,
scoped: hasScoped,
isProd,
Expand All @@ -83,7 +83,6 @@ export function getTemplateCompilerOptions(
preprocessCustomRequire: options.preprocessCustomRequire,
compiler: options.compiler,
ssr: isServer,
// @ts-ignore
ssrCssVars: descriptor.cssVars,
compilerOptions: {
...options.compilerOptions,
Expand Down
58 changes: 29 additions & 29 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -686,36 +686,36 @@
dependencies:
"@types/yargs-parser" "*"

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

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

"@vue/compiler-sfc@^3.0.2":
version "3.0.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.0.2.tgz#22c70fed72c347a4d5fa2db2e80594b3193dce57"
integrity sha512-viYjT5ehDSLM3v0jQ9hbTs4I5e/7lSlYsDOp7TQ1qcwHRvzoTQMTkFpY/Iae+LFKM124Ld17tBfXgfrZl9dt+g==
"@vue/compiler-sfc@^3.0.3":
version "3.0.3"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.0.3.tgz#7fad9d40e139dd717713c0db701e1eb776f8349f"
integrity sha512-YocHSirye85kRVC4lU0+SE6uhrwGJzbhwkrqG4g6kmsAUopZ0qUjbICMlej5bYx2+AUz9yBIM7hpK8nIKFVFjg==
dependencies:
"@babel/parser" "^7.12.0"
"@babel/types" "^7.12.0"
"@vue/compiler-core" "3.0.2"
"@vue/compiler-dom" "3.0.2"
"@vue/compiler-ssr" "3.0.2"
"@vue/shared" "3.0.2"
"@vue/compiler-core" "3.0.3"
"@vue/compiler-dom" "3.0.3"
"@vue/compiler-ssr" "3.0.3"
"@vue/shared" "3.0.3"
consolidate "^0.16.0"
estree-walker "^2.0.1"
hash-sum "^2.0.0"
Expand All @@ -727,18 +727,18 @@
postcss-selector-parser "^6.0.4"
source-map "^0.6.1"

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

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

abab@^2.0.3:
version "2.0.3"
Expand Down

0 comments on commit 8845209

Please sign in to comment.