![New axobject-query Maintainer Faces Backlash Over Controversial Decision to Support Legacy Node.js Versions](https://cdn.sanity.io/images/cgdhsj6q/production/86e6ebdea652d20da070ebbda20134b839972db7-1024x1024.webp?w=800&fit=max&auto=format)
Security News
New axobject-query Maintainer Faces Backlash Over Controversial Decision to Support Legacy Node.js Versions
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
node-elm-compiler
Advanced tools
Readme
Wraps Elm and exposes a Node API to compile Elm 0.19 sources.
$ npm install
$ cd examples
$ node compileHelloWorld.js
Upgrade lodash dependency to fix security audit warning. (#93)
Add helpful errors if you use the obsolete warn
and pathToMake
flags. (#75)
Add 0.19 support. Remove yes
option. Add optimize
option. Throw exceptions instead of emitting warnings or using process.exit.
Add runtimeOptions
Add compileToStringSync
Upgrade findAllDependencies
dependency to correctly report all dependencies within a multi-source-directory project.
Add compileSync
via @yormi
Epic perf improvements from @eeue56
Add support for --debug
flag.
Clean up temporary directories more safely.
findAllDependencies
now supports port module
files.
Use utf-8 encoding for compileToString
Support checking dependencies for modules with no module declaration.
Fix bug in dependency searches beginning with a non-root Main
module.
Log elm-make output in verbose mode.
Fix missing temp
dependency.
Use an Error
object for result errors instead of a string.
Passing the warn
option now passes --warn
to elm-make
, and emitWarning
now controls warning logging.
Fix bug where nonzero exit codes were not rejecting promises.
Fix bug related to converting module dots to directories in nested dependency resolution.
Move temp
dependency out of devDependencies
Added #compileToString
Added cwd
to options
and fixed a bug where Windows couldn't find elm-make
.
Added #findAllDependencies
No longer searches node_modules/.bin
for elm-make
- now if you don't specify
a pathToMake
option, only the one on PATH will be used as a fallback.
Initial release.
FAQs
A Node.js interface to the Elm compiler binaries.
The npm package node-elm-compiler receives a total of 14,963 weekly downloads. As such, node-elm-compiler popularity was classified as popular.
We found that node-elm-compiler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
Security News
Results from the 2023 State of JavaScript Survey highlight key trends, including Vite's dominance, rising TypeScript adoption, and the enduring popularity of React. Discover more insights on developer preferences and technology usage.
Security News
The US Justice Department has penalized two consulting firms $11.3 million for failing to meet cybersecurity requirements on federally funded projects, emphasizing strict enforcement to protect sensitive government data.