Buckets:
ktongue/docker_container / .cache /opencode /node_modules /fast-json-stringify /test /sanitize4.test.js
| const { test } = require('node:test') | |
| const build = require('..') | |
| test('sanitize 4', t => { | |
| const payload = '(throw "pwoned")' | |
| const stringify = build({ | |
| required: [`"];${payload}//`] | |
| }) | |
| t.assert.throws(() => { | |
| stringify({}) | |
| }, { message: '""];(throw "pwoned")//" is required!' }) | |
| }) | |
Xet Storage Details
- Size:
- 318 Bytes
- Xet hash:
- 6e83cad91d68f451c29de0679fb8ebc4fbc1425b9732143e8404d11886b72837
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.