expression-compiler
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -19,3 +19,3 @@ /* get back the (hopefully) exact input expression from the AST */ | ||
var echo = R.pipe(parse, _echo); | ||
echo.ast = _echo; | ||
echo.fromAST = _echo; | ||
module.exports = echo; |
@@ -93,11 +93,7 @@ var R = require('ramda'); | ||
var compile = R.pipe( | ||
parse, | ||
compileAST, | ||
functionify | ||
); | ||
var compile = R.pipe(parse, compileAST, functionify); | ||
compile.fromAST = R.pipe(compileAST, functionify); | ||
compile.express = R.pipe(parse, compileAST); | ||
compile.express.fromAST = compileAST; | ||
compile.compileAST = compileAST; | ||
compile.astToFn = R.pipe(compileAST, functionify); | ||
module.exports = compile; |
@@ -6,3 +6,3 @@ /* Get a function yielding an array of computed values for each node in the | ||
var parse = require('./parse'); | ||
var astFunc = require('./compile-func').astToFn; | ||
var astFunc = require('./compile-func').fromAST; | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "expression-compiler", | ||
"repository": "git@github.com:uniphil/expression.git", | ||
"version": "0.1.1", | ||
"repository": "git@github.com:uniphil/expression-compiler.git", | ||
"version": "0.2.0", | ||
"description": "", | ||
"main": "compile-func.js", | ||
"main": "index.js", | ||
"scripts": { | ||
@@ -8,0 +8,0 @@ "test": "gulp test" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
33130
14
785