{"_id":"sql-escaper","_rev":"21-6386ca471772989280d6c792b22f78bf","name":"sql-escaper","dist-tags":{"latest":"1.9.1"},"versions":{"0.1.0":{"name":"sql-escaper","version":"0.1.0","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/wellwelwel"},"license":"MIT","_id":"sql-escaper@0.1.0","maintainers":[{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/wellwelwel/sql-escaper#readme","bugs":{"url":"https://github.com/wellwelwel/sql-escaper/issues"},"dist":{"shasum":"715c9643d8ba7849820b26977ab8ace631953d2c","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-0.1.0.tgz","fileCount":8,"integrity":"sha512-6aoKmHtwUia7YSM7ByaJAl0f3YZOS4bn7bS12kPVu6DQBW0x8m+hAqPmriEFdOS3Sn+k5P9ApJH4wzdUkiLoOA==","signatures":[{"sig":"MEUCIQDTxFDLber/mdi5aTAH8pTB2HChP4oiV7z58t8mccICCgIgRJmtrKPjLQSgznCSx6lXJnZ3/cJ8llrhDao56xG9qjo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33488},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/sponsors/wellwelwel","type":"github"},"gitHead":"e4f4e1df184935e8436d4db0b492adf5fd52ff0d","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:deno":"deno run -A npm:poku","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"weslley.io","email":"w.eslley@ymail.com"},"repository":{"url":"git+https://github.com/wellwelwel/sql-escaper.git","type":"git"},"_npmVersion":"11.8.0","description":"🛡️ Faster SQL escape and format for **JavaScript** (**Node.js**, **Bun**, and **Deno**).","directories":{},"_nodeVersion":"25.5.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^3.0.3-canary.13a996a9","esbuild":"^0.27.2","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_0.1.0_1770207715876_0.9217453567182419","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"sql-escaper","version":"0.1.1","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/wellwelwel"},"license":"MIT","_id":"sql-escaper@0.1.1","maintainers":[{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/wellwelwel/sql-escaper#readme","bugs":{"url":"https://github.com/wellwelwel/sql-escaper/issues"},"dist":{"shasum":"6525cf831bf9785368ded5e8dc9c5fcb4dfc7f2a","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-0.1.1.tgz","fileCount":8,"integrity":"sha512-KuTdks6EJbOW+iGbJIkuGvXtp0WYsl71ZGNxdDfDTWRFngm/prFFl8ZW+tV7e696/owhmelxBV/LPUXtXUpRcg==","signatures":[{"sig":"MEYCIQCwFxr3N1A/C+38l4EPqAw4tnZgumuiibOvAbzvTmVMKgIhAK4GEdvnkgRfqeWYHlrFYeVUHoF8lsK8eyQXJisAnTYN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33318},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/sponsors/wellwelwel","type":"github"},"gitHead":"acca14303af4fd7ecace308e394e95e3939be0eb","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:deno":"deno run -A npm:poku","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"weslley.io","email":"w.eslley@ymail.com"},"repository":{"url":"git+https://github.com/wellwelwel/sql-escaper.git","type":"git"},"_npmVersion":"11.8.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"25.5.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^3.0.3-canary.13a996a9","esbuild":"^0.27.2","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_0.1.1_1770212447578_0.2046438456979518","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"sql-escaper","version":"1.0.0","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/wellwelwel"},"license":"MIT","_id":"sql-escaper@1.0.0","maintainers":[{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/wellwelwel/sql-escaper#readme","bugs":{"url":"https://github.com/wellwelwel/sql-escaper/issues"},"dist":{"shasum":"66e4c4b4ee33e027558bf37e942e2a5c76939b7f","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.0.0.tgz","fileCount":8,"integrity":"sha512-gFOULFusk38yxhe5QUNavhIjt8rhCOBgWSYLWnYF4FSNJwCQpvyfQUXp1kuXDdQbhMUgirWutYNGIUPXqfPtSQ==","signatures":[{"sig":"MEQCIDez1zubysp5satnd7Yo2/IJD37wkxi9tb0JRtE4EZ74AiBOgA9OEPVxup7o+V6aWAH2KhPOq1oRP3t5rh/xtraC0w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33546},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/sponsors/wellwelwel","type":"github"},"gitHead":"b10c508a23404723c71cb88d307afde23944cf90","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:deno":"deno run -A npm:poku","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4fca1263-7c59-47fe-98ed-96d9b8b2978c"}},"repository":{"url":"git+https://github.com/wellwelwel/sql-escaper.git","type":"git"},"_npmVersion":"11.6.2","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^3.0.3-canary.13a996a9","esbuild":"^0.27.2","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.0.0_1770215818051_0.9016262717410033","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"sql-escaper","version":"1.1.0","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/wellwelwel"},"license":"MIT","_id":"sql-escaper@1.1.0","maintainers":[{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/wellwelwel/sql-escaper#readme","bugs":{"url":"https://github.com/wellwelwel/sql-escaper/issues"},"dist":{"shasum":"4d07b09f815c96afa287d07b4c03a86b7af72059","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.1.0.tgz","fileCount":8,"integrity":"sha512-oC+rge4j1jn8bVzWX8kiv92kQR9oT88TcE9kFju2sHNpiMlxZymimmHsf55PMJoxYKZR12seFcKJ0YrZ6wE9KQ==","signatures":[{"sig":"MEQCIC+CUbk5THiPy0KZJdHAtla5nZWx1tr2QSO+FmtfFYJSAiBkgVSuoBCjg8VOP6A8Ds4KpgVxMhbroJc1eNWr/MeU8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":40610},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/sponsors/wellwelwel","type":"github"},"gitHead":"968d07ecfd55508c1ad74963f06f35415d0aa0cf","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:deno":"deno run -A npm:poku","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4fca1263-7c59-47fe-98ed-96d9b8b2978c"}},"repository":{"url":"git+https://github.com/wellwelwel/sql-escaper.git","type":"git"},"_npmVersion":"11.6.2","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^3.0.3-canary.13a996a9","esbuild":"^0.27.2","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.1.0_1770253589486_0.17532720738386254","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"sql-escaper","version":"1.1.1","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/wellwelwel"},"license":"MIT","_id":"sql-escaper@1.1.1","maintainers":[{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/wellwelwel/sql-escaper#readme","bugs":{"url":"https://github.com/wellwelwel/sql-escaper/issues"},"dist":{"shasum":"c631cbdadd7e99d9b650268e92711e8fdbcedb80","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.1.1.tgz","fileCount":8,"integrity":"sha512-1rPLltPC+m8JtlYqgd9MDUXxjjnllIabiUz1Q9xL+cWeV4hY6a5N0tZxNUBkEJJuGjN4ntXkzZPzq9LEJixY/w==","signatures":[{"sig":"MEQCIFVW+0ijT57bHYTNHGqiwq7u6sYSzt3nL4mApeubeoLvAiAPG/DjdAr7FxZgDaUF5d/GxEJgtD68DwM6G+rHk+q54A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":40694},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/sponsors/wellwelwel","type":"github"},"gitHead":"e396baedc699ab6e29cfad69bdbc15a8b4e34cfd","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:deno":"deno run -A npm:poku","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4fca1263-7c59-47fe-98ed-96d9b8b2978c"}},"repository":{"url":"git+https://github.com/wellwelwel/sql-escaper.git","type":"git"},"_npmVersion":"11.6.2","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^3.0.3-canary.13a996a9","esbuild":"^0.27.2","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.1.1_1770261268798_0.8281123367452492","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"sql-escaper","version":"1.1.2","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/wellwelwel"},"license":"MIT","_id":"sql-escaper@1.1.2","maintainers":[{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/wellwelwel/sql-escaper#readme","bugs":{"url":"https://github.com/wellwelwel/sql-escaper/issues"},"dist":{"shasum":"dcf4c8674b07784acb6ed7a449a226dcc8e4af75","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.1.2.tgz","fileCount":8,"integrity":"sha512-FlUz/hb5T5gcsJ0WNgGc4I1iiB8G1JCVDkeSsRKNynI2wQxQ/UQep15LFCs2vENBbdoDm1+vV939T5mUbzuXPA==","signatures":[{"sig":"MEYCIQDDL2X87OVCJQKHfWa2jDT4G0lq48cOFd0Xwx6B2ogtxAIhAIKh9N9FbR7oIgMPHC4duLtrH8lyeYntz0Sd8h57hXE6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":41871},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/sponsors/wellwelwel","type":"github"},"gitHead":"d6502b3ae666ad45b3a14615facb7937fc139108","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:deno":"deno run -A npm:poku","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4fca1263-7c59-47fe-98ed-96d9b8b2978c"}},"repository":{"url":"git+https://github.com/wellwelwel/sql-escaper.git","type":"git"},"_npmVersion":"11.6.2","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^3.0.3-canary.13a996a9","esbuild":"^0.27.2","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.1.2_1770268323517_0.2679795632068045","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"sql-escaper","version":"1.2.0","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/wellwelwel"},"license":"MIT","_id":"sql-escaper@1.2.0","maintainers":[{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/wellwelwel/sql-escaper#readme","bugs":{"url":"https://github.com/wellwelwel/sql-escaper/issues"},"dist":{"shasum":"c16f80bb0d53d69933cdc42b07210b27e908e13c","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.2.0.tgz","fileCount":8,"integrity":"sha512-O2pJBQe+hrvfJXYY8vYOnk18TtmE8GStuweHaOw1BpLBR8OR3kfaF8ZgyoEYiVIE9SvSwYkR4h9SX0Yo5X7C+g==","signatures":[{"sig":"MEQCIFHBUYH/thajediPi4RzyHpXPpnFhmli811BvunMmKE5AiAwrLbkT4anMhl96ZfUkXdTt/IkovQWYXtTPs3jR/OdgA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42412},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/sponsors/wellwelwel","type":"github"},"gitHead":"63179ca64c1e59679b3a8b0a7dfbc25fc8ab6c15","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:deno":"deno run -A npm:poku","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4fca1263-7c59-47fe-98ed-96d9b8b2978c"}},"repository":{"url":"git+https://github.com/wellwelwel/sql-escaper.git","type":"git"},"_npmVersion":"11.6.2","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^3.0.3-canary.13a996a9","esbuild":"^0.27.2","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.2.0_1770279172777_0.07108438052871002","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"sql-escaper","version":"1.3.0","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.3.0","maintainers":[{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"9c77ecb60f75a88db4a8b33bbd34adf8ad26801f","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.3.0.tgz","fileCount":8,"integrity":"sha512-LIXGvoqSxZy9Rb+AEjzPFuVFWUlYiR6tIQD9OXjSF2TnmbCGRXFvejkKMTJk5aR0QumPowlej/DlI4srmLoH9w==","signatures":[{"sig":"MEYCIQCJxJhLX7zvrW9lxEkam4ok0DNcAQzoWbYfhZo/HnsgCAIhALG1xK5bvDV+xp75kmgP2NM383vnGwWB9iiCyj8veU0A","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42829},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"7213474fa004149b3a7a42f7b90221c8dbdab66e","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:deno":"deno run -A npm:poku","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.6.2","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^3.0.3-canary.13a996a9","esbuild":"^0.27.2","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.3.0_1770710981272_0.43237807473368584","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"sql-escaper","version":"1.3.1","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.3.1","maintainers":[{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"9a24cf6b26436b4dc74c8708ee08306446527d9f","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.3.1.tgz","fileCount":8,"integrity":"sha512-GLMJGWKzrr7BS5E5+8Prix6RGfBd4UokKMxkPSg313X0TvUyjdJU3Xg7FAhhcba4dHnLy81t4YeHETKLGVsDow==","signatures":[{"sig":"MEYCIQD/uQnjAU092IRWAonyJzUMlnyktNwzjik8McpvVKuKQQIhAO0epCFgX81bRSn7JSHxHnb4fHsXk+udEBuvnxAZH33Y","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":43478},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"f9859b228e9c13028db48bf3880027b5b3cbec12","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:deno":"deno run -A npm:poku","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.6.2","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^3.0.3-canary.13a996a9","esbuild":"^0.27.2","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.3.1_1770725873273_0.33502102113844145","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"sql-escaper","version":"1.3.2","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.3.2","maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"b11c68c6541fc05afdf508d52e54af7219455fad","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.3.2.tgz","fileCount":8,"integrity":"sha512-lp+ZDVfSjHt+qAK1jXBTIXBNYnbo7gnaAGwoYTH9bE89kNkXwcu6g0WjJGRsdTKVpY1z70u3Y0IgmnBOoRybHw==","signatures":[{"sig":"MEQCICdRFOnWGn9UiuyV10/uuF6tleTT9yOzXVNuidpXdHhsAiAWKCaxv5YKCLoyGhDEcpIqbtq5OKXlMXez9MBXXQFsfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":43590},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"ca998a77fdf879c2f1d35a51c1242f04d960ac9a","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:deno":"deno run -A npm:poku","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.8.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.13.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^3.0.3-canary.13a996a9","esbuild":"^0.27.2","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.3.2_1770939237824_0.224234904793718","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"sql-escaper","version":"1.3.3","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.3.3","maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"65faf89f048d26bb9a75566b82b5990ddf8a5b7f","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.3.3.tgz","fileCount":8,"integrity":"sha512-BsTCV265VpTp8tm1wyIm1xqQCS+Q9NHx2Sr+WcnUrgLrQ6yiDIvHYJV5gHxsj1lMBy2zm5twLaZao8Jd+S8JJw==","signatures":[{"sig":"MEQCIDLA5v3pDgdVgGKr6UdxekIj7Yi+LyhsjsLwZsBGRXkEAiAEfNLQZzT8huv4EiHw76xkzDQvxAEEXcIqfMDxT18AUA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":44574},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"09e7e650c44f6cf7128783374f771d693e1574f4","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:deno":"deno run -A npm:poku","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.8.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.13.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^3.0.3-canary.13a996a9","esbuild":"^0.27.2","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.3.3_1771266325422_0.34699613528936446","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"sql-escaper","version":"1.4.0","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.4.0","maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"976a3f751fd979e577a29b8bf00fc517989ee857","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.4.0.tgz","fileCount":8,"integrity":"sha512-Ti/Zx9J3aITMYUMFhCKbkplQjyi7Kk2SyYXp+rzrkyKZetIy19XbQtVZ+0ZR5aVm/178tIJ6+aVvBqXkH+Xs7w==","signatures":[{"sig":"MEYCIQCmMoSurt/df8VDJWnSay0mgYjVfj3WpsoCPw1bSHLFXAIhANzCudYlHEpIfBaevpqXhnDWxdGyKYImtl3008/gCoYV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":56569},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"bda3792cb2c383651ffaac422e7da5bf72445d65","scripts":{"lint":"biome lint && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun --bun poku","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:node":"poku","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.16.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^4.3.2","esbuild":"^0.28.1","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.4.0_1783429346756_0.5153026278811785","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"sql-escaper","version":"1.5.0","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.5.0","maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"6970059a9507720e9dd8ca162f6263e447c043b9","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.5.0.tgz","fileCount":8,"integrity":"sha512-JCY91/D1lVq7p6RzuHg9XFQH9vT9L22bljsk+uTdMWke4ZqPCCE+iIMNPmJPUUTywn6eW2nncaWc+MizKZgF4A==","signatures":[{"sig":"MEYCIQCWhYo4+yCtZkd0hnke50suq002WXEp/782anuW8d3cqAIhALIgo7lBDXIljb1wYwyc+NIsPmG1sfXKtgUus5T6D4vr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":58927},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"4012714f0567c5e82a21e6edbbd8ac35fb1e82fb","scripts":{"lint":"biome lint --error-on-warnings && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun --bun poku test","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:node":"poku test","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.16.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","poku":"^4.3.2","esbuild":"^0.28.1","prettier":"^3.8.1","typescript":"^7.0.2","@types/node":"^25.2.0","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","@js-temporal/polyfill":"^0.5.1","monocart-coverage-reports":"^2.12.9","@ianvs/prettier-plugin-sort-imports":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.5.0_1783854802142_0.8591912558065042","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"sql-escaper","version":"1.5.1","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.5.1","maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"fbaee511294d1f7da92fb68ca1faee2255839c7b","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.5.1.tgz","fileCount":8,"integrity":"sha512-4toX5E1fQbBrpfXidaHnF0669nkAdETeIPTs2SUjxxD7RRIs9ICG4gtpmfc68JCEKehsdwLFqBu9VlQqZ1P1gg==","signatures":[{"sig":"MEUCIQCOXfrIyKa6pWEhWuzqTriIkLzmcr+JSzU/K/CAhsvuZQIgdNczqxE5UCqyaaWJjNH7ANIO3wPLGWzHBmUOrZ/xYX8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":59030},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"72fbc98ed5a7cf27d14bf2907934b68dc4da957a","scripts":{"lint":"biome lint --error-on-warnings && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu minor && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun --bun poku -r=\"compact\" test","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:node":"poku test -r=\"compact\"","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.16.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.0","poku":"^4.5.0","esbuild":"^0.28.1","prettier":"^3.9.5","typescript":"^7.0.2","@types/node":"^26.1.1","@biomejs/biome":"^1.9.4","packages-update":"^2.0.0","@js-temporal/polyfill":"^0.5.1","monocart-coverage-reports":"^2.12.12","@ianvs/prettier-plugin-sort-imports":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.5.1_1783874964631_0.007218744127382992","host":"s3://npm-registry-packages-npm-production"}},"1.5.2":{"name":"sql-escaper","version":"1.5.2","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.5.2","maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"5b59840dc4034bd23a9b7d00501ba947a90364b7","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.5.2.tgz","fileCount":8,"integrity":"sha512-6CKD38c31SENivxOADeMNLdukOnUxUcflKtzVWzace7Riv1v7cAEym5Cx9Q7gYZ3ezIJI7ZpqecQq8cqNeSSFg==","signatures":[{"sig":"MEUCIQDODvRqwH0ge3LbYy0rKjUxUV/TOGFZursYj306dGgncwIgcmWKfX4fFl6VQ4u1HRYWEwj+7WKHKM2q4GBearxsqKI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDKKCZ5f0otvsFOWaX2XHBC4ir96Yrf8CTR8RuilVEQqAIgOiEc+iZtdni+mEEC/NuNPDKB34Lov62TxvPX37F0YXQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":58995},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"0156c3c867096752fd8312e96783068b865e2b96","scripts":{"lint":"biome lint --error-on-warnings && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun --bun poku -r=\"compact\" test","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:node":"poku test -r=\"compact\"","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.19.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.13","poku":"^4.5.0","esbuild":"^0.28.2","prettier":"^3.9.6","typescript":"^7.0.2","@types/node":"^26.5.1","@biomejs/biome":"^2.5.13","packages-update":"^2.0.0","@js-temporal/polyfill":"^0.5.1","monocart-coverage-reports":"^2.13.0","@ianvs/prettier-plugin-sort-imports":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.5.2_1789348537067_0.6911421456281128","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"sql-escaper","version":"1.6.0","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.6.0","maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"1eca367fd316bd144883811072915fb4be58c2a0","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.6.0.tgz","fileCount":8,"integrity":"sha512-I+WA4xb3mprpxUbLFtraZRY8L4vI0+xEOPLxHSI4wOuZ8cSpjVBzeuQpnPjW6PfdjeSkD9n/IBoYzH0LGTVSoQ==","signatures":[{"sig":"MEQCIEOfKz+WuzULKhPpO5OFXKitZ4O77y/yz+Dq6QZS3Go+AiA0qra7rokagK20oSlC0BAHnNFH0QG66PjkqX+xbaWnng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGCkPlfGKL+ZFrFj44QPQMVKS9ZESYtwea6PyTVvOFrdAiBWgQu0HNg85sbAlbnLPiWL4QEhjJCrq4kfFaxA3VAH0Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":61998},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"a5282817b881d4fc982498784736c09ddab92b6a","scripts":{"lint":"biome lint --error-on-warnings && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun --bun poku -r=\"compact\" test","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:node":"poku test -r=\"compact\"","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.20.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"26.13.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.15","poku":"^4.5.0","esbuild":"^0.28.2","prettier":"^3.9.10","typescript":"^7.0.2","@types/node":"^26.6.6","@biomejs/biome":"^2.5.13","packages-update":"^2.0.0","@js-temporal/polyfill":"^0.5.1","monocart-coverage-reports":"^3.2.1","@ianvs/prettier-plugin-sort-imports":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.6.0_1794647349506_0.805315493466054","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"sql-escaper","version":"1.7.0","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.7.0","maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"cd732e93732050ab30c550775f6884b9ee22a10c","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.7.0.tgz","fileCount":8,"integrity":"sha512-ZgP6E9SPnhrhWXxd8+nLKPot3Euzyo3Rpxe6EFAYz2Ffaq9Xg2SH+6d4yJi7vsQDHaQlhzQ1phAopgE6+a1UCQ==","signatures":[{"sig":"MEQCIBPBnFe6vhSSHPoENiRtHsWTtXypvGAGSlAmqYkPPeMFAiAB3Ga4GGTUXYkVzCnj5jgCCUfDxEO1b008s98gc25eeA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGa60gs/koB+VZh/zw829iL2Ado9agHerggE4UURUw5EAiEA+al9w5TJoQTGpXzXdyjWQIsd+dqzYQ/OvyfllHtlKb8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":65611},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"4514c087962844ce87a522f5befb8bd4a03c7f7a","scripts":{"lint":"biome lint --error-on-warnings && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun --bun poku -r=\"compact\" test","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:node":"poku test -r=\"compact\"","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.20.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"26.13.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.15","poku":"^4.5.0","esbuild":"^0.28.2","prettier":"^3.9.10","typescript":"^7.0.2","@types/node":"^26.6.6","@biomejs/biome":"^2.5.13","packages-update":"^2.0.0","@js-temporal/polyfill":"^0.5.1","monocart-coverage-reports":"^3.2.1","@ianvs/prettier-plugin-sort-imports":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.7.0_1794805643869_0.20264827259030005","host":"s3://npm-registry-packages-npm-production"}},"1.8.0":{"name":"sql-escaper","version":"1.8.0","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.8.0","maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"454b893b36f5b3ef740ba668fd868b1d34346e41","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.8.0.tgz","fileCount":8,"integrity":"sha512-yFiNdmHt7alRRKtwV8gDXwptAl7ppk4Owd9Reu/WCBpTdNeRun6ww8vgaoyoN3qzdUlDbfOi+C2dkXpxmXuHIA==","signatures":[{"sig":"MEUCIFcGeqV3slJqINnexQqOcQ003R+JS8fFUOnFQyLrn2VnAiEA64f8BAxmIi/b82c35i2d0WnvoGlvmJ0PpX9mzBqEApI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCmdbqcMGORxkrH4WtparSbAAo/9ausMEkDw6X/FBqCVwIhAIxn7bXke5ex3JDEz2KIB+2XNKJpTpatFfPNT5HLh74u","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":73120},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"5555b4acc4abd71fa4a18e9c9dd8c2f225a75cc6","scripts":{"lint":"biome lint --error-on-warnings && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun --bun poku -r=\"compact\" test","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:node":"poku test -r=\"compact\"","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.20.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"26.13.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.15","poku":"^4.5.0","esbuild":"^0.28.2","prettier":"^3.9.10","typescript":"^7.0.2","@types/node":"^26.6.6","@biomejs/biome":"^2.5.13","packages-update":"^2.0.0","@js-temporal/polyfill":"^0.5.1","monocart-coverage-reports":"^3.2.1","@ianvs/prettier-plugin-sort-imports":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.8.0_1794912079690_0.14089086029498255","host":"s3://npm-registry-packages-npm-production"}},"1.9.0":{"name":"sql-escaper","version":"1.9.0","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"author":{"name":"https://github.com/mysqljs"},"license":"MIT","_id":"sql-escaper@1.9.0","maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"homepage":"https://github.com/mysqljs/sql-escaper#readme","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"e04129043d32380dcb91e717eda94131fa51239d","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.9.0.tgz","fileCount":8,"integrity":"sha512-XQhFLcxrK3Eumoxakl70ad/kjY+6XND6UWs64QYUyzblA1dblBBOwtIoJLU1rz5EvvIpFCvWQGKdwqsoMN4MYA==","signatures":[{"sig":"MEQCICuN/gNDuGCIuiurJxiCpWHDOjNXiOU4J2ByoLEUWZ0eAiACz0lRj/vyglNSZgvscUWT2KQJNdIODxb2VwKJoDSlNg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQD5VA7odMknCbwdy8IgWol/52Jsi+F47hOaIC/LlQutwgIhAKfmclH9Q6eYVbDMCRXkeWzmXGC7Qxb5rXnmmKwVXA39","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76143},"main":"./lib/index.js","types":"./lib/index.d.ts","module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"9a6337a534c23886e59dca8d72fdf227a2fec45b","scripts":{"lint":"biome lint --error-on-warnings && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun --bun poku -r=\"compact\" test","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:node":"poku test -r=\"compact\"","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"534ec005-ba74-492e-b36b-99937381e754"}},"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.20.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"_nodeVersion":"26.13.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.15","poku":"^4.5.0","esbuild":"^0.28.2","prettier":"^3.9.10","typescript":"^7.0.2","@types/node":"^26.6.6","@biomejs/biome":"^2.5.13","packages-update":"^2.0.0","@js-temporal/polyfill":"^0.5.1","monocart-coverage-reports":"^3.2.1","@ianvs/prettier-plugin-sort-imports":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-escaper_1.9.0_1794942012875_0.21281988000667895","host":"s3://npm-registry-packages-npm-production"}},"1.9.1":{"_id":"sql-escaper@1.9.1","bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"dist":{"shasum":"6b77fd881b6f29c542d432547ebcebb8b8d4cdd5","tarball":"https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.9.1.tgz","fileCount":8,"integrity":"sha512-4p522TVYaJXTbMlYgAwacjyg3EJyYe9KYWYlYJVwZG1YjtzxU5m5iSzsZoGI69Po7j3i/2tKlpZQi7uvhTL+WA==","signatures":[{"sig":"MEUCIQDlYfi7HFA0H/6IVedmmsTVZoeDsmjYwmq0WqegzyOePwIgNdB3Gma8P11oKQ2tlMRgopK1KJXTjDTInu5h1dSnQ/A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDujDyEwlua9F7jJvQOlgBJX6QrwPHiMqpwhYjaGvNI9gIhAPFsz0TBXCU+IFlGv5Y+XdNnee5K4AONkQhKarCBtv4U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/sql-escaper@1.9.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":79206},"main":"./lib/index.js","name":"sql-escaper","types":"./lib/index.d.ts","author":{"name":"https://github.com/mysqljs"},"module":"./lib/index.mjs","engines":{"bun":">=1.0.0","deno":">=2.0.0","node":">=12.0.0"},"exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.mjs"},"require":{"types":"./lib/index.d.ts","default":"./lib/index.js"}}},"funding":{"url":"https://github.com/mysqljs/sql-escaper?sponsor=1","type":"github"},"gitHead":"b59f0ff29221e4fa66fc87a01bae85a0eb87b6e6","license":"MIT","scripts":{"lint":"biome lint --error-on-warnings && prettier --check .","build":"rm -rf ./lib && tsc && npm run build:esm","update":"pu && npm i && (npm audit fix || true) && npm run lint:fix","lint:fix":"biome lint --write && prettier --write .github/workflows/*.yml .","test:bun":"bun --bun poku -r=\"compact\" test","benchmark":"cd benchmark && npm ci && bash index.sh","build:esm":"esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm","test:node":"poku test -r=\"compact\"","test:coverage":"mcr --import tsx --config mcr.config.ts npm run test:node"},"version":"1.9.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"534ec005-ba74-492e-b36b-99937381e754"}},"homepage":"https://github.com/mysqljs/sql-escaper#readme","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"_npmVersion":"11.20.0","description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","directories":{},"maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"_nodeVersion":"26.13.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.15","poku":"^4.5.0","esbuild":"^0.28.2","prettier":"^3.9.10","typescript":"^7.0.2","@types/node":"^26.6.6","@biomejs/biome":"^2.5.13","packages-update":"^2.0.0","@js-temporal/polyfill":"^0.5.1","monocart-coverage-reports":"^3.2.1","@ianvs/prettier-plugin-sort-imports":"^4.7.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sql-escaper_1.9.1_1794980345215_0.2771950250046661"}}},"time":{"created":"2026-02-04T12:21:55.875Z","modified":"2026-11-18T05:39:05.640Z","0.1.0":"2026-02-04T12:21:56.037Z","0.1.1":"2026-02-04T13:40:47.785Z","1.0.0":"2026-02-04T14:36:58.231Z","1.1.0":"2026-02-05T01:06:29.629Z","1.1.1":"2026-02-05T03:14:28.989Z","1.1.2":"2026-02-05T05:12:03.669Z","1.2.0":"2026-02-05T08:12:52.924Z","1.3.0":"2026-02-10T08:09:41.421Z","1.3.1":"2026-02-10T12:17:53.416Z","1.3.2":"2026-02-12T23:33:57.976Z","1.3.3":"2026-02-16T18:25:25.606Z","1.4.0":"2026-07-07T13:02:26.991Z","1.5.0":"2026-07-12T11:13:22.288Z","1.5.1":"2026-07-12T16:49:24.764Z","1.5.2":"2026-09-14T01:15:37.156Z","1.6.0":"2026-11-14T09:09:09.626Z","1.7.0":"2026-11-16T05:07:23.969Z","1.8.0":"2026-11-17T10:41:19.788Z","1.9.0":"2026-11-17T19:00:12.991Z","1.9.1":"2026-11-18T05:39:05.317Z"},"bugs":{"url":"https://github.com/mysqljs/sql-escaper/issues"},"author":{"name":"https://github.com/mysqljs"},"license":"MIT","homepage":"https://github.com/mysqljs/sql-escaper#readme","keywords":["sql","escape","format","sqlstring","sql-injection","sanitize","query","mysql","node","nodejs","bun","deno","typescript","fast"],"repository":{"url":"git+https://github.com/mysqljs/sql-escaper.git","type":"git"},"description":"🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).","maintainers":[{"name":"sidorares","email":"andrey.sidorov@gmail.com"},{"name":"weslley.io","email":"w.eslley@ymail.com"}],"readme":"# SQL Escaper\n\n[![NPM Version](https://img.shields.io/npm/v/sql-escaper.svg?label=&color=70a1ff&logo=npm&logoColor=white)](https://www.npmjs.com/package/sql-escaper)\n[![NPM Downloads](https://img.shields.io/npm/dm/sql-escaper.svg?label=&logo=npm&logoColor=white&color=45aaf2)](https://www.npmjs.com/package/sql-escaper)\n[![Coverage](https://img.shields.io/codecov/c/github/mysqljs/sql-escaper?label=&logo=codecov&logoColor=white&color=98cc00)](https://app.codecov.io/gh/mysqljs/sql-escaper)<br />\n[![GitHub Workflow Status (Node.js)](https://img.shields.io/github/actions/workflow/status/mysqljs/sql-escaper/ci_node.yml?event=push&label=&branch=main&logo=nodedotjs&logoColor=535c68&color=badc58)](https://github.com/mysqljs/sql-escaper/actions/workflows/ci_node.yml?query=branch%3Amain)\n[![GitHub Workflow Status (Bun)](https://img.shields.io/github/actions/workflow/status/mysqljs/sql-escaper/ci_bun.yml?event=push&label=&branch=main&logo=bun&logoColor=ffffff&color=f368e0)](https://github.com/mysqljs/sql-escaper/actions/workflows/ci_bun.yml?query=branch%3Amain)\n[![GitHub Workflow Status (Deno)](https://img.shields.io/github/actions/workflow/status/mysqljs/sql-escaper/ci_deno.yml?event=push&label=&branch=main&logo=deno&logoColor=ffffff&color=079992)](https://github.com/mysqljs/sql-escaper/actions/workflows/ci_deno.yml?query=branch%3Amain)\n\n## Motivation\n\n**SQL Escaper** is a rework of [**sqlstring**](https://github.com/mysqljs/sqlstring) (created by [**Douglas Wilson**](https://github.com/dougwilson)) that reads the structure of each query to decide how its values are formatted.\n\n### Rework includes:\n\n- **TypeScript** by default.\n- Support for `Uint8Array`, `BigInt`, and `Temporal`.\n- Support for both **CJS** and **ESM** exports.\n- Up to [**~44% faster**](#performance) than **sqlstring**.\n- Tells a real `SET` or `ON DUPLICATE KEY UPDATE` clause apart from the same words in a value, a column name, or another statement.\n- Support for the [`NO_BACKSLASH_ESCAPES`](#sql-mode) SQL mode _(**sqlstring** only escapes correctly with it disabled)_.\n- Support from **Node.js 12** onward _(**sqlstring** supports **Node.js 0.6**)_.\n\n> [!TIP]\n>\n> **SQL Escaper** has the same API as the original [**sqlstring**](https://github.com/mysqljs/sqlstring) <sup>1</sup>, so it can be used as a drop-in replacement. If it breaks any **sqlstring** usage, please report it as a bug.\n\n> [!IMPORTANT]\n>\n> 🔐 **SQL Escaper** is intended to fix a potential [**SQL Injection vulnerability**](https://flattsecurity.medium.com/finding-an-unseen-sql-injection-by-bypassing-escape-functions-in-mysqljs-mysql-90b27f6542b4) reported in 2022. When the original [**sqlstring**](https://github.com/mysqljs/sqlstring) is combined with [**mysqljs/mysql**](https://github.com/mysqljs/mysql) or [**MySQL2**](https://github.com/sidorares/node-mysql2), objects passed as values can be expanded into SQL fragments, potentially allowing attackers to manipulate the query structure. See [sidorares/node-mysql2#4051](https://github.com/sidorares/node-mysql2/issues/4051) for details.\n>\n> <sup>1</sup> In `format`, regardless of the `stringifyObjects` value, objects used outside of `SET` or `ON DUPLICATE KEY UPDATE` contexts are stringified as `'[object Object]'` unless you mark them with [**`expand`**](#expand). This is a security measure against that vulnerability and is not considered a breaking change for **sqlstring** usage.\n\n---\n\n## Install\n\n```bash\n# Node.js\nnpm i sql-escaper\n```\n\n```bash\n# Bun\nbun add sql-escaper\n```\n\n```bash\n# Deno\ndeno add npm:sql-escaper\n```\n\n---\n\n### [MySQL2](https://github.com/sidorares/node-mysql2)\n\n**MySQL2** uses **SQL Escaper** as its default escaping library since version `3.17.0`, so you only need to update it to the latest version:\n\n```bash\nnpm i mysql2@latest\n```\n\n### [mysqljs/mysql](https://github.com/mysqljs/mysql)\n\nYou can use an override in your _package.json_:\n\n```json\n\"dependencies\": {\n  \"mysql\": \"^2.18.1\"\n},\n\"overrides\": {\n  \"sqlstring\": \"npm:sql-escaper\"\n}\n```\n\nNext, clean the `node_modules` and reinstall the dependencies (`npm i`).\n\n---\n\n## Usage\n\nFor _up-to-date_ documentation, always follow the [**README.md**](https://github.com/mysqljs/sql-escaper?tab=readme-ov-file#readme) in the **GitHub** repository.\n\n### Quickstart\n\n```js\nimport { escape, escapeId, expand, format, raw } from 'sql-escaper';\n\nescape(\"Hello 'World'\", true);\n// => \"'Hello \\\\'World\\\\''\"\n\nescapeId('table.column');\n// => '`table`.`column`'\n\nformat('SELECT * FROM ?? WHERE id = ?', ['users', 42]);\n// => 'SELECT * FROM `users` WHERE id = 42'\n\nformat('INSERT INTO users SET ?', [\n  expand({ name: 'foo', email: 'bar@test.com' }, ['name', 'email']),\n]);\n// => \"INSERT INTO users SET `name` = 'foo', `email` = 'bar@test.com'\"\n\nformat('SELECT * FROM users WHERE ?', [expand({ id: 42 })]);\n// => 'SELECT * FROM users WHERE `id` = 42'\n\nescape(raw('NOW()'), true);\n// => 'NOW()'\n```\n\nWith **CommonJS**, load the same functions with `require`:\n\n```js\nconst { escape, escapeId, expand, format, raw } = require('sql-escaper');\n```\n\n---\n\n## API\n\n### escape\n\nEscapes a value for safe use in SQL queries.\n\n```ts\nescape(value: SqlValue, stringifyObjects?: boolean, timezone?: Timezone, sqlMode?: SqlMode): string\n```\n\n```js\nescape(undefined, true); // 'NULL'\nescape(null, true); // 'NULL'\nescape(true, true); // 'true'\nescape(false, true); // 'false'\nescape(5, true); // '5'\nescape(\"Hello 'World\", true); // \"'Hello \\\\'World'\"\n```\n\n#### Dates\n\nDates are converted to `YYYY-MM-DD HH:mm:ss.sss` format:\n\n```js\nescape(new Date(2012, 4, 7, 11, 42, 3, 2), true);\n// => \"'2012-05-07 11:42:03.002'\"\n```\n\nInvalid dates return `NULL`:\n\n```js\nescape(new Date(NaN), true); // 'NULL'\n```\n\nYou can specify a timezone:\n\n```js\nconst date = new Date(Date.UTC(2012, 4, 7, 11, 42, 3, 2));\n\nescape(date, true, 'Z'); // \"'2012-05-07 11:42:03.002'\"\nescape(date, true, '+01'); // \"'2012-05-07 12:42:03.002'\"\nescape(date, true, '-05:00'); // \"'2012-05-07 06:42:03.002'\"\n```\n\n#### Temporal\n\nAmong [Temporal](https://tc39.es/proposal-temporal/) values, `Temporal.Instant` and `Temporal.ZonedDateTime` are absolute points in time and honor the `timezone` argument exactly like `Date`, with millisecond precision:\n\n```js\nconst instant = Temporal.Instant.from('2012-05-07T11:42:03.002Z');\n\nescape(instant, true, 'Z'); // \"'2012-05-07 11:42:03.002'\"\nescape(instant, true, '+0200'); // \"'2012-05-07 13:42:03.002'\"\n```\n\n`Temporal.PlainDateTime`, `Temporal.PlainDate`, and `Temporal.PlainTime` are wall-clock values and are emitted verbatim as `DATETIME` / `DATE` / `TIME` literals, ignoring `timezone`:\n\n```js\nescape(Temporal.PlainDate.from('2012-05-07')); // \"'2012-05-07'\"\nescape(Temporal.PlainTime.from('11:42:03')); // \"'11:42:03'\"\n```\n\n#### Buffers\n\nBuffers are converted to hex strings:\n\n```js\nescape(Buffer.from([0, 1, 254, 255]), true);\n// => \"X'0001feff'\"\n```\n\n#### Objects\n\nWhen `stringifyObjects` is set to a non-nullish value **(recommended)**, objects are stringified instead of being expanded into `key = value` pairs, unless marked with [`expand`](#expand):\n\n```js\nescape({ a: 'b' }, true);\n// => \"'[object Object]'\"\n```\n\nObjects with a `toSqlString` method will have that method called:\n\n```js\nescape({ toSqlString: () => 'NOW()' }, true);\n// => 'NOW()'\n```\n\nWithout `stringifyObjects`, plain objects are converted to `key = value` pairs **(discouraged)**:\n\n```js\nescape({ a: 'b', c: 'd' });\n// => \"`a` = 'b', `c` = 'd'\"\n```\n\nFunction properties in objects are ignored **(discouraged)**:\n\n```js\nescape({ a: 'b', c: () => {} });\n// => \"`a` = 'b'\"\n```\n\n> [!CAUTION]\n>\n> Without `stringifyObjects`, an object reaching `escape` where a value is expected reshapes the query:\n>\n> ```js\n> const userInput = { id: true }; // e.g. JSON.parse('{\"id\":true}')\n>\n> /** Unsafe 🔓 (value position) */\n> 'DELETE FROM entries WHERE id = ' + escape(userInput);\n> // => \"DELETE FROM entries WHERE id = `id` = true\"\n> // `id` = `id` is always true, so every row is deleted ❗️\n>\n> /** Valid ✅ (SET assignment) */\n> 'UPDATE users SET ' + escape({ name: 'foo', role: 'admin' });\n> // => \"UPDATE users SET `name` = 'foo', `role` = 'admin'\"\n> ```\n\n> [!TIP]\n>\n> Instead, `format` expands an object only where it is safe (e.g., a `SET` assignment) or marked with [**`expand`**](#expand), and stringifies it everywhere else, so the same input cannot reshape the query:\n>\n> ```js\n> const userInput = { id: true }; // e.g. JSON.parse('{\"id\":true}')\n>\n> /** Unsafe 🔐 (value position) */\n> format('DELETE FROM entries WHERE id = ?', [userInput]);\n> // => \"DELETE FROM entries WHERE id = '[object Object]'\"\n> // stringified to an inert value\n>\n> /** Valid ✅ (SET assignment) */\n> format('UPDATE users SET ?', [{ name: 'foo', role: 'admin' }]);\n> // => \"UPDATE users SET `name` = 'foo', `role` = 'admin'\"\n> // expanded on purpose\n> ```\n\n#### Arrays\n\nArrays are turned into comma-separated lists:\n\n```js\nescape([1, 2, 'c'], true);\n// => \"1, 2, 'c'\"\n```\n\nNested arrays are turned into grouped lists (useful for bulk inserts):\n\n```js\nescape(\n  [\n    [1, 2, 3],\n    [4, 5, 6],\n  ],\n  true\n);\n// => '(1, 2, 3), (4, 5, 6)'\n```\n\n#### Sets\n\nSets are treated like arrays:\n\n```js\nescape(new Set([1, 2, 3]), true);\n// => '1, 2, 3'\n```\n\n---\n\n### escapeId\n\nEscapes an identifier (database, table, or column name).\n\n```ts\nescapeId(value: SqlValue, forbidQualified?: boolean): string\n```\n\n```js\nescapeId('id');\n// => '`id`'\n\nescapeId('table.column');\n// => '`table`.`column`'\n\nescapeId('i`d');\n// => '`i``d`'\n```\n\nQualified identifiers (with `.`) can be forbidden:\n\n```js\nescapeId('id1.id2', true);\n// => '`id1.id2`'\n```\n\nArrays are turned into comma-separated identifier lists:\n\n```js\nescapeId(['a', 'b', 't.c']);\n// => '`a`, `b`, `t`.`c`'\n```\n\n---\n\n### format\n\nFormats a SQL query by replacing `?` placeholders with escaped values and `??` with escaped identifiers.\n\n```ts\nformat(sql: string, values?: SqlValue | SqlValue[], stringifyObjects?: boolean, timezone?: Timezone, sqlMode?: SqlMode): string\n```\n\n```js\nformat('SELECT * FROM ?? WHERE id = ?', ['users', 42]);\n// => 'SELECT * FROM `users` WHERE id = 42'\n\nformat('? and ?', ['a', 'b']);\n// => \"'a' and 'b'\"\n```\n\nTriple (or more) question marks are ignored:\n\n```js\nformat('? or ??? and ?', ['foo', 'bar', 'fizz', 'buzz']);\n// => \"'foo' or ??? and 'bar'\"\n```\n\nIf no values are provided, the SQL is returned unchanged:\n\n```js\nformat('SELECT ??');\n// => 'SELECT ??'\n```\n\n#### Objects in SET clauses\n\n> [!WARNING]\n>\n> The keys of an object expanded here become column names, so a request body bound as it arrives lets the client choose which columns the query changes. Set `stringifyObjects` to `true` so that only marked objects expand, and mark such an object with the columns it may expand through [`expand`](#expand).\n\nWhen `stringifyObjects` is falsy, objects used in `SET` or `ON DUPLICATE KEY UPDATE` contexts are expanded into `key = value` pairs:\n\n```js\nformat('UPDATE users SET ?', [{ name: 'foo', email: 'bar@test.com' }]);\n// => \"UPDATE users SET `name` = 'foo', `email` = 'bar@test.com'\"\n\nformat(\n  'INSERT INTO users (name, email) VALUES (?, ?) ON DUPLICATE KEY UPDATE ?',\n  ['foo', 'bar@test.com', { name: 'foo', email: 'bar@test.com' }]\n);\n// => \"INSERT INTO users (name, email) VALUES ('foo', 'bar@test.com') ON DUPLICATE KEY UPDATE `name` = 'foo', `email` = 'bar@test.com'\"\n```\n\nWhen `stringifyObjects` is truthy, objects are stringified unless marked with [`expand`](#expand):\n\n```js\nformat('UPDATE users SET ?', [{ name: 'foo' }], true);\n// => \"UPDATE users SET '[object Object]'\"\n```\n\n#### Maps in SET clauses\n\nMaps are treated like plain objects, preserving insertion order:\n\n```js\nformat('UPDATE users SET ?', [\n  new Map([\n    ['name', 'foo'],\n    ['email', 'bar@test.com'],\n  ]),\n]);\n// => \"UPDATE users SET `name` = 'foo', `email` = 'bar@test.com'\"\n```\n\nOutside of `SET` or `ON DUPLICATE KEY UPDATE`, a `Map` is stringified as `'[object Map]'` unless marked with [`expand`](#expand):\n\n```js\nformat('SELECT * FROM users WHERE data = ?', [new Map([['id', 1]])]);\n// => \"SELECT * FROM users WHERE data = '[object Map]'\"\n```\n\n#### SQL mode\n\nWhen the server runs with the [`ANSI_QUOTES`](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_ansi_quotes) SQL mode, double quotes delimit identifiers instead of strings. Set `ansiQuotes` so `format` reads them the same way, or a double-quoted identifier that ends in a backslash can misplace the values after it:\n\n```js\nconst sqlMode = { ansiQuotes: true };\n\nformat('SELECT \"dir\\\\\" FROM t WHERE id = ?', [1], false, 'local', sqlMode);\n// => 'SELECT \"dir\\\\\" FROM t WHERE id = 1'\n```\n\nWhen the server runs with the [`NO_BACKSLASH_ESCAPES`](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) SQL mode, a backslash in a string is an ordinary character, so the default escaping lets a value end its string early. Set `noBackslashEscapes` to write every value in a form both modes read the same way, in `escape` and `format`:\n\n```js\nconst sqlMode = { noBackslashEscapes: true };\n\nformat('SELECT ? AS dir, ? AS name', ['C:\\\\', \"it's\"], false, 'local', sqlMode);\n// => \"SELECT REPLACE('C:\\\\%', '\\\\%', LEFT('\\\\%', 1)) AS dir, 'it''s' AS name\"\n\nformat(\"SELECT 'C:\\\\' AS dir, ? AS name\", [\"it's\"], false, 'local', sqlMode);\n// throws TypeError\n```\n\nAlso set `noBackslashEscapes` whenever the mode cannot be known for sure, for example when it comes from the `SERVER_STATUS_NO_BACKSLASH_ESCAPES` status flag, which can lag behind the session. A value holding a backslash is written as an expression that rebuilds it, which **MySQL** rejects where only a quoted string is allowed, such as `IDENTIFIED BY`.\n\nA string written in the query itself reads differently in each mode when it holds a backslash, so pass that text as a value instead. With the option set, `format` throws a `TypeError` where a quote follows an odd number of backslashes, as in the last query above.\n\nSetting `noBackslashEscapes` to anything other than a boolean throws a `TypeError`. `format` throws neither error when no values are provided.\n\nA value with a `toSqlString` method receives the SQL mode as its argument, to pass on to the `escape` or `format` calls that build its SQL. Text escaped before the outer call, such as a value escaped into a `raw` string, must be given the same mode by hand:\n\n```js\nconst sqlMode = { noBackslashEscapes: true };\nconst author = {\n  toSqlString: (mode) =>\n    format(\n      'SELECT id FROM users WHERE name = ?',\n      [\"it's\"],\n      false,\n      'local',\n      mode\n    ),\n};\n\nformat(\n  'SELECT * FROM posts WHERE author_id IN (?)',\n  [author],\n  false,\n  'local',\n  sqlMode\n);\n// => \"SELECT * FROM posts WHERE author_id IN (SELECT id FROM users WHERE name = 'it''s')\"\n```\n\n---\n\n### raw\n\nCreates a raw SQL value that will not be escaped.\n\n```ts\nraw(sql: string): Raw\n```\n\n```js\nescape(raw('NOW()'), true);\n// => 'NOW()'\n```\n\nInside an expanded object, raw values are preserved **(discouraged)**:\n\n```js\nescape({ id: raw('LAST_INSERT_ID()') });\n// => '`id` = LAST_INSERT_ID()'\n```\n\nOnly accepts strings:\n\n```js\nraw(42); // throws TypeError\n```\n\n---\n\n### expand\n\nMarks an object or a `Map` to be expanded into `key = value` pairs in any position of the statement, regardless of the `stringifyObjects` value.\n\n```ts\nexpand(value: Record<string, unknown> | Map<string, SqlValue>, columns?: readonly string[]): Expand\n```\n\n> [!WARNING]\n>\n> The keys of a marked object become column names. For an object your code did not build, such as a request body, pass the columns it may expand, or the client chooses which columns the query reads or changes:\n>\n> ```js\n> const body = { name: 'foo', role: 'admin' }; // e.g. a request body\n>\n> format('UPDATE users SET ? WHERE id = ?', [\n>   expand(body, ['name', 'email']),\n>   1,\n> ]);\n> // => \"UPDATE users SET `name` = 'foo' WHERE id = 1\"\n> ```\n>\n> Only the value's own keys that the list names expand, in the order it names them, and an allowed column the value lacks is left out instead of set to `NULL`.\n\n```js\nformat('SELECT ?? FROM ?? WHERE ? AND status IN (?) LIMIT ?', [\n  ['id', 'name'],\n  'users',\n  expand({ role: 'admin' }),\n  ['active', 'pending'],\n  10,\n]);\n// => \"SELECT `id`, `name` FROM `users` WHERE `role` = 'admin' AND status IN ('active', 'pending') LIMIT 10\"\n\nformat(\n  'UPDATE users SET ? WHERE id = ?',\n  [expand({ name: 'foo' }), { id: true }],\n  true\n);\n// => \"UPDATE users SET `name` = 'foo' WHERE id = '[object Object]'\"\n\nescape(expand({ id: 1 }), true);\n// => '`id` = 1'\n```\n\nA marked object produces the same text it produces in a `SET` clause. Only the marked value expands, so other objects in the statement keep the default behavior, and a mark nested inside an array, a `Set`, an object, or a `Map` is stringified like any nested object:\n\n```js\nformat('SELECT * FROM users WHERE id IN (?)', [[expand({ id: 1 })]]);\n// => \"SELECT * FROM users WHERE id IN ('[object Object]')\"\n```\n\nOnly accepts an object or a `Map`, with the allowed columns as an array of strings:\n\n```js\nexpand('id = 1'); // throws TypeError\nexpand([{ id: 1 }]); // throws TypeError\nexpand(raw('NOW()')); // throws TypeError\nexpand({ id: 1 }, 'id'); // throws TypeError\n```\n\n- A value marked by one copy of **SQL Escaper** (for example, your own dependency) expands in another (for example, the one **MySQL2** uses), limited to the columns given when it was marked.\n\n---\n\n### TypeScript\n\nYou can import the available types:\n\n```ts\nimport type {\n  Expand,\n  Raw,\n  SqlMode,\n  SqlValue,\n  TemporalValue,\n  Timezone,\n} from 'sql-escaper';\n```\n\n---\n\n## Performance\n\nEach benchmark formats `10,000` queries using `format` with `100` values, comparing **SQL Escaper** against the original [**sqlstring**](https://github.com/mysqljs/sqlstring) through [**hyperfine**](https://github.com/sharkdp/hyperfine):\n\n|   # | Benchmark                                | sqlstring | SQL Escaper |       Difference |\n| --: | ---------------------------------------- | --------: | ----------: | ---------------: |\n|   1 | Select 100 values                        |  173.0 ms |    122.0 ms | **1.42x faster** |\n|   2 | Insert 100 values                        |  173.4 ms |    126.5 ms | **1.37x faster** |\n|   3 | Insert 100 strings requiring escape      |  331.5 ms |    185.1 ms | **1.79x faster** |\n|   4 | Insert 100 dates                         |  376.5 ms |    264.0 ms | **1.43x faster** |\n|   5 | SET with 100 values                      |  178.7 ms |    140.8 ms | **1.27x faster** |\n|   6 | SET with 100 objects                     |  238.4 ms |    158.7 ms | **1.50x faster** |\n|   7 | ON DUPLICATE KEY UPDATE with 100 values  |  315.4 ms |    235.6 ms | **1.34x faster** |\n|   8 | ON DUPLICATE KEY UPDATE with 100 objects |  369.5 ms |    282.9 ms | **1.31x faster** |\n|   9 | Multi-statement SET with 100 objects     |  244.3 ms |    162.2 ms | **1.51x faster** |\n\n- See how the benchmarks are run in the [**benchmark**](https://github.com/mysqljs/sql-escaper/tree/main/benchmark) directory.\n\n> [!NOTE]\n>\n> Benchmarks ran on [**GitHub Actions**](https://github.com/mysqljs/sql-escaper/blob/main/.github/workflows/ci_benchmark.yml) (`ubuntu-latest`) using **Node.js LTS**. Results may vary depending on runner hardware and runtime version.\n\n---\n\n## Caution\n\n> Based on the original [**sqlstring** documentation](https://github.com/mysqljs/sqlstring#readme).\n\n- The escaping methods in this library only work when the [`NO_BACKSLASH_ESCAPES`](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes) SQL mode is disabled (which is the default state for **MySQL** servers), unless `noBackslashEscapes` is set in the [SQL mode](#sql-mode) argument.\n- This library performs **client-side escaping** to generate SQL strings. The syntax for `format` may look similar to a prepared statement, but it is not one. The escaped SQL is safe only on a connection whose character set cannot turn another character into a quote, a backslash, or a backtick, such as `utf8mb4`.\n- When using `format`, placeholders inside strings (`'...'` and `\"...\"`), backtick identifiers, and comments (`#`, `/* */`, and `--` followed by whitespace) are left as they are. Executable comments (`/*! */`) and optimizer hints (`/*+ */`) are read as SQL, so their placeholders are replaced.\n- When structured user input is provided as the value to escape, validate the shape of the input, as the resulting escaped string may contain more than a single value.\n- `NaN` and `Infinity` are left as-is. **MySQL** does not support these values, so trying to insert them triggers an error.\n- The string provided to `raw()` will **skip all escaping**, so be careful when passing in unvalidated input.\n\n---\n\n## Security Policy\n\n[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/mysqljs/sql-escaper/ci_codeql.yml?event=push&label=&branch=main&logo=github&logoColor=white&color=f368e0)](https://github.com/mysqljs/sql-escaper/actions/workflows/ci_codeql.yml?query=branch%3Amain)\n\nPlease check the [**SECURITY.md**](https://github.com/mysqljs/sql-escaper/blob/main/SECURITY.md).\n\n---\n\n## Contributing\n\nSee the [**Contributing Guide**](https://github.com/mysqljs/sql-escaper/blob/main/CONTRIBUTING.md) and please follow our [**Code of Conduct**](https://github.com/mysqljs/sql-escaper/blob/main/CODE_OF_CONDUCT.md) 🚀\n\n---\n\n## Acknowledgements\n\n- [![Contributors](https://img.shields.io/github/contributors/mysqljs/sql-escaper?label=Contributors)](https://github.com/mysqljs/sql-escaper/graphs/contributors)\n- **SQL Escaper** is adapted from [**sqlstring**](https://github.com/mysqljs/sqlstring) ([**MIT**](https://github.com/mysqljs/sqlstring/blob/master/LICENSE)).\n- Special thanks to [**Douglas Wilson**](https://github.com/dougwilson) for the original **sqlstring** project and its [**contributors**](https://github.com/mysqljs/sqlstring/graphs/contributors).\n\n---\n\n## License\n\n**SQL Escaper** is under the [**MIT License**](https://github.com/mysqljs/sql-escaper/blob/main/LICENSE).\n","readmeFilename":"README.md"}