From 16b4bb20f4ebac1527cf8bfa03f26ab639191005 Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Tue, 12 Nov 2024 13:16:55 -0500 Subject: [PATCH] chore(deps): remove no longer necessary @types/dompurify - DOMPurify v3.2.0 and higher now includes types so we no longer need external types dep --- packages/aurelia-slickgrid/package.json | 3 +-- packages/demo/package.json | 3 +-- pnpm-lock.yaml | 27 +++++++------------------ 3 files changed, 9 insertions(+), 24 deletions(-) diff --git a/packages/aurelia-slickgrid/package.json b/packages/aurelia-slickgrid/package.json index bc499e104..9b2c79d48 100644 --- a/packages/aurelia-slickgrid/package.json +++ b/packages/aurelia-slickgrid/package.json @@ -64,9 +64,8 @@ "sortablejs": "^1.15.3" }, "devDependencies": { - "@types/dompurify": "^3.0.5", "copyfiles": "^2.4.1", - "dompurify": "^3.1.7", + "dompurify": "^3.2.0", "rimraf": "^5.0.10", "tslib": "^2.8.1", "typescript": "^5.6.3" diff --git a/packages/demo/package.json b/packages/demo/package.json index ddcff3dad..459890be4 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -63,7 +63,6 @@ "@aurelia/testing": "^2.0.0-beta.22", "@aurelia/ts-jest": "^2.0.0-beta.22", "@aurelia/webpack-loader": "^2.0.0-beta.22", - "@types/dompurify": "^3.0.5", "@types/fnando__sparkline": "^0.3.7", "@types/jest": "^29.5.14", "@types/node": "^22.9.0", @@ -74,7 +73,7 @@ "copy-webpack-plugin": "^12.0.2", "copyfiles": "^2.4.1", "css-loader": "^7.1.2", - "dompurify": "^3.1.7", + "dompurify": "^3.2.0", "fetch-jsonp": "^1.3.0", "html-webpack-plugin": "^5.6.3", "htmlhint": "^1.1.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5d45c45b2..228072b0e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -160,15 +160,12 @@ importers: specifier: ^1.15.3 version: 1.15.3 devDependencies: - '@types/dompurify': - specifier: ^3.0.5 - version: 3.0.5 copyfiles: specifier: ^2.4.1 version: 2.4.1 dompurify: - specifier: ^3.1.7 - version: 3.1.7 + specifier: ^3.2.0 + version: 3.2.0 rimraf: specifier: ^5.0.10 version: 5.0.10 @@ -269,9 +266,6 @@ importers: '@aurelia/webpack-loader': specifier: ^2.0.0-beta.22 version: 2.0.0-beta.22 - '@types/dompurify': - specifier: ^3.0.5 - version: 3.0.5 '@types/fnando__sparkline': specifier: ^0.3.7 version: 0.3.7 @@ -303,8 +297,8 @@ importers: specifier: ^7.1.2 version: 7.1.2(webpack@5.96.1) dompurify: - specifier: ^3.1.7 - version: 3.1.7 + specifier: ^3.2.0 + version: 3.2.0 fetch-jsonp: specifier: ^1.3.0 version: 1.3.0 @@ -1239,9 +1233,6 @@ packages: '@types/connect@3.4.38': resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} - '@types/dompurify@3.0.5': - resolution: {integrity: sha512-1Wg0g3BtQF7sSb27fJQAKck1HECM6zV1EB66j8JH9i3LCjYabJa0FSdiSgsD5K/RbrsR0SiraKacLB+T8ZVYAg==} - '@types/eslint-scope@3.7.7': resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} @@ -2354,8 +2345,8 @@ packages: resolution: {integrity: sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==} engines: {node: '>= 4'} - dompurify@3.1.7: - resolution: {integrity: sha512-VaTstWtsneJY8xzy7DekmYWEOZcmzIe3Qb3zPd4STve1OBTa+e+WmS1ITQec1fZYXI3HCsOZZiSMpG6oxoWMWQ==} + dompurify@3.2.0: + resolution: {integrity: sha512-AMdOzK44oFWqHEi0wpOqix/fUNY707OmoeFDnbi3Q5I8uOpy21ufUA5cDJPr0bosxrflOVD/H2DMSvuGKJGfmQ==} domutils@2.8.0: resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==} @@ -6780,10 +6771,6 @@ snapshots: dependencies: '@types/node': 22.9.0 - '@types/dompurify@3.0.5': - dependencies: - '@types/trusted-types': 2.0.7 - '@types/eslint-scope@3.7.7': dependencies: '@types/eslint': 9.6.1 @@ -7989,7 +7976,7 @@ snapshots: dependencies: domelementtype: 2.3.0 - dompurify@3.1.7: {} + dompurify@3.2.0: {} domutils@2.8.0: dependencies: