Commit Graph

5029 Commits

Author SHA1 Message Date
丶远方 2ffe3d5b3e
refactor: use symbol for private properties (#8681) 2023-08-22 16:57:15 +08:00
Waleed Khaled 02c6924bcd
refactor(reactivity): encapsulate reactive handlers in class (#8586)
reactive obj create has a huge positive impact (200% - 700%)
get/set reactive obj props has a small negative impact (1% - 5%)
2023-08-22 16:50:27 +08:00
三咲智子 Kevin Deng e7d5a41758
ci: fix get previous size data 2023-08-21 15:43:49 +08:00
三咲智子 Kevin Deng 61c3c8e86a
ci: fix size report permissions 2023-08-21 13:10:41 +08:00
三咲智子 Kevin Deng 1b56405299
ci: improved size report (#8992) 2023-08-21 11:33:51 +08:00
三咲智子 Kevin Deng bd08f057fc
ci: enforce format check 2023-08-14 19:43:55 +08:00
三咲智子 Kevin Deng 623ba514ec
chore: format code 2023-08-11 17:30:04 +08:00
dependabot[bot] 3be4e3cbe3
chore: bump word-wrap from 1.2.3 to 1.2.4 (#8821)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 14:36:38 +08:00
Shyam Chen a3dddd6205
docs: correct pnpm version (#8807) 2023-07-19 10:06:40 +08:00
Evan You 37a14a5dae Revert "fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351)"
This reverts commit 516fabb725.
2023-07-12 11:38:59 +08:00
丶远方 24d98f0327
perf(custom-element): cancel `MutationObserver` listener when disconnected (#8666) 2023-07-12 11:13:20 +08:00
三咲智子 Kevin Deng 70c3ac746d
dx(compiler-sfc): warn when disabled defineModel (#8534) 2023-07-12 11:05:43 +08:00
三咲智子 Kevin Deng 24db9516d8
fix(compiler-sfc): don't hoist props and emit (#8535)
fix #7805
close #7812
2023-07-12 11:03:14 +08:00
Evan You 2a2810c716 chore: upgrade to typescript 5.1 2023-07-11 18:44:19 +08:00
Artyom Tuchkov e404a699f4
fix(compiler-sfc): handle dynamic directive arguments in template usage check (#8538)
close #8537
2023-07-11 18:38:27 +08:00
zqran f07cb18fed
fix(types): correct withDefaults return type for boolean prop with undefined default value (#8602) 2023-07-11 18:35:22 +08:00
丶远方 6a22b1f6c2
fix(types): ensure nextTick return type reflect correct Promise value (#8406) 2023-07-11 17:56:02 +08:00
Anthony Fu 438027cf9e
perf: mark `defineComponent` as side-effects-free (#8512) 2023-07-11 17:52:43 +08:00
丶远方 97b6fae6b4
chore(shared): improve isPromise check in accordance with Promise A+ specification (#8506) 2023-07-11 17:41:09 +08:00
zqran 736cf154cc
chore(test): replace deprecated `initEvent` (#8490) 2023-07-11 17:38:32 +08:00
zqran 7c2e44ff5f
test(reactivity): use vitest fn instead of counting manually (#8476) 2023-07-11 17:37:56 +08:00
白雾三语 701fa735fc
dx(compiler-sfc): enhance `:deep` warnings (#8328)
close #8313
2023-07-11 17:36:54 +08:00
白雾三语 140a89b833
fix(teleport): handle target change while disabled (#7837)
close #7835
2023-07-11 17:36:26 +08:00
Kid ceb0732e0b
fix(types/jsx): add `inert` attribute and missing `hidden` values (#8090) 2023-07-11 17:30:01 +08:00
vaakian X 776ebf25b2
fix(compiler-sfc): fix using imported ref as template ref during dev (#7593)
close #7567
2023-07-11 17:26:31 +08:00
edison 201c46df07
fix(ssr): render correct initial selected state for select with v-model (#7432)
close #7392
2023-07-11 17:13:18 +08:00
丶远方 3decc57d0c
chore: remove unnecessary type assertions (#8386) 2023-07-10 18:18:53 +08:00
13b72317c5
refactor(reactivity): use hasChanged to avoid tracking NaN key twice (#7378) 2023-07-10 18:17:26 +08:00
b401243855
chore(types): remove unnecessary @ts-ignore or use @ts-expected-error (#7178) 2023-07-10 18:00:32 +08:00
JayMe DotDot 364dc53c7c
fix(types): support correct types for style on svg elements (#6322) 2023-07-10 17:59:44 +08:00
Innei 68d6b43f7e
fix(types/jsx): add missing loading attr for img element (#6160) 2023-07-10 17:58:53 +08:00
Eavan 381b4977af
fix(compiler-sfc): ignore style v-bind in double slash comments (#5409) 2023-07-10 17:56:26 +08:00
zouhang d6446a6d40
fix(compiler-sfc): pass options directly to stylus (#3848) 2023-07-10 17:52:56 +08:00
zqran 924069891e
test(reactivity): bigint test for non-observable values (#6177) 2023-07-10 17:51:30 +08:00
三咲智子 Kevin Deng 788527e29c
workflow: support custom TS version for playground (#8735) 2023-07-10 00:18:59 +08:00
qiang eee709081b
refactor(types): improve capitalize types (#6212) 2023-07-09 19:37:32 +08:00
OrbisK 7121c925c5
types: update `TextareaHTMLAttributes` and `InputHTMLAttributes` (#6294)
* types: update `TextareaHTMLAttributes` and `InputHTMLAttributes`

add `InputTypeHTMLAttribute` (from `@types/react`) to `InputHTMLAttributes['type' ]`

* chore: format

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:05:18 +08:00
BeADre 5ee992cfea
fix(playground): fix github button style (#7722)
* fix(playground): fix github button style

* style: merge selector

* Update Header.vue

---------

Co-authored-by: GU Yiling <justice360@gmail.com>
2023-07-09 13:04:47 +08:00
Daniel Rosenwasser 516fabb725
fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351)
* fix(types): propagate type parameter constraints for TypeScript 4.8

* fix: add more constraints

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:04:08 +08:00
webfansplz 57afa2236b
chore: fix typo (#8732) [ci skip] 2023-07-09 13:03:30 +08:00
dependabot[bot] a1fa97c9d2
chore(deps-dev): bump terser from 5.16.2 to 5.18.2 (#8695)
Bumps [terser](https://github.com/terser/terser) from 5.16.2 to 5.18.2.
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.16.2...v5.18.2)

---
updated-dependencies:
- dependency-name: terser
  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>
2023-07-09 12:56:15 +08:00
dependabot[bot] d85b75e50d
chore(deps-dev): bump @rollup/plugin-commonjs from 24.0.1 to 24.1.0 (#8699)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 24.0.1 to 24.1.0.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v24.1.0/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  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>
2023-07-09 12:55:59 +08:00
dependabot[bot] 0ead9be2fd
chore(deps-dev): bump eslint-plugin-jest from 27.2.1 to 27.2.2 (#8698)
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.2.1 to 27.2.2.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v27.2.1...v27.2.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  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>
2023-07-09 12:55:47 +08:00
dependabot[bot] 6e8041e275
chore(deps-dev): bump semver from 7.3.8 to 7.5.3 (#8697)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.8 to 7.5.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.8...v7.5.3)

---
updated-dependencies:
- dependency-name: semver
  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>
2023-07-09 12:55:36 +08:00
dependabot[bot] 395638bb7c
chore(deps-dev): bump prettier from 2.8.3 to 2.8.8 (#8696)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.3 to 2.8.8.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.3...2.8.8)

---
updated-dependencies:
- dependency-name: prettier
  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>
2023-07-09 12:55:27 +08:00
dependabot[bot] 3ed2813e0c
chore(deps-dev): bump @rollup/plugin-alias from 4.0.3 to 4.0.4 (#8694)
Bumps [@rollup/plugin-alias](https://github.com/rollup/plugins/tree/HEAD/packages/alias) from 4.0.3 to 4.0.4.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/alias/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/alias-v4.0.4/packages/alias)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-alias"
  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>
2023-07-09 12:55:04 +08:00
dependabot[bot] da0dec2853
chore(deps-dev): bump esbuild from 0.17.5 to 0.17.19 (#8693)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.5 to 0.17.19.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.17.5...v0.17.19)

---
updated-dependencies:
- dependency-name: esbuild
  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>
2023-07-09 12:53:25 +08:00
Joker 8a6d8fc8ac
chore: update pnpm verification script (#7174) 2023-07-09 12:52:13 +08:00
dependabot[bot] 595d20207d
chore(deps-dev): bump marked from 4.2.12 to 4.3.0 (#8692)
Bumps [marked](https://github.com/markedjs/marked) from 4.2.12 to 4.3.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.2.12...v4.3.0)

---
updated-dependencies:
- dependency-name: marked
  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>
2023-07-09 12:50:31 +08:00
dependabot[bot] 5f9bad1bba
chore(deps-dev): bump @types/node from 16.18.11 to 16.18.38 (#8691)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.18.11 to 16.18.38.
- [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>
2023-07-09 12:50:18 +08:00