node-elm-compiler
Advanced tools
Comparing version 0.2.1 to 0.3.0
{ | ||
"name": "node-elm-compiler", | ||
"version": "0.2.1+elm-0.15", | ||
"version": "0.3.0+elm-0.15", | ||
"homepage": "https://github.com/rtfeldman/node-elm-compiler", | ||
@@ -5,0 +5,0 @@ "authors": [ |
13
index.js
@@ -24,13 +24,6 @@ /* | ||
function defaultSpawn(cmd, args) { | ||
// elm-make chokes on undefined LANG | ||
var env = _.merge({LANG: 'en_US.UTF-8'}, process.env) | ||
return spawnChildProcess(cmd, args, {stdio: "inherit", env: env}); | ||
} | ||
var defaultOptions = { | ||
warn: console.warn, | ||
pathToMake: elmMakePath, | ||
spawn: defaultSpawn, | ||
spawn: spawnChildProcess, | ||
yes: undefined, | ||
@@ -60,4 +53,6 @@ help: undefined, | ||
var processArgs = sources ? sources.concat(compilerArgs) : compilerArgs; | ||
var env = _.merge({LANG: 'en_US.UTF-8'}, process.env); | ||
var processOpts = {env: env, stdio: "inherit"}; | ||
return options.spawn(options.pathToMake, processArgs); | ||
return options.spawn(options.pathToMake, processArgs, processOpts); | ||
} | ||
@@ -64,0 +59,0 @@ |
{ | ||
"name": "node-elm-compiler", | ||
"version": "0.2.1+elm-0.15", | ||
"version": "0.3.0+elm-0.15", | ||
"description": "A Node.js interface to the Elm compiler binaries (v0.15).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
16253
101