{"_id":"@sqltools/formatter","_rev":"2934504","name":"@sqltools/formatter","description":"Formats SQL queries. Part of SQLTools","dist-tags":{"beta":"1.2.5","latest":"1.2.5"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"time":{"modified":"2023-03-29T06:00:47.000Z","created":"2019-03-21T15:04:20.642Z","1.2.5":"2022-10-16T16:10:43.947Z","1.2.3":"2021-03-21T03:40:19.332Z","1.2.2":"2020-06-07T21:38:36.838Z","1.2.1":"2020-06-05T22:44:52.117Z","1.2.0":"2020-05-12T17:31:42.264Z","1.1.1":"2019-08-04T18:04:32.766Z","1.1.0":"2019-08-04T18:02:54.824Z","1.0.3":"2019-04-29T12:39:45.678Z","1.0.2":"2019-04-06T06:07:34.106Z","1.0.1":"2019-04-06T06:07:06.260Z","1.0.0":"2019-04-04T02:12:11.842Z","0.1.0":"2019-03-22T01:52:41.496Z","0.0.0":"2019-03-21T15:04:20.642Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/mtxr/vscode-sqltools.git","directory":"packages/formatter"},"versions":{"1.2.5":{"name":"@sqltools/formatter","version":"1.2.5","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"./lib/sqlFormatter.js","types":"./lib/sqlFormatter.d.ts","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>"],"scripts":{"test:tsc":"tsc --noEmit -p ./tsconfig.json --skipLibCheck","clean":"rimraf lib dist *.tgz","test":"jest --config jest.config.js","test:watch":"yarn run test -- --watch","check":"yarn run test","precompile":"yarn run check && yarn run clean","compile":"tsc -p ./tsconfig.json","build":"yarn run compile","prepare":"yarn run build","prepack":"yarn run build","release":"npm pack && npm publish *.tgz --tag latest --access public","beta":"npm pack && npm publish *.tgz --tag beta --access public","tag":"git tag  formatter/$(node -e 'console.log(require(\"./package.json\").version)')"},"repository":{"type":"git","url":"git+https://github.com/mtxr/vscode-sqltools.git","directory":"packages/formatter"},"bugs":{"url":"https://github.com/mtxr/vscode-sqltools/labels/formatting"},"devDependencies":{"@types/jest":"^24.0.11","dedent-js":"^1.0.1","jest":"^26.6.3","jest-cli":"^26.6.3","ts-jest":"^26.5.4","rimraf":"^3.0.0","typescript":"~4.8.3"},"_resolved":"","_integrity":"","_from":"file:sqltools-formatter-1.2.5.tgz","homepage":"https://github.com/mtxr/vscode-sqltools#readme","_id":"@sqltools/formatter@1.2.5","_nodeVersion":"16.15.0","_npmVersion":"6.14.6","dist":{"shasum":"3abc203c79b8c3e90fd6c156a0c62d5403520e12","size":16563,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-1.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-1.2.5.tgz"},"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_1.2.5_1665936643727_0.32493421879712736"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-16T16:46:46.922Z","publish_time":1665936643947,"_cnpm_publish_time":1665936643947},"1.2.3":{"name":"@sqltools/formatter","version":"1.2.3","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"./lib/sqlFormatter.js","types":"./lib/sqlFormatter.d.ts","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>"],"scripts":{"clean":"rimraf lib dist *.tgz","test":"jest --config jest.config.js","test:watch":"yarn run test -- --watch","check":"yarn run test","precompile":"yarn run check && yarn run clean","compile":"tsc -p tsconfig.json","build":"yarn run compile","prepare":"yarn run build","prepack":"yarn run build","release":"npm pack && npm publish *.tgz --tag latest --access public","beta":"npm pack && npm publish *.tgz --tag beta --access public"},"repository":{"type":"git","url":"git+https://github.com/mtxr/vscode-sqltools.git","directory":"packages/formatter"},"bugs":{"url":"https://github.com/mtxr/vscode-sqltools/labels/formatting"},"devDependencies":{"@types/jest":"^24.0.11","dedent-js":"^1.0.1","jest":"^24.7.0","jest-cli":"^24.7.0","rimraf":"^3.0.0","ts-jest":"^24.0.1","typescript":"^3.4.1"},"_resolved":"","_integrity":"","_from":"file:sqltools-formatter-1.2.3.tgz","homepage":"https://github.com/mtxr/vscode-sqltools#readme","_id":"@sqltools/formatter@1.2.3","_nodeVersion":"10.20.1","_npmVersion":"6.14.8","dist":{"shasum":"1185726610acc37317ddab11c3c7f9066966bd20","size":16166,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-1.2.3.tgz"},"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_1.2.3_1616298019092_0.5783240373547065"},"_hasShrinkwrap":false,"publish_time":1616298019332,"_cnpm_publish_time":1616298019332,"_cnpmcore_publish_time":"2021-12-16T16:24:34.003Z"},"1.2.2":{"name":"@sqltools/formatter","version":"1.2.2","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"./lib/sqlFormatter.js","types":"./lib/index.d.ts","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>"],"scripts":{"clean":"rimraf lib dist *.tgz","test":"jest --config jest.config.js","test:watch":"yarn run test -- --watch","check":"yarn run test","precompile":"yarn run check && yarn run clean","compile":"tsc -p tsconfig.json","build":"yarn run compile","prepare":"yarn run build","prepack":"yarn run build","release":"npm pack && npm publish *.tgz --latest"},"repository":{"type":"git","url":"git+https://github.com/mtxr/vscode-sqltools.git","directory":"packages/formatter"},"bugs":{"url":"https://github.com/mtxr/vscode-sqltools/labels/formatting"},"devDependencies":{"@types/jest":"^24.0.11","dedent-js":"^1.0.1","jest":"^24.7.0","jest-cli":"^24.7.0","rimraf":"^3.0.0","ts-jest":"^24.0.1","typescript":"^3.4.1"},"_resolved":"","_integrity":"","_from":"file:sqltools-formatter-1.2.2.tgz","homepage":"https://github.com/mtxr/vscode-sqltools#readme","_id":"@sqltools/formatter@1.2.2","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"dist":{"shasum":"9390a8127c0dcba61ebd7fdcc748655e191bdd68","size":16010,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-1.2.2.tgz"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_1.2.2_1591565916727_0.5954188170348298"},"_hasShrinkwrap":false,"publish_time":1591565916838,"_cnpm_publish_time":1591565916838,"_cnpmcore_publish_time":"2021-12-16T16:24:34.196Z"},"1.2.1":{"name":"@sqltools/formatter","version":"1.2.1","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"lib/sqlFormatter.js","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>"],"scripts":{"clean":"rimraf lib dist","test":"jest --config jest.config.js","test:watch":"yarn run test -- --watch","check":"yarn run test","precompile":"yarn run check && yarn run clean","compile":"tsc -p tsconfig.json","build":"yarn run compile","prepare":"yarn run build","prepack":"yarn run build","release":"npm pack && npm publish *.tgz --latest"},"repository":{"type":"git","url":"git+https://github.com/mtxr/vscode-sqltools.git","directory":"packages/formatter"},"bugs":{"url":"https://github.com/mtxr/vscode-sqltools/labels/formatting"},"devDependencies":{"@types/jest":"^24.0.11","dedent-js":"^1.0.1","jest":"^24.7.0","jest-cli":"^24.7.0","rimraf":"^3.0.0","ts-jest":"^24.0.1","typescript":"^3.4.1"},"_resolved":"","_integrity":"","_from":"file:sqltools-formatter-1.2.1.tgz","homepage":"https://github.com/mtxr/vscode-sqltools#readme","_id":"@sqltools/formatter@1.2.1","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"shasum":"2b90b359a1d2ed578f41316787e4a074e0feb765","size":21233,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-1.2.1.tgz"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_1.2.1_1591397091956_0.7361514272068959"},"_hasShrinkwrap":false,"publish_time":1591397092117,"_cnpm_publish_time":1591397092117,"_cnpmcore_publish_time":"2021-12-16T16:24:34.407Z"},"1.2.0":{"name":"@sqltools/formatter","version":"1.2.0","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"lib/sqlFormatter.js","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>"],"scripts":{"clean":"rimraf lib dist","test":"jest --config jest.config.js","test:watch":"yarn run test -- --watch","check":"yarn run test","precompile":"yarn run check && yarn run clean","compile":"./node_modules/.bin/tsc -p tsconfig.json","build":"yarn run compile"},"repository":{"type":"git","url":"https://github.com/mtxr/vscode-sqltools.git","directory":"packages/formatter"},"bugs":{"url":"https://github.com/mtxr/sqltools-formatter/issues"},"dependencies":{"lodash":"^4.17.11"},"devDependencies":{"@types/jest":"^24.0.11","dedent-js":"^1.0.1","husky":"^3.0.3","jest":"^24.7.0","jest-cli":"^24.7.0","rimraf":"^3.0.0","ts-jest":"^24.0.1","typescript":"^3.4.1"},"husky":{"hooks":{"pre-commit":"yarn test"}},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2019-present Matheus Teixeira\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@sqltools/formatter@1.2.0","dist":{"shasum":"a9991420f86915cb4491a78ba52f531a8ba1ff43","size":20432,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-1.2.0.tgz"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_1.2.0_1589304702172_0.9201566486191701"},"_hasShrinkwrap":false,"publish_time":1589304702264,"_cnpm_publish_time":1589304702264,"_cnpmcore_publish_time":"2021-12-16T16:24:34.622Z"},"1.1.1":{"name":"@sqltools/formatter","version":"1.1.1","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"lib/sqlFormatter.js","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>","Rene Saarsoo","Uku Pattak"],"scripts":{"clean":"rimraf lib dist","test":"jest --config jest.config.js","test:watch":"yarn run test -- --watch","check":"yarn run test","precompile":"yarn run check && yarn run clean","compile":"./node_modules/.bin/tsc -p tsconfig.json","build":"yarn run compile"},"repository":{"type":"git","url":"https://github.com/mtxr/sqltools-formatter.git"},"bugs":{"url":"https://github.com/mtxr/sqltools-formatter/issues"},"dependencies":{"lodash":"^4.17.11"},"devDependencies":{"@types/jest":"^24.0.11","husky":"^3.0.0","jest":"^24.7.0","jest-cli":"^24.7.0","rimraf":"^2.6.3","ts-jest":"^24.0.1","typescript":"^3.4.1"},"husky":{"hooks":{"pre-commit":"yarn test"}},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2019-present Matheus Teixeira\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@sqltools/formatter@1.1.1","dist":{"shasum":"9d549eec42bfa57d2b6f2e2be2d8135d5dc4d8be","size":1720,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-1.1.1.tgz"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_1.1.1_1564941872640_0.7585745855354311"},"_hasShrinkwrap":false,"publish_time":1564941872766,"_cnpm_publish_time":1564941872766,"_cnpmcore_publish_time":"2021-12-16T16:24:34.921Z"},"1.1.0":{"name":"@sqltools/formatter","version":"1.1.0","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"lib/sqlFormatter.js","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>","Rene Saarsoo","Uku Pattak"],"scripts":{"clean":"rimraf lib dist","test":"jest --config jest.config.js","test:watch":"yarn run test -- --watch","check":"yarn run test","precompile":"yarn run check && yarn run clean","compile":"./node_modules/.bin/tsc -p tsconfig.json","build":"yarn run compile"},"repository":{"type":"git","url":"https://github.com/mtxr/sqltools-formatter.git"},"bugs":{"url":"https://github.com/mtxr/sqltools-formatter/issues"},"dependencies":{"lodash":"^4.17.11"},"devDependencies":{"@types/jest":"^24.0.11","husky":"^3.0.0","jest":"^24.7.0","jest-cli":"^24.7.0","rimraf":"^2.6.3","ts-jest":"^24.0.1","typescript":"^3.4.1"},"husky":{"hooks":{"pre-commit":"yarn test"}},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2019-present Matheus Teixeira\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@sqltools/formatter@1.1.0","dist":{"shasum":"bfb3a2ff82c7b789e99264bfa4604f40fd6be6ac","size":1717,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-1.1.0.tgz"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_1.1.0_1564941774674_0.2636334741970494"},"_hasShrinkwrap":false,"publish_time":1564941774824,"_cnpm_publish_time":1564941774824,"_cnpmcore_publish_time":"2021-12-16T16:24:35.139Z"},"1.0.3":{"name":"@sqltools/formatter","version":"1.0.3","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"lib/sqlFormatter.js","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>","Rene Saarsoo","Uku Pattak"],"scripts":{"clean":"rimraf lib dist","test":"jest --config jest.config.js","test:watch":"yarn run test -- --watch","check":"yarn run test","precompile":"yarn run check && yarn run clean","compile":"./node_modules/.bin/tsc -p tsconfig.json","build":"yarn run compile"},"repository":{"type":"git","url":"https://github.com/mtxr/sqltools-formatter.git"},"bugs":{"url":"https://github.com/mtxr/sqltools-formatter/issues"},"dependencies":{"lodash":"^4.17.11"},"devDependencies":{"@types/jest":"^24.0.11","husky":"^2.0.0","jest":"^24.7.0","jest-cli":"^24.7.0","rimraf":"^2.6.3","ts-jest":"^24.0.1","typescript":"^3.4.1"},"husky":{"hooks":{"pre-commit":"yarn test"}},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2016-present ZeroTurnaround LLC\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@sqltools/formatter@1.0.3","dist":{"shasum":"9260b6655acb61abb9f18994106d65283e748043","size":18967,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-1.0.3.tgz"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_1.0.3_1556541585560_0.8124927301783622"},"_hasShrinkwrap":false,"publish_time":1556541585678,"_cnpm_publish_time":1556541585678,"_cnpmcore_publish_time":"2021-12-16T16:24:35.369Z"},"1.0.2":{"name":"@sqltools/formatter","version":"1.0.2","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"lib/sqlFormatter.js","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>","Rene Saarsoo","Uku Pattak"],"scripts":{"clean":"rimraf lib dist","test":"jest --config jest.config.js","test:watch":"yarn run test -- --watch","check":"yarn run test","precompile":"yarn run check && yarn run clean","compile":"./node_modules/.bin/tsc -p tsconfig.json","build":"yarn run compile"},"repository":{"type":"git","url":"https://github.com/mtxr/sqltools-formatter.git"},"bugs":{"url":"https://github.com/mtxr/sqltools-formatter/issues"},"dependencies":{"lodash":"^4.17.11"},"devDependencies":{"@types/jest":"^24.0.11","husky":"^1.3.1","jest":"^24.7.0","jest-cli":"^24.7.0","rimraf":"^2.6.3","ts-jest":"^24.0.1","typescript":"^3.4.1"},"husky":{"hooks":{"pre-commit":"yarn test"}},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2016-present ZeroTurnaround LLC\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@sqltools/formatter@1.0.2","dist":{"shasum":"30abe4d861b6e5f60880ecb1f5ca8ce6d8450a47","size":18970,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-1.0.2.tgz"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_1.0.2_1554530853970_0.8181041887100022"},"_hasShrinkwrap":false,"publish_time":1554530854106,"_cnpm_publish_time":1554530854106,"_cnpmcore_publish_time":"2021-12-16T16:24:35.573Z"},"1.0.1":{"name":"@sqltools/formatter","version":"1.0.1","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"lib/sqlFormatter.js","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>","Rene Saarsoo","Uku Pattak"],"scripts":{"clean":"rimraf lib dist","test":"jest --config jest.config.js","test:watch":"yarn run test -- --watch","check":"yarn run test","precompile":"yarn run check && yarn run clean","compile":"./node_modules/.bin/tsc -p tsconfig.json","build":"yarn run compile"},"repository":{"type":"git","url":"https://github.com/mtxr/sqltools-formatter.git"},"bugs":{"url":"https://github.com/mtxr/sqltools-formatter/issues"},"dependencies":{"lodash":"^4.17.11"},"devDependencies":{"@types/jest":"^24.0.11","husky":"^1.3.1","jest":"^24.7.0","jest-cli":"^24.7.0","rimraf":"^2.6.3","ts-jest":"^24.0.1","typescript":"^3.4.1"},"husky":{"hooks":{"pre-commit":"yarn test"}},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2016-present ZeroTurnaround LLC\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@sqltools/formatter@1.0.1","dist":{"shasum":"1ccd3795d335ae1b028bae23d3f2e3f5098f532d","size":18970,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-1.0.1.tgz"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_1.0.1_1554530826023_0.5073462657851582"},"_hasShrinkwrap":false,"publish_time":1554530826260,"_cnpm_publish_time":1554530826260,"_cnpmcore_publish_time":"2021-12-16T16:24:35.781Z"},"1.0.0":{"name":"@sqltools/formatter","version":"1.0.0","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"lib/sqlFormatter.js","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>","Rene Saarsoo","Uku Pattak"],"scripts":{"clean":"rimraf lib dist","test":"jest --config jest.config.js","test:watch":"yarn run test -- --watch","check":"yarn run test","precompile":"yarn run check && yarn run clean","compile":"./node_modules/.bin/tsc -p tsconfig.json","build":"yarn run compile"},"repository":{"type":"git","url":"https://github.com/mtxr/sqltools-formatter.git"},"bugs":{"url":"https://github.com/mtxr/sqltools-formatter/issues"},"dependencies":{"lodash":"^4.17.11"},"devDependencies":{"@types/jest":"^24.0.11","husky":"^1.3.1","jest-cli":"^24.7.0","jest":"^24.7.0","ts-jest":"^24.0.1","typescript":"^3.4.1","rimraf":"^2.6.3"},"husky":{"hooks":{"pre-commit":"yarn test"}},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2016-present ZeroTurnaround LLC\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@sqltools/formatter@1.0.0","dist":{"shasum":"0ae9c4e0604dd2ff80da7f2164c074e4073f570c","size":18965,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-1.0.0.tgz"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_1.0.0_1554343931680_0.2661406762215217"},"_hasShrinkwrap":false,"publish_time":1554343931842,"_cnpm_publish_time":1554343931842,"_cnpmcore_publish_time":"2021-12-16T16:24:35.965Z"},"0.1.0":{"name":"@sqltools/formatter","version":"0.1.0","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"lib/sqlFormatter.js","private":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>","Rene Saarsoo","Uku Pattak"],"scripts":{"clean":"rimraf lib dist","lint":"eslint .","test":"jest","test:watch":"npm run test -- --watch","check":"npm run lint && npm run test","build":"npm run build:commonjs","build:commonjs":"babel src --out-dir lib","prepublish":"npm run clean && npm run check && npm run build"},"repository":{"type":"git","url":"https://github.com/mtxr/vscode-sqltools.git"},"bugs":{"url":"https://github.com/mtxr/vscode-sqltools/issues"},"dependencies":{"lodash":"^4.16.0"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.4.0","@babel/preset-env":"^7.4.2","@types/jest":"^24.0.11","babel-eslint":"^10.0.1","babel-jest":"^24.5.0","cross-env":"^5.2.0","eslint":"^5.15.3","jest":"^24.5.0","jest-cli":"^24.5.0","rimraf":"^2.6.3"},"jest":{"roots":["test"],"testRegex":".*Test","collectCoverage":true},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2016-present ZeroTurnaround LLC\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@sqltools/formatter@0.1.0","dist":{"shasum":"982f013a9bfc5a841c479a5ac35747d557dc8610","size":14026,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-0.1.0.tgz"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_0.1.0_1553219561355_0.013749485384645599"},"_hasShrinkwrap":false,"publish_time":1553219561496,"_cnpm_publish_time":1553219561496,"_cnpmcore_publish_time":"2021-12-16T16:24:36.172Z"},"0.0.0":{"name":"@sqltools/formatter","version":"0.0.0","description":"Formats SQL queries. Part of SQLTools","license":"MIT","main":"lib/sqlFormatter.js","private":false,"publishConfig":{"access":"public"},"keywords":["sql","formatter","format","n1ql","whitespaces","sqltools"],"authors":["Matheus Teixeira <matheus@mteixeira.dev>","Rene Saarsoo","Uku Pattak"],"scripts":{"clean":"rimraf lib dist","lint":"eslint .","test":"jest","test:watch":"npm run test -- --watch","check":"npm run lint && npm run test","build":"npm run build:commonjs","build:commonjs":"babel src --out-dir lib","prepublish":"npm run clean && npm run check && npm run build"},"repository":{"type":"git","url":"https://github.com/mtxr/vscode-sqltools.git"},"bugs":{"url":"https://github.com/mtxr/vscode-sqltools/issues"},"dependencies":{"lodash":"^4.16.0"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.4.0","@babel/preset-env":"^7.4.2","@types/jest":"^24.0.11","babel-eslint":"^10.0.1","babel-jest":"^24.5.0","cross-env":"^5.2.0","eslint":"^5.15.3","jest":"^24.5.0","jest-cli":"^24.5.0","rimraf":"^2.6.3"},"jest":{"roots":["test"],"testRegex":".*Test","collectCoverage":true},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2016-present ZeroTurnaround LLC\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@sqltools/formatter@0.0.0","dist":{"shasum":"bf383a7d508aed527fafdec1d0d6a004d41b5014","size":13894,"noattachment":false,"key":"/@sqltools/formatter/-/@sqltools/formatter-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sqltools/formatter/download/@sqltools/formatter-0.0.0.tgz"},"maintainers":[{"name":"gjsjohnmurray","email":""},{"name":"mtxr","email":""}],"_npmUser":{"name":"mtxr","email":"matheus.mtxr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter_0.0.0_1553180660504_0.14137781519845816"},"_hasShrinkwrap":false,"publish_time":1553180660642,"_cnpm_publish_time":1553180660642,"_cnpmcore_publish_time":"2021-12-16T16:24:36.395Z"}},"readme":"# SQLTools Formatter\n\n[![GitHub](https://img.shields.io/github/license/mtxr/vscode-sqltools)](https://github.com/mtxr/vscode-sqltools/blob/dev/LICENSE)\n\n> Forked from [zeroturnaround/sql-formatter](https://zeroturnaround.github.io/sql-formatter/) but with improvements and ported Typescript.\n\nThis package is part of [vscode-sqltools](https://vscode-sqltools.mteixeira.dev/?umd_source=repository&utm_medium=readme&utm_campaign=formatter) extension.\n\n&rarr; Try it online using our **[playground](https://vscode-sqltools.mteixeira.dev/playground/formatter?umd_source=repository&utm_medium=readme&utm_campaign=formatter)**.\n\n## Install\n\nGet the latest version from NPM/Yarn:\n\n```shell\nnpm install @sqltools/formatter\n#\nyarn add @sqltools/formatter\n```\n\n## Usage\n\n```ts\nimport sqlFormatter from '@sqltools/formatter';\n\nconsole.log(sqlFormatter.format('SELECT * FROM table1'));\n```\n\nWill output:\n\n```\nSELECT *\nFROM table1\n```\n\nYou can also pass in configuration options:\n\n```js\nsqlFormatter.format('SELECT *', {\n  language: 'sql',\n  indent: '\\t', // Defaults to two spaces\n});\n```\n\n## Options\n\n| option              | description                                      | type                                                       | default            |\n| ------------------- | ------------------------------------------------ | ---------------------------------------------------------- | ------------------ |\n| language            | Query language, default is Standard SQL          | `sql, n1ql, db2, pl/sql`                                   | `sql`              |\n| indent              | Characters used for indentation                  | `string`                                                   | ` ` (2 spaces)     |\n| reservedWordCase    | How to change the case of reserved words         | `upper`, `lower`, `null`                                   | `null` (no change) |\n| linesBetweenQueries | How many line breaks between queries             | `number` or `'preserve'`                                   | `1`                |\n| params              | Collection of params for placeholder replacement | `object` for name params, `array` for indexed placeholders |                    |\n\n## Changelog\n\n#### v1.2.4\n\n- Support PostgreSQL c-style escape strings in formatter. [#935](https://github.com/mtxr/vscode-sqltools/pull/935) - thanks to [@sivaramasubramanian](https://github.com/sivaramasubramanian).\n- Support PostgreSQL @@ operator in formatter. [#936](https://github.com/mtxr/vscode-sqltools/pull/936) - thanks to [@remlse](https://github.com/remlse).\n\n#### v1.2.3\n\n- Update types path. Thanks to [@sgtpep](https://github.com/sgtpep)\n- Update README.md. Thanks to [@hacker0limbo](https://github.com/hacker0limbo)\n\n#### v1.2.2\n\n- Add playground link and options to README.md\n- Emitting declarations files for usage with Typescript.\n\n#### v1.2.1\n\n- Fixes JSON operators not inserting spaces. Issue [#605](https://github.com/mtxr/vscode-sqltools/issues/605)\n- Fixes Grant type queries. Issue [#460](https://github.com/mtxr/vscode-sqltools/issues/460)\n\n#### v1.2.1\n\n- (Almost) first public version\n","_attachments":{},"homepage":"https://github.com/mtxr/vscode-sqltools#readme","bugs":{"url":"https://github.com/mtxr/vscode-sqltools/labels/formatting"},"license":"MIT"}