{
  "_from": "dompurify@^2.2.6",
  "_id": "dompurify@2.2.7",
  "_inBundle": false,
  "_integrity": "sha1-pfBVoqRxY4aA53m9CPwzSWLRH9g=",
  "_location": "/dompurify",
  "_phantomChildren": {},
  "_requested": {
    "type": "range",
    "registry": true,
    "raw": "dompurify@^2.2.6",
    "name": "dompurify",
    "escapedName": "dompurify",
    "rawSpec": "^2.2.6",
    "saveSpec": null,
    "fetchSpec": "^2.2.6"
  },
  "_requiredBy": [
    "/docsify",
    "/docsify-server-renderer"
  ],
  "_resolved": "https://registry.npm.taobao.org/dompurify/download/dompurify-2.2.7.tgz?cache=0&sync_timestamp=1615563638744&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdompurify%2Fdownload%2Fdompurify-2.2.7.tgz",
  "_shasum": "a5f055a2a471638680e779bd08fc334962d11fd8",
  "_spec": "dompurify@^2.2.6",
  "_where": "D:\\my-job\\rwj-proj\\mifan-docs\\node_modules\\docsify",
  "author": {
    "name": "Mario Heiderich",
    "email": "mario@cure53.de",
    "url": "https://cure53.de/"
  },
  "browser": "dist/purify.js",
  "bugs": {
    "url": "https://github.com/cure53/DOMPurify/issues"
  },
  "bundleDependencies": false,
  "dependencies": {},
  "deprecated": false,
  "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 using Blink or WebKit). DOMPurify is written by security people who have vast background in web attacks and XSS. Fear not.",
  "devDependencies": {
    "@babel/plugin-external-helpers": "7.8.3",
    "babel": "^6.23.0",
    "babel-core": "^6.26.3",
    "babel-preset-env": "^1.7.0",
    "cross-env": "^7.0.2",
    "eslint-config-prettier": "^6.10.1",
    "eslint-plugin-prettier": "^3.1.3",
    "he": "^1.2.0",
    "jquery": "^3.5.0",
    "jsdom": "16.x.x",
    "karma": "^5.1.0",
    "karma-browserstack-launcher": "^1.5.1",
    "karma-chrome-launcher": "^2.2.0",
    "karma-firefox-launcher": "^1.3.0",
    "karma-fixture": "^0.2.6",
    "karma-html2js-preprocessor": "^1.0.0",
    "karma-json-fixtures-preprocessor": "0.0.6",
    "karma-qunit": "^1.0.0",
    "karma-rollup-preprocessor": "^5.0.2",
    "lodash.isarray": "^4.0.0",
    "lodash.sample": "^4.2.1",
    "minimist": "^1.2.5",
    "npm-run-all": "^4.1.5",
    "pre-commit": "^1.1.2",
    "prettier": "^2.0.4",
    "qunit-parameterize": "^0.4.0",
    "qunit-tap": "^1.5.0",
    "qunitjs": "^1.23.1",
    "rimraf": "^3.0.2",
    "rollup": "^0.68.2",
    "rollup-plugin-babel": "^3.0.3",
    "rollup-plugin-commonjs": "^8.4.1",
    "rollup-plugin-includepaths": "^0.2.3",
    "rollup-plugin-node-resolve": "^3.4.0",
    "rollup-plugin-replace": "^2.2.0",
    "rollup-plugin-terser": "^7.0.2",
    "rollup-watch": "^4.3.1",
    "xo": "^0.36.1"
  },
  "directories": {
    "test": "test"
  },
  "files": [
    "dist"
  ],
  "homepage": "https://github.com/cure53/DOMPurify",
  "keywords": [
    "dom",
    "xss",
    "html",
    "svg",
    "mathml",
    "security",
    "secure",
    "sanitizer",
    "sanitize",
    "filter",
    "purify"
  ],
  "license": "(MPL-2.0 OR Apache-2.0)",
  "main": "dist/purify.cjs.js",
  "module": "dist/purify.es.js",
  "name": "dompurify",
  "pre-commit": [
    "lint",
    "build",
    "commit-amend-build"
  ],
  "repository": {
    "type": "git",
    "url": "git://github.com/cure53/DOMPurify.git"
  },
  "resolutions": {
    "natives": "1.1.6"
  },
  "scripts": {
    "build": "cross-env run-p build:umd build:umd:min build:es build:cjs",
    "build-demo": "node scripts/build-demo.js",
    "build:cjs": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f cjs -o dist/purify.cjs.js",
    "build:es": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f es -o dist/purify.es.js",
    "build:umd": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -c -f umd -o dist/purify.js",
    "build:umd:min": "cross-env NODE_ENV=production BABEL_ENV=rollup rollup -c -f umd -o dist/purify.min.js",
    "commit-amend-build": "scripts/commit-amend-build.sh",
    "dev": "cross-env NODE_ENV=development BABEL_ENV=rollup rollup -w -c -o dist/purify.js",
    "format": "yarn format:js && yarn format:md",
    "format:js": "prettier --write '{src,demos,scripts,test,website}/*.js'",
    "format:md": "prettier --write --parser markdown '**/*.md'",
    "lint": "xo src/*.js",
    "prebuild": "rimraf dist/**",
    "test": "cross-env NODE_ENV=test BABEL_ENV=rollup npm run lint &&  npm run test:jsdom && npm run test:karma -- --browsers Chrome",
    "test:ci": "cross-env NODE_ENV=test BABEL_ENV=rollup npm run test:jsdom && npm run test:karma -- --log-level error --reporters dots --single-run --shouldTestOnBrowserStack=\"${TEST_BROWSERSTACK}\" --shouldProbeOnly=\"${TEST_PROBE_ONLY}\"",
    "test:jsdom": "cross-env NODE_ENV=test BABEL_ENV=rollup node test/jsdom-node-runner --dot",
    "test:karma": "cross-env NODE_ENV=test BABEL_ENV=rollup karma start test/karma.conf.js --log-level warn "
  },
  "version": "2.2.7",
  "xo": {
    "semicolon": true,
    "space": 2,
    "extends": [
      "prettier"
    ],
    "plugins": [
      "prettier"
    ],
    "rules": {
      "import/no-useless-path-segments": 0,
      "unicorn/prefer-optional-catch-binding": 0,
      "unicorn/prefer-node-remove": 0,
      "prettier/prettier": [
        "error",
        {
          "trailingComma": "es5",
          "singleQuote": true
        }
      ],
      "camelcase": [
        "error",
        {
          "properties": "never"
        }
      ]
    },
    "globals": [
      "window",
      "VERSION"
    ]
  }
}
