Socket
Socket
Sign inDemoInstall

pg-sql2

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-sql2 - npm Package Compare versions

Comparing version 1.0.0-alpha1.2 to 1.0.0-alpha1.4

14

index.js

@@ -6,8 +6,8 @@ // @flow

if (process.versions.node.match(/^([89]|[1-9][0-9]+)\./)) {
// Modern node, run verbatim
module.exports = require("./src");
} else {
// Older node, run compiled code
module.exports = require("./lib");
}
/*::
// Trick flow into exporting the types
export type * from './src';
*/
const isNode8Plus = process.versions.node.match(/^([89]|[1-9][0-9]+)\./);
module.exports = isNode8Plus ? require("./src") : require("./lib");
{
"name": "pg-sql2",
"version": "1.0.0-alpha1.2",
"version": "1.0.0-alpha1.4",
"description": "Generate safe SQL with tagged template literals",

@@ -58,5 +58,4 @@ "main": "index.js",

"lib",
"index.js",
"index.js.flow"
"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