vue3-core/packages
Haoqun Jiang 97d6f1a716
fix: should prefix `ShadowRoot` with `window.` (#2943)
Otherwise this expression would throw in environments that does not
support `ShadowRoot` which includes the common mocha testing environment
setup that uses `jsdom` and `jsdom-global`.

It is because `ShadowRoot` is not an enumerable property on `window`,
`jsdom-global` fails to expose it on the `global` object.

See the error message at: https://app.circleci.com/pipelines/github/vuejs/vue-cli/779/workflows/17d7d7c4-7605-4588-878a-ddb3a6d37102/jobs/24147
2021-02-03 19:10:27 +01:00
..
compiler-core release: v3.0.5 2020-12-30 15:50:28 -05:00
compiler-dom release: v3.0.5 2020-12-30 15:50:28 -05:00
compiler-sfc refactor: avoid global scope parentStack 2021-01-15 16:28:55 -05:00
compiler-ssr release: v3.0.5 2020-12-30 15:50:28 -05:00
reactivity release: v3.0.5 2020-12-30 15:50:28 -05:00
runtime-core docs(type): remove unmount parameters (#2601) 2021-02-03 19:09:59 +01:00
runtime-dom fix: should prefix `ShadowRoot` with `window.` (#2943) 2021-02-03 19:10:27 +01:00
runtime-test release: v3.0.5 2020-12-30 15:50:28 -05:00
server-renderer release: v3.0.5 2020-12-30 15:50:28 -05:00
shared release: v3.0.5 2020-12-30 15:50:28 -05:00
size-check release: v3.0.5 2020-12-30 15:50:28 -05:00
template-explorer release: v3.0.5 2020-12-30 15:50:28 -05:00
vue fix(devtools): init devtools in production (#2906) 2021-01-05 12:54:43 -05:00
global.d.ts test: move mockWarn into setup files 2020-07-27 22:58:51 -04:00