From 91e2a6fb20bc11c1a128c9414606bdbe1abddbc9 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Tue, 12 May 2020 23:22:04 +0200 Subject: [PATCH] Version 2.2.0 --- dist/dompurify-html.d.ts | 1 + dist/dompurify-html.js | 2 +- dist/index.js | 2 +- package-lock.json | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dist/dompurify-html.d.ts b/dist/dompurify-html.d.ts index 7fdf86a9..c9d7a6c1 100644 --- a/dist/dompurify-html.d.ts +++ b/dist/dompurify-html.d.ts @@ -1,6 +1,7 @@ import { DirectiveOptions } from 'vue'; export interface MinimalDOMPurifyConfig { ADD_ATTR?: string[]; + ADD_DATA_URI_TAGS?: string[]; ADD_TAGS?: string[]; ALLOW_DATA_ATTR?: boolean; ALLOWED_ATTR?: string[]; diff --git a/dist/dompurify-html.js b/dist/dompurify-html.js index 62735370..e437f314 100644 --- a/dist/dompurify-html.js +++ b/dist/dompurify-html.js @@ -18,7 +18,7 @@ function buildDirective(config) { }; return { inserted: updateComponent, - update: updateComponent + update: updateComponent, }; } exports.buildDirective = buildDirective; diff --git a/dist/index.js b/dist/index.js index 8d6ec536..3e3d2916 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5,5 +5,5 @@ exports.default = { install: function (Vue, config) { if (config === void 0) { config = {}; } Vue.directive('dompurify-html', dompurify_html_1.buildDirective(config)); - } + }, }; diff --git a/package-lock.json b/package-lock.json index a3a4c9e5..4aebdf29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vue-dompurify-html", - "version": "2.1.1", + "version": "2.2.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5887e504..9c61c557 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-dompurify-html", - "version": "2.1.1", + "version": "2.2.0", "description": "Safe replacement for the v-html directive", "license": "MIT", "author": "Thomas Gerbet",