Skip to content

Releases: no-context/moo

Content-Security-Policy, etc

03 Oct 11:31
Compare
Choose a tag to compare

Changes:

  • Avoid fall through in the keyword transform, thanks to @lrowe in #164
  • Replace the keyword transform with a Map, to avoid triggering unsafe-eval Content-Security-Policy warnings, thanks to @jsharkey13 in #173
  • Fix a bug in reset() relating to queuedText, thanks to @hikerpig in #169
  • Improve error reporting and add additional context lines, thanks to @airportyh in #129

Documentation tweaks:

Full Changelog: v0.5.1...v0.5.2

Add Unicode support

29 Sep 18:38
Compare
Choose a tag to compare

Published v0.5.1 to NPM.

  • #116, #125 Allow Unicode flag if all RegExps use it
  • #114 Allow calling formatError without a token
  • 13e1157 Fix a bug with fast matching when include is used

Fallback, inheritance, keywords

09 Nov 18:46
Compare
Choose a tag to compare

Version 0.5.0 is now published to NPM.

Highlights:

v0.4.1

24 Jul 19:58
Compare
Choose a tag to compare

Breaking changes:

  • Keyword support is now explicit.
  • Capture groups are no longer supported. Use slice() yourself, or use the value transform.
  • {pop: 1} will now throw an error; use {pop: true}.
  • The size property has been removed. Use text.length instead.

v0.3

09 Apr 20:58
Compare
Choose a tag to compare
  • Prettier syntax errors
  • Remove feed()
  • Include state in save()
  • reset() now goes back to start state

v0.2

27 Mar 19:01
Compare
Choose a tag to compare

I just published v0.2 to NPM:

  • Don't re-compile RegExp in clone()
  • Remove index() & remaining()