sqrl-load-functions
Advanced tools
Comparing version 0.6.7 to 0.6.8
@@ -23,3 +23,3 @@ "use strict"; | ||
argstring: "path", | ||
docstring: "Loads data from a given JSON file" | ||
docstring: "Loads data from a given JSON file", | ||
}); | ||
@@ -33,3 +33,3 @@ instance.registerTransform(function loadYaml(state, ast) { | ||
argstring: "path", | ||
docstring: "Loads data from a given YAML file" | ||
docstring: "Loads data from a given YAML file", | ||
}); | ||
@@ -40,4 +40,4 @@ instance.registerTransform(function loadLines(state, ast) { | ||
.split("\n") | ||
.map(line => line.trim()) | ||
.filter(line => line.length > 0); | ||
.map((line) => line.trim()) | ||
.filter((line) => line.length > 0); | ||
return sqrl_1.AstBuilder.constant(parsed); | ||
@@ -47,5 +47,5 @@ }, { | ||
argstring: "path", | ||
docstring: "Loads data as a list of lines from a given text file" | ||
docstring: "Loads data as a list of lines from a given text file", | ||
}); | ||
} | ||
exports.register = register; |
{ | ||
"name": "sqrl-load-functions", | ||
"version": "0.6.7", | ||
"version": "0.6.8", | ||
"description": "SQRL (A Safe, Stateful Rules Language for Event Streams) - functions for loading data", | ||
@@ -48,9 +48,9 @@ "homepage": "https://twitter.github.io/sqrl", | ||
"engines": { | ||
"node": ">=6.0.0" | ||
"node": ">=12.0.0" | ||
}, | ||
"dependencies": { | ||
"js-yaml": "^3.13.1", | ||
"sqrl": "^0.6.7" | ||
"sqrl": "^0.6.8" | ||
}, | ||
"gitHead": "58739afad2cac0a31ea348ad2fcfee09e86d54e2" | ||
"gitHead": "43c653144f3e4947ce96d4d62d5fc5fc3200e79e" | ||
} |
5559
Updatedsqrl@^0.6.8