dompurify 2.3.4 → 2.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "scripts": {
3
- "build-demo": "node scripts/build-demo.js",
4
3
  "lint": "xo src/*.js",
5
- "format": "yarn format:js && yarn format:md",
4
+ "format": "npm run format:js && npm run format:md",
6
5
  "format:md": "prettier --write --parser markdown '**/*.md'",
7
6
  "format:js": "prettier --write '{src,demos,scripts,test,website}/*.js'",
8
7
  "commit-amend-build": "scripts/commit-amend-build.sh",
@@ -62,51 +61,42 @@
62
61
  ]
63
62
  },
64
63
  "devDependencies": {
65
- "@babel/plugin-external-helpers": "7.12.13",
66
- "babel": "^6.23.0",
67
- "babel-core": "^6.26.3",
68
- "babel-preset-env": "^1.7.0",
64
+ "@babel/core": "^7.17.8",
65
+ "@babel/preset-env": "^7.16.11",
66
+ "@rollup/plugin-babel": "^5.3.1",
67
+ "@rollup/plugin-commonjs": "^21.0.3",
68
+ "@rollup/plugin-node-resolve": "^13.1.3",
69
+ "@rollup/plugin-replace": "^4.0.0",
69
70
  "cross-env": "^7.0.3",
70
- "eslint-config-prettier": "^8.3.0",
71
- "eslint-plugin-prettier": "^3.4.0",
72
- "he": "^1.2.0",
71
+ "eslint-config-prettier": "^8.5.0",
72
+ "eslint-plugin-prettier": "^4.0.0",
73
73
  "jquery": "^3.6.0",
74
- "jsdom": "16.x.x",
75
- "karma": "^5.1.0",
74
+ "jsdom": "^19.0.0",
75
+ "karma": "^6.3.17",
76
76
  "karma-browserstack-launcher": "^1.5.1",
77
- "karma-chrome-launcher": "^2.2.0",
78
- "karma-firefox-launcher": "^1.3.0",
79
- "karma-fixture": "^0.2.6",
80
- "karma-html2js-preprocessor": "^1.0.0",
81
- "karma-json-fixtures-preprocessor": "0.0.6",
82
- "karma-qunit": "^1.0.0",
83
- "karma-rollup-preprocessor": "^5.0.2",
84
- "lodash.isarray": "^4.0.0",
77
+ "karma-chrome-launcher": "^3.1.0",
78
+ "karma-firefox-launcher": "^2.1.2",
79
+ "karma-qunit": "^4.1.2",
80
+ "karma-rollup-preprocessor": "^7.0.8",
85
81
  "lodash.sample": "^4.2.1",
86
- "minimist": "^1.2.5",
82
+ "minimist": "^1.2.6",
87
83
  "npm-run-all": "^4.1.5",
88
84
  "pre-commit": "^1.2.2",
89
- "prettier": "^2.3.0",
90
- "qunit-parameterize": "^0.4.0",
85
+ "prettier": "^2.5.1",
86
+ "qunit": "^2.4.1",
91
87
  "qunit-tap": "^1.5.0",
92
- "qunitjs": "^1.23.1",
93
88
  "rimraf": "^3.0.2",
94
- "rollup": "^0.68.2",
95
- "rollup-plugin-babel": "^3.0.3",
96
- "rollup-plugin-commonjs": "^8.4.1",
89
+ "rollup": "^2.70.1",
97
90
  "rollup-plugin-includepaths": "^0.2.3",
98
- "rollup-plugin-node-resolve": "^3.4.0",
99
- "rollup-plugin-replace": "^2.2.0",
100
91
  "rollup-plugin-terser": "^7.0.2",
101
- "rollup-watch": "^4.3.1",
102
- "xo": "^0.40.1"
92
+ "xo": "^0.48.0"
103
93
  },
104
94
  "resolutions": {
105
95
  "natives": "1.1.6"
106
96
  },
107
97
  "name": "dompurify",
108
98
  "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.",
109
- "version": "2.3.4",
99
+ "version": "2.3.7",
110
100
  "directories": {
111
101
  "test": "test"
112
102
  },