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

db-auto

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

db-auto - npm Package Compare versions

Comparing version 0.0.28 to 0.0.29

13

dist/src/cli.js

@@ -86,2 +86,3 @@ "use strict";

.command('mocks')
.description("Create table sql for the tables")
.arguments('[tables...]')

@@ -93,3 +94,3 @@ .action((tables, command, options) => {

});
const envs = program.command('envs')
const envs = program.command('envs').description("Lists all the environments")
.action((command, options) => {

@@ -104,3 +105,9 @@ const envAndNameOrErrors = (0, environments_1.currentEnvironment)(cwd, config.environments, options.env);

});
const env = program.command('env')
const status = program.command('status').description("Checks that the environments are accessible and gives report")
.action((command, options) => __awaiter(this, void 0, void 0, function* () {
const status = yield (0, environments_1.checkStatus)(config.environments);
(0, utils_1.toColumns)(environments_1.statusColDefn)(Object.values(status)).forEach(line => console.log(line));
// console.log ( JSON.stringify ( status, null, 2 ) )
}));
const env = program.command('env').description("Sets the current environment")
.arguments('<env>')

@@ -115,3 +122,3 @@ .action((env, command, options) => {

});
const tables = program.command('tables')
const tables = program.command('tables').description("Lists the known tables")
.action((command, options) => {

@@ -118,0 +125,0 @@ (0, tables_1.prettyPrintTables)(config.tables).forEach(line => console.log(line));

@@ -134,1 +134,7 @@ "use strict";

});
describe("status", () => {
it("should return status", () => __awaiter(void 0, void 0, void 0, function* () {
const expected = (0, files_1.readTestFile)(mockTestDir, 'status.expected.txt');
expect(yield (0, integration_fixture_1.executeDbAuto)(mockTestDir, `status`)).toEqual(expected);
}));
});
{
"name": "db-auto",
"description": "",
"version": "0.0.28",
"version": "0.0.29",
"main": "dist/index",

@@ -24,10 +24,10 @@ "types": "dist/index",

"commander": "^10.0.0",
"@db-auto/oracle": "0.0.28",
"@db-auto/mysql": "0.0.28",
"@db-auto/postgres": "0.0.28",
"@db-auto/tables": "0.0.28",
"@db-auto/utils": "0.0.28",
"@db-auto/files": "0.0.28",
"@db-auto/mocks": "0.0.28",
"@db-auto/environments": "0.0.28"
"@db-auto/oracle": "0.0.29",
"@db-auto/mysql": "0.0.29",
"@db-auto/postgres": "0.0.29",
"@db-auto/tables": "0.0.29",
"@db-auto/utils": "0.0.29",
"@db-auto/files": "0.0.29",
"@db-auto/mocks": "0.0.29",
"@db-auto/environments": "0.0.29"
},

@@ -34,0 +34,0 @@ "devDependencies": {

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