{"name":"dompurify","version":"3.4.3","keywords":["dom","xss","html","svg","mathml","security","secure","sanitizer","sanitize","filter","purify"],"author":{"url":"https://cure53.de/","name":"Dr.-Ing. Mario Heiderich, Cure53","email":"mario@cure53.de"},"license":"(MPL-2.0 OR Apache-2.0)","_id":"dompurify@3.4.3","maintainers":[{"name":"cure53","email":"mario@cure53.de"}],"homepage":"https://github.com/cure53/DOMPurify","bugs":{"url":"https://github.com/cure53/DOMPurify/issues"},"xo":{"rules":{"camelcase":["error",{"properties":"never"}],"prettier/prettier":["error",{"singleQuote":true,"trailingComma":"es5"}],"@typescript-eslint/indent":0,"unicorn/prefer-node-remove":0,"@typescript-eslint/ban-types":0,"import/no-useless-path-segments":0,"@typescript-eslint/no-unsafe-call":0,"@typescript-eslint/prefer-includes":0,"@typescript-eslint/no-throw-literal":0,"@typescript-eslint/no-unsafe-return":0,"@typescript-eslint/naming-convention":0,"@typescript-eslint/no-unsafe-argument":0,"unicorn/prefer-optional-catch-binding":0,"@typescript-eslint/no-unsafe-assignment":0,"@typescript-eslint/prefer-optional-chain":0,"@typescript-eslint/restrict-plus-operands":0,"@typescript-eslint/prefer-nullish-coalescing":0,"@typescript-eslint/consistent-type-definitions":0,"@typescript-eslint/no-unnecessary-boolean-literal-compare":0},"space":2,"extends":["prettier"],"globals":["window","VERSION"],"plugins":["prettier"],"semicolon":true},"dist":{"shasum":"3ef336e7a757c3bf1efbd3781afb149a3ae5cfa4","tarball":"https://registry.npmjs.org/dompurify/-/dompurify-3.4.3.tgz","fileCount":20,"integrity":"sha512-VVwJidIJcp1hpg2OMXML3ZVRPYSZiq4aX7qBh83BSIpOaRDqI+qxhXjjIWnpzkOXhmp0L81lnoME1mnCc9H48A==","signatures":[{"sig":"MEUCIH6+gYXz+Vkd8nrxiVQbzM+ERJK2//6Xd4SAJoQf2+/lAiEAqh4m3EZkYDymEmh1yvOeuLV85KXJkC875itw/wil6s4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":643645},"main":"./dist/purify.cjs.js","types":"./dist/purify.cjs.d.ts","module":"./dist/purify.es.mjs","browser":"./dist/purify.js","exports":{".":{"import":{"types":"./dist/purify.es.d.mts","default":"./dist/purify.es.mjs"},"default":{"types":"./dist/purify.cjs.d.ts","default":"./dist/purify.cjs.js"}},"./purify.js":"./dist/purify.js","./purify.min.js":"./dist/purify.min.js","./dist/purify.js":"./dist/purify.js","./dist/purify.min.js":"./dist/purify.min.js"},"gitHead":"520edb0371a9638f9b51f1798051299a250c686b","scripts":{"dev":"cross-env NODE_ENV=development BABEL_ENV=rollup rollup -w -c -o dist/purify.js","lint":"xo src/*.ts","test":"cross-env NODE_ENV=test BABEL_ENV=rollup npm run lint && npm run test:jsdom && npm run test:browser -- --project=chromium","build":"npm run build:types && npm run build:rollup && npm run build:fix-types && npm run build:cleanup","format":"npm run format:js && npm run format:md","prepare":"husky","test:ci":"cross-env NODE_ENV=test BABEL_ENV=rollup npm run test:jsdom && npm run test:browser","build:es":"rollup -c -f es -o dist/purify.es.mjs","prebuild":"rimraf dist","build:cjs":"rollup -c -f cjs -o dist/purify.cjs.js","build:umd":"rollup -c -f umd -o dist/purify.js","format:js":"prettier --write '{src,demos,scripts,test,website}/*.{js,ts}'","format:md":"prettier --write --parser markdown '**/*.md'","test:fuzz":"cross-env NODE_ENV=test BABEL_ENV=rollup node test/fuzz/sanitize.fast-check.js","test:jsdom":"cross-env NODE_ENV=test BABEL_ENV=rollup node test/jsdom-node-runner --dot","build:types":"tsc --outDir dist/types --declaration --emitDeclarationOnly","build:rollup":"rollup -c","test:browser":"playwright test","build:cleanup":"rimraf dist/types","build:umd:min":"rollup -c -f umd -o dist/purify.min.js -p terser","build:fix-types":"node ./scripts/fix-types.js","verify-typescript":"node ./typescript/verify.js","commit-amend-build":"scripts/commit-amend-build.sh","test:browser:install":"playwright install"},"_npmUser":{"name":"cure53","email":"mario@cure53.de"},"devEngines":{"runtime":{"name":"node","onFail":"warn","version":">=20"}},"production":"./dist/purify.min.js","repository":{"url":"git://github.com/cure53/DOMPurify.git","type":"git"},"_npmVersion":"11.12.1","description":"DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin","directories":{"test":"test"},"resolutions":{"natives":"1.1.6"},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.54.1","husky":"^9.1.0","jsdom":"^29.1.1","qunit":"^2.4.1","tslib":"^2.7.0","jquery":"^3.6.0","rimraf":"^6.0.1","rollup":"^4.60.3","prettier":"^3.3.3","cross-env":"^10.1.0","qunit-tap":"^1.5.0","fast-check":"^4.8.0","typescript":"^5.6.3","@babel/core":"^7.17.8","@types/node":"^25.7.0","@types/estree":"^1.0.9","@playwright/test":"^1.60.0","@babel/preset-env":"^7.29.5","rollup-plugin-dts":"^6.4.1","@rollup/plugin-babel":"^7.0.0","@rollup/plugin-terser":"^1.0.0","@rollup/plugin-replace":"^6.0.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-typescript":"^12.3.0","@rollup/plugin-node-resolve":"^16.0.3"},"optionalDependencies":{"@types/trusted-types":"^2.0.7"},"_npmOperationalInternal":{"tmp":"tmp/dompurify_3.4.3_1778670700672_0.43116435823860755","host":"s3://npm-registry-packages-npm-production"}}