Changelog

All notable changes to this project will be documented in this file.
See Conventional Commits opens in a new tab for commit guidelines.

0.14.0

1 Dec 2022

💥 BREAKING CHANGES

  • Minimum supported Node version is v14.18; we’re dropping v12 support

0.13.0

12 Aug 2022

Features

0.12.17

18 Apr 2022

🔧 Fixed

0.12.0

9 Sept 2021

Features

💥 BREAKING CHANGES

  • programs now are in ES Modules and won’t work with Common JS require()

0.11.0

24 May 2021

Features

  • config file based major bump blacklisting (e15f9bb)

0.10.12

11 Apr 2021

Reverts

  • Revert “chore: setup refresh” (23cf206)

0.10.3

27 Feb 2021

🔧 Fixed

  • build against the latest tokenizer, with !important support (66d2b2c)

0.10.1

9 Feb 2021

🔧 Fixed

  • correctly nest the broken tag layers (4ad69f6)

0.10.0

7 Feb 2021

🔧 Fixed

  • tweak the type definitions, DRY up moving ErrorObj definitions from emlint here (0b07c0a)

Features

  • recognise missing closing tag gaps bigger than one; prepare to revamp rogue tag clauses (1b81b2a)

0.9.1

28 Jan 2021

🔧 Fixed

  • add testStats to npmignore (f3c84e9)

0.9.0

23 Jan 2021

Features

  • rewrite in TypeScript, start using named exports, import { cparser } from “codsen-parser”;

0.8.0

28 Nov 2020

Accidental version bump during migration to SourceHut. Sorry about that.

0.7.9

19 Oct 2020

🔧 Fixed

  • update tests to the latest tokenizer api (5b46ff0)

0.7.0

24 May 2020

Features

  • update to the latest tokenizer algorithm (6d92c43)

0.6.5

11 May 2020

🔧 Fixed

  • nesting fix — closing tags don’t next text tokens that follow (de384b5)

0.6.2

26 Apr 2020

🔧 Fixed

  • harden the eslint rules set, make all tests pass and rebase a little (40cf4b9)

0.6.0

19 Apr 2020

Features

  • don’t nest under rogue opening tags (54e0947)

0.5.0

4 Apr 2020

🔧 Fixed

  • tend the layer endings properly (c563d2a)

Features

  • algorithm improvements to tackle cases of rogue tag being in place of another tag (6dde396)
  • don’t put tag names that dont have closings into layers (58f528c)
  • first case of missing closing tag, <table><tr><td>x</td></tr> (ce439f0)
  • improve the algorithm to recognise missing closing tag (c56363f)
  • push all kinds of opening tokens into layers, not just comment-type (2dc552d)

0.4.0

24 Mar 2020

🔧 Fixed

  • correctly nest empty tags (380c268)

Features

  • new error rule, tag-void-frontal-slash (6a93052)

0.3.0

16 Mar 2020

Features

  • catch even more broken closing comment cases (edf1bae)
  • improve the comment tag recognition, also broken “->” recognition (49a2ddc)
  • recognise malformed front part of “not” kind comment in preceding text token (b388754)
  • recognise malformed opening comment tag’s first part within nested preceding token (71092b6)

0.2.0

24 Feb 2020

🔧 Fixed

  • missing tag opening rule — demand that closing tag’s previous tag would be not closing (ceff20b)
  • nested tags (5846347)

Features

  • empty tag pair, one opening one closing tag (47b212d)
  • extend missing closing tag rules to comment tags (50996e5)
  • nest commment tags how it should be done (5f132a4)
  • update to the tokenizer’s latest api (29134fa)

0.1.0

9 Feb 2020

Features

  • algorithm improvements for broken tag pairs (0a65546)
  • assembles AST of nested tags (2a85a06)
  • init (310c617)
  • new error, tag-missing-opening (a24adae)
  • rewire tokenizer results to both feed the program and the callbacks in the opts (e090822)

Change Log

0.0.1

2 Feb 2020
  • First public release.