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

@vbilopav/pgmigrations

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vbilopav/pgmigrations - npm Package Compare versions

Comparing version 0.15.0 to 0.16.0

2

package.json
{
"name": "@vbilopav/pgmigrations",
"version": "0.15.0",
"version": "0.16.0",
"description": "PostgreSQL Migration Tool for Node.js and NPM",

@@ -5,0 +5,0 @@ "author": "vb-consulting",

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

var defaultconfigFile = "./db.js";
var defaultconfigFile2 = "./pgmigrations.js";
var args = process.argv.slice(2);
var cmd = args[0];
var userConfigs = [defaultconfigFile];
var userConfigs = [defaultconfigFile, defaultconfigFile2];

@@ -37,3 +38,3 @@ const envRegex = /\$\{([^}]+)\}/g;

} else if (userConfigs[i] !== defaultconfigFile) {
} else if (userConfigs[i] !== defaultconfigFile && userConfigs[i] !== defaultconfigFile2) {
warning("Config file not found: " + configFile + ". Please provide a valid config file.");

@@ -103,3 +104,3 @@ }

sections([
{key: '', value: './db.js from the current dir is the default configuration file. It will be ignored if not found.'},
{key: '', value: './db.js or ./pgmigrations.js from the current dir is the default configuration file. It will be ignored if not found.'},
{key: '--config=[file]', value: 'Set the custom config file or multiple files (multiple --config switches). Config files are merged in the order they are provided.'}

@@ -106,0 +107,0 @@ ], 16);

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