Packages

@lwc/shared

9.5.3 · 27 Oct 2026MIT510.2k / weekRepositoryHomepagenpmAtom feed

Upgrading @lwc/shared from 1.6.6 to 1.18.0

52 releases in betweennotes for 46

Other targets from 1.6.6Latest9.5.3
5+
changes to make
0
advisories fixed
28+
new
22+
fixes

Counted from 46 of 52 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking1.18.0
  • breaking1.17.5
  • breaking1.17.0
  • breaking1.9.2
  • breaking1.9.2

Security

  • #2145: Address security vulnerability GHSA-m57p-p67h-mq74.

    1.10.1
  • #2132: Update the ini dependency to address a security issue.

    1.9.8
  • #1972 - engine-server: Escape HTML entities from dynamic text and dynamic attributes to prevent potential XSS.

    1.7.9

Release by release

  1. 1.17.8 – 1.18.03 releases, nothing new or fixed; 2 without a note

  2. 1.17.6

    25 Feb 20211 fix
    • fixed

      #2250 - synthetic-shadow: Fixes a bug with the innerText polyfill on elements that has no selectable text.

  3. 1.17.5

    17 Feb 20211 fix
    • fixed

      #2241 - synthetic-shadow: Fixes an issue where the same event listener, used on different shadow roots or host elements, would be invoked with the first shadow root as context always.

  4. 1.17.4

    10 Feb 20211 new · 1 fix
    • new

      #2217 - style-compiler: allows ::slotted css selector.

    • fixed

      #2233 - template-compiler: Fixes an issue where the template compiler incorrectly binds the iterator when multiple iterators are nested in the template.

  5. 1.17.3

    8 Feb 20212 fixes
    • fixed

      #2228 - synthetic-shadow: Fix a bug where Event.prototype.composedPath returns an incorrect value when dealing with components using native Shadow DOM.

    • fixed

      #2195 - synthetic-shadow: Fix a bug for Event.prototype.composedPath where incorrect assumptions were being made about Text nodes and EventTarget.

  6. 1.17.2

    4 Feb 20211 new
    • new

      #2225: Add back --force-publish flag to the release script. This forces lerna to generate a new version for all the packages regardless if the package is modified or not.

  7. 1.11.2 – 1.17.05 releases, nothing new or fixed; 1 without a note

  8. 1.11.1

    16 Jan 20211 new · 1 fix
    • new

      #2015 - synthetic-shadow: Add shadow DOM semantics for innerText and outerText. This change is implemented behind a feature flag for future enablement.

    • fixed

      #2189 - synthetic-shadow: Fix regression in event propagation of composed events to include slotted event targets when considering whether or not to invoke listeners.

90 other lines we could not sort, mostly version bumps
  • #2242 - template-compiler: Tidy up typescript types and helpers in template compiler.

    1.18.0
  • #2260: Update project dependencies

    1.18.0
  • #2246 - template-compiler: Replace @babel/generator by astring for codegen. This change results in 15% performance improvement in compiler code evaluation time and 0 to 50% performance speedup in compilation time depending on the use case. The performance gain depends on the presence and size of the HTML template in the LWC module.

    1.17.6
  • #2247 - synthetic-shadow: Enforces shadow dom semantics on HTMLElement.innerText by default.

    1.17.5
  • #2239, #2240 - template-compiler: Performance improvements to the template-compiler.

    1.17.5
  • #2221 - babel-plugin-component: Moves component registration transform out of post process step. This is in preparation for @babel/core dependency update.

    1.17.5
  • #2234 - template-compiler: Removes iterator.next restriction, which speeds up the expression parsing by removing the need to traverse the AST.

    1.17.4
  • #2230 - template-compiler: Removes unreachable code for inline style parsing.

    1.17.4
  • #2232 - template-compiler: Removes unused id from internal state.

    1.17.4
  • #2235 - template-compiler: Use single traversal for scoped id generation

    1.17.4

3 internal lines (docs, tests, tooling) left out.