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 10.0.3 to 10.0.4

2

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

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

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

ifExists?: boolean;
cascade?: boolean;
}

@@ -200,0 +201,0 @@

@@ -18,3 +18,10 @@ import 'mocha';

checkStatement([`DROP TABLE IF EXISTS "Users" CASCADE`], {
type: 'drop table',
name: { name: 'Users' },
ifExists: true,
cascade: true,
});
checkStatement([`drop index test`, `DROP INDEX"test"`], {

@@ -21,0 +28,0 @@ type: 'drop index',

@@ -628,2 +628,5 @@ import { IAstPartialMapper, AstDefaultMapper } from './ast-mapper';

m.tableRef(val.name);
if (val.cascade) {
ret.push(' CASCADE ');
}
},

@@ -630,0 +633,0 @@ dropIndex: val => {

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

ifExists?: boolean;
cascade?: boolean;
}

@@ -131,0 +132,0 @@ export interface DropSequenceStatement extends PGNode {

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

Sorry, the diff of this file is not supported yet

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