UNPKG

@radya/nuxt-dompurify

Version:

A Nuxt 3 module that integrates DOMPurify for sanitizing HTML content and protecting against XSS attacks, with support for multiple profiles.

63 lines (62 loc) 1.81 kB
{ "name": "@radya/nuxt-dompurify", "version": "1.0.5", "description": "A Nuxt 3 module that integrates DOMPurify for sanitizing HTML content and protecting against XSS attacks, with support for multiple profiles.", "repository": "radyakaze/nuxt-dompurify", "keywords": [ "nuxt", "nuxt-module", "dompurify", "xss", "sanitize", "security" ], "author": "Radya", "license": "MIT", "type": "module", "exports": { ".": { "types": "./dist/types.d.ts", "import": "./dist/module.mjs", "require": "./dist/module.cjs" } }, "main": "./dist/module.cjs", "types": "./dist/types.d.ts", "files": [ "dist" ], "scripts": { "prepack": "nuxt-module-build build", "dev": "nuxi dev playground", "dev:build": "nuxi build playground", "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground", "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish --access public && git push --follow-tags", "lint": "eslint .", "test": "vitest run", "test:watch": "vitest watch", "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit" }, "dependencies": { "@nuxt/kit": "^3.13.2", "dompurify": "^3.1.7", "jsdom": "^25.0.1" }, "devDependencies": { "@nuxt/devtools": "^1.5.0", "@nuxt/eslint-config": "^0.5.7", "@nuxt/module-builder": "^0.8.4", "@nuxt/schema": "^3.13.2", "@nuxt/test-utils": "^3.14.2", "@types/dompurify": "^3", "@types/node": "latest", "@vitest/ui": "2.1.2", "changelogen": "^0.5.7", "eslint": "^9.11.0", "nuxt": "^3.13.0", "typescript": "latest", "vitest": "^2.1.1", "vue-tsc": "^2.1.6" }, "packageManager": "yarn@4.5.0" }