Socket
Socket
Sign inDemoInstall

pg.js

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg.js - npm Package Compare versions

Comparing version 2.8.2 to 2.8.4

4

lib/types/textParsers.js

@@ -6,3 +6,3 @@ var arrayParser = require(__dirname + "/arrayParser.js");

//TODO this could do w/ a refactor
var dateMatcher = /(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})(\.\d{1,})?/;
var dateMatcher = /(\d{1,})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})(\.\d{1,})?/;

@@ -12,3 +12,3 @@ var match = dateMatcher.exec(isoDate);

if(!match) {
dateMatcher = /^(\d{4})-(\d{2})-(\d{2})$/;
dateMatcher = /^(\d{1,})-(\d{2})-(\d{2})$/;
match = dateMatcher.test(isoDate);

@@ -15,0 +15,0 @@ if(!match) {

{
"name": "pg.js",
"version": "2.8.2",
"version": "2.8.4",
"description": "node-postgres without the bindings",

@@ -5,0 +5,0 @@ "main": "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