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

@dotenvx/dotenvx

Package Overview
Dependencies
Maintainers
2
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotenvx/dotenvx - npm Package Compare versions

Comparing version 0.10.4 to 0.10.5

src/cli/actions/prebuild.js

2

package.json
{
"version": "0.10.4",
"version": "0.10.5",
"name": "@dotenvx/dotenvx",

@@ -4,0 +4,0 @@ "description": "a better dotenv–from the creator of `dotenv`",

@@ -76,7 +76,7 @@ #!/usr/bin/env node

// dotenvx predockerbuild
program.command('predockerbuild')
.description('prevent including .env files in docker build')
.addHelpText('after', examples.predockerbuild)
.action(require('./actions/predockerbuild'))
// dotenvx prebuild
program.command('prebuild')
.description('prevent including .env files in docker builds')
.addHelpText('after', examples.prebuild)
.action(require('./actions/prebuild'))

@@ -83,0 +83,0 @@ // dotenvx hub

@@ -69,3 +69,3 @@ const run = function () {

const predockerbuild = function () {
const prebuild = function () {
return `

@@ -75,3 +75,3 @@ Examples:

\`\`\`
$ dotenvx predockerbuild
$ dotenvx prebuild
\`\`\`

@@ -82,4 +82,4 @@

\`\`\`
$ dotenvx predockerbuild
[dotenvx@0.10.0][predockerbuild] success
$ dotenvx prebuild
[dotenvx@0.10.0][prebuild] success
\`\`\`

@@ -93,3 +93,3 @@ `

precommit,
predockerbuild
prebuild
}

@@ -15,11 +15,11 @@ const winston = require('winston')

errorvp: 0,
errorvpd: 0,
errorvpb: 0,
warn: 1,
warnv: 1,
warnvp: 1,
warnvpd: 1,
warnvpb: 1,
success: 2,
successv: 2,
successvp: 2,
successvpd: 2,
successvpb: 2,
info: 2,

@@ -55,4 +55,4 @@ help: 2,

return error(`[dotenvx@${packageJson.version}][precommit] ${formattedMessage}`)
case 'errorvpd':
return error(`[dotenvx@${packageJson.version}][predockerbuild] ${formattedMessage}`)
case 'errorvpb':
return error(`[dotenvx@${packageJson.version}][prebuild] ${formattedMessage}`)
case 'warn':

@@ -64,4 +64,4 @@ return warn(formattedMessage)

return warn(`[dotenvx@${packageJson.version}][precommit] ${formattedMessage}`)
case 'warnvpd':
return warn(`[dotenvx@${packageJson.version}][predockerbuild] ${formattedMessage}`)
case 'warnvpb':
return warn(`[dotenvx@${packageJson.version}][prebuild] ${formattedMessage}`)
case 'success':

@@ -73,4 +73,4 @@ return success(formattedMessage)

return success(`[dotenvx@${packageJson.version}][precommit] ${formattedMessage}`)
case 'successvpd': // success with 'version' and precommit
return success(`[dotenvx@${packageJson.version}][predockerbuild] ${formattedMessage}`)
case 'successvpb': // success with 'version' and precommit
return success(`[dotenvx@${packageJson.version}][prebuild] ${formattedMessage}`)
case 'info':

@@ -77,0 +77,0 @@ return formattedMessage

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