{
  "name": "@wpe-tkpd/xss",
  "version": "4.7.6",
  "description": "Various sanitizer, escaper, encoder, and utilities to prevent XSS",
  "sideEffects": false,
  "files": [
    "dist",
    "!__tests__",
    "!**/__tests__"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/tokopedia/web-custom-libraries.git"
  },
  "license": "Proprietary",
  "bugs": {
    "url": "https://github.com/tokopedia/web-custom-libraries/issues"
  },
  "depsComments": {
    "escape-html": "(Pradhana Indra) This dependency is not used directly because we copied its code since we need to customize its logic a bit. But we still put it in the dependency list so if there is security alert about the dependency, we get the alert."
  },
  "dependencies": {
    "@babel/runtime": "^7.12.5",
    "@braintree/sanitize-url": "^6.0.0",
    "@wpe-tkpd/jsdom": "^23.0.1",
    "css-tree": "^2.3.0",
    "cssesc": "^3.0.0",
    "dompurify": "^2.5.3",
    "escape-html": "^1.0.3",
    "jsesc": "^3.0.2",
    "mongo-sanitize": "^1.1.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.12.10",
    "@babel/core": "^7.12.10",
    "@babel/plugin-proposal-class-properties": "^7.12.1",
    "@babel/plugin-proposal-decorators": "^7.12.12",
    "@babel/plugin-proposal-export-default-from": "^7.12.1",
    "@babel/plugin-proposal-export-namespace-from": "^7.12.1",
    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
    "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
    "@babel/plugin-proposal-optional-chaining": "^7.12.7",
    "@babel/plugin-syntax-async-generators": "^7.8.4",
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/plugin-transform-destructuring": "^7.12.1",
    "@babel/plugin-transform-runtime": "^7.12.10",
    "@babel/preset-env": "^7.12.11",
    "@babel/preset-typescript": "^7.12.7",
    "@types/css-tree": "^2.0.0",
    "@types/cssesc": "^3.0.0",
    "@types/dompurify": "^2.4.0",
    "@types/jest": "^29.0.0",
    "@types/jsdom": "^21.0.0",
    "@types/jsesc": "^3.0.1",
    "@types/mongo-sanitize": "^1.0.1",
    "@types/node": "^18.0.0",
    "@typescript-eslint/eslint-plugin": "^4.11.1",
    "@typescript-eslint/parser": "^4.11.1",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^29.0.0",
    "babel-plugin-lodash": "^3.3.4",
    "confusing-browser-globals": "^1.0.10",
    "csstree-validator": "^3.0.0",
    "eslint": "^7.17.0",
    "eslint-config-prettier": "^7.1.0",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-jest": "^24.1.3",
    "eslint-plugin-no-secrets": "^0.6.8",
    "eslint-plugin-prettier": "^3.3.0",
    "html-validate": "^8.0.0",
    "jest": "^29.0.0",
    "jest-environment-jsdom": "^29.0.0",
    "lint-staged": "^10.5.3",
    "prettier": "^2.8.0",
    "ts-jest": "~29.0.3",
    "typescript": "^4.3.0"
  },
  "engines": {
    "node": ">=18.17 <19",
    "pnpm": ">=8.6 <9"
  },
  "scripts": {
    "test": "jest",
    "tc": "tsc --noEmit",
    "lint:staged": "lint-staged -c lint-staged.config.js",
    "lint": "pnpm run lint:staged && pnpm run tc",
    "babel:build": "babel src -d dist --extensions '.js,.jsx,.ts,.tsx' --ignore '**/__tests__/**' --verbose",
    "dev": "babel -w src -d dist --extensions '.js,.jsx,.ts,.tsx' --ignore '**/*.(test).(j|t)sx?' --verbose --source-maps",
    "build-package": "pnpm run babel:build && tsc --emitDeclarationOnly",
    "build": "rm -rf dist && pnpm run build-package"
  }
}