Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fbp

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fbp - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

64

lib/fbp.js

@@ -54,2 +54,3 @@ module.exports = (function(){

"anychar": parse_anychar,
"iipchar": parse_iipchar,
"_": parse__,

@@ -597,6 +598,6 @@ "__": parse___

result1 = [];
result2 = parse_anychar();
result2 = parse_iipchar();
while (result2 !== null) {
result1.push(result2);
result2 = parse_anychar();
result2 = parse_iipchar();
}

@@ -924,3 +925,3 @@ if (result1 !== null) {

if (/^[a-zA-Z0-9 .,#:{}@+?!^=()_\-$*\/\\[\]{}"&`%|]/.test(input.charAt(pos))) {
if (/^[^\n\r\u2028\u2029]/.test(input.charAt(pos))) {
result0 = input.charAt(pos);

@@ -931,3 +932,3 @@ pos++;

if (reportFailures === 0) {
matchFailed("[a-zA-Z0-9 .,#:{}@+?!^=()_\\-$*\\/\\\\[\\]{}\"&`%|]");
matchFailed("[^\\n\\r\\u2028\\u2029]");
}

@@ -938,2 +939,57 @@ }

function parse_iipchar() {
var result0, result1;
var pos0, pos1;
pos0 = pos;
pos1 = pos;
if (/^[\\]/.test(input.charAt(pos))) {
result0 = input.charAt(pos);
pos++;
} else {
result0 = null;
if (reportFailures === 0) {
matchFailed("[\\\\]");
}
}
if (result0 !== null) {
if (/^[']/.test(input.charAt(pos))) {
result1 = input.charAt(pos);
pos++;
} else {
result1 = null;
if (reportFailures === 0) {
matchFailed("[']");
}
}
if (result1 !== null) {
result0 = [result0, result1];
} else {
result0 = null;
pos = pos1;
}
} else {
result0 = null;
pos = pos1;
}
if (result0 !== null) {
result0 = (function(offset) { return "'"; })(pos0);
}
if (result0 === null) {
pos = pos0;
}
if (result0 === null) {
if (/^[^']/.test(input.charAt(pos))) {
result0 = input.charAt(pos);
pos++;
} else {
result0 = null;
if (reportFailures === 0) {
matchFailed("[^']");
}
}
}
return result0;
}
function parse__() {

@@ -940,0 +996,0 @@ var result0, result1;

2

package.json
{
"name": "fbp",
"description": "Parser for the .fbp flow definition language",
"version": "1.0.2",
"version": "1.0.3",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

FBP flow definition language parser [![Build Status](https://travis-ci.org/noflo/fbp.png?branch=master)](https://travis-ci.org/noflo/fbp)
===================================
The *fbp* library provides a parser for the [FBP domain-specific language](https://github.com/bergie/noflo#language-for-flow-based-programming) used for defining graphs for flowbased programming environments like [NoFlo](http://noflojs.org).
The *fbp* library provides a parser for the [FBP domain-specific language](http://noflojs.org/documentation/fbp/) used for defining graphs for flowbased programming environments like [NoFlo](http://noflojs.org). For more, see [the documentation on the NoFlo site](http://noflojs.org/documentation/fbp/).

@@ -47,2 +47,17 @@ ## Usage

The syntax also supports blank lines and comments. Comments start with the `#` character.
Example with the same graph than above :
```fbp
# Read the content of "somefile.txt" and split it by line
'somefile.txt' -> SOURCE Read(ReadFile) OUT -> IN Split(SplitStr)
# Count the lines and display the result
Split() OUT -> IN Count(Counter) COUNT -> IN Display(Output)
# The read errors are also displayed
Read() ERROR -> IN Display()
```
### Exporting ports

@@ -49,0 +64,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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