Socket
Socket
Sign inDemoInstall

elm-tooling

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elm-tooling - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

4

commands/help.js

@@ -19,3 +19,3 @@ "use strict";

${mixed_1.dim(parse_1.getElmToolingInstallPath(cwd, env))}
And create links to them in the closest node_modules/.bin/
And create links to them in node_modules/.bin/

@@ -42,5 +42,5 @@ ${mixed_1.bold("npx elm --help")}

${mixed_1.bold("Version:")}
1.2.1
1.3.0
`.trim();
}
exports.default = help;

@@ -9,2 +9,4 @@ "use strict";

const parse_1 = require("../helpers/parse");
const DEFAULT_TOOLS = ["elm", "elm-format", "elm-json"];
DEFAULT_TOOLS.sort((a, b) => a.localeCompare(b));
async function init(cwd, env, logger) {

@@ -30,5 +32,3 @@ var _a;

? /* istanbul ignore next */ undefined
: (_a = tryGuessToolsFromNodeModules(cwd, env)) !== null && _a !== void 0 ? _a : mixed_1.fromEntries(Object.keys(known_tools_1.KNOWN_TOOLS)
.sort((a, b) => a.localeCompare(b))
.map((name) => {
: (_a = tryGuessToolsFromNodeModules(cwd, env)) !== null && _a !== void 0 ? _a : mixed_1.fromEntries(DEFAULT_TOOLS.map((name) => {
const versions = Object.keys(known_tools_1.KNOWN_TOOLS[name]);

@@ -35,0 +35,0 @@ return [name, versions[versions.length - 1]];

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.KNOWN_TOOLS = void 0;
exports.KNOWN_TOOLS = {
const knownTools = {
elm: {

@@ -191,2 +191,25 @@ "0.19.0": {

},
"elm-test-rs": {
"1.0.0": {
linux: {
hash: "a914088083ea8bc004944c98d9a4767cc5225d5811480f49fe1ad2c491baaaaa",
url: "https://github.com/mpizenberg/elm-test-rs/releases/download/v1.0/elm-test-rs_linux.tar.gz",
fileName: "elm-test-rs",
type: "tgz",
},
mac: {
hash: "5f296888b7ba32c47830f00f6d38c56fc86f49d8c0c8998054b0842009a1173f",
url: "https://github.com/mpizenberg/elm-test-rs/releases/download/v1.0/elm-test-rs_macos.tar.gz",
fileName: "elm-test-rs",
type: "tgz",
},
windows: {
hash: "c8a35e2e0049b691e4833a6e8ccb094688cdc49aa977c437a8289c57d92a5775",
url: "https://github.com/mpizenberg/elm-test-rs/releases/download/v1.0/elm-test-rs_windows.zip",
fileName: "elm-test-rs.exe",
type: "zip",
},
},
},
};
exports.KNOWN_TOOLS = knownTools;
{
"name": "elm-tooling",
"version": "1.2.1",
"version": "1.3.0",
"author": "Simon Lydell",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc