Comparing version 1.0.3 to 1.1.0
@@ -0,0 +0,0 @@ #!/usr/bin/env node |
@@ -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! |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59262
+ Addedcaw@2.0.1(transitive)
+ Addedconfig-chain@1.1.13(transitive)
+ Addeddownload@6.2.5(transitive)
+ Addedfilenamify@2.1.0(transitive)
+ Addedget-proxy@2.1.0(transitive)
+ Addedgot@7.1.0(transitive)
+ Addedini@1.3.8(transitive)
+ Addednpm-conf@1.1.3(transitive)
+ Addedp-cancelable@0.3.0(transitive)
+ Addedp-event@1.3.0(transitive)
+ Addedp-timeout@1.2.1(transitive)
+ Addedprepend-http@1.0.4(transitive)
+ Addedproto-list@1.2.4(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedurl-parse-lax@1.0.0(transitive)
- Removed@sindresorhus/is@0.7.0(transitive)
- Removedarchive-type@4.0.0(transitive)
- Removedcacheable-request@2.1.4(transitive)
- Removedclone-response@1.0.2(transitive)
- Removeddecode-uri-component@0.2.2(transitive)
- Removeddownload@8.0.0(transitive)
- Removedfile-type@11.1.04.4.0(transitive)
- Removedfilenamify@3.0.0(transitive)
- Removedfrom2@2.3.0(transitive)
- Removedget-stream@4.1.0(transitive)
- Removedgot@8.3.2(transitive)
- Removedhttp-cache-semantics@3.8.1(transitive)
- Removedinto-stream@3.1.0(transitive)
- Removedjson-buffer@3.0.0(transitive)
- Removedkeyv@3.0.0(transitive)
- Removedlowercase-keys@1.0.0(transitive)
- Removedmake-dir@2.1.0(transitive)
- Removednormalize-url@2.0.1(transitive)
- Removedp-cancelable@0.4.1(transitive)
- Removedp-event@2.3.1(transitive)
- Removedp-is-promise@1.1.0(transitive)
- Removedp-timeout@2.0.1(transitive)
- Removedpify@4.0.1(transitive)
- Removedprepend-http@2.0.0(transitive)
- Removedpump@3.0.2(transitive)
- Removedquery-string@5.1.1(transitive)
- Removedresponselike@1.0.2(transitive)
- Removedsemver@5.7.2(transitive)
- Removedsort-keys@2.0.0(transitive)
- Removedstrict-uri-encode@1.1.0(transitive)
- Removedurl-parse-lax@3.0.0(transitive)
Updateddownload@^6.2.5