Socket
Socket
Sign inDemoInstall

node-elm-compiler

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-elm-compiler - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

examples/elm-package.json

7

index.js
'use strict';
var childProcess = require("child_process");
var spawn = require("cross-spawn");
var _ = require("lodash");

@@ -11,3 +11,4 @@ var compilerBinaryName = "elm-make";

warn: console.warn,
spawn: childProcess.spawn,
spawn: spawn,
cwd: undefined,
pathToMake: undefined,

@@ -40,3 +41,3 @@ yes: undefined,

var env = _.merge({LANG: 'en_US.UTF-8'}, process.env);
var processOpts = {env: env, stdio: "inherit"};
var processOpts = _.merge({env: env, stdio: "inherit", cwd: options.cwd});
var pathToMake = options.pathToMake || compilerBinaryName;

@@ -43,0 +44,0 @@ var verbose = options.verbose;

{
"name": "node-elm-compiler",
"version": "2.1.0",
"version": "2.2.0",
"description": "A Node.js interface to the Elm compiler binaries. Supports Elm versions 0.15 - 0.16.",
"main": "index.js",
"scripts": {
"test": "mocha test/dependencies.js"
"test": "cd test/fixtures && elm-package install --yes && cd ../.. && mocha test/*.js"
},

@@ -28,2 +28,3 @@ "repository": {

"dependencies": {
"cross-spawn": "2.1.0",
"lodash": "3.10.1"

@@ -30,0 +31,0 @@ },

@@ -1,2 +0,2 @@

# 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)
# 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)

@@ -3,0 +3,0 @@ Wraps [Elm](https://elm-lang.org) and exposes a [Node](https://nodejs.org) API to compile Elm sources.

@@ -16,3 +16,3 @@ var assert = require("chai").assert;

results,
[ "ChildA.elm", "ChildB.elm", "NativeChild.js" ].map(prependFixturesDir)
[ "ChildA.elm", "ChildB.elm", "Native/Child.js" ].map(prependFixturesDir)
);

@@ -26,3 +26,3 @@ });

results,
[ "ChildA.elm", "NestedChild.elm", "ChildB.elm", "NativeChild.js" ].map(prependFixturesDir)
[ "ChildA.elm", "NestedChild.elm", "ChildB.elm", "Native/Child.js" ].map(prependFixturesDir)
);

@@ -29,0 +29,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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