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

pgsql-deparser

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pgsql-deparser - npm Package Compare versions

Comparing version 13.1.0 to 13.1.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [13.1.1](https://github.com/pyramation/pgsql-parser/compare/pgsql-deparser@13.1.0...pgsql-deparser@13.1.1) (2021-03-26)
**Note:** Version bump only for package pgsql-deparser
# [13.1.0](https://github.com/pyramation/pgsql-parser/compare/pgsql-deparser@13.0.5...pgsql-deparser@13.1.0) (2021-03-20)

@@ -8,0 +16,0 @@

5

main/utils/index.js

@@ -89,4 +89,7 @@ "use strict";

if (obj.defname === 'as') {
if (obj.arg.List && obj.arg.List.items) {
if (Array.isArray(obj.arg) && obj.arg.length) {
// function
obj.arg[0].String.str = obj.arg[0].String.str.trim();
} else if (obj.arg.List && obj.arg.List.items) {
// function
obj.arg.List.items[0].String.str = obj.arg.List.items[0].String.str.trim();

@@ -93,0 +96,0 @@ } else {

@@ -67,4 +67,7 @@ /* eslint-disable no-restricted-syntax */

if (obj.defname === 'as') {
if (obj.arg.List && obj.arg.List.items) {
if (Array.isArray(obj.arg) && obj.arg.length) {
// function
obj.arg[0].String.str = obj.arg[0].String.str.trim();
} else if (obj.arg.List && obj.arg.List.items) {
// function
obj.arg.List.items[0].String.str = obj.arg.List.items[0].String.str.trim();

@@ -71,0 +74,0 @@ } else {

6

package.json
{
"name": "pgsql-deparser",
"version": "13.1.0",
"version": "13.1.1",
"description": "PostgreSQL AST Deparser",

@@ -68,3 +68,3 @@ "author": "Dan Lynch <pyramation@gmail.com>",

"jest": "^25.1.0",
"pgsql-parser": "^13.1.0",
"pgsql-parser": "^13.1.1",
"prettier": "^2.1.2",

@@ -79,3 +79,3 @@ "regenerator-runtime": "^0.13.2"

},
"gitHead": "63f2e1051407eedb479a83676056ba1ede406e7d"
"gitHead": "c5e0b03c8137c47c7317bbfc1a26ca7e758b0410"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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