Packages

@lwc/babel-plugin-component

9.5.3 · 27 Oct 2026MIT351.8k / weekRepositoryHomepagenpmAtom feed

Upgrading @lwc/babel-plugin-component from 1.1.16 to 1.2.0

1 release in betweenevery note read

Other targets from 1.1.16Newest 1.x1.18.0Latest9.5.3

Before you upgrade

Tick each one off as you go
  • breaking1.2.0
  • breaking1.2.0
  • deprecated1.2.0

Release by release

  1. 1.2.0

    23 Jan 20202 new · 2 fixes
    • new

      #1687 - template-compiler: Add support for content attributes with leading hyphens. Until now, component authors were able to define component properties in Pascal case but users were not able to set those properties in their templates. Users can now set the value of a Pascal case property by adding a leading hyphen to the attribute (e.g., @api FooBar can be set via -foo-bar={awesomeValue})

    • new

      #1652 - synthetic-shadow: Add tsc as part of the build. tsc should run before rollup to catch TypeScript-related errors.

    • fixed

      #1676 - synthetic-shadow: Fix a bug in the Event polyfill so that the composed option is respected when instantiating an instance of Event. The previous behavior ignored the composed option and only considered the type of the event when accessing the composed property of an Event instance. This polyfill exists to normalize the behavior of some browsers that incorrectly set the composed property of natively composed events.

    • fixed

      #1683 - features: Fix a bug where unary negation of a runtime feature flag was being interpreted as a compile-time boolean false.

3 other lines we could not sort, mostly version bumps
  • #1682: Remove usage of white/black as good/bad. Implements the “tone” guidelines for the WHATWG style guide.

    1.2.0
  • #1692 - engine: Refactor the way error boundaries are computed by decoupling the logic from the DOM.

    1.2.0
  • engine: Improve our usage of internal types.

    1.2.0

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