chore(deps): update frontend non-major dependencies
This MR contains the following updates:
Release Notes
microsoft/rushstack (@rushstack/eslint-patch)
v1.10.3
Fri, 17 May 2024 00:10:40 GMT
Patches
- [eslint-patch] Allow use of ESLint v9
v1.10.2
Wed, 10 Apr 2024 21:59:39 GMT
Patches
- Bump maximum supported ESLint version for the bulk-suppressions tool to
8.57.0
.
unjs/unhead (@unhead/vue)
v1.9.12
🐞 Bug Fixes
-
scripts: Lazily trigger
beforeInit
" - by @harlan-zw (a1d38) -
unhead: Missing types for
false
attrs - by @harlan-zw (8c0a3)
🏎 Performance
- scripts: Process triggers async on animation frames - by @harlan-zw (325cb)
View changes on GitHub
v1.9.11
🐞 Bug Fixes
-
scripts: Lazily trigger
beforeInit
- by @harlan-zw (d1e19)
View changes on GitHub
v1.9.10
🐞 Bug Fixes
-
scripts: Still resolve load promise when no
use()
is provided - by @harlan-zw (e2301)
View changes on GitHub
v1.9.9
🐞 Bug Fixes
- scripts: Forward only defined API props - by @harlan-zw (3f429)
View changes on GitHub
v1.9.8
🐞 Bug Fixes
-
scripts:
- Avoid nulled proxy api after script load - by @harlan-zw (f4694)
- Safer and more powerful proxying - by @harlan-zw (9c73b)
View changes on GitHub
v1.9.7
🐞 Bug Fixes
- scripts: Allow properties to be returned async - by @harlan-zw (bfd7d)
View changes on GitHub
v1.9.6
🐞 Bug Fixes
-
scripts:
-
beforeInit
hook for script deps - by @harlan-zw (8730b) - Bind to onMounted as default Vue trigger - by @harlan-zw (c34da)
- Attempt resolving api before loading - by @harlan-zw (96604)
-
🏎 Performance
- scripts: Drop unsupported inline HTML usage - by @harlan-zw (3bfe2)
View changes on GitHub
v1.9.5
🐞 Bug Fixes
- scripts: Privacy default attributes - by @harlan-zw (e2ba5)
-
unhead: Handle
undefined
style attributes - by @sameignatovich in https://github.com/unjs/unhead/issues/337 (03d60)
View changes on GitHub
vitejs/vite-plugin-vue (@vitejs/plugin-vue)
v5.0.5
- fix(deps): update all non-major dependencies (#360) (ed4970a), closes #360
- fix(deps): update all non-major dependencies (#371) (0a484c7), closes #371
- fix(plugin-vue): don't inline template when
__VUE_PROD_DEVTOOLS__
(#81) (277a3ab), closes #81 - refactor(plugin-vue): use normalizePath from vite (#395) (2848174), closes #395
- chore(deps): replace dependency eslint-plugin-node with eslint-plugin-n ^14.0.0 (#378) (997f9bb), closes #378
- chore(deps): update all non-major dependencies (#355) (4faec3d), closes #355
- chore(deps): update upstream (#356) (cf7d91e), closes #356
- chore(deps): update upstream (#361) (a28c46e), closes #361
- chore(deps): update upstream (#367) (2050ad3), closes #367
- chore(deps): update upstream (#379) (96c82e9), closes #379
- chore(plugin-vue): update options on docs (3f8b472)
vueuse/vueuse (@vueuse/core)
v10.10.0
🚀 Features
- createInjectionState: Add defaultValue option - by @melishev in https://github.com/vueuse/vueuse/issues/3902 (fb468)
-
makeDestructurable: Support parameters without
as const
- by @enpitsuLin in https://github.com/vueuse/vueuse/issues/3971 (4ea13) - nuxt: Add router addon to nuxt module - by @Coiggahou2002 and rorycai in https://github.com/vueuse/vueuse/issues/3975 (2a77f)
-
onLongPress:
options.onMouseUp
callback - by @noook and Anthony Fu in https://github.com/vueuse/vueuse/issues/3791 (7346a) -
useActiveElement: Add
triggerOnRemoval
option - by @alexzhang1030 and @antfu in https://github.com/vueuse/vueuse/issues/3958 (f3515) -
useEventSource: Return
lastEventId
- by @pkc918 in https://github.com/vueuse/vueuse/issues/3984 (29bc6) - useTimeout: Target support reactivity - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3923 (4eede)
- useWebWorkerFn: Support local function dependencies - by @thefeymesaleng in https://github.com/vueuse/vueuse/issues/3899 (f4028)
🐞 Bug Fixes
-
nuxt: Opt in to
import.meta.*
properties - by @danielroe in https://github.com/vueuse/vueuse/issues/3888 (1558c) -
useAnimate:
commitStyles
when finish - by @a1mersnow in https://github.com/vueuse/vueuse/issues/3990 (fba4e) - useDisplayMedia: Stop stream when screen is not shared anymore - by @robertrosman in https://github.com/vueuse/vueuse/issues/3976 (a3c6f)
- useDraggable: Should ignore right clicks - by @Justineo in https://github.com/vueuse/vueuse/issues/3850 (9f10a)
- useElementSize: Use getBoundingClientRect get element size on SVG - by @siaikin in https://github.com/vueuse/vueuse/issues/3940 (d8015)
- useFileDialog: Check if input value exists before trigger onChange - by @jinkaiqin in https://github.com/vueuse/vueuse/issues/3972 (424a2)
- useGamepad: Avoid spread to fix gamepad state - by @yue4u in https://github.com/vueuse/vueuse/issues/3913 (2ccbd)
- useMediaControls: Target params may not be ref - by @huiliangShen in https://github.com/vueuse/vueuse/issues/3921 (1fe2f)
-
useMounted: The second argument in vue2.7 should be
undefined
- by @yanbowe, @antfu and Glandos in https://github.com/vueuse/vueuse/issues/3830 (7966b) - useRouteParams: Support optional params - by @huiliangShen in https://github.com/vueuse/vueuse/issues/3934 (4a882)
- useScroll: Sync scroll val to internal state, fix #3809 - by @kongmoumou in https://github.com/vueuse/vueuse/issues/3817 and https://github.com/vueuse/vueuse/issues/3809 (317ca)
- useScrollLock: Function unlock does not work - by @loongzhu in https://github.com/vueuse/vueuse/issues/3847 (d9ee4)
- useTextareaAutosize: OnResize callback fires not only on resize - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3887 (a6ede)
- useVirtualList: Add containerRef to watch list - by @eliamartani in https://github.com/vueuse/vueuse/issues/3855 (4636f)
-
useWebNotification: Detect
isSupported
with try-catch - by @9romise in https://github.com/vueuse/vueuse/issues/3980 (b291c) - useWebSocket: UrlRef changes were not being tracked - by @ferferga in https://github.com/vueuse/vueuse/issues/3870 (c2f92)
View changes on GitHub
vuejs/eslint-plugin-vue (eslint-plugin-vue)
v9.26.0
v9.25.0
✨ Enhancements
-
#2441 Added support for Pinia methods to
vue/no-unused-properties
rule.
🐛 Bug Fixes
-
#2438 Improved
vue/no-use-computed-property-like-method
rule to understand logical expressions. -
#2435 Fixed false negatives for props in template in
vue/no-unused-properties
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.1...v9.25.0
v9.24.1
⚙ ️ Updates
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.0...v9.24.1
prettier/prettier (prettier)
v3.3.1
#16347 by @fisker)
Preserve empty lines in front matter (<!-- Input -->
---
foo:
- bar1
- bar2
- bar3
---
Markdown
<!-- Prettier 3.3.0 -->
---
foo:
- bar1
- bar2
- bar3
---
Markdown
<!-- Prettier 3.3.1 -->
---
foo:
- bar1
- bar2
- bar3
---
Markdown
#16348 by @fisker)
Preserve explicit language in front matter (<!-- Input -->
---yaml
title: Hello
slug: home
---
<!-- Prettier 3.3.0 -->
---
title: Hello
slug: home
---
<!-- Prettier 3.3.1 -->
---yaml
title: Hello
slug: home
---
#16349 by @fisker)
Avoid line breaks in import attributes (// Input
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" };
// Prettier 3.3.0
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type:
"json" };
// Prettier 3.3.1
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" };
v3.3.0
sass/dart-sass (sass)
v1.77.4
Embedded Sass
-
Support passing
Version
input forfatalDeprecations
as string over embedded protocol. -
Fix a bug in the JS Embedded Host where
Version
could be incorrectly accepted as input forsilenceDeprecations
andfutureDeprecations
in pure JS.
v1.77.3
Dart API
-
Deprecation.duplicateVariableFlags
has been deprecated and replaced withDeprecation.duplicateVarFlags
to make it consistent with theduplicate-var-flags
name used on the command line and in the JS API.
v1.77.2
-
Don't emit deprecation warnings for functions and mixins beginning with
__
. -
Allow user-defined functions whose names begin with
_
and otherwise look like vendor-prefixed functions with special CSS syntax.
Command-Line Interface
-
Properly handle the
--silence-deprecation
flag. -
Handle the
--fatal-deprecation
and--future-deprecation
flags for--interactive
mode.
v1.77.1
- Fix a crash that could come up with importers in certain contexts.
v1.77.0
- Don't throw errors for at-rules in keyframe blocks.
v1.76.0
-
Throw errors for misplaced statements in keyframe blocks.
-
Mixins and functions whose names begin with
--
are now deprecated for forwards-compatibility with the in-progress CSS functions and mixins spec. This deprecation is namedcss-function-mixin
.
v1.75.0
- Fix a bug in which stylesheet canonicalization could be cached incorrectly when custom importers or the Node.js package importer made decisions based on the URL of the containing stylesheet.
JS API
- Allow
importer
to be passed withouturl
inStringOptionsWithImporter
.
Microsoft/TypeScript (typescript)
v5.4.5
: TypeScript 5.4.5
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for Typescript 5.4.0 (Beta).
- fixed issues query for Typescript 5.4.1 (RC).
- fixed issues query for Typescript 5.4.2 (Stable).
- fixed issues query for Typescript 5.4.3 (Stable).
- fixed issues query for Typescript 5.4.4 (Stable).
- fixed issues query for Typescript 5.4.5 (Stable).
Downloads are available on:
unplugin/unplugin-vue-components (unplugin-vue-components)
v0.27.0
🚀 Features
-
ant-design-vue:
- Support
css-in-js
import style - by @JohnsonHuang4396, @antfu, 黄启浩 and JohnsonHuang in https://github.com/unplugin/unplugin-vue-components/issues/703 (5d533)
- Support
-
idux:
- Update idux resolver to support v2 version - by @sallerli1, 李志超44657 and @antfu in https://github.com/unplugin/unplugin-vue-components/issues/722 (c1458)
-
prime-vue:
- Update missing components - by @evgeniikostiukov in https://github.com/unplugin/unplugin-vue-components/issues/735 (b9140)
- Add missing components - by @tugcekucukoglu and @antfu in https://github.com/unplugin/unplugin-vue-components/issues/731 (858ce)
-
varlet-ui:
- Support
styleExtname
option - by @RSS1102 in https://github.com/unplugin/unplugin-vue-components/issues/740 (c0e66)
- Support
🐞 Bug Fixes
- Move
prettier-ignore
statement so it works - by @HookyGV in https://github.com/unplugin/unplugin-vue-components/issues/729 (e0d37) - utils: Collapse prefixes in PascalCase name - by @waynzh in https://github.com/unplugin/unplugin-vue-components/issues/744 (02712)
View changes on GitHub
posva/unplugin-vue-router (unplugin-vue-router)
v0.9.1
Bug Fixes
v0.9.0
Bug Fixes
- move extension handling outside of tree (85d8472), closes #400
- remove wrong error log during HMR (c511082)
- require explicit
routes
import to avoid cyclic imports (63788f6), closes #132
Code Refactoring
- pkg: migrate package to type=module (f1e4ca5)
BREAKING CHANGES
-
createRouter()
now requires the explicitrouter
property to be set and imported:
import { createRouter, createWebHistory } from 'vue-router/auto'
+import { routes } from 'vue-router/auto-routes'
createRouter({
history: createWebHistory(),
+ routes
})
This also means that runtime extendRoutes()
option is not needed. It
has been deprecated and will be removed in the next major release.
-
Tree
andPrefixTree
insert method expects a path without the file extension. They also expect the fullpath of the file as a second argument (it used to be optional). This aligns better with their responsibility as they shouldn't be trimming the extension like they used to.
// replace
tree.insert('file.vue')
// with
tree.insert('file', resolve('file.vue'))
This shouldn't affect most users as the Tree implementation is used internally to represent the folder structure.
-
pkg: The package is now of
"type": "module"
. It shouldn't break anything for users but this is just in case, we all know how fragile this js ecosystem is sometimes...
0.8.8 (2024-05-22)
Bug Fixes
- watch all extensions not just root (74ac22b)
0.8.7 (2024-05-20)
Bug Fixes
- apply definePage in named pages (bd7d5b1), closes #383
- correctly trim extensions from routesFolder (b8a9473), closes #274
Features
- add an option to disable file watching (#387) (13f93fc)
- add component alias to EditableTreeNode (fc8ae27)
0.8.6 (2024-04-12)
Bug Fixes
- data-loaders: tracked properties with an object in key (58aa516)
0.8.5 (2024-03-14)
Bug Fixes
0.8.4 (2024-02-24)
This patch contains the necessary fixes to allow importing the data loaders. However, they cannot be imported from vue-router/auto
nor from unplugin-vue-router/runtime
. Instead, they should be imported from unplugin-vue-router/data-loaders/...
. This is needed as some of the loaders depends on extra packages that not all users have installed. At the moment, there are two data loaders
-
unplugin-vue-router/data-loaders/basic
: https://uvr.esm.is/rfcs/data-loaders/basic.html -
unplugin-vue-router/data-loaders/pinia-colada
: https://uvr.esm.is/rfcs/data-loaders/colada.html
Bug Fixes
- allow untyped router with data loaders (51f7d55)
- build: externalize libs (e55d735)
- remove the need to install @pinia/colada (8d45669)
- types: externalize uvr/types (ee9a2a3), closes #322
0.8.3 (2024-02-22)
Bug Fixes
0.8.2 (2024-02-22)
Bug Fixes
0.8.1 (2024-02-22)
Bug Fixes
- upgrade peer dep on vue-router to 4.3.0 (746ad8f)
v0.8.8
Bug Fixes
- watch all extensions not just root (74ac22b)
v0.8.7
Bug Fixes
- apply definePage in named pages (bd7d5b1), closes #383
- correctly trim extensions from routesFolder (b8a9473), closes #274
Features
- add an option to disable file watching (#387) (13f93fc)
- add component alias to EditableTreeNode (fc8ae27)
v0.8.6
Bug Fixes
- data-loaders: tracked properties with an object in key (58aa516)
vitejs/vite (vite)
v5.2.13
Please refer to CHANGELOG.md for details.
v5.2.12
- chore: move to eslint flat config (#16743) (8f16765), closes #16743
- chore(deps): remove unused deps (#17329) (5a45745), closes #17329
- chore(deps): update all non-major dependencies (#16722) (b45922a), closes #16722
- fix: mention
build.rollupOptions.output.manualChunks
instead ofbuild.rollupOutput.manualChunks
(89378c0), closes #16721 - fix(build): make SystemJSWrapRE match lazy (#16633) (6583ad2), closes #16633
- fix(css): avoid generating empty JS files when JS files becomes empty but has CSS files imported (#1 (95fe5a7), closes #16078
- fix(css): handle lightningcss compiled css in Deno (#17301) (8e4e932), closes #17301
- fix(css): only use files the current bundle contains (#16684) (15a6ebb), closes #16684
- fix(css): page reload was not happening with .css?raw (#16455) (8041846), closes #16455
- fix(deps): update all non-major dependencies (#16603) (6711553), closes #16603
- fix(deps): update all non-major dependencies (#16660) (bf2f014), closes #16660
- fix(deps): update all non-major dependencies (#17321) (4a89766), closes #17321
- fix(error-logging): rollup errors weren't displaying id and codeframe (#16540) (22dc196), closes #16540
- fix(hmr): normalize the path info (#14255) (6a085d0), closes #14255
- fix(hmr): trigger page reload when calling invalidate on root module (#16636) (2b61cc3), closes #16636
- fix(logger): truncate log over 5000 characters long (#16581) (b0b839a), closes #16581
- fix(optimizer): log dependencies added by plugins (#16729) (f0fb987), closes #16729
- fix(sourcemap): improve sourcemap compatibility for vue2 (#16594) (913c040), closes #16594
- docs: correct proxy shorthand example (#15938) (abf766e), closes #15938
- docs: deprecate server.hot (#16741) (e7d38ab), closes #16741
v5.2.11
- feat: improve dynamic import variable failure error message (#16519) (f8feeea), closes #16519
- fix: dynamic-import-vars plugin normalize path issue (#16518) (f71ba5b), closes #16518
- fix: scripts and styles were missing from built HTML on Windows (#16421) (0e93f58), closes #16421
- fix(deps): update all non-major dependencies (#16488) (2d50be2), closes #16488
- fix(deps): update all non-major dependencies (#16549) (2d6a13b), closes #16549
- fix(dev): watch publicDir explicitly to include it outside the root (#16502) (4d83eb5), closes #16502
- fix(preload): skip preload for non-static urls (#16556) (bb79c9b), closes #16556
- fix(ssr): handle class declaration and expression name scoping (#16569) (c071eb3), closes #16569
- fix(ssr): handle function expression name scoping (#16563) (02db947), closes #16563
v5.2.10
- revert: perf: use workspace root for fs cache (#15712) (#16476) (77e7359), closes #15712 #16476
- fix: add base to virtual html (#16442) (721f94d), closes #16442
- fix: adjust esm syntax judgment logic (#16436) (af72eab), closes #16436
- fix: don't add outDirs to watch.ignored if emptyOutDir is false (#16453) (6a127d6), closes #16453
- fix(cspNonce): don't overwrite existing nonce values (#16415) (b872635), closes #16415
- feat: show warning if root is in build.outDir (#16454) (11444dc), closes #16454
- feat: write cspNonce to style tags (#16419) (8e54bbd), closes #16419
- chore(deps): update dependency eslint-plugin-n to v17 (#16381) (6cccef7), closes #16381
v5.2.9
- fix:
fsp.rm
removing files does not take effect (#16032) (b05c405), closes #16032 - fix: fix accumulated stacks in error overlay (#16393) (102c2fd), closes #16393
- fix(deps): update all non-major dependencies (#16376) (58a2938), closes #16376
- chore: update region comment (#16380) (77562c3), closes #16380
- perf: reduce size of injected __vite__mapDeps code (#16184) (c0ec6be), closes #16184
- perf(css): only replace empty chunk if imported (#16349) (e2658ad), closes #16349
vuejs/core (vue)
v3.4.27
Bug Fixes
- compat: include legacy scoped slots (#10868) (8366126), closes #8869
- compiler-core: add support for arrow aysnc function with unbracketed (#5789) (ca7d421), closes #5788
- compiler-dom: restrict createStaticVNode usage with option elements (#10846) (0e3d617), closes #6568 #7434
- compiler-sfc: handle keyof operator (#10874) (10d34a5), closes #10871
- hydration: handle edge case of style mismatch without style attribute (f2c1412), closes #10786
v3.4.26
Bug Fixes
- compiler-core: fix bail constant for globals (fefce06)
- compiler-core: remove unnecessary constant bail check (09b4df8), closes #10807
- runtime-core: attrs should be readonly in functional components (#10767) (e8fd644)
- runtime-core: ensure slot compiler marker writable (#10825) (9c2de62), closes #10818
- runtime-core: properly handle inherit transition during clone VNode (#10809) (638a79f), closes #3716 #10497 #4091
- Transition: re-fix #10620 (#10832) (accf839), closes #10632 #10827
v3.4.25
Bug Fixes
- defineModel: align prod mode runtime type generation with defineProps (4253a57), closes #10769
- runtime-core: properly get keepAlive child (#10772) (3724693), closes #10771
- runtime-core: use normal object as internal prototype for attrs and slots (064e82f), closes /github.com/vuejs/core/commit/6df53d85a207986128159d88565e6e7045db2add#r141304923
v3.4.24
Bug Fixes
- compiler-core: handle template ref bound via v-bind object on v-for (#10706) (da7adef), closes #10696
- compiler-core: properly parse await expressions in edge cases (b92c25f), closes #10754
- compiler-sfc: handle readonly operator and ReadonlyArray/Map/Set types (5cef52a), closes #10726
- compiler-ssr: fix hydration mismatch for conditional slot in transition (f12c81e), closes #10743
- compiler-ssr: fix v-html SSR for nullish values (1ff4076), closes #10725
- deps: update compiler (#10760) (15df5c1)
- runtime-core: fix edge case of KeepAlive inside Transition with slot children (#10719) (e51ca61), closes #10708
- runtime-core: further fix slots _ctx check (cde7f05), closes #10724
- runtime-core: props should be readonly via direct template access (b93f264), closes #8216 #10736
- transition: transition is breaking/flickering when enter is canceled (#10688) (65109a7)
v3.4.23
Bug Fixes
- runtime-core: fix regression for $attrs tracking in slots (6930e60), closes #10710
- runtime-core: use same internal object mechanism for slots (6df53d8), closes #10709
v3.4.22
Bug Fixes
- compat: fix $options mutation + adjust private API initialization (d58d133), closes #10626 #10636
- compile-sfc: analyze v-bind shorthand usage in template (#10518) (e5919d4), closes #10515
- compiler-core: fix loc.source for end tags with whitespace before > (16174da), closes #10694 #10695
- compiler-core: fix v-bind shorthand for component :is (04af950), closes #10469 #10471
- compiler-sfc: :is() and :where() in compound selectors (#10522) (660cadc), closes #10511
-
compiler-sfc: also search for
.tsx
when type import's extension is omitted (#10637) (34106bc), closes #10635 - compiler-sfc: fix defineModel coercion for boolean + string union types (#9603) (0cef65c), closes #9587 #10676
- compiler-sfc: fix universal selector scope (#10551) (54a6afa), closes #10548
- compiler-sfc: use options module name if options provide runtimeModuleName options (#10457) (e76d743), closes #10454
- custom-element: avoid setting attr to null if it is removed (#9012) (b49306a), closes #9006 #10324
- hydration: properly handle optimized mode during hydrate node (#10638) (2ec06fd), closes #10607
- reactivity: computed should not be detected as true by isProxy (#10401) (9da34d7)
- reactivity: fix hasOwnProperty key coercion edge cases (969c5fb)
- reactivity: fix tracking when hasOwnProperty is called with non-string value (c3c5dc9), closes #10455 #10464
- runtime-core: fix errorHandler causes an infinite loop during execution (#9575) (ab59bed)
- runtime-core: handle invalid values in callWithAsyncErrorHandling (53d15d3)
- runtime-core: show hydration mismatch details for non-rectified mismatches too when PROD_HYDRATION_MISMATCH_DETAILS is set (#10599) (0dea7f9)
-
runtime-dom:
v-model
string/number coercion for multiselect options (#10576) (db374e5) - runtime-dom: fix css v-bind for suspensed components (#8523) (67722ba), closes #8520
- runtime-dom: force update v-model number with leading 0 (#10506) (15ffe8f), closes #10503 #10615
- runtime-dom: sanitize wrongly passed string value as event handler (#8953) (7ccd453), closes #8818
- ssr: don't render v-if comments in TransitionGroup (#6732) (5a96267), closes #6715
- Transition: ensure the KeepAlive children unmount w/ out-in mode (#10632) (fc99e4d), closes #10620
- TransitionGroup: avoid set transition hooks for comment nodes and text nodes (#9421) (140a768), closes #4621 #4622 #5153 #5168 #7898 #9067
- types: avoid merging object union types when using withDefaults (#10596) (37ba93c), closes #10594
Performance Improvements
vuejs/router (vue-router)
v4.3.2
Please refer to CHANGELOG.md for details.
v4.3.1
Please refer to CHANGELOG.md for details.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.