node-elm-compiler
Advanced tools
Comparing version 4.4.0 to 4.4.1
@@ -80,3 +80,3 @@ 'use strict'; | ||
function compileSync(sources, options) { | ||
var optionsWithDefaults = prepareOptions(options, spawn.sync); | ||
var optionsWithDefaults = prepareOptions(options, options.spawn || spawn.sync); | ||
var pathToMake = options.pathToMake || compilerBinaryName; | ||
@@ -92,3 +92,3 @@ | ||
function compile(sources, options) { | ||
var optionsWithDefaults = prepareOptions(options, spawn); | ||
var optionsWithDefaults = prepareOptions(options, options.spawn || spawn); | ||
var pathToMake = options.pathToMake || compilerBinaryName; | ||
@@ -95,0 +95,0 @@ |
{ | ||
"name": "node-elm-compiler", | ||
"version": "4.4.0", | ||
"version": "4.4.1", | ||
"description": "A Node.js interface to the Elm compiler binaries. Supports Elm version 0.17, 0.18", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -19,3 +19,3 @@ # node-elm-compiler [![Version](https://img.shields.io/npm/v/node-elm-compiler.svg)](https://www.npmjs.com/package/node-elm-compiler) [![Travis build Status](https://travis-ci.org/rtfeldman/node-elm-compiler.svg?branch=master)](http://travis-ci.org/rtfeldman/node-elm-compiler) [![AppVeyor build status](https://ci.appveyor.com/api/projects/status/xv83jcomgb81i1iu/branch/master?svg=true)](https://ci.appveyor.com/project/rtfeldman/node-elm-compiler/branch/master) | ||
Add `compileSync` | ||
Add `compileToStringSync` | ||
@@ -22,0 +22,0 @@ ## 4.3.1 |
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
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
15924