Skip to content

Releases

0.7.4

Choose a tag to compare

@hudochenkov hudochenkov released this 15 Oct 18:15
  • Add missing default export after migrating the package to ESM

0.7.3

Choose a tag to compare

@hudochenkov hudochenkov released this 27 Sep 10:54
  • Fixed stripping of a U+FEFF (byte-order mark) that opens a template

0.7.2

Choose a tag to compare

@hudochenkov hudochenkov released this 23 Jun 16:13
  • Updated dependencies

0.7.1

Choose a tag to compare

@hudochenkov hudochenkov released this 16 Jan 21:37
  • Improved nodes range detection

0.7.0

Choose a tag to compare

@hudochenkov hudochenkov released this 04 Nov 22:27
  • Added support for passing a function to styled instead using it as a tagged template. For example, styled.div(props => `color: red;`), or styled(Component)(props => `color: red;`)

0.6.4

Choose a tag to compare

@hudochenkov hudochenkov released this 04 Jan 14:23
  • Fixed parsing for CSS with escaped characters

0.6.3

Choose a tag to compare

@hudochenkov hudochenkov released this 02 Jan 18:15
  • Fixed interpolation range if comment after interpolation has a backslash

0.6.2

Choose a tag to compare

@hudochenkov hudochenkov released this 30 Dec 23:00
  • Fix a JS parsing issue if a comment between a tag function and template literal is present

0.6.1

Choose a tag to compare

@hudochenkov hudochenkov released this 29 Dec 23:35
  • Fix interpolation ranges if there is a comment inside an interpolation
  • Catch more JavaScript parsing errors

0.6.0

Choose a tag to compare

@hudochenkov hudochenkov released this 27 Dec 18:18
  • Use TypeScript instead of @typescript-eslint/typescript-estree for parsing. This fixes “unsupported TypeScript version” messages and reduces install size.
  • Fix parsing for two interpolations before rule selector. Fixes #24
  • Drop support for Node.js 14 and 16