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

@ovotech/pg-sql-migrate

Package Overview
Dependencies
Maintainers
121
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ovotech/pg-sql-migrate - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

dist/MigrationsReadable.js

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

const stream_1 = require("stream");
exports.nameParts = (name) => name.split('_', 2);
exports.nameParts = (name) => {
const [first, ...rest] = name.split('_');
return [first, rest.join('_')];
};
class MigrationsReadable extends stream_1.Readable {

@@ -9,0 +12,0 @@ constructor(pg, table, directory) {

2

package.json

@@ -5,3 +5,3 @@ {

"repository": "git@github.com:ovotech/pg-sql-migrate.git",
"version": "2.0.0",
"version": "2.0.1",
"main": "dist/index.js",

@@ -8,0 +8,0 @@ "source": "src/index.ts",

@@ -7,3 +7,6 @@ import { readdirSync, readFileSync } from 'fs';

export const nameParts = (name: string): string[] => name.split('_', 2);
export const nameParts = (name: string): string[] => {
const [first, ...rest] = name.split('_');
return [first, rest.join('_')];
};

@@ -10,0 +13,0 @@ export class MigrationsReadable extends Readable {

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