@shapediver/viewer.shared.services
Advanced tools
Comparing version 1.8.13 to 1.8.14
@@ -8,3 +8,4 @@ import { LOGGINGTOPIC } from '../logger/Logger'; | ||
private validate; | ||
sanitize(input: string): string; | ||
} | ||
//# sourceMappingURL=InputValidator.d.ts.map |
@@ -8,5 +8,9 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.InputValidator = void 0; | ||
const tsyringe_1 = require("tsyringe"); | ||
const dompurify_1 = __importDefault(require("dompurify")); | ||
const Logger_1 = require("../logger/Logger"); | ||
@@ -112,2 +116,5 @@ const SDError_1 = require("../logger/SDError"); | ||
} | ||
sanitize(input) { | ||
return dompurify_1.default.sanitize(input); | ||
} | ||
}; | ||
@@ -114,0 +121,0 @@ InputValidator = __decorate([ |
{ | ||
"name": "@shapediver/viewer.shared.services", | ||
"version": "1.8.13", | ||
"version": "1.8.14", | ||
"description": "", | ||
@@ -43,6 +43,8 @@ "keywords": [], | ||
"@shapediver/viewer.settings": "*", | ||
"@shapediver/viewer.shared.build-data": "^1.8.13", | ||
"@shapediver/viewer.shared.build-data": "^1.8.14", | ||
"@types/dompurify": "^2.3.1", | ||
"@types/ua-parser-js": "^0.7.36", | ||
"@types/uuid": "^8.3.0", | ||
"axios": "^0.21.1", | ||
"dompurify": "^2.3.3", | ||
"gl-matrix": "3.3.0", | ||
@@ -53,3 +55,3 @@ "tsyringe": "^4.5.0", | ||
}, | ||
"gitHead": "7447492c61fc666931d63820533f6173e5566cb6" | ||
"gitHead": "db4b8714e087e716c875ab642d7b69779562b641" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
193530
2188
14
+ Added@types/dompurify@^2.3.1
+ Addeddompurify@^2.3.3
+ Added@types/dompurify@2.4.0(transitive)
+ Added@types/trusted-types@2.0.7(transitive)
+ Addeddompurify@2.5.6(transitive)