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

altv-pkg

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

altv-pkg - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

0

bin/altv-pkg.js

@@ -0,0 +0,0 @@ #!/usr/bin/env node

4

bin/options/download.js

@@ -115,3 +115,3 @@ const { logDanger, logNormal } = require('../services/logging');

const response = await askQuestion(`Using voice? [y/N]`);
if (response.includes('n') || !response) {
if (!response || response.includes('n')) {
const configFilePath = path.join(__dirname, '../files/server.cfg');

@@ -136,3 +136,3 @@ copyFileSync(configFilePath, serverPath);

const response = await askQuestion(`Generate example resource? [y/N]`);
if (response.includes('y')) {
if (response && response.includes('y')) {
const examplePath = path.join('./resources', 'example');

@@ -139,0 +139,0 @@ const clientResPath = path.join(examplePath, 'client');

{
"name": "altv-pkg",
"version": "1.0.3",
"version": "1.1.0",
"description": "A CLI tool for installing open source resourced and their dependencies.",

@@ -16,3 +16,3 @@ "main": "bin/index.js",

"commander": "^6.0.0",
"download": "^8.0.0",
"download": "^6.2.5",
"node-fetch": "^2.6.0",

@@ -19,0 +19,0 @@ "rimraf": "^3.0.2"

@@ -21,3 +21,3 @@ # alt:V PKG

[⌨️ Learn how to script for alt:V](https://stuyk.github.io/altv-javascript-guide/)
[⌨️ Learn how to script for alt:V](https://altv.stuyk.com/)

@@ -24,0 +24,0 @@ ⭐ This repository if you found it useful!

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