diff --git a/test/spec/api/commands/build.spec.ts b/test/spec/api/commands/build.spec.ts index 238a85cb..7916b1ef 100644 --- a/test/spec/api/commands/build.spec.ts +++ b/test/spec/api/commands/build.spec.ts @@ -143,7 +143,6 @@ describe('command: build', () => { expect(existsSync(api.resolve('dist/js/button.js'))).toBeTruthy(); expect(existsSync(api.resolve('dist/js/button.js.map'))).toBeFalsy(); - expect(readFile(api.resolve('dist/js/button.js'))).toContain('// For security concerns, we use only base name in production mode.'); expect(readFile(api.resolve('dist/js/button.js'))).toContain("Vue.component('y-button', Button);"); expect(readFile(api.resolve('dist/js/button.js'))).toContain("'Hello from Button.vue!'"); expect(readFile(api.resolve('dist/js/button.js'))).toContain('"Hello from index.js!"'); diff --git a/yarn.lock b/yarn.lock index b8ff35c0..ebcf3b34 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9272,12 +9272,12 @@ magic-string@^0.22.5: dependencies: vlq "^0.2.2" -magic-string@^0.25.1: - version "0.25.1" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.1.tgz#b1c248b399cd7485da0fe7385c2fc7011843266e" - integrity sha512-sCuTz6pYom8Rlt4ISPFn6wuFodbKMIHUMv4Qko9P17dpxb7s52KJTmRuZZqHdGmLCK9AOcDare039nRIcfdkEg== +magic-string@^0.25.1, magic-string@^0.25.2: + version "0.25.2" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.2.tgz#139c3a729515ec55e96e69e82a11fe890a293ad9" + integrity sha512-iLs9mPjh9IuTtRsqqhNGYcZXGei0Nh/A4xirrsqW7c+QhKVFL2vm7U09ru6cHRD22azaP/wMDgI+HCqbETMTtg== dependencies: - sourcemap-codec "^1.4.1" + sourcemap-codec "^1.4.4" make-dir@^1.0.0, make-dir@^1.2.0: version "1.3.0" @@ -13036,14 +13036,15 @@ rollup-plugin-terser@^4.0.1: terser "^3.14.1" rollup-plugin-vue@^4.3.2: - version "4.6.2" - resolved "https://registry.yarnpkg.com/rollup-plugin-vue/-/rollup-plugin-vue-4.6.2.tgz#13ef8c551825f3956f4b43542830f4f6e0a90169" - integrity sha512-02Xmcn5bewk0mTQNliRS5/dp1xf0whPtHV/5DAjbsqiFZvRvf5cBDKIpxAWdnOTyxXO/BaT/E9GTxnCOmt4AIQ== + version "4.7.1" + resolved "https://registry.yarnpkg.com/rollup-plugin-vue/-/rollup-plugin-vue-4.7.1.tgz#73c6795c4328593e92b5e3cd3d28ea10896270bd" + integrity sha512-zegQMEgt5Mb3/lG7Nu5g+OXGKGW9KNltj3XjW4jVAiaVIyIlYTYsHK+k42S9//xhUoqvd7b4Fki5dGQJB+fdsg== dependencies: "@vue/component-compiler" "^3.6" "@vue/component-compiler-utils" "^2.1.0" debug "^4.1.1" hash-sum "^1.0.2" + magic-string "^0.25.2" querystring "^0.2.0" rollup-pluginutils "^2.0.1" source-map "0.7.3" @@ -13604,10 +13605,10 @@ source-map@^0.5.0, source-map@^0.5.1, source-map@^0.5.3, source-map@^0.5.6, sour resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= -sourcemap-codec@^1.4.1: - version "1.4.3" - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.3.tgz#0ba615b73ec35112f63c2f2d9e7c3f87282b0e33" - integrity sha512-vFrY/x/NdsD7Yc8mpTJXuao9S8lq08Z/kOITHz6b7YbfI9xL8Spe5EvSQUHOI7SbpY8bRPr0U3kKSsPuqEGSfA== +sourcemap-codec@^1.4.4: + version "1.4.4" + resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.4.tgz#c63ea927c029dd6bd9a2b7fa03b3fec02ad56e9f" + integrity sha512-CYAPYdBu34781kLHkaW3m6b/uUSyMOC2R61gcYMWooeuaGtjof86ZA/8T+qVPPt7np1085CR9hmMGrySwEc8Xg== sparkles@^1.0.0: version "1.0.1"