Comparing version 0.19.0 to 0.19.1
{ | ||
"name": "elm", | ||
"version": "0.19.0", | ||
"description": "The Elm Platform: Binaries for the Elm programming language.", | ||
"main": "index.js", | ||
"version": "0.19.1", | ||
"description": "Installer for Elm: just downloads the binary into node_modules", | ||
"preferGlobal": true, | ||
@@ -15,15 +14,15 @@ "license": "BSD-3-Clause", | ||
"author": { | ||
"name": "Richard Feldman", | ||
"email": "richard.t.feldman@gmail.com", | ||
"url": "https://github.com/rtfeldman" | ||
"name": "Evan Czaplicki", | ||
"email": "evan@elm-lang.org", | ||
"url": "https://github.com/evancz" | ||
}, | ||
"engines": { | ||
"node": ">=4.0.0" | ||
"node": ">=7.0.0" | ||
}, | ||
"scripts": { | ||
"install": "binwrap-install", | ||
"prepublishOnly": "binwrap-test" | ||
"install": "node install.js" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"install.js", | ||
"download.js", | ||
"bin", | ||
@@ -37,10 +36,9 @@ "bin/elm" | ||
"elm", | ||
"platform" | ||
"install", | ||
"installer" | ||
], | ||
"bin": { | ||
"elm": "bin/elm" | ||
}, | ||
"bin": "bin/elm", | ||
"dependencies": { | ||
"binwrap": "0.1.4" | ||
"request": "^2.88.0" | ||
} | ||
} |
@@ -1,38 +0,34 @@ | ||
npm install elm [![Travis build Status](https://travis-ci.org/elm-lang/elm-platform.svg?branch=master)](http://travis-ci.org/elm-lang/elm-platform) [![AppVeyor build status](https://ci.appveyor.com/api/projects/status/6mcub79i04ianpm9/branch/master?svg=true)](https://ci.appveyor.com/project/rtfeldman/elm-platform/branch/master) | ||
=============== | ||
# npm install elm | ||
Install the [Elm Platform](https://github.com/elm-lang/elm-platform) via [`npm`](https://www.npmjs.com). | ||
[Elm](https://elm-lang.org) is a functional programming language that compiles to JavaScript. | ||
## Installing | ||
There are installers for Mac and Windows available [here](https://github.com/elm/compiler/releases/tag/0.19.1). There are also binaries for direct download. These are the most reliable ways to install Elm. | ||
Run this to get the binaries: | ||
This package tries to download those binaries with `npm`. It is sometimes used by people intergating Elm into existing projects or workflows. | ||
``` | ||
$ npm install -g elm | ||
``` | ||
<br/> | ||
## Installing behind a proxy server | ||
If you are behind a proxy server, set the environment variable "HTTPS_PROXY". | ||
## Install | ||
The following command should download the `elm` binary: | ||
``` | ||
$ export HTTPS_PROXY=$YourProxyServer$ | ||
$ npm install -g elm | ||
npm install -g elm | ||
``` | ||
Or on Windows: | ||
If this runs successfully, the `elm` binary should be available at: | ||
``` | ||
$ set HTTPS_PROXY=$YourProxyServer$ | ||
$ npm install -g elm | ||
``` | ||
- `/usr/local/bin/elm` on Mac and Linux | ||
- `C:\Users\YOUR_NAME\AppData\Roaming\npm\` on Windows | ||
## Troubleshooting | ||
It should be possible to run `elm` from your terminal after this. | ||
1. [Troubleshooting npm](https://github.com/npm/npm/wiki/Troubleshooting) | ||
2. On Debian/Ubuntu systems, you may have to install the nodejs-legacy package: `apt-get install nodejs-legacy`. | ||
3. If the installer says that it cannot find any usable binaries for your operating system and architecture, check the [Build from Source](https://github.com/elm-lang/elm-platform/blob/master/README.md#build-from-source) documentation. | ||
If you run into trouble, check out [troubleshooting.md](troubleshooting.md). | ||
## Getting Started | ||
<br/> | ||
Once everything has installed successfully, head over to the [Get Started](http://elm-lang.org/Get-Started.elm) page! | ||
## What is next? | ||
Head over to [The Official Guide](https://guide.elm-lang.org/) to start learning Elm! |
Sorry, the diff of this file is not supported yet
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
6413
5
63
0
1
35
+ Addedrequest@^2.88.0
- Removedbinwrap@0.1.4
- Removedbalanced-match@1.0.2(transitive)
- Removedbinary@0.3.0(transitive)
- Removedbinwrap@0.1.4(transitive)
- Removedblock-stream@0.0.9(transitive)
- Removedbluebird@3.7.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbuffers@0.1.1(transitive)
- Removedchainsaw@0.1.0(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfstream@0.1.311.0.12(transitive)
- Removedglob@7.2.3(transitive)
- Removedgraceful-fs@3.0.124.2.11(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedisarray@0.0.1(transitive)
- Removedlodash@4.17.21(transitive)
- Removedmatch-stream@0.0.2(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removednatives@1.1.6(transitive)
- Removedonce@1.4.0(transitive)
- Removedover@0.0.5(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpullstream@0.4.1(transitive)
- Removedreadable-stream@1.0.34(transitive)
- Removedrequest-promise@4.2.6(transitive)
- Removedrequest-promise-core@1.1.4(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedslice-stream@1.0.0(transitive)
- Removedstealthy-require@1.1.1(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedtar@2.2.2(transitive)
- Removedtraverse@0.3.9(transitive)
- Removedunzip@0.1.11(transitive)
- Removedwrappy@1.0.2(transitive)