{"_id":"@pgsql/parser","_rev":"17-7955657fe2888b43bcc4036b4b77ce25","name":"@pgsql/parser","dist-tags":{"latest":"1.5.0"},"versions":{"16.0.0":{"name":"@pgsql/parser","version":"16.0.0","keywords":["sql","postgres","postgresql","pg","parser","query","database"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"SEE LICENSE IN LICENSE","_id":"@pgsql/parser@16.0.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/launchql/pgsql-parser","bugs":{"url":"https://github.com/launchql/pgsql-parser/issues"},"bin":{"pgsql-parser":"main/cli.js"},"dist":{"shasum":"0c0a0167dbfebdf6d6e431a54c5f9804d634e62b","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-16.0.0.tgz","fileCount":15,"integrity":"sha512-JesWMS1cy7BUZX1PXzUOUzIly6TxUNKb4qrr21f9Tgpf5nSuZQjSRKk/GyoYtZZfCNj1i004ZaCF0V6Ekfna6A==","signatures":[{"sig":"MEUCIQCjIhKUNRcSuou/vz6srCCqSuy3nWEkXtSjL8l6NVPk+AIgZ4LPSsnNZCk8lYc+hAEtdTLvfs7d48MKuSkUgrfes4U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23956},"jest":{"preset":"ts-jest","transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testPathIgnorePatterns":["main/","module/","types/"],"transformIgnorePatterns":["<rootDir>/node_modules/"]},"main":"main/index.js","module":"module/index.js","gitHead":"7951d7248683a23ee7782b8ff7f204726d0c7646","scripts":{"lint":"eslint .","test":"jest","buidl":"npm run build","build":"npm run build:module && npm run build:main","clean":"rimraf ./types","format":"eslint . --fix","prepare":"npm run build","build:main":"yarn tsc -p tsconfig.json --outDir main --module commonjs","test:debug":"node --inspect node_modules/.bin/jest --runInBand","test:watch":"jest --watch","buidl:clean":"npm run clean && npm run buidl","build:module":"yarn tsc -p tsconfig.json --outDir module --module es2022"},"typings":"types/index.d.ts","_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"git+https://github.com/launchql/pgsql-parser.git","type":"git"},"_npmVersion":"10.5.0","description":"The real PostgreSQL query parser","directories":{"lib":"src","test":"__tests__"},"_nodeVersion":"20.12.0","dependencies":{"minimist":"^1.2.6","libpg-query":"16.1.0","@pgsql/types":"^13.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"glob":"8.0.3","jest":"^29.5.0","eslint":"8.38.0","rimraf":"5.0.5","esprima":"4.0.1","ts-jest":"^29.1.0","ts-node":"10.9.2","prettier":"^2.8.7","typescript":"^5.0.4","@types/jest":"^29.5.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/parser_16.0.0_1712199413861_0.28319553088630856","host":"s3://npm-registry-packages"}},"16.1.0":{"name":"@pgsql/parser","version":"16.1.0","keywords":["sql","postgres","postgresql","pg","parser","query","database"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"SEE LICENSE IN LICENSE","_id":"@pgsql/parser@16.1.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/launchql/pgsql-parser","bugs":{"url":"https://github.com/launchql/pgsql-parser/issues"},"bin":{"pgsql-parser":"main/cli.js"},"dist":{"shasum":"dd2dc1519b5de88386d4a0eca7bb1877d7ab4972","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-16.1.0.tgz","fileCount":15,"integrity":"sha512-KoHgueQp51Y95Se9RNiY41TlxxkjX5jWqdCPeiTD6BgzKAjjC53IJ3OABpa9vSPZm07ro9gcq4pnSuTAJZa9jw==","signatures":[{"sig":"MEUCIAotDQFrJOJHKkKbHtJMyJNEiH8dVEvBTba6BrrnP/i+AiEAl+bxL/hnMgA3yjsN8aFpvWCNIaoUEI8/ZXKuvUJZydw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24013},"jest":{"preset":"ts-jest","transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testPathIgnorePatterns":["main/","module/","types/"],"transformIgnorePatterns":["<rootDir>/node_modules/"]},"main":"main/index.js","module":"module/index.js","gitHead":"f1df82ed4358e47c682e007bc5aa306b58f25514","scripts":{"lint":"eslint .","test":"jest","buidl":"npm run build","build":"npm run build:module && npm run build:main","clean":"rimraf ./types","format":"eslint . --fix","prepare":"npm run build","build:main":"yarn tsc -p tsconfig.json --outDir main --module commonjs","test:debug":"node --inspect node_modules/.bin/jest --runInBand","test:watch":"jest --watch","buidl:clean":"npm run clean && npm run buidl","build:module":"yarn tsc -p tsconfig.json --outDir module --module es2022"},"typings":"types/index.d.ts","_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"git+https://github.com/launchql/pgsql-parser.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v20.12.0+arm64 (darwin)","description":"The real PostgreSQL query parser","directories":{"lib":"src","test":"__tests__"},"_nodeVersion":"20.12.0","dependencies":{"minimist":"^1.2.6","libpg-query":"16.2.0","@pgsql/types":"^13.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"glob":"8.0.3","jest":"^29.5.0","eslint":"8.38.0","rimraf":"5.0.5","esprima":"4.0.1","ts-jest":"^29.1.0","ts-node":"10.9.2","prettier":"^2.8.7","typescript":"^5.0.4","@types/jest":"^29.5.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/parser_16.1.0_1714729777853_0.9379373481111202","host":"s3://npm-registry-packages"}},"16.2.0":{"name":"@pgsql/parser","version":"16.2.0","keywords":["sql","postgres","postgresql","pg","parser","query","database"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"SEE LICENSE IN LICENSE","_id":"@pgsql/parser@16.2.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/launchql/pgsql-parser","bugs":{"url":"https://github.com/launchql/pgsql-parser/issues"},"bin":{"pgsql-parser":"main/cli.js"},"dist":{"shasum":"8aa74534280726db7184a148d4a7fb6a0acd540c","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-16.2.0.tgz","fileCount":15,"integrity":"sha512-fg4N1yFhembDo0zQfl11RT7TH+JY0LQ8c5hJ9Zf7u4lzLcNgeBqt1SCWwDUFP3UeQw12ju4oC6OiF2lHPAznKw==","signatures":[{"sig":"MEYCIQDpidnMvmdRXlUmZH4lSzM/EVlI2LJ/VeOlIkqot+sogwIhAMwZQ7b/gc6SPqQKIrHCOZo9ho+E/h9/iLMLvdaFB2OF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24014},"jest":{"preset":"ts-jest","transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testPathIgnorePatterns":["main/","module/","types/"],"transformIgnorePatterns":["<rootDir>/node_modules/"]},"main":"main/index.js","module":"module/index.js","gitHead":"85346892e652a57e570562fdac7a768545113619","scripts":{"lint":"eslint .","test":"jest","buidl":"npm run build","build":"npm run build:module && npm run build:main","clean":"rimraf ./types","format":"eslint . --fix","prepare":"npm run build","build:main":"yarn tsc -p tsconfig.json --outDir main --module commonjs","test:debug":"node --inspect node_modules/.bin/jest --runInBand","test:watch":"jest --watch","buidl:clean":"npm run clean && npm run buidl","build:module":"yarn tsc -p tsconfig.json --outDir module --module es2022"},"typings":"types/index.d.ts","_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"repository":{"url":"git+https://github.com/launchql/pgsql-parser.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v22.13.1+arm64 (darwin)","description":"The real PostgreSQL query parser","directories":{"lib":"src","test":"__tests__"},"_nodeVersion":"22.13.1","dependencies":{"minimist":"^1.2.6","libpg-query":"16.2.0","@pgsql/types":"^13.10.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"glob":"8.0.3","jest":"^29.5.0","eslint":"8.38.0","rimraf":"5.0.5","esprima":"4.0.1","ts-jest":"^29.1.0","ts-node":"10.9.2","prettier":"^2.8.7","typescript":"^5.0.4","@types/jest":"^29.5.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/parser_16.2.0_1750549874674_0.6562779196775754","host":"s3://npm-registry-packages-npm-production"}},"17.5.0":{"name":"@pgsql/parser","version":"17.5.0","keywords":["sql","postgres","postgresql","pg","query","plpgsql","database"],"author":{"url":"http://github.com/pyramation","name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"LICENSE IN LICENSE","_id":"@pgsql/parser@17.5.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/launchql/libpg-query-node","bugs":{"url":"https://github.com/launchql/libpg-query-node/issues"},"dist":{"shasum":"9b7588933ca77d4321b6ac12b005754823e0c5c7","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-17.5.0.tgz","fileCount":9,"integrity":"sha512-sMkE517Jar0naWJJlR3IwXFmPsHWaohmcVWHa3lgwjo67LikSJNI299xmYJf1xNh2MGqfSze/R+mkZjU2V6j9Q==","signatures":[{"sig":"MEUCICVWjLUt2xvHOfnvvqQN6RLzoyJTDb98j0opSINTBa8HAiEA5BQfebxihr0LCecdPkpauTe0o1SPilgF+3BXMmZhC+s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7591153},"main":"./wasm/index.cjs","module":"./wasm/index.js","gitHead":"5d062ff0e916dcd2b0f40ebaff68dc56da1b7df1","scripts":{"test":"node --test test/parsing.test.js test/deparsing.test.js test/fingerprint.test.js test/normalize.test.js test/plpgsql.test.js test/scan.test.js","build":"pnpm clean; pnpm wasm:build; pnpm build:js","clean":"pnpm wasm:clean && rimraf cjs esm","yamlize":"node ./scripts/yamlize.js","build:js":"node scripts/build.js","protogen":"node ./scripts/protogen.js","wasm:make":"docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk emmake make","wasm:build":"pnpm wasm:make build","wasm:clean":"pnpm wasm:make clean","wasm:rebuild":"pnpm wasm:make rebuild","wasm:clean-cache":"pnpm wasm:make clean-cache"},"typings":"./wasm/index.d.ts","_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"repository":{"url":"git://github.com/launchql/libpg-query-node.git","type":"git"},"_npmVersion":"10.9.2","description":"The real PostgreSQL query parser","directories":{},"_nodeVersion":"22.13.1","dependencies":{"@pgsql/types":"^17.4.2","@launchql/protobufjs":"7.2.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@yamlize/cli":"^0.8.0","@launchql/proto-cli":"1.25.0"},"_npmOperationalInternal":{"tmp":"tmp/parser_17.5.0_1750621027829_0.06476569536355825","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@pgsql/parser","version":"1.0.0","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"MIT","_id":"@pgsql/parser@1.0.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"5873444ad033b079c7bfe45e6c4d4c0adf020f7e","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.0.0.tgz","fileCount":14,"integrity":"sha512-clOjRiq/s4kbt7LmqGJzqMuiq8RVox5bLkfFRKAZUtg9gYTl7Y9tUNaom6n5fiy12PcI1eOpc0wVzNZ5xOa1FA==","signatures":[{"sig":"MEQCIHtphUL4YmfNgZecVIPl9x9cuq8Km/alPVfvlAVgZ+sUAiAFeoqekCJUsVrRE87w99e6soatwWN9FQ/JsdMsM26o4w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16947},"main":"./wasm/index.cjs","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"gitHead":"47cf9759b55d1f1e46e88843e57a41c38bc90564","scripts":{"test":"vitest","build":"pnpm clean && pnpm build:js","clean":"rimraf wasm/*.js wasm/*.cjs wasm/*.d.ts cjs esm","build:js":"node scripts/build.js"},"_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.0.0_1750648604176_0.9195865769457015","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@pgsql/parser","version":"1.0.1","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"MIT","_id":"@pgsql/parser@1.0.1","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"13d6a026c3f97b44250a2e68a3a3657337468af7","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.0.1.tgz","fileCount":51,"integrity":"sha512-+bHKlAcyU4h/HIbVDR4yccJ6454DgReyDtO5SwVwbop6PjwsL8icY7rW5KfWUhZUkNgRcUrnsDszEP7zgEP9DA==","signatures":[{"sig":"MEYCIQCERMS+j2v6CNgx1mUMkBasOj2qPsJASL8LfdOBnn5BPAIhAKhXnX136YbDQDV60dz8IhnLZaPcsfMuxWooV7V5NPje","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5119595},"main":"./wasm/index.cjs","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v13":{"types":"./wasm/v13.d.ts","import":"./wasm/v13.js","require":"./wasm/v13.cjs"},"./v14":{"types":"./wasm/v14.d.ts","import":"./wasm/v14.js","require":"./wasm/v14.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"gitHead":"6702eeb2e065a470e1e39e896ebdbe2c662a42db","scripts":{"test":"node --test test/*.test.js","build":"npm run clean && npm run prepare","clean":"rimraf wasm","prepare":"node scripts/prepare.js","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare","build:latest":"npm run clean && cross-env PARSER_BUILD_TYPE=latest npm run prepare","build:legacy":"npm run clean && cross-env PARSER_BUILD_TYPE=legacy npm run prepare"},"_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","cross-env":"^7.0.3"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.0.1_1750750853758_0.6614619531556614","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@pgsql/parser","version":"1.0.2","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"MIT","_id":"@pgsql/parser@1.0.2","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"f9a23e569034999654b42637ad87670df1b05a41","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.0.2.tgz","fileCount":81,"integrity":"sha512-n3jebU/M6CfExsavM/zoDLt4QPfDO4lp1ZXOC9LtV+CKKau47cwQ9lLs0cBLyLJ9AY8B328RmY8HHHQbtE5W8A==","signatures":[{"sig":"MEQCIC2zDaVPnQc4dPUlNa1/grv1p0PuhRlShBms89P86/VPAiBlIl/K1pajIHS4UcocBjLBZDkJeycJohBUhCOF7KaUPA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5460506},"main":"./wasm/index.cjs","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v13":{"types":"./wasm/v13.d.ts","import":"./wasm/v13.js","require":"./wasm/v13.cjs"},"./v14":{"types":"./wasm/v14.d.ts","import":"./wasm/v14.js","require":"./wasm/v14.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"gitHead":"f32b9eab3a1323b8c420674c69f36bd3445de364","scripts":{"test":"node --test test/*.test.js","build":"npm run clean && npm run prepare","clean":"rimraf wasm","prepare":"node scripts/prepare.js","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare","build:latest":"npm run clean && cross-env PARSER_BUILD_TYPE=latest npm run prepare","build:legacy":"npm run clean && cross-env PARSER_BUILD_TYPE=legacy npm run prepare"},"_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","cross-env":"^7.0.3"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.0.2_1750753140323_0.617938433523602","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@pgsql/parser","version":"1.0.4","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"MIT","_id":"@pgsql/parser@1.0.4","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"ac4fa9763aa46970f10a7602356c398bc46e8ee5","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.0.4.tgz","fileCount":81,"integrity":"sha512-4vgPqD0s5ghziRHhKNYA5iBC8KO2bl1i0jwIxEi+tsLYpzfdE8MkScWRsIgXrGK4z+qoz41+MwaCS2OoH6O9aQ==","signatures":[{"sig":"MEYCIQDHQ/438ildWAk9jAbetzT1eyW29gdx7CIfbHTCT2cmvAIhAMx1efU6J8ocV4ntFGTT105+vF2PVKRCTSZ3jThBWe/Q","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5460551},"main":"./wasm/index.cjs","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v13":{"types":"./wasm/v13.d.ts","import":"./wasm/v13.js","require":"./wasm/v13.cjs"},"./v14":{"types":"./wasm/v14.d.ts","import":"./wasm/v14.js","require":"./wasm/v14.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"gitHead":"ca038181637980bbc317e9d27ad3ab055888c0f7","scripts":{"test":"node --test test/parser.test.js","build":"npm run clean && npm run prepare","clean":"rimraf wasm","prepare":"node scripts/prepare.js","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare","build:latest":"npm run clean && cross-env PARSER_BUILD_TYPE=latest npm run prepare","build:legacy":"npm run clean && cross-env PARSER_BUILD_TYPE=legacy npm run prepare"},"_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","cross-env":"^7.0.3"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.0.4_1750919760085_0.4753186900705191","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@pgsql/parser","version":"1.0.5","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"MIT","_id":"@pgsql/parser@1.0.5","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"ff98fbb9aa82705c1541defd76e4e99bb0d4e2f8","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.0.5.tgz","fileCount":81,"integrity":"sha512-O3iVoiJwzaZhr+DSzqrIaWc/wqzxS1HqLKFeWC90Tf7WueuMWGfwUnGWVb1NYpWVUURGJNhl7819TVbwqdMTRg==","signatures":[{"sig":"MEYCIQCqxljBhFmvytiJlEL1fy+j8j0xaOqDapaG6VMVj+uesgIhAL2U+NsocYaeIe1txHrQ3aAh0zehsA90EeDfEA4uh2dy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5546902},"main":"./wasm/index.cjs","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v13":{"types":"./wasm/v13.d.ts","import":"./wasm/v13.js","require":"./wasm/v13.cjs"},"./v14":{"types":"./wasm/v14.d.ts","import":"./wasm/v14.js","require":"./wasm/v14.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"gitHead":"12ce446b4cc3914c9dc7e3332a17f827e6c1d8ed","scripts":{"test":"node --test test/parsing.test.js test/errors.test.js","build":"npm run clean && npm run prepare","clean":"rimraf wasm","prepare":"node scripts/prepare.js","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare"},"_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","cross-env":"^7.0.3"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.0.5_1750994342926_0.5381764990039017","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@pgsql/parser","version":"1.1.0","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"MIT","_id":"@pgsql/parser@1.1.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"69630e1c8b38561150670616e391976ffb69dbd1","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.1.0.tgz","fileCount":81,"integrity":"sha512-a83jtIOqhmQmvyw9ds2bAsRIhOfFgBK0NnibGm2YXqan7pcH4uCPPXNGmEHkmn8XC2HfY3VfRiL4zaTiUWrS/A==","signatures":[{"sig":"MEUCIQCBek/uZhvrnEUkhcG1FpDAxvbYHdan25oGqmK39xpl3QIgKlZ6CgLHpY6wNOyU6F/h5voaqx7YDHDsOYYvb1/SMVk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5550722},"main":"./wasm/index.cjs","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v13":{"types":"./wasm/v13.d.ts","import":"./wasm/v13.js","require":"./wasm/v13.cjs"},"./v14":{"types":"./wasm/v14.d.ts","import":"./wasm/v14.js","require":"./wasm/v14.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"gitHead":"899250e8c6cf51271ae237034f9a3b43b7fa4094","scripts":{"test":"node --test test/parsing.test.js test/errors.test.js","build":"npm run clean && npm run prepare","clean":"rimraf wasm","prepare":"node scripts/prepare.js","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare"},"_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","cross-env":"^7.0.3"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.1.0_1751238118800_0.1983855266975989","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@pgsql/parser","version":"1.1.1","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"MIT","_id":"@pgsql/parser@1.1.1","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"b8b1843f0a9cac6120ea31ec2f95df7bcf274c75","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.1.1.tgz","fileCount":82,"integrity":"sha512-6+EjNOc1t1AFmNJ/crSTOnU5DacDwoAqafbvOy091+leFjw76OHIRbZcR42DPzKAP9jjc91Q0WyZAYFnhGSsqg==","signatures":[{"sig":"MEYCIQDy7hK9RnhIWTpdeTshQKJdSjLYwT20SmJRuLrFh3CkbAIhAN1DrBPj8JxH99vbsa03rRFTo/rtDYCmr8bES1WTCmYr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5553826},"main":"./wasm/index.cjs","_from":"file:pgsql-parser-1.1.1.tgz","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v13":{"types":"./wasm/v13.d.ts","import":"./wasm/v13.js","require":"./wasm/v13.cjs"},"./v14":{"types":"./wasm/v14.d.ts","import":"./wasm/v14.js","require":"./wasm/v14.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"scripts":{"test":"node --test test/parsing.test.js test/errors.test.js","build":"npm run clean && npm run prepare","clean":"rimraf wasm","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare"},"_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"_resolved":"/private/var/folders/rn/dyj0bznd0ds355jb66qx5bzr0000gn/T/53db45811f00cacd895e7547ca2e8381/pgsql-parser-1.1.1.tgz","_integrity":"sha512-6+EjNOc1t1AFmNJ/crSTOnU5DacDwoAqafbvOy091+leFjw76OHIRbZcR42DPzKAP9jjc91Q0WyZAYFnhGSsqg==","_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","cross-env":"^7.0.3"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.1.1_1751238840852_0.272592023492201","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@pgsql/parser","version":"1.1.2","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"MIT","_id":"@pgsql/parser@1.1.2","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"236980701427520f84a1f1405d14363190326d9a","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.1.2.tgz","fileCount":81,"integrity":"sha512-3QOu5uSAkVdzeFupabTRBVTfxmBO62y5LCUEewG1JfSmX27aqP+z+b3F4rPhNl2AvjMP8OCL+N4KJ860AqBDmQ==","signatures":[{"sig":"MEYCIQDgyx5EUsTGIii0WtZt/K7SpO76Ad8T37ushdtA2z4LUQIhAKOih1o/fQ2sux/0j+YEZQtRfGfcCmZTtW+0I7yZPqS6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5552691},"main":"./wasm/index.cjs","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v13":{"types":"./wasm/v13.d.ts","import":"./wasm/v13.js","require":"./wasm/v13.cjs"},"./v14":{"types":"./wasm/v14.d.ts","import":"./wasm/v14.js","require":"./wasm/v14.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"gitHead":"781299e8eb80a413c637d86761cc32e3cdb5619f","scripts":{"test":"node --test test/parsing.test.js test/errors.test.js","build":"npm run clean && npm run prepare","clean":"rimraf wasm","prepare":"node scripts/prepare.js","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare"},"_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","cross-env":"^7.0.3"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.1.2_1751275000238_0.4475953299933637","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@pgsql/parser","version":"1.1.3","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"MIT","_id":"@pgsql/parser@1.1.3","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"64483a8f0f46051d87ce19f13805a5c64cbe954c","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.1.3.tgz","fileCount":81,"integrity":"sha512-aNH3GyeGXn3NasfAd0nuBUeDBpU9IcJxr4+/iPsUmcO8FZdnAx2aqB8o/FozCU47gsiWQfhpcwFnLa7Zow9HYg==","signatures":[{"sig":"MEQCIBsbkHGhi+YFHHeX5O/3zHDAy/v+B7s8AmUirycqBlniAiAhG6CVhDFB0KnktLhWF81awpVRXrzCkPL6KuuRUfjJNg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5552691},"main":"./wasm/index.cjs","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v13":{"types":"./wasm/v13.d.ts","import":"./wasm/v13.js","require":"./wasm/v13.cjs"},"./v14":{"types":"./wasm/v14.d.ts","import":"./wasm/v14.js","require":"./wasm/v14.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"gitHead":"c3203bdedc78356202e820053902123415e201ba","scripts":{"test":"node --test test/parsing.test.js test/errors.test.js","build":"npm run clean && npm run prepare","clean":"rimraf wasm","prepare":"node scripts/prepare.js","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare"},"_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","cross-env":"^7.0.3"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.1.3_1751277697177_0.6299891346030861","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@pgsql/parser","version":"1.1.4","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"MIT","_id":"@pgsql/parser@1.1.4","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"9063c8599cd40c38b2d1d49c9df9bd971b31e583","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.1.4.tgz","fileCount":81,"integrity":"sha512-RZ+6cDULpq6qNxVJafHXYw4w2h1SkLy3SKJDiPR0NGMlnJTeGAWXLoJcgIfnlE0CCpNXPMXrz65A2ppsyOofsw==","signatures":[{"sig":"MEUCIQDZs6KLEV2n2AW1xtvigw3HDIayCtUOmpbtH5kxkQrkNwIgKsOkVDdyAKokNC5Bo3we2azgCrSWobnFHk6cr9ko0dU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5552706},"main":"./wasm/index.cjs","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v13":{"types":"./wasm/v13.d.ts","import":"./wasm/v13.js","require":"./wasm/v13.cjs"},"./v14":{"types":"./wasm/v14.d.ts","import":"./wasm/v14.js","require":"./wasm/v14.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"gitHead":"2917d563e5b6e23ae162e4c0a0e00dfaf4891d97","scripts":{"test":"node --test test/parsing.test.js test/errors.test.js","build":"npm run clean && npm run prepare","clean":"rimraf wasm","prepare":"node scripts/prepare.js","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare"},"_npmUser":{"name":"pyramation","actor":{"name":"pyramation","type":"user","email":"pyramation@gmail.com"},"email":"pyramation@gmail.com"},"_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","cross-env":"^7.0.3"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.1.4_1751278145459_0.8694206746635982","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@pgsql/parser","version":"1.2.0","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Dan Lynch","email":"pyramation@gmail.com"},"license":"MIT","_id":"@pgsql/parser@1.2.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"601f495d8e12f67291b0bea669d08c5f403ccfb3","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.2.0.tgz","fileCount":82,"integrity":"sha512-OjplMlaqp3kQGkPZY4GhLfwyJt22PImDP+Bf+rlnQ8y7IdQdZ0X1xydwAEHzIDybjKeh17atYnuod1m+Wdlwgw==","signatures":[{"sig":"MEYCIQDMLD8MCEakCsNQiYytcPUD0IiuynaKY4hPxkGaiqBvlAIhAPuj62hNwM5XxA7yBzQGOp+TnFYtzzro+SxXXNrKk+HU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5553836},"main":"./wasm/index.cjs","_from":"file:pgsql-parser-1.2.0.tgz","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v13":{"types":"./wasm/v13.d.ts","import":"./wasm/v13.js","require":"./wasm/v13.cjs"},"./v14":{"types":"./wasm/v14.d.ts","import":"./wasm/v14.js","require":"./wasm/v14.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"scripts":{"test":"node --test test/parsing.test.js test/errors.test.js","build":"npm run clean && npm run prepare","clean":"rimraf wasm","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"_resolved":"/private/var/folders/rn/dyj0bznd0ds355jb66qx5bzr0000gn/T/f91c7713e6aa7e85472d800944885fd8/pgsql-parser-1.2.0.tgz","_integrity":"sha512-OjplMlaqp3kQGkPZY4GhLfwyJt22PImDP+Bf+rlnQ8y7IdQdZ0X1xydwAEHzIDybjKeh17atYnuod1m+Wdlwgw==","_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","cross-env":"^7.0.3"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.2.0_1754681056391_0.549375144505156","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@pgsql/parser","version":"1.2.1","keywords":["postgresql","parser","sql","ast","multi-version"],"author":{"name":"Constructive","email":"developers@constructive.io"},"license":"MIT","_id":"@pgsql/parser@1.2.1","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"dist":{"shasum":"85c6ae557158236fff87c6ef58338fa5f5861c61","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.2.1.tgz","fileCount":78,"integrity":"sha512-PxP4YFLKik6HLb4BObzMqHblyMCyPnXzDAYgLidEm62Q+0YE6uplDehsnyE+mvYnzMkXxTK5EqLTWKRPMKinAQ==","signatures":[{"sig":"MEUCIEGfI+BjX8rvfrJc0xuyJdN/VRiDlQCPo7yCxePnoh+bAiEA3Yi6qt+6/QPD0ZdKJ2lhSDPaFWpAmp6Pjozg79VyKtQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5555079},"main":"./wasm/index.cjs","_from":"file:pgsql-parser-1.2.1.tgz","types":"./wasm/index.d.ts","module":"./wasm/index.js","exports":{".":{"types":"./wasm/index.d.ts","import":"./wasm/index.js","require":"./wasm/index.cjs"},"./v13":{"types":"./wasm/v13.d.ts","import":"./wasm/v13.js","require":"./wasm/v13.cjs"},"./v14":{"types":"./wasm/v14.d.ts","import":"./wasm/v14.js","require":"./wasm/v14.cjs"},"./v15":{"types":"./wasm/v15.d.ts","import":"./wasm/v15.js","require":"./wasm/v15.cjs"},"./v16":{"types":"./wasm/v16.d.ts","import":"./wasm/v16.js","require":"./wasm/v16.cjs"},"./v17":{"types":"./wasm/v17.d.ts","import":"./wasm/v17.js","require":"./wasm/v17.cjs"}},"scripts":{"test":"node --test test/parsing.test.js test/errors.test.js","build":"npm run clean && npm run prepare","clean":"rimraf wasm","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"_resolved":"/private/var/folders/rn/dyj0bznd0ds355jb66qx5bzr0000gn/T/79aaa94e701535c3ee9b6d9d50abce3d/pgsql-parser-1.2.1.tgz","_integrity":"sha512-PxP4YFLKik6HLb4BObzMqHblyMCyPnXzDAYgLidEm62Q+0YE6uplDehsnyE+mvYnzMkXxTK5EqLTWKRPMKinAQ==","_npmVersion":"10.9.2","description":"Multi-version PostgreSQL parser with dynamic version selection","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","cross-env":"^7.0.3"},"_npmOperationalInternal":{"tmp":"tmp/parser_1.2.1_1765443388379_0.8237416370296113","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@pgsql/parser","version":"1.5.0","author":{"name":"Constructive","email":"developers@constructive.io"},"description":"Multi-version PostgreSQL parser with dynamic version selection","main":"./wasm/index.cjs","module":"./wasm/index.js","types":"./wasm/index.d.ts","exports":{".":{"import":"./wasm/index.js","require":"./wasm/index.cjs","types":"./wasm/index.d.ts"},"./v13":{"import":"./wasm/v13.js","require":"./wasm/v13.cjs","types":"./wasm/v13.d.ts"},"./v14":{"import":"./wasm/v14.js","require":"./wasm/v14.cjs","types":"./wasm/v14.d.ts"},"./v15":{"import":"./wasm/v15.js","require":"./wasm/v15.cjs","types":"./wasm/v15.d.ts"},"./v16":{"import":"./wasm/v16.js","require":"./wasm/v16.cjs","types":"./wasm/v16.d.ts"},"./v17":{"import":"./wasm/v17.js","require":"./wasm/v17.cjs","types":"./wasm/v17.d.ts"},"./v18":{"import":"./wasm/v18.js","require":"./wasm/v18.cjs","types":"./wasm/v18.d.ts"}},"keywords":["postgresql","parser","sql","ast","multi-version"],"license":"MIT","devDependencies":{"cross-env":"^7.0.3","rimraf":"^5.0.0"},"scripts":{"clean":"rimraf wasm","build":"npm run clean && npm run prepare","build:full":"npm run clean && cross-env PARSER_BUILD_TYPE=full npm run prepare","build:lts":"npm run clean && cross-env PARSER_BUILD_TYPE=lts npm run prepare","test":"node --test test/parsing.test.js test/errors.test.js"},"_id":"@pgsql/parser@1.5.0","_integrity":"sha512-a5Bn0eVj69g8ae9d0jGxfXpq9bhN6hx2DnU7uiQjoSZtpWLgq1aSA1y3qKkilb+Tm1EV9i56PbZBp5rclyeBAw==","_resolved":"/private/var/folders/rn/dyj0bznd0ds355jb66qx5bzr0000gn/T/8192082cedc8c8485ec05f877510db76/pgsql-parser-1.5.0.tgz","_from":"file:pgsql-parser-1.5.0.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-a5Bn0eVj69g8ae9d0jGxfXpq9bhN6hx2DnU7uiQjoSZtpWLgq1aSA1y3qKkilb+Tm1EV9i56PbZBp5rclyeBAw==","shasum":"bbde8666e4830b97b1a12c39b88f65503de4282d","tarball":"https://registry.npmjs.org/@pgsql/parser/-/parser-1.5.0.tgz","fileCount":92,"unpackedSize":6880981,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDRnLZREJzAlSOj/W0sWFwG9qAjO/hXGe9KKhGFB06YtgIgMrSdz0bAUVDQVI5gXOfDwBqNgbrRiPdZKpawcRs5bJo="}]},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"directories":{},"maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/parser_1.5.0_1779423152368_0.8937294379000806"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-04T02:56:53.735Z","modified":"2026-05-22T04:12:32.622Z","16.0.0":"2024-04-04T02:56:54.062Z","16.1.0":"2024-05-03T09:49:38.029Z","16.2.0":"2025-06-21T23:51:14.856Z","17.5.0":"2025-06-22T19:37:08.083Z","1.0.0":"2025-06-23T03:16:44.332Z","1.0.1":"2025-06-24T07:40:53.990Z","1.0.2":"2025-06-24T08:19:00.520Z","1.0.4":"2025-06-26T06:36:00.377Z","1.0.5":"2025-06-27T03:19:03.263Z","1.1.0":"2025-06-29T23:01:59.000Z","1.1.1":"2025-06-29T23:14:01.099Z","1.1.2":"2025-06-30T09:16:40.487Z","1.1.3":"2025-06-30T10:01:37.437Z","1.1.4":"2025-06-30T10:09:05.729Z","1.2.0":"2025-08-08T19:24:16.638Z","1.2.1":"2025-12-11T08:56:28.648Z","1.5.0":"2026-05-22T04:12:32.504Z"},"author":{"name":"Constructive","email":"developers@constructive.io"},"license":"MIT","keywords":["postgresql","parser","sql","ast","multi-version"],"description":"Multi-version PostgreSQL parser with dynamic version selection","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"readme":"# @pgsql/parser\n\n<p align=\"center\" width=\"100%\">\n    <img height=\"250\" src=\"https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg\" alt=\"constructive.io\">\n</p>\n\n<p align=\"center\" width=\"100%\">\n   <a href=\"https://github.com/constructive-io/libpg-query/blob/main/LICENSE-MIT\"><img height=\"20\" src=\"https://img.shields.io/badge/license-MIT-blue.svg\"/></a>\n   <a href=\"https://www.npmjs.com/package/libpg-query\"><img height=\"20\" src=\"https://img.shields.io/github/package-json/v/constructive-io/libpg-query-node?filename=versions%2F17%2Fpackage.json\"/></a><br />\n   <a href=\"https://github.com/constructive-io/libpg-query-node/actions/workflows/ci.yml\"><img height=\"20\" src=\"https://github.com/constructive-io/libpg-query-node/actions/workflows/ci.yml/badge.svg\" /></a>\n   <a href=\"https://github.com/constructive-io/libpg-query-node/actions/workflows/ci.yml\"><img height=\"20\" src=\"https://img.shields.io/badge/macOS-available-333333?logo=apple&logoColor=white\" /></a>\n   <a href=\"https://github.com/constructive-io/libpg-query-node/actions/workflows/ci.yml\"><img height=\"20\" src=\"https://img.shields.io/badge/Windows-available-333333?logo=windows&logoColor=white\" /></a>\n   <a href=\"https://github.com/constructive-io/libpg-query-node/actions/workflows/ci.yml\"><img height=\"20\" src=\"https://img.shields.io/badge/Linux-available-333333?logo=linux&logoColor=white\" /></a>\n</p>\n\nMulti-version PostgreSQL parser with dynamic version selection. This package provides a unified interface to parse PostgreSQL queries using different parser versions (13, 14, 15, 16, 17).\n\n## Installation\n\n```bash\n# Install latest (full build with all versions)\nnpm install @pgsql/parser\n\n# Install LTS version (PostgreSQL 15-17 only)\nnpm install @pgsql/parser@lts\n```\n\n## Usage\n\n### Dynamic Version Selection\n\n```javascript\nimport Parser from '@pgsql/parser';\n// or: import { Parser } from '@pgsql/parser';\n\n// Create parser with default version (17)\nconst parser = new Parser();\nconst result = await parser.parse('SELECT 1+1 as sum');\nconsole.log(result);\n// { version: 170004, stmts: [...] }\n\n// Create parser with specific version\nconst parser15 = new Parser({ version: 15 });\nconst result15 = await parser15.parse('SELECT 1+1 as sum');\nconsole.log(result15);\n// { version: 150007, stmts: [...] }\n\n// Check supported versions\nimport { isSupportedVersion, getSupportedVersions } from '@pgsql/parser';\nconsole.log(getSupportedVersions()); // [13, 14, 15, 16, 17]\nconsole.log(isSupportedVersion(15)); // true\n```\n\n### CommonJS Usage\n\n```javascript\nconst { Parser, isSupportedVersion, getSupportedVersions } = require('@pgsql/parser');\n\nasync function parseSQL() {\n  const parser = new Parser({ version: 16 });\n  const result = await parser.parse('SELECT * FROM users');\n  console.log(result);\n}\n```\n\n### Static Version Imports\n\nFor better tree-shaking and when you know which version you need:\n\n```javascript\n// Import specific version\nimport { parse } from '@pgsql/parser/v17';\n\nconst result = await parse('SELECT 1');\nconsole.log(result);\n// { version: 170004, stmts: [...] }\n\n// Or access via the main module\nimport { v17 } from '@pgsql/parser';\nconst result2 = await v17.parse('SELECT 1');\n```\n\n### Error Handling\n\nThe parser throws errors directly (not wrapped in result objects):\n\n```javascript\nimport Parser from '@pgsql/parser';\n\nconst parser = new Parser();\ntry {\n  const result = await parser.parse('INVALID SQL');\n} catch (error) {\n  console.error(error.name); // 'SqlError'\n  console.error(error.message); // 'syntax error at or near \"INVALID\"'\n  console.error(error.sqlDetails); // { cursorPosition: 0, ... }\n}\n```\n\n## API\n\n### `Parser`\n\nThe main parser class for parsing SQL with a specific PostgreSQL version.\n\n```typescript\nimport Parser from '@pgsql/parser';\n\nconst parser = new Parser(options?: { version?: 13 | 14 | 15 | 16 | 17 });\n```\n\n#### Properties\n- `version`: The PostgreSQL version used by this parser instance\n- `ready`: A promise that resolves when the parser is fully loaded\n\n#### Methods\n\n##### `parse(query: string): Promise<ParseResult>`\nParse a SQL query asynchronously. Automatically loads the parser if needed.\n\n```javascript\nconst result = await parser.parse('SELECT 1');\n// Returns: { version: 170004, stmts: [...] }\n```\n\n##### `parseSync(query: string): ParseResult`\nParse a SQL query synchronously. Requires the parser to be loaded first.\n\n```javascript\nawait parser.loadParser(); // or await parser.ready\nconst result = parser.parseSync('SELECT 1');\n```\n\n##### `loadParser(): Promise<void>`\nExplicitly load the parser. Usually not needed as `parse()` loads automatically.\n\n### Utility Functions\n\n##### `isSupportedVersion(version: number): boolean`\nCheck if a PostgreSQL version is supported.\n\n##### `getSupportedVersions(): number[]`\nGet an array of all supported PostgreSQL versions.\n\n### Error Handling\n\nAll parsing errors throw `SqlError` with the following structure:\n\n```typescript\nclass SqlError extends Error {\n  name: 'SqlError';\n  message: string;\n  sqlDetails?: {\n    cursorPosition?: number;\n    fileName?: string;\n    functionName?: string;\n    lineNumber?: number;\n  };\n}\n```\n\n## Version Exports\n\nEach PostgreSQL version can be imported directly for better tree-shaking:\n\n- `@pgsql/parser/v13` - PostgreSQL 13 parser\n- `@pgsql/parser/v14` - PostgreSQL 14 parser\n- `@pgsql/parser/v15` - PostgreSQL 15 parser\n- `@pgsql/parser/v16` - PostgreSQL 16 parser  \n- `@pgsql/parser/v17` - PostgreSQL 17 parser\n\nEach version export provides:\n- `parse(query: string): Promise<ParseResult>` - Parse a query asynchronously\n- `parseSync(query: string): ParseResult` - Parse a query synchronously (auto-loads if needed)\n- `SqlError` - The error class for parsing errors\n- All TypeScript types for that PostgreSQL version\n\nExample:\n```javascript\nimport { parse, parseSync } from '@pgsql/parser/v17';\n\n// Async parsing\nconst result = await parse('SELECT 1');\n\n// Sync parsing (auto-loads on first use)\nconst result2 = parseSync('SELECT 2');\n```\n\n## Build Configurations\n\nThis package supports different build configurations for different use cases:\n\n- **full** (default): All versions (13, 14, 15, 16, 17) - Provides maximum compatibility\n- **lts**: LTS (Long Term Support) versions only (15, 16, 17) - Recommended for production use with stable PostgreSQL versions\n\nWhen installing from npm, you can choose the appropriate build using tags:\n- `npm install @pgsql/parser` - Full build with all versions\n- `npm install @pgsql/parser@lts` - LTS build \n\n## Credits\n\nBuilt on the excellent work of several contributors:\n\n* **[Dan Lynch](https://github.com/pyramation)** — official maintainer since 2018 and architect of the current implementation\n* **[Lukas Fittl](https://github.com/lfittl)** for [libpg_query](https://github.com/pganalyze/libpg_query) — the core PostgreSQL parser that powers this project\n* **[Greg Richardson](https://github.com/gregnr)** for AST guidance and pushing the transition to WASM and multiple PG runtimes for better interoperability\n* **[Ethan Resnick](https://github.com/ethanresnick)** for the original Node.js N-API bindings\n* **[Zac McCormick](https://github.com/zhm)** for the foundational [node-pg-query-native](https://github.com/zhm/node-pg-query-native) parser\n\n**🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**\n\n\n## Related\n\n* [pgsql-parser](https://www.npmjs.com/package/pgsql-parser): The real PostgreSQL parser for Node.js, providing symmetric parsing and deparsing of SQL statements with actual PostgreSQL parser integration.\n* [pgsql-deparser](https://www.npmjs.com/package/pgsql-deparser): A streamlined tool designed for converting PostgreSQL ASTs back into SQL queries, focusing solely on deparser functionality to complement `pgsql-parser`.\n* [@pgsql/parser](https://www.npmjs.com/package/@pgsql/parser): Multi-version PostgreSQL parser with dynamic version selection at runtime, supporting PostgreSQL 15, 16, and 17 in a single package.\n* [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): Offers TypeScript type definitions for PostgreSQL AST nodes, facilitating type-safe construction, analysis, and manipulation of ASTs.\n* [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): Provides TypeScript enum definitions for PostgreSQL constants, enabling type-safe usage of PostgreSQL enums and constants in your applications.\n* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): A comprehensive utility library for PostgreSQL, offering type-safe AST node creation and enum value conversions, simplifying the construction and manipulation of PostgreSQL ASTs.\n* [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): A TypeScript tool that parses PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.\n* [libpg-query](https://github.com/constructive-io/libpg-query-node): The real PostgreSQL parser exposed for Node.js, used primarily in `pgsql-parser` for parsing and deparsing SQL queries.\n\n## Disclaimer\n\nAS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED \"AS IS\", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.\n\nNo developer or entity involved in creating Software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the Software code or Software CLI, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.","readmeFilename":"README.md"}