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.2.0 to 1.2.1

4

lib/error.js

@@ -48,5 +48,5 @@ 'use strict';

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

@@ -53,0 +53,0 @@ module.exports = {

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

@@ -52,6 +53,18 @@ //////////////////////////////////////

////////////////////////////////////////////////////
// Legacy type inspection, to support Node.js < 6.x
function addInspection(type, cb) {
// istanbul ignore else;
if (util.inspect.custom) {
type.prototype[util.inspect.custom] = cb;
} else {
type.prototype.inspect = cb;
}
}
module.exports = {
getEOL,
getIndexPos,
messageGap
messageGap,
addInspection
};
{
"name": "pg-minify",
"version": "1.2.0",
"version": "1.2.1",
"description": "Minifies PostgreSQL scripts.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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