Socket
Socket
Sign inDemoInstall

parsimmon

Package Overview
Dependencies
0
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245Next

1.6.1

Diff

Changelog

Source

1.6.1 (2017-07-01)

  • 100% unit test coverage! This does not mean bugs won't exist, but it keeps us much safer against regressions in the future.
  • BUGFIX: Parsimmon.regexp(regexp, group) will now correctly fail to parse if the group number is out of range for the regexp number of groups. This worked correctly in the past, but was broken during a minor code clean up due to missing tests.
wavebeem
published 1.6.0 •

Changelog

Source

1.6.0 (2017-06-26)

  • Adds Parsimmon.seqObj(...args)
wavebeem
published 1.5.0 •

Changelog

Source

1.5.0 (2017-06-17)

NOTE: Code was completed on 2017-06-17, but due to human error, was not published on npm until 2017-06-26.

  • Adds parser.sepBy(separator) alias for Parsimmon.sepBy(parser, separator)
  • Adds parser.sepBy1(separator) alias for Parsimmon.sepBy1(parser, separator)
  • Adds Parsimmon.range(begin, end)
  • Adds parser.wrap(before, after)
  • Adds parser.trim(anotherParser)
  • Adds parser.tie()
wavebeem
published 1.4.0 •

Changelog

Source

1.4.0 (2017-06-05)

  • Adds Parsimmon.createLanguage(parsers)
  • Adds parser.thru(wrapper)
  • Adds parser.node(name)
wavebeem
published 1.3.0 •

Changelog

Source

1.3.0 (2017-05-28)

  • Adds Parsimmon.notFollowedBy(parser)
  • Adds parser.notFollowedBy(anotherParser)
wavebeem
published 1.2.0 •

Changelog

Source

1.2.0 (2016-12-22)

  • Adds Parsimmon.lookahead(parser)
  • Adds parser.lookahead(anotherParser)
wavebeem
published 1.1.0 •

Changelog

Source

1.1.0 (2016-12-21)

  • Adds Parsimmon.lookahead(string)
  • Adds Parsimmon.lookahead(regexp)
  • Adds parser.lookahead(string)
  • Adds parser.lookahead(regexp)
wavebeem
published 1.0.0 •

Changelog

Source

1.0.0 (2016-11-02)

  • BREAKING: parser.empty is now a function (parser.empty()).
  • BREAKING: f.ap(x) is now x.ap(f).
  • Adds parser.tryParse(str) which either returns the parsed value or throws an exception.
  • Adds support for fantasy-land/* prefixed versions of methods.
  • Parsimmon.empty() is a copy of parser.empty().
  • Adds .desc descriptions for digits, letters, optWhitespace.
  • Adds Parsimmon.isParser.
  • Adds parser.fallback(value).
  • Parsimmon now only has one namespace. Parsimmon.Parser is equal to Parsimmon itself for backwards compatibility purposes.
  • Exposes Parsimmon.makeSuccess and Parsimmon.makeFailure.
  • Documentation for Parsimmon.formatError, Parsimmon.parse, Parsimmon.Parser, Parsimmon.makeSuccess, Parsimmon.makeFailure, Parsimmon.isParser, parser.fallback.
wavebeem
published 0.9.2 •

Changelog

Source

0.9.2 (2016-08-07)

  • Adds browser field to package.json so unpkg serves the correct file.
  • Documentation overhaul in README.md.
  • Examples overhaul.
wavebeem
published 0.9.1 •

Changelog

Source

0.9.1 (2016-07-08)

  • BREAKING: P.seqMap now throws when passed zero arguments, or when the final argument is not a function.
  • P.regex is now an alias for P.regexp.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc