Changelog

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

5.0.0

1 Dec 2022

💥 BREAKING CHANGES

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

4.1.0

12 Aug 2022

Features

4.0.16

18 Apr 2022

🔧 Fixed

4.0.0

9 Sept 2021

Features

💥 BREAKING CHANGES

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

3.1.0

24 May 2021

Features

  • config file based major bump blacklisting (e15f9bb)

3.0.15

11 Apr 2021

Reverts

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

3.0.1

28 Jan 2021

🔧 Fixed

  • add testStats to npmignore (f3c84e9)

3.0.0

23 Jan 2021

Features

  • a complete rewrite — return objects for each bad character or exceeding of max line length (95b6cf4)
  • return UTF32Hex value too (6db600a)

💥 BREAKING CHANGES

  • no more default exported. Consume using: import { within } from …
  • array of errors, plain objects, is now returned. See the examples.

2.10.0

28 Nov 2020

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

2.9.45

5 Oct 2019

Performance Improvements

  • remove check-types-mini (a76b12d)

2.9.0

20 Jan 2019
  • Various documentation and setup tweaks after we migrated to monorepo
  • Setup refresh: updated dependencies and all config files using automated tools

2.5.0

26 Dec 2018

2.4.0

17 Oct 2018
  • Updated all dependencies
  • Restored unit test coverage tracking: reporting in terminal and coveralls.io
  • Restored unit test linting

2.3.0

26 Jun 2018
  • Set up Rollup to remove all comments from built files
  • There was a strange bug in Rollup UMD builds where undefined literals were being renamed that caused throws when trying to use UMD builds. What makes things worse, I’m not using UMD builds and all unit tests are pointing to ES Modules build, so, theoretically, if Rollup messed up UMD builds there was no automated way to tell. Now, UMD build should be working correctly. Sorry everybody who got affected.

2.2.0

15 Jun 2018

GitHub sold us out. In the meantime, we:

  • Migrated to BitBucket (to host repo + perform CI) and Codacy (for code quality audit)
  • Dropped BitHound (RIP) and Travis

2.1.0

26 May 2018
  • Set up Prettier on a custom ESLint rule set.
  • Removed package.lock and .editorconfig
  • Wired Rollup to remove comments from non-dev builds. This means we can now leave the console.logs in the source code — there’s no need to comment-out console.log statements or care about them not spilling into production. Now it’s done automatically.
  • Unit tests are pointing at ES modules build, which means that code coverage is correct now, without Babel functions being missed. This is important because now code coverage is real again and now there are no excuses not to perfect it.

2.0.0

5 Dec 2017
  • Rebased in ES modules
  • Set up Rollup (nice ryming) to serve CommonJS, UMD and ES Module builds
  • Refreshed all deps
  • Edited readme a bit

PS. Bumping major just in case somebody’s API breaks. But it should not break.

1.3.0

19 Sept 2017
  • 🔧 Switching to raw ESLint with airbnb-base config with no-semicolons override. For posterity, JS Standard sucks — it’s neglected by maintainers (consumes half-year-old version of ESLint), it’s flagged as insecure by BitHound (because of shell.js two levels deep in dependencies) and doesn’t have as much rules active as airbnb presets.

1.2.0

4 Sept 2017
  • opts.checkLineLength will throw is lines are more than 999 chars in length. See the SMTP spec.

1.1.0

27 Aug 2017
  • opts.messageOnly throws only a message. Used in CLI (npm, GitLab) version of this lib.

1.0.0

24 Aug 2017
  • First public release