download
raw
359 Bytes
'use strict'
const { test } = require('node:test')
const build = require('..')
test('sanitize 5', t => {
const payload = '(throw "pwoned")'
t.assert.throws(() => {
build({
patternProperties: {
'*': { type: `*/${payload}){//` }
}
})
}, { message: 'schema is invalid: data/patternProperties must match format "regex"' })
})

Xet Storage Details

Size:
359 Bytes
·
Xet hash:
5532864404478f5be12a25856c96ade56a746d8b75b90687789a972b76b2d6b5

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.