Last active
September 28, 2025 21:47
-
-
Save bcomnes/915f1593aaed9fa8608eb454cdac6937 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node_modules | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Fastify from 'fastify'; | |
| const fastify = Fastify({ logger: true }); | |
| // Define a schema for the response | |
| const responseSchema = { | |
| 200: { | |
| type: 'object', | |
| properties: { | |
| message: { type: 'string' }, | |
| description: { type: 'string' }, | |
| timestamp: { type: 'string', format: 'date-time' } | |
| }, | |
| required: ['message', 'description', 'timestamp'] | |
| } | |
| }; | |
| // Define a route that returns JSON with a string containing newlines | |
| fastify.get('/test', { | |
| schema: { | |
| response: responseSchema | |
| } | |
| }, async (request, reply) => { | |
| return { | |
| message: `This is a string | |
| with multiple | |
| newlines in it | |
| Foo`, | |
| description: "This JSON response contains a field with newline characters", | |
| timestamp: new Date().toISOString() | |
| }; | |
| }); | |
| // Start the server | |
| const start = async () => { | |
| try { | |
| await fastify.listen({ port: 3001, host: '0.0.0.0' }); | |
| console.log('Server is running on http://localhost:3001'); | |
| // After server starts, make a fetch request to demonstrate the issue | |
| setTimeout(async () => { | |
| console.log('\n--- Making fetch request to /test ---'); | |
| try { | |
| const response = await fetch('http://localhost:3001/test'); | |
| console.log({ response }) | |
| const text = await response.text(); | |
| console.log('Raw response text:', text); | |
| // This will likely throw an error due to unescaped newlines | |
| const json = JSON.parse(text); | |
| console.log('Parsed JSON successfully:', json); | |
| } catch (error) { | |
| console.error({ error }) | |
| console.error('Error parsing JSON:', error.message); | |
| console.error('This error occurs because Fastify is not properly escaping newlines in JSON strings'); | |
| } | |
| // Close the server after demonstration | |
| setTimeout(() => { | |
| console.log('\n--- Closing server ---'); | |
| process.exit(0); | |
| }, 1000); | |
| }, 1000); | |
| } catch (err) { | |
| fastify.log.error(err); | |
| process.exit(1); | |
| } | |
| }; | |
| start(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "bad-fast-json-stringify", | |
| "version": "0.0.0", | |
| "lockfileVersion": 3, | |
| "requires": true, | |
| "packages": { | |
| "": { | |
| "name": "bad-fast-json-stringify", | |
| "version": "0.0.0", | |
| "license": "MIT", | |
| "dependencies": { | |
| "fastify": "^5.6.1" | |
| }, | |
| "devDependencies": {} | |
| }, | |
| "node_modules/@fastify/ajv-compiler": { | |
| "version": "4.0.2", | |
| "resolved": "https://registry.npmjs.org/@fastify/ajv-compiler/-/ajv-compiler-4.0.2.tgz", | |
| "integrity": "sha512-Rkiu/8wIjpsf46Rr+Fitd3HRP+VsxUFDDeag0hs9L0ksfnwx2g7SPQQTFL0E8Qv+rfXzQOxBJnjUB9ITUDjfWQ==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT", | |
| "dependencies": { | |
| "ajv": "^8.12.0", | |
| "ajv-formats": "^3.0.1", | |
| "fast-uri": "^3.0.0" | |
| } | |
| }, | |
| "node_modules/@fastify/error": { | |
| "version": "4.2.0", | |
| "resolved": "https://registry.npmjs.org/@fastify/error/-/error-4.2.0.tgz", | |
| "integrity": "sha512-RSo3sVDXfHskiBZKBPRgnQTtIqpi/7zhJOEmAxCiBcM7d0uwdGdxLlsCaLzGs8v8NnxIRlfG0N51p5yFaOentQ==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT" | |
| }, | |
| "node_modules/@fastify/fast-json-stringify-compiler": { | |
| "version": "5.0.3", | |
| "resolved": "https://registry.npmjs.org/@fastify/fast-json-stringify-compiler/-/fast-json-stringify-compiler-5.0.3.tgz", | |
| "integrity": "sha512-uik7yYHkLr6fxd8hJSZ8c+xF4WafPK+XzneQDPU+D10r5X19GW8lJcom2YijX2+qtFF1ENJlHXKFM9ouXNJYgQ==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT", | |
| "dependencies": { | |
| "fast-json-stringify": "^6.0.0" | |
| } | |
| }, | |
| "node_modules/@fastify/forwarded": { | |
| "version": "3.0.1", | |
| "resolved": "https://registry.npmjs.org/@fastify/forwarded/-/forwarded-3.0.1.tgz", | |
| "integrity": "sha512-JqDochHFqXs3C3Ml3gOY58zM7OqO9ENqPo0UqAjAjH8L01fRZqwX9iLeX34//kiJubF7r2ZQHtBRU36vONbLlw==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT" | |
| }, | |
| "node_modules/@fastify/merge-json-schemas": { | |
| "version": "0.2.1", | |
| "resolved": "https://registry.npmjs.org/@fastify/merge-json-schemas/-/merge-json-schemas-0.2.1.tgz", | |
| "integrity": "sha512-OA3KGBCy6KtIvLf8DINC5880o5iBlDX4SxzLQS8HorJAbqluzLRn80UXU0bxZn7UOFhFgpRJDasfwn9nG4FG4A==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT", | |
| "dependencies": { | |
| "dequal": "^2.0.3" | |
| } | |
| }, | |
| "node_modules/@fastify/proxy-addr": { | |
| "version": "5.1.0", | |
| "resolved": "https://registry.npmjs.org/@fastify/proxy-addr/-/proxy-addr-5.1.0.tgz", | |
| "integrity": "sha512-INS+6gh91cLUjB+PVHfu1UqcB76Sqtpyp7bnL+FYojhjygvOPA9ctiD/JDKsyD9Xgu4hUhCSJBPig/w7duNajw==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT", | |
| "dependencies": { | |
| "@fastify/forwarded": "^3.0.0", | |
| "ipaddr.js": "^2.1.0" | |
| } | |
| }, | |
| "node_modules/abstract-logging": { | |
| "version": "2.0.1", | |
| "resolved": "https://registry.npmjs.org/abstract-logging/-/abstract-logging-2.0.1.tgz", | |
| "integrity": "sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==", | |
| "license": "MIT" | |
| }, | |
| "node_modules/ajv": { | |
| "version": "8.17.1", | |
| "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", | |
| "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", | |
| "license": "MIT", | |
| "dependencies": { | |
| "fast-deep-equal": "^3.1.3", | |
| "fast-uri": "^3.0.1", | |
| "json-schema-traverse": "^1.0.0", | |
| "require-from-string": "^2.0.2" | |
| }, | |
| "funding": { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/epoberezkin" | |
| } | |
| }, | |
| "node_modules/ajv-formats": { | |
| "version": "3.0.1", | |
| "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", | |
| "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", | |
| "license": "MIT", | |
| "dependencies": { | |
| "ajv": "^8.0.0" | |
| }, | |
| "peerDependencies": { | |
| "ajv": "^8.0.0" | |
| }, | |
| "peerDependenciesMeta": { | |
| "ajv": { | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "node_modules/atomic-sleep": { | |
| "version": "1.0.0", | |
| "resolved": "https://registry.npmjs.org/atomic-sleep/-/atomic-sleep-1.0.0.tgz", | |
| "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==", | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=8.0.0" | |
| } | |
| }, | |
| "node_modules/avvio": { | |
| "version": "9.1.0", | |
| "resolved": "https://registry.npmjs.org/avvio/-/avvio-9.1.0.tgz", | |
| "integrity": "sha512-fYASnYi600CsH/j9EQov7lECAniYiBFiiAtBNuZYLA2leLe9qOvZzqYHFjtIj6gD2VMoMLP14834LFWvr4IfDw==", | |
| "license": "MIT", | |
| "dependencies": { | |
| "@fastify/error": "^4.0.0", | |
| "fastq": "^1.17.1" | |
| } | |
| }, | |
| "node_modules/cookie": { | |
| "version": "1.0.2", | |
| "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.0.2.tgz", | |
| "integrity": "sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==", | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=18" | |
| } | |
| }, | |
| "node_modules/dequal": { | |
| "version": "2.0.3", | |
| "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", | |
| "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=6" | |
| } | |
| }, | |
| "node_modules/fast-decode-uri-component": { | |
| "version": "1.0.1", | |
| "resolved": "https://registry.npmjs.org/fast-decode-uri-component/-/fast-decode-uri-component-1.0.1.tgz", | |
| "integrity": "sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==", | |
| "license": "MIT" | |
| }, | |
| "node_modules/fast-deep-equal": { | |
| "version": "3.1.3", | |
| "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", | |
| "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", | |
| "license": "MIT" | |
| }, | |
| "node_modules/fast-json-stringify": { | |
| "version": "6.1.0", | |
| "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-6.1.0.tgz", | |
| "integrity": "sha512-bRnlgdhNd5sr3041TDg//jagICPZPwVjDK7I58BDnlB49l87wdYpYIO4zOr2lzHTah5tbbiBLyfPPeIUqHS/nQ==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT", | |
| "dependencies": { | |
| "@fastify/merge-json-schemas": "^0.2.0", | |
| "ajv": "^8.12.0", | |
| "ajv-formats": "^3.0.1", | |
| "fast-uri": "^3.0.0", | |
| "json-schema-ref-resolver": "^3.0.0", | |
| "rfdc": "^1.2.0" | |
| } | |
| }, | |
| "node_modules/fast-querystring": { | |
| "version": "1.1.2", | |
| "resolved": "https://registry.npmjs.org/fast-querystring/-/fast-querystring-1.1.2.tgz", | |
| "integrity": "sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg==", | |
| "license": "MIT", | |
| "dependencies": { | |
| "fast-decode-uri-component": "^1.0.1" | |
| } | |
| }, | |
| "node_modules/fast-uri": { | |
| "version": "3.1.0", | |
| "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", | |
| "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "BSD-3-Clause" | |
| }, | |
| "node_modules/fastify": { | |
| "version": "5.6.1", | |
| "resolved": "https://registry.npmjs.org/fastify/-/fastify-5.6.1.tgz", | |
| "integrity": "sha512-WjjlOciBF0K8pDUPZoGPhqhKrQJ02I8DKaDIfO51EL0kbSMwQFl85cRwhOvmSDWoukNOdTo27gLN549pLCcH7Q==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT", | |
| "dependencies": { | |
| "@fastify/ajv-compiler": "^4.0.0", | |
| "@fastify/error": "^4.0.0", | |
| "@fastify/fast-json-stringify-compiler": "^5.0.0", | |
| "@fastify/proxy-addr": "^5.0.0", | |
| "abstract-logging": "^2.0.1", | |
| "avvio": "^9.0.0", | |
| "fast-json-stringify": "^6.0.0", | |
| "find-my-way": "^9.0.0", | |
| "light-my-request": "^6.0.0", | |
| "pino": "^9.0.0", | |
| "process-warning": "^5.0.0", | |
| "rfdc": "^1.3.1", | |
| "secure-json-parse": "^4.0.0", | |
| "semver": "^7.6.0", | |
| "toad-cache": "^3.7.0" | |
| } | |
| }, | |
| "node_modules/fastq": { | |
| "version": "1.19.1", | |
| "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", | |
| "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==", | |
| "license": "ISC", | |
| "dependencies": { | |
| "reusify": "^1.0.4" | |
| } | |
| }, | |
| "node_modules/find-my-way": { | |
| "version": "9.3.0", | |
| "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-9.3.0.tgz", | |
| "integrity": "sha512-eRoFWQw+Yv2tuYlK2pjFS2jGXSxSppAs3hSQjfxVKxM5amECzIgYYc1FEI8ZmhSh/Ig+FrKEz43NLRKJjYCZVg==", | |
| "license": "MIT", | |
| "dependencies": { | |
| "fast-deep-equal": "^3.1.3", | |
| "fast-querystring": "^1.0.0", | |
| "safe-regex2": "^5.0.0" | |
| }, | |
| "engines": { | |
| "node": ">=20" | |
| } | |
| }, | |
| "node_modules/ipaddr.js": { | |
| "version": "2.2.0", | |
| "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.2.0.tgz", | |
| "integrity": "sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==", | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">= 10" | |
| } | |
| }, | |
| "node_modules/json-schema-ref-resolver": { | |
| "version": "3.0.0", | |
| "resolved": "https://registry.npmjs.org/json-schema-ref-resolver/-/json-schema-ref-resolver-3.0.0.tgz", | |
| "integrity": "sha512-hOrZIVL5jyYFjzk7+y7n5JDzGlU8rfWDuYyHwGa2WA8/pcmMHezp2xsVwxrebD/Q9t8Nc5DboieySDpCp4WG4A==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT", | |
| "dependencies": { | |
| "dequal": "^2.0.3" | |
| } | |
| }, | |
| "node_modules/json-schema-traverse": { | |
| "version": "1.0.0", | |
| "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", | |
| "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", | |
| "license": "MIT" | |
| }, | |
| "node_modules/light-my-request": { | |
| "version": "6.6.0", | |
| "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-6.6.0.tgz", | |
| "integrity": "sha512-CHYbu8RtboSIoVsHZ6Ye4cj4Aw/yg2oAFimlF7mNvfDV192LR7nDiKtSIfCuLT7KokPSTn/9kfVLm5OGN0A28A==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "BSD-3-Clause", | |
| "dependencies": { | |
| "cookie": "^1.0.1", | |
| "process-warning": "^4.0.0", | |
| "set-cookie-parser": "^2.6.0" | |
| } | |
| }, | |
| "node_modules/light-my-request/node_modules/process-warning": { | |
| "version": "4.0.1", | |
| "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-4.0.1.tgz", | |
| "integrity": "sha512-3c2LzQ3rY9d0hc1emcsHhfT9Jwz0cChib/QN89oME2R451w5fy3f0afAhERFZAwrbDU43wk12d0ORBpDVME50Q==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT" | |
| }, | |
| "node_modules/on-exit-leak-free": { | |
| "version": "2.1.2", | |
| "resolved": "https://registry.npmjs.org/on-exit-leak-free/-/on-exit-leak-free-2.1.2.tgz", | |
| "integrity": "sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==", | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=14.0.0" | |
| } | |
| }, | |
| "node_modules/pino": { | |
| "version": "9.12.0", | |
| "resolved": "https://registry.npmjs.org/pino/-/pino-9.12.0.tgz", | |
| "integrity": "sha512-0Gd0OezGvqtqMwgYxpL7P0pSHHzTJ0Lx992h+mNlMtRVfNnqweWmf0JmRWk5gJzHalyd2mxTzKjhiNbGS2Ztfw==", | |
| "license": "MIT", | |
| "dependencies": { | |
| "atomic-sleep": "^1.0.0", | |
| "on-exit-leak-free": "^2.1.0", | |
| "pino-abstract-transport": "^2.0.0", | |
| "pino-std-serializers": "^7.0.0", | |
| "process-warning": "^5.0.0", | |
| "quick-format-unescaped": "^4.0.3", | |
| "real-require": "^0.2.0", | |
| "safe-stable-stringify": "^2.3.1", | |
| "slow-redact": "^0.3.0", | |
| "sonic-boom": "^4.0.1", | |
| "thread-stream": "^3.0.0" | |
| }, | |
| "bin": { | |
| "pino": "bin.js" | |
| } | |
| }, | |
| "node_modules/pino-abstract-transport": { | |
| "version": "2.0.0", | |
| "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-2.0.0.tgz", | |
| "integrity": "sha512-F63x5tizV6WCh4R6RHyi2Ml+M70DNRXt/+HANowMflpgGFMAym/VKm6G7ZOQRjqN7XbGxK1Lg9t6ZrtzOaivMw==", | |
| "license": "MIT", | |
| "dependencies": { | |
| "split2": "^4.0.0" | |
| } | |
| }, | |
| "node_modules/pino-std-serializers": { | |
| "version": "7.0.0", | |
| "resolved": "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-7.0.0.tgz", | |
| "integrity": "sha512-e906FRY0+tV27iq4juKzSYPbUj2do2X2JX4EzSca1631EB2QJQUqGbDuERal7LCtOpxl6x3+nvo9NPZcmjkiFA==", | |
| "license": "MIT" | |
| }, | |
| "node_modules/process-warning": { | |
| "version": "5.0.0", | |
| "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-5.0.0.tgz", | |
| "integrity": "sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT" | |
| }, | |
| "node_modules/quick-format-unescaped": { | |
| "version": "4.0.4", | |
| "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz", | |
| "integrity": "sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==", | |
| "license": "MIT" | |
| }, | |
| "node_modules/real-require": { | |
| "version": "0.2.0", | |
| "resolved": "https://registry.npmjs.org/real-require/-/real-require-0.2.0.tgz", | |
| "integrity": "sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==", | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">= 12.13.0" | |
| } | |
| }, | |
| "node_modules/require-from-string": { | |
| "version": "2.0.2", | |
| "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", | |
| "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=0.10.0" | |
| } | |
| }, | |
| "node_modules/ret": { | |
| "version": "0.5.0", | |
| "resolved": "https://registry.npmjs.org/ret/-/ret-0.5.0.tgz", | |
| "integrity": "sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw==", | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=10" | |
| } | |
| }, | |
| "node_modules/reusify": { | |
| "version": "1.1.0", | |
| "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", | |
| "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", | |
| "license": "MIT", | |
| "engines": { | |
| "iojs": ">=1.0.0", | |
| "node": ">=0.10.0" | |
| } | |
| }, | |
| "node_modules/rfdc": { | |
| "version": "1.4.1", | |
| "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", | |
| "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", | |
| "license": "MIT" | |
| }, | |
| "node_modules/safe-regex2": { | |
| "version": "5.0.0", | |
| "resolved": "https://registry.npmjs.org/safe-regex2/-/safe-regex2-5.0.0.tgz", | |
| "integrity": "sha512-YwJwe5a51WlK7KbOJREPdjNrpViQBI3p4T50lfwPuDhZnE3XGVTlGvi+aolc5+RvxDD6bnUmjVsU9n1eboLUYw==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "MIT", | |
| "dependencies": { | |
| "ret": "~0.5.0" | |
| } | |
| }, | |
| "node_modules/safe-stable-stringify": { | |
| "version": "2.5.0", | |
| "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", | |
| "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=10" | |
| } | |
| }, | |
| "node_modules/secure-json-parse": { | |
| "version": "4.0.0", | |
| "resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-4.0.0.tgz", | |
| "integrity": "sha512-dxtLJO6sc35jWidmLxo7ij+Eg48PM/kleBsxpC8QJE0qJICe+KawkDQmvCMZUr9u7WKVHgMW6vy3fQ7zMiFZMA==", | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/fastify" | |
| }, | |
| { | |
| "type": "opencollective", | |
| "url": "https://opencollective.com/fastify" | |
| } | |
| ], | |
| "license": "BSD-3-Clause" | |
| }, | |
| "node_modules/semver": { | |
| "version": "7.7.2", | |
| "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", | |
| "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", | |
| "license": "ISC", | |
| "bin": { | |
| "semver": "bin/semver.js" | |
| }, | |
| "engines": { | |
| "node": ">=10" | |
| } | |
| }, | |
| "node_modules/set-cookie-parser": { | |
| "version": "2.7.1", | |
| "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.1.tgz", | |
| "integrity": "sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==", | |
| "license": "MIT" | |
| }, | |
| "node_modules/slow-redact": { | |
| "version": "0.3.0", | |
| "resolved": "https://registry.npmjs.org/slow-redact/-/slow-redact-0.3.0.tgz", | |
| "integrity": "sha512-cf723wn9JeRIYP9tdtd86GuqoR5937u64Io+CYjlm2i7jvu7g0H+Cp0l0ShAf/4ZL+ISUTVT+8Qzz7RZmp9FjA==", | |
| "license": "MIT" | |
| }, | |
| "node_modules/sonic-boom": { | |
| "version": "4.2.0", | |
| "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-4.2.0.tgz", | |
| "integrity": "sha512-INb7TM37/mAcsGmc9hyyI6+QR3rR1zVRu36B0NeGXKnOOLiZOfER5SA+N7X7k3yUYRzLWafduTDvJAfDswwEww==", | |
| "license": "MIT", | |
| "dependencies": { | |
| "atomic-sleep": "^1.0.0" | |
| } | |
| }, | |
| "node_modules/split2": { | |
| "version": "4.2.0", | |
| "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", | |
| "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", | |
| "license": "ISC", | |
| "engines": { | |
| "node": ">= 10.x" | |
| } | |
| }, | |
| "node_modules/thread-stream": { | |
| "version": "3.1.0", | |
| "resolved": "https://registry.npmjs.org/thread-stream/-/thread-stream-3.1.0.tgz", | |
| "integrity": "sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==", | |
| "license": "MIT", | |
| "dependencies": { | |
| "real-require": "^0.2.0" | |
| } | |
| }, | |
| "node_modules/toad-cache": { | |
| "version": "3.7.0", | |
| "resolved": "https://registry.npmjs.org/toad-cache/-/toad-cache-3.7.0.tgz", | |
| "integrity": "sha512-/m8M+2BJUpoJdgAHoG+baCwBT+tf2VraSfkBgl0Y00qIWt41DJ8R5B8nsEw0I58YwF5IZH6z24/2TobDKnqSWw==", | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=12" | |
| } | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "bad-fast-json-stringify", | |
| "version": "0.0.0", | |
| "description": "", | |
| "license": "MIT", | |
| "author": "Bret Comnes <[email protected]> (https://bret.io/)", | |
| "type": "module", | |
| "main": "index.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "dependencies": { | |
| "fastify": "^5.6.1" | |
| }, | |
| "keywords": [] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment