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.1.0 to 1.2.0

2

commands/help.js

@@ -41,5 +41,5 @@ "use strict";

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

@@ -367,16 +367,9 @@ "use strict";

const gunzip = zlib.createGunzip();
const write = fs.createWriteStream(file);
const write = fs.createWriteStream(file, {
// Make executable.
mode: 0o755,
});
gunzip.on("error", onError);
write.on("error", onError);
write.on("close", () => {
// Make executable.
fs.chmod(file, "755", (error) => {
if (error === null) {
onSuccess();
}
else {
onError(error);
}
});
});
write.on("close", onSuccess);
gunzip.pipe(write);

@@ -383,0 +376,0 @@ return gunzip;

@@ -128,2 +128,22 @@ "use strict";

},
"0.8.5": {
linux: {
hash: "147c479e375b9bae8dd633e526677fbd2a87e5445b3638ebee86c1319ffe8e23",
url: "https://github.com/avh4/elm-format/releases/download/0.8.5/elm-format-0.8.5-linux-x64.tgz",
fileName: "elm-format",
type: "tgz",
},
mac: {
hash: "380c5f36b1fdeb2f1cda7c208dc788cb676675b3d5d43d907efc3f0821c010d6",
url: "https://github.com/avh4/elm-format/releases/download/0.8.5/elm-format-0.8.5-mac-x64.tgz",
fileName: "elm-format",
type: "tgz",
},
windows: {
hash: "3cb6f74f24b401314480227b1ccbb2049cceb4a365ac7abb50cd3cfe0e64bbdc",
url: "https://github.com/avh4/elm-format/releases/download/0.8.5/elm-format-0.8.5-win-x64.zip",
fileName: "elm-format.exe",
type: "zip",
},
},
},

@@ -130,0 +150,0 @@ "elm-json": {

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

function hasSameBase(a, b) {
return a.replace(prereleaseRegex, "-") === b.replace(prereleaseRegex, "-");
return a.replace(prereleaseRegex, "") === b.replace(prereleaseRegex, "");
}

@@ -402,2 +402,4 @@ function getToolThrowing({ name, version: versionRange, cwd, env, }) {

return sortedValidVersions.find((version) => {
// For example, `^0.19.1-rc` should not match `0.19.2-alpha`.
// And `^0.19.1` should not match `0.19.2-alpha`.
if (

@@ -413,2 +415,8 @@ // Known prereleases can only be matched…

}
// For example, `^0.19.1-rc` should match `0.19.1`.
if (!hasPrerelease(version) &&
hasPrerelease(lowerBoundInclusive) &&
hasSameBase(version, lowerBoundInclusive)) {
return true;
}
return (collator.compare(version, lowerBoundInclusive) >= 0 &&

@@ -415,0 +423,0 @@ collator.compare(version, upperBoundExclusive) < 0);

{
"name": "elm-tooling",
"version": "1.1.0",
"version": "1.2.0",
"author": "Simon Lydell",

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

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