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

pg-minify

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-minify - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

4

lib/error.js

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

'use strict';
const EOL = require('os').EOL;

@@ -48,3 +46,3 @@ const utils = require('./utils');

utils.addInspection(SQLParsingError, function () {
utils.addInspection(SQLParsingError.prototype, function () {
return this.toString();

@@ -51,0 +49,0 @@ });

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

'use strict';
const parser = require('./parser');

@@ -4,0 +2,0 @@ const error = require('./error');

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

'use strict';
const errorLib = require('./error');

@@ -4,0 +2,0 @@ const utils = require('./utils');

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

'use strict';
const util = require('util');

@@ -31,10 +29,5 @@

////////////////////////////////////////////////////
// Legacy type inspection, to support Node.js < 6.x
// Type inspection
function addInspection(type, cb) {
// istanbul ignore else;
if (util.inspect.custom) {
type.prototype[util.inspect.custom] = cb;
} else {
type.prototype.inspect = cb;
}
type[util.inspect.custom] = cb;
}

@@ -41,0 +34,0 @@

{
"name": "pg-minify",
"version": "1.5.0",
"version": "1.5.1",
"description": "Minifies PostgreSQL scripts.",

@@ -46,7 +46,7 @@ "main": "lib/index.js",

"coveralls": "3.0.6",
"eslint": "6.1.0",
"eslint": "6.3.0",
"istanbul": "0.4.5",
"jasmine-node": "3.0.0",
"typescript": "3.5.3"
"typescript": "3.6.2"
}
}

@@ -13,4 +13,4 @@ ////////////////////////////////////////

interface IErrorPosition {
line: number,
column: number
line: number;
column: number;
}

@@ -17,0 +17,0 @@

## TypeScript for pg-minify
Complete TypeScript 3.x declarations for the module.
Complete TypeScript 3.x (`strict` mode) declarations for the module.

@@ -5,0 +5,0 @@ ### Inclusion

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