New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bread-n-butter

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bread-n-butter - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

CHANGELOG.md

@@ -1,3 +0,7 @@

# v?.?.? (????-??-??)
# v0.0.2 (2020-07-27)
- Fixes a bug where `parser.many1` was equivalent to `parser.many0`
# v0.0.1 (2020-07-26)
- Initial release

5

dist/bread-n-butter.js

@@ -151,5 +151,8 @@ "use strict";

let result = this.action(context);
if (result.type === "ActionFail") {
return result;
}
while (result.type === "ActionOK") {
items.push(result.value);
if (context.location.index === result.location.index) {
if (result.location.index === context.location.index) {
throw new Error("infinite loop detected; don't call many0 or many1 with parsers that can accept zero characters");

@@ -156,0 +159,0 @@ }

{
"name": "bread-n-butter",
"version": "0.0.1",
"version": "0.0.2",
"description": "Parser combinators for TypeScript and JavaScript",

@@ -5,0 +5,0 @@ "main": "dist/bread-n-butter.js",

**EXPERIMENTAL: Do not use in production**
# bread-n-butter (Bread 'n Butter)
# bread-n-butter
bread-n-butter (bnb) is a parser combinator library for TypeScript and JavaScript.
bread-n-butter (bnb) is a parser combinator library for JavaScript and
TypeScript.
Read [the documentation](https://wavebeem-bread-n-butter.netlify.app/).
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc