diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-20 18:19:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-20 18:19:03 +0300 |
commit | 14bd84b61276ef29b97d23642d698de769bacfd2 (patch) | |
tree | f9eba90140c1bd874211dea17750a0d422c04080 /patches/@vue+compiler-sfc+3.2.47.patch | |
parent | 891c388697b2db0d8ee0c8358a9bdbf6dc56d581 (diff) |
Add latest changes from gitlab-org/gitlab@15-10-stable-eev15.10.0-rc42
Diffstat (limited to 'patches/@vue+compiler-sfc+3.2.47.patch')
-rw-r--r-- | patches/@vue+compiler-sfc+3.2.47.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/@vue+compiler-sfc+3.2.47.patch b/patches/@vue+compiler-sfc+3.2.47.patch new file mode 100644 index 00000000000..9cbedbb0d0f --- /dev/null +++ b/patches/@vue+compiler-sfc+3.2.47.patch @@ -0,0 +1,28 @@ +diff --git a/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js b/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js +index 6093500..5e9bcbb 100644 +--- a/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js ++++ b/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js +@@ -5226,7 +5226,8 @@ function parse$4(source, { sourceMap = true, filename = DEFAULT_FILENAME, source + const templateBlock = (descriptor.template = createBlock(node, source, false)); + templateBlock.ast = node; + // warn against 2.x <template functional> +- if (templateBlock.attrs.functional) { ++ // disabled by patch-package in gitlab as temporary migration ++ if (false && templateBlock.attrs.functional) { + const err = new SyntaxError(`<template functional> is no longer supported in Vue 3, since ` + + `functional components no longer have significant performance ` + + `difference from stateful ones. Just use a normal <template> ` + +diff --git a/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js b/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js +index 2ce8d7a..2fbe75b 100644 +--- a/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js ++++ b/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js +@@ -37376,7 +37376,8 @@ function parse$5(source, { sourceMap = true, filename = DEFAULT_FILENAME, source + const templateBlock = (descriptor.template = createBlock(node, source, false)); + templateBlock.ast = node; + // warn against 2.x <template functional> +- if (templateBlock.attrs.functional) { ++ // disabled by patch-package in gitlab as temporary migration ++ if (false && templateBlock.attrs.functional) { + const err = new SyntaxError(`<template functional> is no longer supported in Vue 3, since ` + + `functional components no longer have significant performance ` + + `difference from stateful ones. Just use a normal <template> ` + |