{
  "_id": "cssfilter",
  "maintainers": [
    {
      "name": "leizongmin",
      "email": "leizongmin@gmail.com"
    }
  ],
  "keywords": [
    "sanitization",
    "xss",
    "sanitize",
    "sanitisation",
    "input",
    "security",
    "escape",
    "encode",
    "filter",
    "validator",
    "html",
    "css",
    "injection",
    "whitelist"
  ],
  "dist-tags": {
    "latest": "0.0.11"
  },
  "author": {
    "name": "Zongmin Lei",
    "email": "leizongmin@gmail.com"
  },
  "_rev": "14-92d9ed619b23840bcce71839e5a78bf5",
  "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
  "readme": "[![NPM version](https://badge.fury.io/js/cssfilter.png)](http://badge.fury.io/js/xss)\n[![Build Status](https://secure.travis-ci.org/leizongmin/js-css-filter.png?branch=master)](http://travis-ci.org/leizongmin/js-css-filter)\n[![Dependencies Status](https://david-dm.org/leizongmin/js-css-filter.png)](https://david-dm.org/leizongmin/js-css-filter)\n[![coveralls-image](https://img.shields.io/coveralls/leizongmin/js-css-filter.svg?style=flat-square)](https://coveralls.io/r/leizongmin/js-css-filter?branch=master)\n\n# cssfilter\nSanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS\n\n\n## 安装\n\n```bash\n$ npm install cssfilter --save\n```\n\n\n## 使用方法\n\n```javascript\nvar cssfilter = require('cssfilter');\nvar css = cssfilter('position:fixed; /* this is comments */ width:100px; height:100px; background:#aaa;');\nconsole.log(css);\n// 输出：width:100px; height:100px; background:#aaa;\n// 因为position不在白名单允许范围\n```\n\n或者：\n\n```javascript\noptions = {\n  // 白名单，可选\n  whiteList: {\n    a: true,                 // true表示允许\n    b: /^fixed|relative$/,   // 正则test()返回true表示允许\n    c: function (value) {\n      // 返回true表示允许\n    },\n    d: false                 // 除以上三个以外，所有值均表示不允许\n  },\n  // 当匹配到一个在白名单中的属性时\n  onAttr: function (name, value, options) {\n    // name为属性名\n    // value为属性值\n    // 返回字符串表示覆盖此段CSS\n    // 不返回任何值表示使用默认生成方法，即 name:value\n  },\n  // 当匹配到一个不在白名单中的属性时\n  onIgnoreAttr: function (name, value, options) {\n    // name为属性名\n    // value为属性值\n    // 返回字符串表示覆盖此段CSS\n    // 不返回任何值表示使用默认生成方法，即将此段CSS去掉\n  }\n};\nmycss = new cssfilter.FilterCSS(options);\n// then apply mycss.process()\ncss = mycss.process('position:fixed; width:100px; height:100px; background:#aaa;');\nconsole.log(css);\n```\n\n\n## License\n\n```\nThe MIT License (MIT)\n\nCopyright (c) 2015-2016 Zongmin Lei(雷宗民) <leizongmin@gmail.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/leizongmin/js-css-filter.git"
  },
  "bugs": {
    "url": "https://github.com/leizongmin/js-css-filter/issues"
  },
  "license": "MIT",
  "versions": {
    "0.0.0": {
      "name": "cssfilter",
      "version": "0.0.0",
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "_id": "cssfilter@0.0.0",
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "dist": {
        "shasum": "3bf11ec54676aaf2b4c156a27d07665f265570bc",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.0.tgz",
        "integrity": "sha512-ujfrNVwfoSi5Y+ANrryKxjpVdB9LMWRS5F4vie/XKw+ltvXLkuJr57GulmBjbB9yztfv+RjoZZhGjGlkJoGQPQ==",
        "signatures": [
          {
            "sig": "MEUCIE9/5EU/X/RmOWQkTH7uUPdc2cIUm/jMVEqGTH1618qkAiEAzQ7mnQ16cQwuzchfmdqJZT0cZJcgQ309unVFqpg1pqU=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "index.js",
      "_from": ".",
      "_shasum": "3bf11ec54676aaf2b4c156a27d07665f265570bc",
      "gitHead": "8c2b44a754ca856c32efef6411fcd6defe8b673e",
      "scripts": {
        "test": "./node_modules/mocha/bin/mocha --require blanket -R html-cov > coverage.html -t 5000"
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "repository": {
        "url": "https://github.com/leizongmin/js-css-filter.git",
        "type": "git"
      },
      "_npmVersion": "2.7.3",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "_nodeVersion": "0.12.0",
      "devDependencies": {
        "mocha": "^2.2.4",
        "blanket": "^1.1.6",
        "uglify-js": "^2.4.20",
        "browserify": "^10.0.0"
      },
      "directories": {}
    },
    "0.0.1": {
      "name": "cssfilter",
      "version": "0.0.1",
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "_id": "cssfilter@0.0.1",
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "dist": {
        "shasum": "42a3c838e4379515784db4cd72ae2b06c31e1b93",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.1.tgz",
        "integrity": "sha512-4wrvDg4AX1WT8EyFiOl912/g8isDxnOsFdRc4YxErV0UdFQsKj6UbVgF7USrCLtPa37/8oVqsuoyfO8mX2cw0g==",
        "signatures": [
          {
            "sig": "MEQCIC4d8zjtJFM62ITVGd7denjnI3lG8FrcyLCMA1r0q1RHAiAJxo6p7J2dChARebT51T6OKwvSuSfLjsF2xBVrf/weMg==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "index.js",
      "_from": ".",
      "_shasum": "42a3c838e4379515784db4cd72ae2b06c31e1b93",
      "gitHead": "2a9dbffba72d42459bd7050e53b60c59ccb894c7",
      "scripts": {
        "test": "./node_modules/mocha/bin/mocha --require blanket -R html-cov > coverage.html -t 5000"
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "repository": {
        "url": "https://github.com/leizongmin/js-css-filter.git",
        "type": "git"
      },
      "_npmVersion": "2.7.3",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "_nodeVersion": "0.12.0",
      "devDependencies": {
        "mocha": "^2.2.4",
        "should": "^6.0.1",
        "blanket": "^1.1.6",
        "uglify-js": "^2.4.20",
        "browserify": "^10.0.0"
      },
      "directories": {}
    },
    "0.0.2": {
      "name": "cssfilter",
      "version": "0.0.2",
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "_id": "cssfilter@0.0.2",
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "dist": {
        "shasum": "aa9a101e69e0511777b2a91e3ee69a2c73f4bed1",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.2.tgz",
        "integrity": "sha512-6vn7+EoZyhectMYgA08s3wYao1MfuZg3qZa8TzZs4RthIUc4w6vkqPR43kDGQSYVitavmEA+LBh+arcbwN2eaQ==",
        "signatures": [
          {
            "sig": "MEUCIQDBWhHkoKUKoEYDaQtCx4wf+UBuuAGtwiigqFPs15HJpwIgG/VM8yDoWY9PycqDLbUhBy7BICHKUe0CgBMnCA7C1/Q=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "index.js",
      "_from": ".",
      "_shasum": "aa9a101e69e0511777b2a91e3ee69a2c73f4bed1",
      "gitHead": "0af7e34ac3e95ffacd9f1ecc1a9bd639bce24af3",
      "scripts": {
        "test": "./node_modules/mocha/bin/mocha --require blanket -R html-cov > coverage.html -t 5000"
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "repository": {
        "url": "https://github.com/leizongmin/js-css-filter.git",
        "type": "git"
      },
      "_npmVersion": "2.7.3",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "_nodeVersion": "0.12.0",
      "devDependencies": {
        "mocha": "^2.2.4",
        "should": "^6.0.1",
        "blanket": "^1.1.6",
        "uglify-js": "^2.4.20",
        "browserify": "^10.0.0"
      },
      "directories": {}
    },
    "0.0.3": {
      "name": "cssfilter",
      "version": "0.0.3",
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "_id": "cssfilter@0.0.3",
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "dist": {
        "shasum": "5c8837bae2d2bc25c19f1af1ecd0252171b3dc27",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.3.tgz",
        "integrity": "sha512-KwPieNHFV7oX4zf8YDo+tXxWXgoIZcZkbFfvmBBFqc/K4gt/P9j4NTayWsMX9LV+NI72bVCf7PcFsoj996wUtg==",
        "signatures": [
          {
            "sig": "MEUCIFG/3M09RF17lZlPp5G0EfQwsNQYE0PvArEJqy/JePjzAiEA/3MwSCfL/Ln8DOgYunFgvsYjoWibc/IhV2ftoirFo60=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "index.js",
      "_from": ".",
      "_shasum": "5c8837bae2d2bc25c19f1af1ecd0252171b3dc27",
      "gitHead": "22f6cbea7086905ec933bb08689687cb37c5bf5d",
      "scripts": {
        "test": "./node_modules/mocha/bin/mocha --require blanket -R html-cov > coverage.html -t 5000"
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "repository": {
        "url": "https://github.com/leizongmin/js-css-filter.git",
        "type": "git"
      },
      "_npmVersion": "2.7.3",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "_nodeVersion": "0.12.0",
      "devDependencies": {
        "mocha": "^2.2.4",
        "should": "^6.0.1",
        "blanket": "^1.1.6",
        "uglify-js": "^2.4.20",
        "browserify": "^10.0.0"
      },
      "directories": {}
    },
    "0.0.4": {
      "name": "cssfilter",
      "version": "0.0.4",
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "_id": "cssfilter@0.0.4",
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "dist": {
        "shasum": "b6a8b7cd7a43aefe63670827fe813efd7958fd24",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.4.tgz",
        "integrity": "sha512-a6TYypd70d22a47u36y9TcY8P7J/rOrk687Bsn8/1dn/KomakvXUzqlWZYnnQ3qaWql0/MqLDX9FZyz2Id4FdQ==",
        "signatures": [
          {
            "sig": "MEQCIF2nQoujHkzufEGWXA0oDFYonwZvyG9xkrcXh+AlaRGqAiA9XvXK5L/xZAqoikd0nBELgbimapmBCCUXYELR35+Z6Q==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "index.js",
      "_from": ".",
      "_shasum": "b6a8b7cd7a43aefe63670827fe813efd7958fd24",
      "gitHead": "95924f153661f1581ac65d5a6db4c6a6a36f62f7",
      "scripts": {
        "test": "./node_modules/mocha/bin/mocha --require blanket -R html-cov > coverage.html -t 5000"
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "repository": {
        "url": "https://github.com/leizongmin/js-css-filter.git",
        "type": "git"
      },
      "_npmVersion": "2.7.3",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "_nodeVersion": "0.12.0",
      "devDependencies": {
        "mocha": "^2.2.4",
        "should": "^6.0.1",
        "blanket": "^1.1.6",
        "uglify-js": "^2.4.20",
        "browserify": "^10.0.0"
      },
      "directories": {}
    },
    "0.0.5": {
      "name": "cssfilter",
      "version": "0.0.5",
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "_id": "cssfilter@0.0.5",
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "dist": {
        "shasum": "db921dab8ceb53d0e82f4ee5996264c15df3315f",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.5.tgz",
        "integrity": "sha512-VTKYZeJfoUbqlwL6Bq9dDwzJDAPPaivjnLPDX4ulz/oCOD8vXyrAXXZEdnUbgiLalYYsoekvkO5dcQJ4AYM4Sw==",
        "signatures": [
          {
            "sig": "MEQCIB/7Ybshc40WnHRLSh4gotbdj4fuJ1Mth8WfqXgB6FNuAiBPtc0kzJMSxvsqTYstIMHmNT+XVC/P9ybxZgQPoWklNw==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "lib/index.js",
      "_from": ".",
      "_shasum": "db921dab8ceb53d0e82f4ee5996264c15df3315f",
      "gitHead": "73ea5d29062cf223c13eb6348f5396883cfd5d3e",
      "scripts": {
        "test": "mocha --require blanket -R html-cov > coverage.html -t 5000 && mocha -t 5000 && testling -x open"
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "testling": {
        "files": "test/*.js",
        "harness": "mocha-bdd",
        "browsers": [
          "ie/6..latest",
          "firefox/latest",
          "chrome/latest",
          "safari/5..latest",
          "opera/11",
          "opera/next"
        ],
        "preprocess": "./build"
      },
      "repository": {
        "url": "https://github.com/leizongmin/js-css-filter.git",
        "type": "git"
      },
      "_npmVersion": "2.7.3",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "_nodeVersion": "0.12.2",
      "devDependencies": {
        "mocha": "^2.2.4",
        "should": "^6.0.1",
        "blanket": "^1.1.6",
        "testling": "^1.7.1",
        "uglify-js": "^2.4.20",
        "browserify": "^10.0.0"
      },
      "directories": {}
    },
    "0.0.6": {
      "name": "cssfilter",
      "version": "0.0.6",
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "_id": "cssfilter@0.0.6",
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "dist": {
        "shasum": "40f0f90e226c4fede781b65c34efa66ddfc24cba",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.6.tgz",
        "integrity": "sha512-l8tiXyMCuUsyjmClXtBQDNpLttahVNhiwgXHpSlUOc9CLnYiuJPKS7owKWa02f5lsLNd3MJrfsRddzFSeoFq8g==",
        "signatures": [
          {
            "sig": "MEQCIFZD4BpyaOxvGRYIt5BEocT5hPftSC124R2oOODyHdRsAiBENfbdih3PqQW0gN5C7mNKdZS2rpWXGXS+fOTexMZV1w==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "lib/index.js",
      "_from": ".",
      "_shasum": "40f0f90e226c4fede781b65c34efa66ddfc24cba",
      "gitHead": "019f3677946627e633a4d78824378728a6ecaf69",
      "scripts": {
        "test": "mocha --require blanket -R html-cov > coverage.html -t 5000 && mocha -t 5000 && testling -x open"
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "testling": {
        "files": "test/*.js",
        "harness": "mocha-bdd",
        "browsers": [
          "ie/6..latest",
          "firefox/latest",
          "chrome/latest",
          "safari/5..latest",
          "opera/11",
          "opera/next"
        ],
        "preprocess": "./build"
      },
      "repository": {
        "url": "git+https://github.com/leizongmin/js-css-filter.git",
        "type": "git"
      },
      "_npmVersion": "3.5.1",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "_nodeVersion": "4.2.3",
      "devDependencies": {
        "mocha": "^2.2.4",
        "should": "^6.0.1",
        "blanket": "^1.1.6",
        "testling": "^1.7.1",
        "uglify-js": "^2.4.20",
        "browserify": "^10.0.0"
      },
      "directories": {}
    },
    "0.0.7": {
      "name": "cssfilter",
      "version": "0.0.7",
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "_id": "cssfilter@0.0.7",
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "dist": {
        "shasum": "8f5bfc0d0f255e3b3c2ba1bfd536abd294ad829b",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.7.tgz",
        "integrity": "sha512-8NxCOBMfS2Pc+KD4WLxc95519gXL78z2nufsk4z8S+AYYlcEPuxMVufRLjfH45eW9tGgZIy7bMb0mZn8wZQQcg==",
        "signatures": [
          {
            "sig": "MEYCIQC9s6p4T4vlvv02OLDKQ4Cf9r9n29p37KbdioIQ/Y1g7QIhAMY5i1+QsMI6NGiKfsRaKp9EFQ/634vnj2RuK0zBp45s",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "lib/index.js",
      "_from": ".",
      "_shasum": "8f5bfc0d0f255e3b3c2ba1bfd536abd294ad829b",
      "gitHead": "1a0cf3c568bab035da5e73f888902b0183744d21",
      "scripts": {
        "test": "mocha --require blanket -R html-cov > coverage.html -t 5000 && mocha -t 5000 && testling -x open"
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "testling": {
        "files": "test/*.js",
        "harness": "mocha-bdd",
        "browsers": [
          "ie/6..latest",
          "firefox/latest",
          "chrome/latest",
          "safari/5..latest",
          "opera/11",
          "opera/next"
        ],
        "preprocess": "./build"
      },
      "repository": {
        "url": "git+https://github.com/leizongmin/js-css-filter.git",
        "type": "git"
      },
      "_npmVersion": "2.14.12",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "_nodeVersion": "4.3.2",
      "devDependencies": {
        "mocha": "^2.2.4",
        "should": "^6.0.1",
        "blanket": "^1.1.6",
        "testling": "^1.7.1",
        "uglify-js": "^2.4.20",
        "browserify": "^10.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/cssfilter-0.0.7.tgz_1461514879817_0.2984790224581957",
        "host": "packages-16-east.internal.npmjs.com"
      },
      "directories": {}
    },
    "0.0.8": {
      "name": "cssfilter",
      "version": "0.0.8",
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "_id": "cssfilter@0.0.8",
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "dist": {
        "shasum": "6564caccba8a76dd9b4b920668b9fb7fda50e54c",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.8.tgz",
        "integrity": "sha512-i7YoGVXSFDSwdfo0ZaYu8dUvXjFnnn60qGW3rOQR+8kUDjeGsArm5F5iKkj5ahHpz5fgJQ3H3ty8IhsbVE13WA==",
        "signatures": [
          {
            "sig": "MEQCIGPozLa3RR467N/mfVf7HIUOOjNvBLRfkj72RSYPLdbwAiAvnq5A3kIrd+GsCVviD9nuaaE5dJBxGb5idcPAXVKK3g==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "lib/index.js",
      "_from": ".",
      "files": [
        "lib"
      ],
      "_shasum": "6564caccba8a76dd9b4b920668b9fb7fda50e54c",
      "gitHead": "0c4bc291993e22d33d3d46ae0bc6b5441a68b8ea",
      "scripts": {
        "test": "istanbul cover _mocha --report lcovonly -- -t 5000 -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
        "build": "./build",
        "prepublish": "npm run test && npm run build"
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/leizongmin/js-css-filter.git",
        "type": "git"
      },
      "_npmVersion": "3.10.3",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "_nodeVersion": "6.7.0",
      "devDependencies": {
        "mocha": "^3.1.2",
        "should": "^11.1.1",
        "blanket": "^1.1.6",
        "istanbul": "^0.4.5",
        "coveralls": "^2.11.14",
        "uglify-js": "^2.4.20",
        "browserify": "^13.1.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/cssfilter-0.0.8.tgz_1476252849541_0.4133032711688429",
        "host": "packages-16-east.internal.npmjs.com"
      },
      "directories": {}
    },
    "0.0.9": {
      "name": "cssfilter",
      "version": "0.0.9",
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "_id": "cssfilter@0.0.9",
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "dist": {
        "shasum": "8f5ceb3aabd768db539da4582b2152d63ef7715e",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.9.tgz",
        "integrity": "sha512-ehvRFUSsB3tUAFlDFbSeQokfl0qDUlcawI/WYYwob9fVIa9lm7fgbMslz0rwtRqRSZxyIuXXUvczMwKsTonlGA==",
        "signatures": [
          {
            "sig": "MEQCIE/sIMHqEvcl4mNEseOJJSXrgyCa/3b/4Q/z3Nw7UsMBAiBgZqQ8JhnBzfdDAyivk3SBRNdc1vLqa9vNfnYLKpeahQ==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "lib/index.js",
      "_from": ".",
      "files": [
        "lib"
      ],
      "_shasum": "8f5ceb3aabd768db539da4582b2152d63ef7715e",
      "gitHead": "cd0e21b234f86c3a8b4d087b01648ce34916321d",
      "scripts": {
        "test": "istanbul cover _mocha --report lcovonly -- -t 5000 -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
        "build": "./build",
        "prepublish": "npm run test && npm run build"
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/leizongmin/js-css-filter.git",
        "type": "git"
      },
      "_npmVersion": "4.0.3",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "_nodeVersion": "6.9.2",
      "devDependencies": {
        "mocha": "^3.1.2",
        "should": "^11.1.1",
        "blanket": "^1.1.6",
        "istanbul": "^0.4.5",
        "coveralls": "^2.11.14",
        "uglify-js": "^2.7.4",
        "browserify": "^13.1.1"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/cssfilter-0.0.9.tgz_1482196191693_0.7469267225824296",
        "host": "packages-18-east.internal.npmjs.com"
      },
      "directories": {}
    },
    "0.0.10": {
      "name": "cssfilter",
      "version": "0.0.10",
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "_id": "cssfilter@0.0.10",
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "dist": {
        "shasum": "c6d2672632a2e5c83e013e6864a42ce8defd20ae",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.10.tgz",
        "integrity": "sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw==",
        "signatures": [
          {
            "sig": "MEUCIQCyBDPk6wRMG0mWnWSbuDKK9G0/JwHrov0iq1+TEhkv+AIgWh+dB1HlPjzNK61CG3v7vqQy2OXmwAIws2Adfe44NCU=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "lib/index.js",
      "_from": ".",
      "files": [
        "lib"
      ],
      "_shasum": "c6d2672632a2e5c83e013e6864a42ce8defd20ae",
      "gitHead": "74d127d39dbfb375319badd112f183effaba7842",
      "scripts": {
        "test": "istanbul cover _mocha --report lcovonly -- -t 5000 -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
        "build": "./build",
        "prepublish": "npm run test && npm run build"
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/leizongmin/js-css-filter.git",
        "type": "git"
      },
      "_npmVersion": "4.0.5",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "_nodeVersion": "7.4.0",
      "devDependencies": {
        "mocha": "^3.1.2",
        "should": "^11.1.1",
        "blanket": "^1.1.6",
        "istanbul": "^0.4.5",
        "coveralls": "^2.11.14",
        "uglify-js": "^2.7.4",
        "browserify": "^13.1.1"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/cssfilter-0.0.10.tgz_1485917477966_0.8402797318994999",
        "host": "packages-12-west.internal.npmjs.com"
      },
      "directories": {}
    },
    "0.0.11": {
      "name": "cssfilter",
      "version": "0.0.11",
      "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
      "main": "lib/index.js",
      "scripts": {
        "test": "istanbul cover _mocha --report lcovonly -- -t 5000 -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
        "build": "./build",
        "prepublish": "npm run test && npm run build"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/leizongmin/js-css-filter.git"
      },
      "keywords": [
        "sanitization",
        "xss",
        "sanitize",
        "sanitisation",
        "input",
        "security",
        "escape",
        "encode",
        "filter",
        "validator",
        "html",
        "css",
        "injection",
        "whitelist"
      ],
      "author": {
        "name": "Zongmin Lei",
        "email": "leizongmin@gmail.com"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/leizongmin/js-css-filter/issues"
      },
      "homepage": "https://github.com/leizongmin/js-css-filter",
      "devDependencies": {
        "blanket": "^1.1.6",
        "browserify": "^13.1.1",
        "coveralls": "^2.11.14",
        "istanbul": "^0.4.5",
        "mocha": "^3.1.2",
        "should": "^11.1.1",
        "uglify-js": "^2.7.4"
      },
      "gitHead": "f3e8c0627f4b0423f65cec2557757d914a5a0cf2",
      "_id": "cssfilter@0.0.11",
      "_nodeVersion": "18.4.0",
      "_npmVersion": "8.12.1",
      "dist": {
        "integrity": "sha512-K7PXT5AN8qv1B/0J8wq/XV6pCDh+dUyaMqV/Lii+WA7LxoUBFXtDroBNiQm12OQ4tpYCmivdgwqWBgP6zw/Icg==",
        "shasum": "31d48b1836ac1d804136ccbd27dc8afe197b59e8",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/cssfilter/-/cssfilter-0.0.11.tgz",
        "fileCount": 8,
        "unpackedSize": 32120,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIG1DGlqMqmpkPk6BFB6fHQ4NH3M1D6W2BCs4XbCPxWKGAiEA8a8+Sm3b/Jo4eMYgf5gP+j5Hp5+W+/2qGjrndzf/zDc="
          }
        ]
      },
      "_npmUser": {
        "name": "leizongmin",
        "email": "leizongmin@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "leizongmin",
          "email": "leizongmin@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/cssfilter_0.0.11_1723738601701_0.6773625194870017"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "cssfilter",
  "time": {
    "created": "2015-05-02T17:22:16.115Z",
    "modified": "2026-05-22T20:28:30.984Z",
    "0.0.0": "2015-05-02T17:22:16.115Z",
    "0.0.1": "2015-05-05T14:04:29.640Z",
    "0.0.2": "2015-05-05T14:13:18.519Z",
    "0.0.3": "2015-05-05T14:48:36.521Z",
    "0.0.4": "2015-05-05T16:43:38.476Z",
    "0.0.5": "2015-05-24T15:34:29.300Z",
    "0.0.6": "2015-12-23T04:40:18.958Z",
    "0.0.7": "2016-04-24T16:21:21.710Z",
    "0.0.8": "2016-10-12T06:14:11.281Z",
    "0.0.9": "2016-12-20T01:09:53.704Z",
    "0.0.10": "2017-02-01T02:51:18.200Z",
    "0.0.11": "2024-08-15T16:16:41.959Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/leizongmin/js-css-filter"
}