@cloud-cli/cli
Advanced tools
@@ -31,3 +31,3 @@ import { join } from 'node:path'; | ||
| const tools = (settings?.default || {}); | ||
| const pkg = await import(join(process.cwd(), 'package.json'), { assert: { type: 'json' } }); | ||
| const pkg = await import(join(process.cwd(), 'package.json'), { with: { type: 'json' } }); | ||
| const dependencies = pkg.default.dependencies || {}; | ||
@@ -34,0 +34,0 @@ const prefix = '@cloud-cli/'; |
+3
-2
@@ -11,5 +11,6 @@ #!/usr/bin/env node | ||
| const http = new HttpServer(commands, settings); | ||
| await http.start(); | ||
| return await http.start(); | ||
| } | ||
| catch (error) { | ||
| console.error(error); | ||
| process.exit(1); | ||
@@ -20,3 +21,3 @@ } | ||
| if (args[0] == '--serve') { | ||
| serve(); | ||
| await serve(); | ||
| } | ||
@@ -23,0 +24,0 @@ else { |
+1
-1
| { | ||
| "name": "@cloud-cli/cli", | ||
| "version": "2.0.1", | ||
| "version": "2.0.2", | ||
| "description": "CLI for the Cloud CLI project", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
26564
0.15%633
0.16%