Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postgrade

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postgrade - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

5

libs/postgrade/index.js

@@ -22,3 +22,3 @@ "use strict";

let current = database.base;
database.base = path_1.default.join("bases", "init.db");
database.base = path_1.default.join("bases", `${database.dbname}@${database.owner}.init.db`);
fs_1.default.copyFileSync(current, path_1.default.join(destination, database.base));

@@ -28,3 +28,4 @@ }

let current = setup.filename;
setup.filename = path_1.default.join("setups", `sets-${(index + "").padStart(5, "0")}.sql`);
let basename = path_1.default.basename(current, ".sql");
setup.filename = path_1.default.join("setups", `sets-${(index + "").padStart(5, "0")}-${basename}.sql`);
fs_1.default.copyFileSync(current, path_1.default.join(destination, setup.filename));

@@ -31,0 +32,0 @@ });

@@ -76,3 +76,3 @@ import { DatabaseSetup, Grant, HBA} from "kitres/src/core/database/instance";

let current = database.base;
database.base = Path.join( "bases", "init.db" );
database.base = Path.join( "bases", `${database.dbname}@${database.owner}.init.db` );
fs.copyFileSync( current, Path.join( destination, database.base) );

@@ -83,3 +83,4 @@ }

let current = setup.filename;
setup.filename = Path.join( "setups", `sets-${ (index+"").padStart( 5, "0" ) }.sql` );
let basename = Path.basename( current, ".sql" );
setup.filename = Path.join( "setups", `sets-${ (index+"").padStart( 5, "0" ) }-${basename}.sql` );
fs.copyFileSync( current, Path.join( destination, setup.filename ) );

@@ -86,0 +87,0 @@ });

2

package.json
{
"name": "postgrade",
"version": "1.0.15",
"version": "1.0.16",
"main": "libs/postgrade/index.js",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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