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

sql-formatter

Package Overview
Dependencies
Maintainers
2
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sql-formatter - npm Package Compare versions

Comparing version

to
6.1.5

2

lib/core/formatAliasPositions.js

@@ -8,3 +8,3 @@ "use strict";

var _utils = require("src/utils");
var _utils = require("../utils");

@@ -11,0 +11,0 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }

@@ -8,3 +8,3 @@ "use strict";

var _utils = require("src/utils");
var _utils = require("../utils");

@@ -11,0 +11,0 @@ var _Tokenizer = require("./Tokenizer");

@@ -8,3 +8,3 @@ "use strict";

var _utils = require("src/utils");
var _utils = require("../utils");

@@ -11,0 +11,0 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -8,3 +8,3 @@ "use strict";

var _utils = require("src/utils");
var _utils = require("../utils");

@@ -11,0 +11,0 @@ /**

@@ -10,3 +10,3 @@ "use strict";

var _utils = require("src/utils");
var _utils = require("../utils");

@@ -13,0 +13,0 @@ var _Indentation = _interopRequireDefault(require("./Indentation"));

@@ -10,3 +10,3 @@ "use strict";

var _utils = require("src/utils");
var _utils = require("../utils");

@@ -13,0 +13,0 @@ var regexFactory = _interopRequireWildcard(require("./regexFactory"));

@@ -8,3 +8,3 @@ "use strict";

var _utils = require("src/utils");
var _utils = require("../utils");

@@ -11,0 +11,0 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -10,9 +10,9 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _token = require("src/core/token");
var _token = require("../core/token");
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -19,0 +19,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,7 +10,7 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -17,0 +17,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,7 +10,7 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -17,0 +17,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,9 +10,9 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _token = require("src/core/token");
var _token = require("../core/token");
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -19,0 +19,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,9 +10,9 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _token = require("src/core/token");
var _token = require("../core/token");
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -19,0 +19,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,7 +10,7 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -17,0 +17,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,9 +10,9 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _token = require("src/core/token");
var _token = require("../core/token");
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -19,0 +19,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,7 +10,7 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -17,0 +17,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,7 +10,7 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -17,0 +17,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,9 +10,9 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _token = require("src/core/token");
var _token = require("../core/token");
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -19,0 +19,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,7 +10,7 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -17,0 +17,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,5 +10,5 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));

@@ -15,0 +15,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,7 +10,7 @@ "use strict";

var _Formatter2 = _interopRequireDefault(require("src/core/Formatter"));
var _Formatter2 = _interopRequireDefault(require("../core/Formatter"));
var _Tokenizer = _interopRequireDefault(require("src/core/Tokenizer"));
var _Tokenizer = _interopRequireDefault(require("../core/Tokenizer"));
var _utils = require("src/utils");
var _utils = require("../utils");

@@ -17,0 +17,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -8,27 +8,27 @@ "use strict";

var _bigquery = _interopRequireDefault(require("src/languages/bigquery.formatter"));
var _bigquery = _interopRequireDefault(require("./languages/bigquery.formatter"));
var _db = _interopRequireDefault(require("src/languages/db2.formatter"));
var _db = _interopRequireDefault(require("./languages/db2.formatter"));
var _hive = _interopRequireDefault(require("src/languages/hive.formatter"));
var _hive = _interopRequireDefault(require("./languages/hive.formatter"));
var _mariadb = _interopRequireDefault(require("src/languages/mariadb.formatter"));
var _mariadb = _interopRequireDefault(require("./languages/mariadb.formatter"));
var _mysql = _interopRequireDefault(require("src/languages/mysql.formatter"));
var _mysql = _interopRequireDefault(require("./languages/mysql.formatter"));
var _n1ql = _interopRequireDefault(require("src/languages/n1ql.formatter"));
var _n1ql = _interopRequireDefault(require("./languages/n1ql.formatter"));
var _plsql = _interopRequireDefault(require("src/languages/plsql.formatter"));
var _plsql = _interopRequireDefault(require("./languages/plsql.formatter"));
var _postgresql = _interopRequireDefault(require("src/languages/postgresql.formatter"));
var _postgresql = _interopRequireDefault(require("./languages/postgresql.formatter"));
var _redshift = _interopRequireDefault(require("src/languages/redshift.formatter"));
var _redshift = _interopRequireDefault(require("./languages/redshift.formatter"));
var _spark = _interopRequireDefault(require("src/languages/spark.formatter"));
var _spark = _interopRequireDefault(require("./languages/spark.formatter"));
var _sqlite = _interopRequireDefault(require("src/languages/sqlite.formatter"));
var _sqlite = _interopRequireDefault(require("./languages/sqlite.formatter"));
var _sql = _interopRequireDefault(require("src/languages/sql.formatter"));
var _sql = _interopRequireDefault(require("./languages/sql.formatter"));
var _tsql = _interopRequireDefault(require("src/languages/tsql.formatter"));
var _tsql = _interopRequireDefault(require("./languages/tsql.formatter"));

@@ -35,0 +35,0 @@ var _utils = require("./utils");

@@ -1,2 +0,2 @@

import type { AliasMode } from 'src/types';
import type { AliasMode } from "../types";
import { type Token } from './token';

@@ -3,0 +3,0 @@ export interface TokenStream {

@@ -1,2 +0,2 @@

import type { KeywordCase } from 'src/types';
import type { KeywordCase } from "../types";
import { type Token } from './token';

@@ -3,0 +3,0 @@ export default class AsTokenFactory {

@@ -1,2 +0,2 @@

import type { FormatOptions } from 'src/types';
import type { FormatOptions } from "../types";
/**

@@ -3,0 +3,0 @@ * Creates a string to use for one step of indentation.

@@ -1,2 +0,2 @@

import type { CommaPosition } from 'src/types';
import type { CommaPosition } from "../types";
/**

@@ -3,0 +3,0 @@ * Handles comma placement - either before, after or tabulated

@@ -1,2 +0,2 @@

import type { FormatOptions } from 'src/types';
import type { FormatOptions } from "../types";
import Tokenizer from './Tokenizer';

@@ -3,0 +3,0 @@ /** Main formatter class that produces a final output string from list of tokens */

@@ -1,2 +0,2 @@

import type { FormatOptions } from 'src/types';
import type { FormatOptions } from "../types";
import Params from './Params';

@@ -3,0 +3,0 @@ import { type Token } from './token';

@@ -1,2 +0,2 @@

import type { IndentStyle } from 'src/types';
import type { IndentStyle } from "../types";
/**

@@ -3,0 +3,0 @@ * When tabular style enabled,

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class BigQueryFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class Db2Formatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class HiveFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class MariaDbFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class MySqlFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class N1qlFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class PlSqlFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class PostgreSqlFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class RedshiftFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class SparkFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class SqlFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import { type StringPatternType } from 'src/core/regexFactory';
import Tokenizer from 'src/core/Tokenizer';
import Formatter from "../core/Formatter";
import { type StringPatternType } from "../core/regexFactory";
import Tokenizer from "../core/Tokenizer";
export default class SqliteFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,4 +0,4 @@

import Formatter from 'src/core/Formatter';
import Tokenizer from 'src/core/Tokenizer';
import { type StringPatternType } from 'src/core/regexFactory';
import Formatter from "../core/Formatter";
import Tokenizer from "../core/Tokenizer";
import { type StringPatternType } from "../core/regexFactory";
export default class TSqlFormatter extends Formatter {

@@ -5,0 +5,0 @@ static stringTypes: StringPatternType[];

@@ -1,14 +0,14 @@

import BigQueryFormatter from 'src/languages/bigquery.formatter';
import Db2Formatter from 'src/languages/db2.formatter';
import HiveFormatter from 'src/languages/hive.formatter';
import MariaDbFormatter from 'src/languages/mariadb.formatter';
import MySqlFormatter from 'src/languages/mysql.formatter';
import N1qlFormatter from 'src/languages/n1ql.formatter';
import PlSqlFormatter from 'src/languages/plsql.formatter';
import PostgreSqlFormatter from 'src/languages/postgresql.formatter';
import RedshiftFormatter from 'src/languages/redshift.formatter';
import SparkFormatter from 'src/languages/spark.formatter';
import SqliteFormatter from 'src/languages/sqlite.formatter';
import SqlFormatter from 'src/languages/sql.formatter';
import TSqlFormatter from 'src/languages/tsql.formatter';
import BigQueryFormatter from "./languages/bigquery.formatter";
import Db2Formatter from "./languages/db2.formatter";
import HiveFormatter from "./languages/hive.formatter";
import MariaDbFormatter from "./languages/mariadb.formatter";
import MySqlFormatter from "./languages/mysql.formatter";
import N1qlFormatter from "./languages/n1ql.formatter";
import PlSqlFormatter from "./languages/plsql.formatter";
import PostgreSqlFormatter from "./languages/postgresql.formatter";
import RedshiftFormatter from "./languages/redshift.formatter";
import SparkFormatter from "./languages/spark.formatter";
import SqliteFormatter from "./languages/sqlite.formatter";
import SqlFormatter from "./languages/sql.formatter";
import TSqlFormatter from "./languages/tsql.formatter";
import type { FormatOptions } from './types';

@@ -15,0 +15,0 @@ export declare const formatters: {

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../src/sqlFormatter";
/**

@@ -3,0 +3,0 @@ * Shared tests for MySQL and MariaDB

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../src/sqlFormatter";
/**

@@ -3,0 +3,0 @@ * Core tests for all SQL formatters

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsAlterTable(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsAlterTableModify(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsArray(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsBetween(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsCase(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
interface CommentsConfig {

@@ -3,0 +3,0 @@ hashComments?: boolean;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsConstraints(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsCreateTable(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsDeleteFrom(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
declare type Options = {

@@ -3,0 +3,0 @@ without?: string[];

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsNumbers(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsOperators(format: FormatFn, operators: string[], logicalOperators?: string[]): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsReturning(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsSchema(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsStrings(format: FormatFn, stringTypes: string[]): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsAliasAs(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsCommaPosition(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsExpressionWidth(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsIndentStyle(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsKeywordCase(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsLinesBetweenQueries(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsLogicalOperatorNewline(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsMultilineLists(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsNewlineBeforeParen(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsNewlineBeforeSemicolon(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
interface ParamsTypes {

@@ -3,0 +3,0 @@ indexed?: ('?' | '$')[];

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsTabulateAlias(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsTabWidth(format: FormatFn): void;

@@ -1,2 +0,2 @@

import { FormatFn } from 'src/sqlFormatter';
import { FormatFn } from "../../src/sqlFormatter";
export default function supportsUseTabs(format: FormatFn): void;
{
"name": "sql-formatter",
"version": "6.1.4",
"version": "6.1.5",
"description": "Format whitespace in a SQL query to make it more readable",

@@ -71,4 +71,4 @@ "license": "MIT",

"git:changes": "git diff --name-only --diff-filter d | xargs",
"ts:check": "tsc --noEmit",
"ts:changes": "tsc --noEmit --incremental",
"ts:check": "ttsc --noEmit",
"ts:changes": "ttsc --noEmit --incremental",
"lint": "eslint --cache .",

@@ -85,3 +85,3 @@ "lint:changes": "sh -c eslint --cache $(yarn git:changes)",

"build:commonjs:babel": "babel src --out-dir lib --extensions .ts --source-maps",
"build:commonjs:tsc": "tsc --module commonjs --emitDeclarationOnly --isolatedModules",
"build:commonjs:tsc": "ttsc --module commonjs --emitDeclarationOnly --isolatedModules",
"build:commonjs": "npm-run-all --parallel build:commonjs:babel build:commonjs:tsc",

@@ -114,2 +114,3 @@ "build:umd": "webpack --config webpack.dev.js",

"@typescript-eslint/parser": "^5.21.0",
"@zerollup/ts-transform-paths": "^1.7.18",
"babel-eslint": "^10.1.0",

@@ -119,2 +120,3 @@ "babel-jest": "^28.0.2",

"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-module-resolver": "^4.1.0",
"dedent-js": "^1.0.1",

@@ -134,2 +136,3 @@ "eslint": "^8.14.0",

"ts-loader": "^9.2.6",
"ttypescript": "^1.5.13",
"typescript": "^4.3.5",

@@ -136,0 +139,0 @@ "webpack": "^5.64.1",

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