New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vgs/netlify-cli-plugin

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vgs/netlify-cli-plugin - npm Package Compare versions

Comparing version

to
0.0.2

2

oclif.manifest.json

@@ -1,1 +0,1 @@

{"version":"0.0.1","commands":{"vgs-auth":{"id":"vgs-auth","description":"Describe the command here\n...\nExtra documentation goes here\n","pluginName":"@vgs/netlify-cli-plugin","pluginType":"core","aliases":[],"flags":{"name":{"name":"name","type":"option","char":"n","description":"name to print"}},"args":[]}}}
{"version":"0.0.2","commands":{"vgs-auth":{"id":"vgs-auth","description":"Describe the command here\n...\nExtra documentation goes here\n","pluginName":"@vgs/netlify-cli-plugin","pluginType":"core","aliases":[],"flags":{"name":{"name":"name","type":"option","char":"n","description":"name to print"}},"args":[]}}}
{
"name": "@vgs/netlify-cli-plugin",
"version": "0.0.1",
"version": "0.0.2",
"author": "Dima Marynych @dmarynych",

@@ -5,0 +5,0 @@ "bugs": "https://github.com/verygoodsecurity/netlify-cli-plugin/issues",

@@ -22,3 +22,3 @@ oclif-plugin-oauth

$ vgs-auth (-v|--version|version)
@vgs/netlify-cli-plugin/0.0.1 darwin-x64 node-v9.11.2
@vgs/netlify-cli-plugin/0.0.2 darwin-x64 node-v9.11.2
$ vgs-auth --help [COMMAND]

@@ -50,3 +50,3 @@ USAGE

_See code: [src/commands/vgs-auth.js](https://github.com/verygoodsecurity/netlify-cli-plugin/blob/v0.0.1/src/commands/vgs-auth.js)_
_See code: [src/commands/vgs-auth.js](https://github.com/verygoodsecurity/netlify-cli-plugin/blob/v0.0.2/src/commands/vgs-auth.js)_
<!-- commandsstop -->
const {Command, flags} = require('@oclif/command')
const fs = require('fs')
const opn = require('opn')
class AuthCommand extends Command {
async run() {
// const {flags} = this.parse(AuthCommand)
// const name = flags.name || 'world'
this.log('vgs auth')
const netlifyConfigBuffer = fs.readFileSync('.netlify/state.json')
const netlifyConfig = JSON.parse(netlifyConfigBuffer.toString('utf8'))
const url = `https://netlify-addon-genpop.verygoodsecurity.io?siteId=${netlifyConfig.siteId}`
opn(url, {wait: false})
}

@@ -9,0 +13,0 @@ }