vue3-yuanma/packages/compiler-sfc/src
Cédric Exbrayat 4d014dc3d3
fix(reactivity): remove Symbol.observable (#968)
* chore: add @types/node as an explicit dependency

As `tsconfig.json` references it, it should be listed in the dependencies.
It currently uses an older version: this commit also bumps to the latest v12 version, and fixes a typing issue.

* fix(reactivity): remove Symbol.observable

`Symbol.observable` is brought by `@types/node@12` and is not a "well-known" typescript symbol https://www.typescriptlang.org/docs/handbook/symbols.html that can be find in lib.es20xx like the others. It has been removed in `@types/node@v13`.
It means that an application using vue@3.0.0-alpha.13 does not compile unless it explicitely adds `@types/node@v12` as a dependency and `node` in its own tsconfig types.
2020-04-16 09:33:30 -04:00
..
compileStyle.ts types: use more specific type names 2019-12-13 11:24:09 -05:00
compileTemplate.ts feat(compiler-sfc): add ssr option 2020-03-16 16:24:49 -04:00
index.ts refactor: expose parse in compiler-dom, improve sfc parse error handling 2019-12-22 19:44:21 -05:00
parse.ts refactor(compiler-sfc): make more explicit regarding template pad behavior 2020-04-03 21:11:26 -04:00
shims.d.ts feat: (wip) setup compiler-sfc 2019-11-06 21:58:15 -05:00
stylePluginScoped.ts fix(sfc): fix v-slotted attribute injection 2019-12-19 17:54:52 -05:00
stylePluginTrim.ts feat: (wip) setup compiler-sfc 2019-11-06 21:58:15 -05:00
stylePreprocessors.ts types: use RawSourceMap types 2019-12-12 21:09:46 -05:00
templateTransformAssetUrl.ts fix(reactivity): remove Symbol.observable (#968) 2020-04-16 09:33:30 -04:00
templateTransformSrcset.ts fix(compiler-sfc): only transform relative asset URLs (#628) 2020-01-20 09:57:17 -05:00
templateUtils.ts fix(compiler-sfc): only transform relative asset URLs (#628) 2020-01-20 09:57:17 -05:00