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

pgsql-ast-parser

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pgsql-ast-parser - npm Package Compare versions

Comparing version 4.1.7 to 4.1.8

2

package.json
{
"name": "pgsql-ast-parser",
"version": "4.1.7",
"version": "4.1.8",
"description": "Yet another simple Postgres SQL parser/modifier",

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

@@ -85,3 +85,3 @@ import {compile, keywords} from 'moo';

// ... to add: "IN" and "NOT IN" that are matched by keywords
match: ['>', '>=', '<', '<=', '@>', '<@', '?', '?|', '?&'],
match: ['>', '>=', '<', '<=', '@>', '<@', '?', '?|', '?&', '#>>'],
},

@@ -88,0 +88,0 @@ });

@@ -502,3 +502,3 @@ // import { IType } from '../../interfaces';

export type EqualityOperator = 'IN' | 'NOT IN' | 'LIKE' | 'NOT LIKE' | 'ILIKE' | 'NOT ILIKE' | '=' | '!=';
export type ComparisonOperator = '>' | '>=' | '<' | '<=' | '@>' | '<@' | '?' | '?|' | '?&';
export type ComparisonOperator = '>' | '>=' | '<' | '<=' | '@>' | '<@' | '?' | '?|' | '?&' | '#>>';
export type AdditiveOperator = '||' | '-' | '#-' | '&&' | '+';

@@ -505,0 +505,0 @@ export type MultiplicativeOperator = '*' | '%' | '/';

@@ -231,2 +231,16 @@ import 'mocha';

checkTreeExpr(`a#>>b`, {
type: 'binary',
op: '#>>',
left: {
type: 'ref',
name: 'a',
},
right: {
type: 'ref',
name: 'b',
},
});
checkTreeExpr(`a->>-1`, {

@@ -233,0 +247,0 @@ type: 'member',

@@ -350,3 +350,3 @@ import { nil } from '../utils';

export declare type EqualityOperator = 'IN' | 'NOT IN' | 'LIKE' | 'NOT LIKE' | 'ILIKE' | 'NOT ILIKE' | '=' | '!=';
export declare type ComparisonOperator = '>' | '>=' | '<' | '<=' | '@>' | '<@' | '?' | '?|' | '?&';
export declare type ComparisonOperator = '>' | '>=' | '<' | '<=' | '@>' | '<@' | '?' | '?|' | '?&' | '#>>';
export declare type AdditiveOperator = '||' | '-' | '#-' | '&&' | '+';

@@ -353,0 +353,0 @@ export declare type MultiplicativeOperator = '*' | '%' | '/';

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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