🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@vue/shared

Package Overview
Dependencies
Maintainers
1
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/shared - npm Package Versions

2345
24

3.5.14

Diff
yyx990803
published 3.5.14 •

Changelog

Source

3.5.14 (2025-05-15)

Bug Fixes

  • compat: correct deprecation message for v-bind.sync usage (#13137) (466b30f), closes #13133
  • compiler-core: remove slot cache from parent renderCache during unmounting (#13215) (5d166f3)
  • compiler-sfc: fix scope handling for props destructure in function parameters and catch clauses (8e34357), closes #12790
  • compiler-sfc: treat the return value of useTemplateRef as a definite ref (#13197) (8ae1122)
  • compiler: fix spelling error in domTagConfig (#13043) (388295b)
  • customFormatter: properly accessing ref value during debugger (#12948) (fdbd026)
  • hmr/teleport: adjust static children traversal for HMR in dev mode (#12819) (5e37dd0), closes #12816
  • hmr: avoid hydration for hmr root reload (#12450) (1f98a9c), closes vitejs/vite-plugin-vue#146 vitejs/vite-plugin-vue#477
  • hmr: avoid hydration for hmr updating (#12262) (9c4dbbc), closes #7706 #8170
  • reactivity: ensure markRaw objects are not reactive (#12824) (295b5ec), closes #12807
  • reactivity: ensure multiple effectScope on() and off() calls maintains correct active scope (22dcbf3), closes #12631 #12632 #12641
  • reactivity: should not recompute if computed does not track reactive data (#12341) (0b23fd2), closes #12337
  • runtime-core: stop tracking deps in setRef during unmount (#13210) (016c472)
  • runtime-core: update __vnode of static nodes when patching along the optimized path (#13223) (b3ecee3)
  • runtime-core: inherit comment nodes during block patch in production build (#10748) (6264505), closes #10747 #12650
  • runtime-core: prevent unmounted vnode from being inserted during transition leave (#12862) (d6a6ec1), closes #12860
  • runtime-core: respect immutability for readonly reactive arrays in v-for (#13091) (3f27c58), closes #13087
  • runtime-dom: always treat autocorrect as attribute (#13001) (1499135), closes #5705
  • slots: properly warn if slot invoked in setup (#12195) (9196222), closes #12194
  • ssr: properly init slots during ssr rendering (#12441) (2206cd2), closes #12438
  • transition: fix KeepAlive with transition out-in mode behavior in production (#12468) (343c891), closes #12465
  • TransitionGroup: reset prevChildren to prevent memory leak (#13183) (8b848cb), closes #13181
  • types: allow return any for Options API lifecycle hooks (#5914) (06310e8)
  • types: the directive's modifiers should be optional (#12605) (10e54dc)
  • typos: fix comments referencing transformElement.ts (#12551)[ci-skip] (11c053a)

Features

yyx990803
published 3.5.13 •

Changelog

Source

3.5.13 (2024-11-15)

Bug Fixes

  • compiler-core: handle v-memo + v-for with functional key (#12014) (99009ee), closes #12013
  • compiler-dom: properly stringify template string style (#12392) (2d78539), closes #12391
  • custom-element: avoid triggering mutationObserver when relecting props (352bc88), closes #12214 #12215
  • deps: update dependency postcss to ^8.4.48 (#12356) (b5ff930)
  • hydration: the component vnode's el should be updated when a mismatch occurs. (#12255) (a20a4cb), closes #12253
  • reactiivty: avoid unnecessary watcher effect removal from inactive scope (2193284), closes #5783 #5806
  • reactivity: release nested effects/scopes on effect scope stop (#12373) (bee2f5e), closes #12370
  • runtime-dom: set css vars before user onMounted hooks (2d5c5e2), closes #11533
  • runtime-dom: set css vars on update to handle child forcing reflow in onMount (#11561) (c4312f9)
  • ssr: avoid updating subtree of async component if it is resolved (#12363) (da7ad5e), closes #12362
  • ssr: ensure v-text updates correctly with custom directives in SSR output (#12311) (1f75d4e), closes #12309
  • ssr: handle initial selected state for select with v-model + v-for option (#12399) (4f8d807), closes #12395
  • teleport: handle deferred teleport update before mounted (#12168) (8bff142), closes #12161
  • templateRef: set ref on cached async component which wrapped in KeepAlive (#12290) (983eb50), closes #4999 #5004
  • test: update snapshot (#12169) (828d4a4)
  • Transition: fix transition memory leak edge case (#12182) (660132d), closes #12181
  • transition: reflow before leave-active class after leave-from (#12288) (4b479db), closes #2593
  • types: defineEmits w/ interface declaration (#12343) (1022eab), closes #8457
  • v-once: setting hasOnce to current block only when in v-once (#12374) (37300fc), closes #12371

Performance Improvements

  • reactivity: do not track inner key `__v_skip`` (#11690) (d637bd6)
  • runtime-core: use feature flag for call to resolveMergedOptions (#12163) (1755ac0)
yyx990803
published 3.5.12 •

Changelog

Source

3.5.12 (2024-10-11)

Bug Fixes

Performance Improvements

  • reactivity: avoid unnecessary recursion in removeSub (#12135) (ec917cf)
yyx990803
published 3.5.11 •

Changelog

Source

3.5.11 (2024-10-03)

Bug Fixes

  • compiler-sfc: do not skip TSSatisfiesExpression when transforming props destructure (#12062) (2328b05), closes #12061
  • reactivity: prevent overwriting next property during batch processing (#12075) (d3f5e6e), closes #12072
  • scheduler: job ordering when the post queue is flushing (#12090) (577edca)
  • types: correctly infer TypeProps when it is any (#12073) (57315ab), closes #12058
  • types: should not intersect PublicProps with Props (#12077) (6f85894)
  • types: infer the first generic type of Ref correctly (#12094) (c97bb84)
yyx990803
published 3.5.10 •

Changelog

Source

3.5.10 (2024-09-27)

Bug Fixes

  • custom-element: properly set kebab-case props on Vue custom elements (ea3efa0), closes #12030 #12032
  • reactivity: fix nested batch edge case (93c95dd)
  • reactivity: only clear notified flags for computed in first batch iteration (aa9ef23), closes #12045
  • types/ref: handle nested refs in UnwrapRef (#12049) (e2c19c2), closes #12044
yyx990803
published 3.5.9 •

Changelog

Source

3.5.9 (2024-09-26)

Bug Fixes

yyx990803
published 3.5.8 •

Changelog

Source

3.5.8 (2024-09-22)

Bug Fixes

  • reactivity: do not remove dep from depsMap when cleaning up deps of computed (#11995) (0267a58)
yyx990803
published 3.5.7 •

Changelog

Source

3.5.7 (2024-09-20)

Bug Fixes

Performance Improvements

  • hydration: avoid observer if element is in viewport (#11639) (e075dfa)
yyx990803
published 3.5.6 •

Changelog

Source

3.5.6 (2024-09-16)

Bug Fixes

  • compile-dom: should be able to stringify mathML (#11891) (85c138c)
  • compiler-sfc: preserve old behavior when using withDefaults with desutructure (8492c3c), closes #11930
  • reactivity: avoid exponential perf cost and reduce call stack depth for deeply chained computeds (#11944) (c74bb8c), closes #11928
  • reactivity: rely on dirty check only when computed has deps (#11931) (aa5dafd), closes #11929
  • watch: once option should be ignored by watchEffect (#11884) (49fa673)
  • watch: unwatch should be callable during SSR (#11925) (2d6adf7), closes #11924
yyx990803
published 3.5.5 •

Changelog

Source

3.5.5 (2024-09-13)

Bug Fixes

  • compiler-core: fix handling of delimiterOpen in VPre (#11915) (706d4ac), closes #11913
  • compiler-dom: fix stringify static edge for partially eligible chunks in cached parent (1d99d61), closes #11879 #11890
  • compiler-dom: should ignore leading newline in <textarea> per spec (3c4bf76)
  • compiler-sfc: nested css supports atrule and comment (#11899) (0e7bc71), closes #11896
  • custom-element: handle nested customElement mount w/ shadowRoot false (#11861) (f2d8019), closes #11851 #11871
  • hmr: reload async child wrapped in Suspense + KeepAlive (#11907) (10a2c60), closes #11868
  • hydration: fix mismatch of leading newline in <textarea> and <pre> (a5f3c2e), closes #11873 #11874
  • reactivity: properly clean up deps, fix memory leak (8ea5d6d), closes #11901
  • runtime-core: properly update async component nested in KeepAlive (#11917) (7fe6c79), closes #11916
  • TransitionGroup: not warn unkeyed text children with whitespece preserve (#11888) (7571f20), closes #11885
2345
24