webfansplz
e6fe751b20
fix(compile-sfc): generate setup prop type format error ( #4506 )
...
fix #4505
2021-09-05 17:36:46 -04:00
ygj6
0178f4ed31
fix(ref-transform): not transform the prototype attributes. ( #4503 )
...
fix #4502
2021-09-05 17:35:13 -04:00
Evan You
12acf5102c
build: avoid require call to consolidate in esm-browser build
2021-09-05 17:30:18 -04:00
Evan You
fa5b583ba5
build: module alias for compiler-sfc browser esm build
2021-09-05 17:21:24 -04:00
Evan You
2217993897
build: pre-shim process in browser build of compiler-sfc
2021-09-05 17:19:49 -04:00
Evan You
815bfcffae
fix(types): fix ref macro types
...
fix #4499
2021-09-04 16:42:46 -04:00
fishDog
5852cc8d82
fix(types/ref-transform): fix $$() type
2021-09-04 12:04:12 -04:00
Evan You
3ad9dc4880
release: v3.2.8
2021-09-02 14:46:30 -04:00
Evan You
fb43aab117
chore: remove wrongly placed type casts
2021-09-02 14:18:52 -04:00
Evan You
bacb2012ac
fix(compiler-sfc): ensure script setup generates type-valid ts output
...
fix #4455
2021-09-02 11:51:41 -04:00
ygj6
4cd282b0a1
fix(compiler): generate function ref for script setup if inline is ture. ( #4492 )
2021-09-02 11:27:20 -04:00
webfansplz
85807967dc
fix(compiler-sfc): generate matching prop types when withDefaults is used ( #4466 )
...
fix #4455
2021-09-02 11:26:52 -04:00
dependabot[bot]
305883a12f
build(deps-dev): bump typescript from 4.3.5 to 4.4.2 ( #4482 )
...
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2
* test: fix nodeOps types
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
Co-authored-by: Evan You <yyx990803@gmail.com>
2021-09-02 09:53:57 -04:00
huangkairan
592cdbdd7c
chore: remove unnecessary 'async' for test case ( #4490 )
2021-09-02 09:44:38 -04:00
Herrington Darkholme
c00925ed5c
fix(compiler): report invalid directive name error ( #4494 ) ( #4495 )
2021-09-02 09:42:20 -04:00
Evan You
d7f1b771f8
fix(types): include ref-macros.d.ts in npm dist files
...
fix #4433
2021-09-02 09:40:47 -04:00
Evan You
b079996040
release: v3.2.7
2021-09-01 18:05:16 -04:00
Evan You
3628991906
fix(compiler): only generate non-static ref for script setup if the binding exists
...
fix #4431
2021-09-01 17:27:03 -04:00
Evan You
168a17ad8a
chore: update snapshot
2021-09-01 17:26:31 -04:00
X.L
ef5b73159d
fix(suspense): misusing DOM Comment element constructor as a vnode type ( #4451 )
2021-09-01 16:57:56 -04:00
edison
33cf6c8866
fix(ref-transform): should transform $ref when used with generic arguments ( #4446 )
...
fix #4442
2021-09-01 16:55:30 -04:00
zhangenming
a6e6253319
types(reactivity): adjust type exports ( #4407 )
2021-09-01 16:49:12 -04:00
Herrington Darkholme
4502a0eab5
refactor(compiler): refine CDATA endTokens ( #4459 )
2021-09-01 16:43:10 -04:00
Herrington Darkholme
7178716b4c
chore: fix typo in error message ( #4434 ) [ci skip]
2021-09-01 16:42:24 -04:00
laineus
741d3b36f2
fix(runtime-core): properly merge unmounted and beforeUnmount options ( #4447 )
2021-09-01 16:41:57 -04:00
ShroXd
6f555cf98c
refactor(runtime-core): improve the type of defineAsyncComponent ( #4441 )
2021-09-01 16:41:08 -04:00
Cédric Exbrayat
b49f446ad0
chore(deps): update jest to v27 ( #4472 )
...
Updates jest and ts-jest to v27, as jest v27.1.0 includes a necessary fix to unblock further work on spying issues.
See https://github.com/facebook/jest/pull/11721
2021-09-01 16:39:46 -04:00
Cédric Exbrayat
b9b28e229a
chore: set node engine to v16 ( #4471 )
...
As some packages rely on the experimental "stream/web" package only available in node v16.5+,
this commit updates the `engines` property to reflect that.
2021-09-01 16:39:09 -04:00
dependabot[bot]
18f2ed22ac
build(deps-dev): bump @typescript-eslint/parser from 4.29.2 to 4.30.0 ( #4487 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.29.2 to 4.30.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.30.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 16:38:46 -04:00
dependabot[bot]
ffd4f8d5e3
build(deps-dev): bump @microsoft/api-extractor from 7.18.6 to 7.18.7 ( #4485 )
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack ) from 7.18.6 to 7.18.7.
- [Release notes](https://github.com/microsoft/rushstack/releases )
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.18.6...@microsoft/api-extractor_v7.18.7 )
---
updated-dependencies:
- dependency-name: "@microsoft/api-extractor"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 16:38:38 -04:00
dependabot[bot]
8154d13fdd
build(deps-dev): bump @vitejs/plugin-vue from 1.4.0 to 1.6.0 ( #4488 )
...
Bumps [@vitejs/plugin-vue](https://github.com/vitejs/vite/tree/HEAD/packages/plugin-vue ) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/plugin-vue/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/create-app@1.6.0/packages/plugin-vue )
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-vue"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 16:38:10 -04:00
dependabot[bot]
ddadd93367
build(deps-dev): bump vite from 2.5.0 to 2.5.3 ( #4484 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 2.5.0 to 2.5.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/create-vite@2.5.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 16:37:58 -04:00
dependabot[bot]
33fc1a46a8
build(deps-dev): bump @types/node from 16.7.1 to 16.7.10 ( #4483 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.7.1 to 16.7.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 16:37:49 -04:00
Evan You
b89ff9291e
fix(compiler-sfc): ensure script setup lang=ts output is tree-shakable
2021-09-01 12:40:36 -04:00
Evan You
935b4e2210
fix(compiler-core): remove no longer necessary withScopeId import in generated code
2021-09-01 11:30:34 -04:00
Evan You
72d2b26e96
release: v3.2.6
2021-08-24 12:54:30 -04:00
Evan You
4c468eb30a
fix(build): avoid imports to @babel/types in client build of compiler-core
2021-08-24 12:39:38 -04:00
Evan You
a137d73e91
release: v3.2.5
2021-08-24 11:54:22 -04:00
shadowings-zy
32827506ff
fix(compiler-core): fix duplicated component identifier for names with non-ascii chars ( #4429 )
...
fix #4422
2021-08-24 11:48:08 -04:00
Evan You
586ec51c49
chore: warnings for ref transform
2021-08-24 10:26:38 -04:00
Evan You
8f1101c498
refactor(ref-transform): use shallowRef to align with types
2021-08-24 09:20:32 -04:00
Evan You
b40845153c
feat(experimental): expose ref macro types using separate d.ts file
2021-08-23 20:35:12 -04:00
Carlos Rodrigues
afd49b3e88
types(PropType): Allow undefined
function to be used on PropType
( #4405 )
2021-08-23 19:04:03 -04:00
klwf
98263821f8
fix(compiler-sfc): fix <script>
and <script setup>
co-usage ordering edge case ( #4419 )
...
Fix : #4395
Fix : #4376
2021-08-23 19:02:54 -04:00
阿崔cxr
a46b0a9a96
chore(test): make unnecessarily async test case sync ( #4421 )
2021-08-23 18:52:11 -04:00
lidlanca
4792ebd687
fix(compiler-sfc): fix 'export default' rewrite with extra whitespaces ( #4375 )
2021-08-23 18:40:16 -04:00
zhangenming
9043d0dca7
refactor(reactivity): use explicit assignments. ( #4401 )
2021-08-23 18:32:58 -04:00
HcySunYang
ebd0baca98
fix(types): improve the type of createElementBlock ( #4406 )
...
fix #4391
2021-08-23 18:28:52 -04:00
Evan You
f1fa30adc3
refactor(ref-transform): improve algorithm into one pass
2021-08-23 18:22:21 -04:00
Evan You
06051c4bf2
feat(experimental): support ref transform for sfc normal <script>
2021-08-23 16:00:46 -04:00