Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hammerframework/hammer-cli

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hammerframework/hammer-cli - npm Package Compare versions

Comparing version 0.0.1-alpha.9 to 0.0.1-alpha.9.1

13

dist/commands/New/New.js

@@ -51,4 +51,10 @@ "use strict";

const RELEASE_URL = 'https://github.com/hammerframework/create-hammer-app/archive/v0.0.1-alpha.7.zip'; // TODO: Grab the latest release URL from GitHub
const RELEASE_URL = 'https://api.github.com/repos/hammerframework/create-hammer-app/releases';
const latestReleaseZipFile = async () => {
const response = await _axios.default.get(RELEASE_URL);
return response.data[0].zipball_url;
}; // TODO: Grab the latest release URL from GitHub
const New = ({

@@ -92,4 +98,5 @@ args: [_commandName, targetDir]

setNewMessage(_react.default.createElement(_ink.Text, null, "Downloading ", RELEASE_URL, "..."));
await downloadFile(RELEASE_URL, tmpDownloadPath);
const realeaseUrl = await latestReleaseZipFile();
setNewMessage(_react.default.createElement(_ink.Text, null, "Downloading ", realeaseUrl, "..."));
await downloadFile(realeaseUrl, tmpDownloadPath);
setNewMessage(_react.default.createElement(_ink.Text, null, "Extracting..."));

@@ -96,0 +103,0 @@ const files = await unzip(tmpDownloadPath, newHammerAppDir);

{
"name": "@hammerframework/hammer-cli",
"description": "The Hammer Command Line",
"version": "0.0.1-alpha.9",
"version": "0.0.1-alpha.9.1",
"license": "MIT",

@@ -39,4 +39,3 @@ "repository": {

"ink-testing-library": "^1.0.2"
},
"gitHead": "c4f2b74b8cef67a028681d57e5c458e80bba3fde"
}
}
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