Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-template-compiler

Package Overview
Dependencies
Maintainers
2
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-template-compiler - npm Package Versions

1
15

2.5.19

Diff

Changelog

Source

2.5.19 (2018-12-09)

Bug Fixes

  • ssr: should not warn for custom directives that do not have ssr implementation (780dac5), closes #9167
  • vdom: remove unnecessary sameVnode condition (0d4b35f), closes #9168

Reverts

  • fix(sfc): avoid deindent when pad option is specified (#7647) (5d721a4)
yyx990803
published 2.5.18 •

Changelog

Source

2.5.18 (2018-12-07)

Bug Fixes

  • compiler: fix codegen for v-for component inside template (1b4a8a0), closes #9142
  • fix keyName checking for space and delete in IE11 (#9150) (0ed0aad), closes #9112
  • ssr: fix ssr template publicPath generation (f077ed1), closes #9145
  • transition-group: fix activeInstance regression (8a2dbf5), closes #9151
  • types: correct scopedSlot types (#9131) (448ba65), closes #8946
  • types: type support for advanced async components (#8438) (dfaf9e2)
yyx990803
published 2.5.18-beta.0 •

Changelog

Source

2.5.18-beta.0 (2018-12-02)

Bug Fixes

  • actually disable dep collection when invoking lifecycle hooks (#9095) (0d62bb8), closes #9046
  • compiler: wrap scoped slots v-if conditions in parens (#9119) (ef8524a), closes #9114
  • compiler: maybeComponent should return true when "is" attribute exists (#8114) (aef2a5f), closes #8101
  • compiler: normalize potential functional component children in v-for (#8558) (d483a49), closes #8468
  • compiler: should keep newline after unary tags in <pre> (#8965) (05001e6), closes #8950
  • compiler: templates inside v-pre should be rendered to HTML (#8146) (ecac831), closes #8041
  • component: clean up memory leak after loading async component completes (fix #8740) (#8755) (2e472c5)
  • core: avoid mutating original children when cloning vnode (097f622), closes #7975
  • core: properly handle reused vnodes (530ca1b), closes #7913
  • core: skip mixins and extends if child is already merged (#8870) (80f17fa), closes #8865
  • data: skip recursive call if values are identical (#8967) (a7658e0)
  • error handling: handle errors on immediate watcher execution (#8581) (2686818), closes #8567
  • fix potential xss vulnerability in ssr when using v-bind (3d36a44)
  • fix server env detection in wechat mini program (#9075) (05e8bcf)
  • for: use IE compatible regex in v-for regex (#8048) (ecc239e), closes #7946
  • handle undefined style properties in jsdom (fix #7444) (#8281) (5cfdf1a)
  • lifecycle: updated should not be called after component being destroyed (#8381) (a64ff19), closes #8076
  • make sure global state is restored in the case of an exception in macrotask callback (#9093) (b111de4)
  • parser: allow CRLFs in string interpolations (#8408) (8f04135), closes #8103
  • replace hardcoded .parentNode with abstract ops, fix #8713 (#8714) (1e1ce0c)
  • server: use path.posix.join to generate public path (#8177) (46b8d2c), closes #8167
  • sfc: avoid deindent when pad option is specified (#7647) (9d2f9a0)
  • shared: check dates in looseEqual (#7940) (db7287c), closes #7928
  • ssr: adjust call stack size defer threshold (e4b1b57), closes #8545
  • ssr: check js assets more accurate in ssr webpack plugin (#8639) (5624278)
  • ssr: computed properties should pass vm as first argument in ssr (#9090) (33e669b), closes #8977
  • ssr: fix double escaping of staticClass values (#7859) (#8037) (c21b89e)
  • ssr: remove trailing hash in webpack module identifier when (ae6dcd6)
  • ssr: render initial and used async css chunks (#7902) (575b6e7), closes #7897
  • ssr: resolve server directives the same as on client (#9129) (3078352), closes #8961
  • support modifier combination of click.right + .once (#8492) (eb60452)
  • transition: check existence of el.parentNode (#8422) (0b16927), closes #8199
  • transition: handle local-formatted floats in toMs function. (#8495) (59d4351), closes #4894
  • transition: transition-group should only listen for first-level children's end events (#8374) (504d5da)
  • types: accept number type as key on Vue.set/delete (#8707) (#8709) (0ba79e2)
  • types: fix renderErrorarguments type (#8636) (ac217d2), closes #8635
  • types: fix vm.$once argument type (#8995) (97086f3), closes #8983
  • types: make VNodeDirective properties optional, fix #8013 (#8003) (99a51b4)
  • types: relax the return type of props default option (#8537) (a9eb198)
  • types: support chain call for Vue.use and Vue.mixin (#8595) (c711ec1)
  • types: support typing $el as SVGElement (#8809) (3cd4af4)
  • v-bind object should be overridable with kebab-cased props (#8845) (7585241)
  • v-model: avoid duplicate model transforms (7b7164c), closes #8436
  • v-on: correctly remove once listener (#8036) (19c33a7), closes #8032
  • v-pre: skip compiling custom component tags in v-pre blocks (fix #8286) (#8376) (a71853b)

Features

Reverts

  • Revert "perf: avoid unnecessary re-renders when computed property value did not change (#7824)" (6b1d431), closes #7824
yyx990803
published 2.5.17 •

Changelog

Source

2.5.18-beta.0 (2018-12-02)

Bug Fixes

  • actually disable dep collection when invoking lifecycle hooks (#9095) (0d62bb8), closes #9046
  • compiler: wrap scoped slots v-if conditions in parens (#9119) (ef8524a), closes #9114
  • compiler: maybeComponent should return true when "is" attribute exists (#8114) (aef2a5f), closes #8101
  • compiler: normalize potential functional component children in v-for (#8558) (d483a49), closes #8468
  • compiler: should keep newline after unary tags in <pre> (#8965) (05001e6), closes #8950
  • compiler: templates inside v-pre should be rendered to HTML (#8146) (ecac831), closes #8041
  • component: clean up memory leak after loading async component completes (fix #8740) (#8755) (2e472c5)
  • core: avoid mutating original children when cloning vnode (097f622), closes #7975
  • core: properly handle reused vnodes (530ca1b), closes #7913
  • core: skip mixins and extends if child is already merged (#8870) (80f17fa), closes #8865
  • data: skip recursive call if values are identical (#8967) (a7658e0)
  • error handling: handle errors on immediate watcher execution (#8581) (2686818), closes #8567
  • fix potential xss vulnerability in ssr when using v-bind (3d36a44)
  • fix server env detection in wechat mini program (#9075) (05e8bcf)
  • for: use IE compatible regex in v-for regex (#8048) (ecc239e), closes #7946
  • handle undefined style properties in jsdom (fix #7444) (#8281) (5cfdf1a)
  • lifecycle: updated should not be called after component being destroyed (#8381) (a64ff19), closes #8076
  • make sure global state is restored in the case of an exception in macrotask callback (#9093) (b111de4)
  • parser: allow CRLFs in string interpolations (#8408) (8f04135), closes #8103
  • replace hardcoded .parentNode with abstract ops, fix #8713 (#8714) (1e1ce0c)
  • server: use path.posix.join to generate public path (#8177) (46b8d2c), closes #8167
  • sfc: avoid deindent when pad option is specified (#7647) (9d2f9a0)
  • shared: check dates in looseEqual (#7940) (db7287c), closes #7928
  • ssr: adjust call stack size defer threshold (e4b1b57), closes #8545
  • ssr: check js assets more accurate in ssr webpack plugin (#8639) (5624278)
  • ssr: computed properties should pass vm as first argument in ssr (#9090) (33e669b), closes #8977
  • ssr: fix double escaping of staticClass values (#7859) (#8037) (c21b89e)
  • ssr: remove trailing hash in webpack module identifier when (ae6dcd6)
  • ssr: render initial and used async css chunks (#7902) (575b6e7), closes #7897
  • ssr: resolve server directives the same as on client (#9129) (3078352), closes #8961
  • support modifier combination of click.right + .once (#8492) (eb60452)
  • transition: check existence of el.parentNode (#8422) (0b16927), closes #8199
  • transition: handle local-formatted floats in toMs function. (#8495) (59d4351), closes #4894
  • transition: transition-group should only listen for first-level children's end events (#8374) (504d5da)
  • types: accept number type as key on Vue.set/delete (#8707) (#8709) (0ba79e2)
  • types: fix renderErrorarguments type (#8636) (ac217d2), closes #8635
  • types: fix vm.$once argument type (#8995) (97086f3), closes #8983
  • types: make VNodeDirective properties optional, fix #8013 (#8003) (99a51b4)
  • types: relax the return type of props default option (#8537) (a9eb198)
  • types: support chain call for Vue.use and Vue.mixin (#8595) (c711ec1)
  • types: support typing $el as SVGElement (#8809) (3cd4af4)
  • v-bind object should be overridable with kebab-cased props (#8845) (7585241)
  • v-model: avoid duplicate model transforms (7b7164c), closes #8436
  • v-on: correctly remove once listener (#8036) (19c33a7), closes #8032
  • v-pre: skip compiling custom component tags in v-pre blocks (fix #8286) (#8376) (a71853b)

Features

Reverts

  • Revert "perf: avoid unnecessary re-renders when computed property value did not change (#7824)" (6b1d431), closes #7824
yyx990803
published 2.5.17-beta.0 •

Changelog

Source

2.5.17-beta.0 (2018-03-23)

Bug Fixes

  • add missing asyncMeta during VNode cloning (#7861) (8227fb3)
  • beforeUpdate should be called before render and allow state mutation (#7822) (b7445a2), closes #7481
  • codegen: support IE11 and Edge use of "Esc" key (#7887) (1bd6196), closes #7880
  • correct the has implementation in the _renderProxy (#7878) (7b38739)
  • ensure init/prepatch hooks are still respected (de42278), closes vue-router#1338
  • invoke component node create hooks before insertion (#7823) (f43ce3a), closes #7531
  • observer: invoke getters on initial observation if setter defined (#7828) (7a145d8)

Performance Improvements

  • avoid unnecessary re-renders when computed property value did not change (#7824) (653aac2), closes #7767

Reverts

  • Revert "refactor: remove unnecessary checks (#7875)" (903be9b), closes #7875
yyx990803
published 2.5.16 •

Changelog

Source

2.5.16 (2018-03-13)

Bug Fixes

  • allow multiline expression in v-for (71b4b25), closes #7792
  • core: Make set/delete warning condition for undefined, null and (#7818) (9084747), closes #7452
  • fix keyName checking for arrow keys in IE11 (4378fc5), closes #7806
  • fix regression on duplicate component init when using shared data objects (984927a), closes #7805
  • fix wrongly matched named slots in functional components (62a922e), closes #7817
  • keep-alive: run prune after render for correct active component check (215f877), closes #7566
  • model: fix static input type being overwritten by v-bind object (#7819) (a6169d1), closes #7811
  • named slots for nested functional components (6dd73e9), closes #7710
  • ssr: fix SSR for async functional components (882e719), closes #7784
  • ssr: fix v-show inline style rendering when style binding is array (#7814) (1a979c4), closes #7813
yyx990803
published 2.5.15 •

Changelog

Source

2.5.15 (2018-03-10)

Bug Fixes

  • do not traverse VNodes when regsitering dependencies (84a9a9d), closes #7786
yyx990803
published 2.5.14 •

Changelog

Source

2.5.14 (2018-03-09)

Bug Fixes

  • address potential regex backtrack (cd33407)
  • allow codebase to be inlined directly in HTML (#7314) (dccd182), closes #7298
  • always install composition event listeners (f7ca21e), closes #7367
  • clean up custom events when patched component no longer have events (d8b0838), closes #7294
  • codegen: support filters with () in older browsers (#7545) (dc97a39), closes #7544
  • core: disable dependency collection in lifecycle hooks and data getter (#7596) (318f29f), closes #7573
  • core: handle edge cases for functional component returning arrays (8335217), closes #7282
  • do not special case attributes for custom elements (50b711a), closes #6864 #6885
  • fix config.productionTip (ced00b1), closes #7565
  • fix ssr env detection in weex (#7375) (3eb37ac)
  • inject: use hasOwn instead of 'in' for provideKey check (#7460) (733c1be), closes #7284
  • install ssr helpers for functional context during SSR (9b22d86), closes #7443 nuxt/nuxt.js#2565
  • model: fix array index binding for v-model checkbox (#7671) (550c3c0), closes #7670
  • observer: do not invoke getters on initial observation (#7302) (7392dfc), closes #7280
  • ref: allow ref key to be zero (#7676) (e396eb3), closes #7669
  • respect type order when boolean casting multi-typed props (81e1e47), closes #7485
  • show: prevent transitions from starting on change truthy values (#7524) (013d980), closes #7523
  • skip v-model & value binding collision check with dynamic type binding (#7406) (1c0b4af), closes #7404
  • support KeyboardEvent.key in built-in keyboard event modifiers (#7121) (1c8e2e8), closes #6900
  • transition: should not add transition class when cancelled (#7391) (5191f13), closes #7390
  • types: add missing listeners type on RenderContext (#7584) (db1b18c)
  • types: contravariant generic default in ComponentOption (#7369) (6ee6849)
  • types: fix wrong errorCaptured type (#7712) (6b8516b)
  • types: make render option in functional components to optional (#7663) (b2092db)
  • types: make VNodeChildrenArrayContents type more accurate (#7287) (49aae6b)
  • types: prefer normal component over functional one (#7687) (144bf5a)
  • v-model: handle trailing whitespaces in expression (#7737) (db58493)
  • v-on: return handler value when using modifiers (#7704) (6bc75ca)
  • vdom: svg inside foreignObject should be rendered with correct namespace (fix #7330) (#7350) (0529961)
  • weex: default value for editor, fix #7165 (#7286) (e055df8)

Features

  • support v-model dynamic type binding for v-bind="object" (41838c8), closes #7296
  • weex: adjust framework entry APIs and add flow annotations (#7272) (472a289)
  • weex: support parse object literal in binding attrs and styles (#7291) (ff8fcd2)
  • weex: update new syntax for <recycle-list> (7cc0b55)
  • weex: update weex recycle-list compiler (#7610) (d6200d7)
yyx990803
published 2.5.13 •

Changelog

Source

2.5.13 (2017-12-19)

Reverts

  • Revert "feat: auto cache inline prop literals to avoid child re-render" (aac7634)
yyx990803
published 2.5.12 •

Changelog

Source

2.5.12 (2017-12-19)

Bug Fixes

  • warning: allow symbol as vdom key (#7271) (bacb911)
  • weex: append as tree by default for recycle-list and cell-slot (#7216) (d544d05)
  • weex: update recycle-list v-for transform (0ee81b2)

Features

  • $compiler: compile weex native directives in preTransformNode (2d09ee3)
  • $compiler: supports compiling v-bind to the weex native directive in recycle-list (8b893c1)
  • $compiler: supports compiling v-else-if and v-else to the weex native directive (2a1ce0d)
  • $compiler: supports compiling v-for to the weex native directive (9bd1483)
  • $event: support binding parameters on event handler within weex recycle-list (acdc3c4)
  • auto cache inline prop literals to avoid child re-render (996eb00)
  • compile: supports compiling v-if to the weex native directive (7ad368e)
  • types: extract VueConfiguration type for easy expansion (#7273) (#7274) (c0d516c)
  • weex: generate "@render" function for weex recycle-list (#6987) (0c11aa8)
  • weex: partially support lifecycles of virtual component (#7242) (661bfe5)
  • weex: pass stateless component test case (452a65c)
  • weex: recycle-list support stateful child component (70b97ac)
  • weex: recycle-list support WIP (5254ee3)
  • weex: split text into separate module (c104cc5)
  • weex: support compiling v-on in the weex native directive (#6892) (2cb8ea3)
  • weex: update weex utils (#7115) (3b32652)
  • weex: WIP adjust component transform stage (62e47c9)
  • weex: WIP fix flow + handle errors in recycle-list template render (5c2ce00)
  • weex: WIP implement virtual component (#7165) (b8d33ec)
  • weex: WIP invoke recycle-list child component with backing instance (801f793)
  • weex: WIP mark recycle list child component root (88f3889)
  • wip: recycle list template inline expand (ac99957)

Reverts

  • revert prop object validation (01c0750), closes #7279
  • weex: remove the "receiveTasks" api and support component hook (#7053) (0bf0cbe)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc