You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@dotenv/cli

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotenv/cli - npm Package Compare versions

Comparing version

to
2.2.2

lib/services/deprecation-service.d.ts

5

lib/commands/new.js

@@ -5,8 +5,7 @@ "use strict";

const append_to_gitignore_service_1 = require("../services/append-to-gitignore-service");
const check_latest_version_service_1 = require("../services/check-latest-version-service");
const output_new_project_link_service_1 = require("../services/output-new-project-link-service");
const deprecation_service_1 = require("../services/deprecation-service");
class New extends command_1.Command {
async run() {
// 0. check latest version
await new check_latest_version_service_1.CheckLatestVersionService().run();
new deprecation_service_1.DeprecationService().run('new');
// 1. create gitignore

@@ -13,0 +12,0 @@ new append_to_gitignore_service_1.AppendToGitignoreService().run();

@@ -7,8 +7,7 @@ "use strict";

const pull_service_1 = require("../services/pull-service");
const check_latest_version_service_1 = require("../services/check-latest-version-service");
const deprecation_service_1 = require("../services/deprecation-service");
class Pull extends command_1.Command {
async run() {
const { argv, flags } = this.parse(Pull);
// 0. check latest version
await new check_latest_version_service_1.CheckLatestVersionService().run();
new deprecation_service_1.DeprecationService().run('pull');
// 1. create gitignore

@@ -15,0 +14,0 @@ await new append_to_gitignore_service_1.AppendToGitignoreService().run();

@@ -8,8 +8,7 @@ "use strict";

const push_service_1 = require("../services/push-service");
const check_latest_version_service_1 = require("../services/check-latest-version-service");
const deprecation_service_1 = require("../services/deprecation-service");
class Push extends command_1.Command {
async run() {
const { argv, flags } = this.parse(Push);
// 0. check latest version
await new check_latest_version_service_1.CheckLatestVersionService().run();
new deprecation_service_1.DeprecationService().run('push');
// 1. create gitignore

@@ -16,0 +15,0 @@ await new append_to_gitignore_service_1.AppendToGitignoreService().run();

@@ -6,8 +6,7 @@ "use strict";

const setup_service_1 = require("../services/setup-service");
const check_latest_version_service_1 = require("../services/check-latest-version-service");
const deprecation_service_1 = require("../services/deprecation-service");
class Setup extends command_1.Command {
async run() {
const { argv } = this.parse(Setup);
// 0. check latest version
await new check_latest_version_service_1.CheckLatestVersionService().run();
new deprecation_service_1.DeprecationService().run('new');
// 1. create gitignore

@@ -14,0 +13,0 @@ await new append_to_gitignore_service_1.AppendToGitignoreService().run();

2

oclif.manifest.json

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

{"version":"2.2.1","commands":{"new":{"id":"new","description":"create .env.project file","pluginName":"@dotenv/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"pull":{"id":"pull","description":"pull .env","pluginName":"@dotenv/cli","pluginType":"core","aliases":[],"flags":{"dotenv_me":{"name":"dotenv_me","type":"option","char":"m","description":"pass value for .env.me rather than reading from .env.me file","hidden":false,"required":false}},"args":[{"name":"environment","description":"Pull .env.ci, .env.staging, and .env.production","required":false,"options":["development","ci","staging","production"],"default":"development","hidden":false},{"name":"filename","description":"Set output filename. Defaults to .env for development and .env.{environment} for other environments","required":false,"hidden":false}]},"push":{"id":"push","description":"push .env","pluginName":"@dotenv/cli","pluginType":"core","aliases":[],"flags":{"dotenv_me":{"name":"dotenv_me","type":"option","char":"m","description":"pass value for .env.me rather than reading from .env.me file","hidden":false,"required":false}},"args":[{"name":"filename","description":"Set input filename. Defaults to .env for development and .env.{environment} for other environments","required":false,"hidden":false}]},"setup":{"id":"setup","description":"set up .env, .env.project, and .env.me","pluginName":"@dotenv/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"dotenv_project","description":"Uniquely identifies the project","required":true},{"name":"dotenv_me","description":"Uniquely authorizes you to access this project's .env file","required":true}]}}}
{"version":"2.2.2","commands":{"new":{"id":"new","description":"create .env.project file","pluginName":"@dotenv/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"pull":{"id":"pull","description":"pull .env","pluginName":"@dotenv/cli","pluginType":"core","aliases":[],"flags":{"dotenv_me":{"name":"dotenv_me","type":"option","char":"m","description":"pass value for .env.me rather than reading from .env.me file","hidden":false,"required":false}},"args":[{"name":"environment","description":"Pull .env.ci, .env.staging, and .env.production","required":false,"options":["development","ci","staging","production"],"default":"development","hidden":false},{"name":"filename","description":"Set output filename. Defaults to .env for development and .env.{environment} for other environments","required":false,"hidden":false}]},"push":{"id":"push","description":"push .env","pluginName":"@dotenv/cli","pluginType":"core","aliases":[],"flags":{"dotenv_me":{"name":"dotenv_me","type":"option","char":"m","description":"pass value for .env.me rather than reading from .env.me file","hidden":false,"required":false}},"args":[{"name":"filename","description":"Set input filename. Defaults to .env for development and .env.{environment} for other environments","required":false,"hidden":false}]},"setup":{"id":"setup","description":"set up .env, .env.project, and .env.me","pluginName":"@dotenv/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"dotenv_project","description":"Uniquely identifies the project","required":true},{"name":"dotenv_me","description":"Uniquely authorizes you to access this project's .env file","required":true}]}}}
{
"name": "@dotenv/cli",
"description": "CLI to interact with dotenv",
"version": "2.2.1",
"version": "2.2.2",
"author": "motdotla @motdotla",

@@ -6,0 +6,0 @@ "bin": {

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

<p align="center">
<strong>Warning ⚠️</strong><br/>This CLI is deprecated. Please use the new and improved <a href="https://github.com/dotenv-org/dotenv-vault">dotenv-vault cli</a>.</a>
</p>
# @dotenv/cli

@@ -2,0 +6,0 @@