Skip to content

Commit

Permalink
Version 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSuisse committed May 12, 2020
1 parent b647594 commit 91e2a6f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions dist/dompurify-html.d.ts
Original file line number Diff line number Diff line change
@@ -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[];
Expand Down
2 changes: 1 addition & 1 deletion dist/dompurify-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function buildDirective(config) {
};
return {
inserted: updateComponent,
update: updateComponent
update: updateComponent,
};
}
exports.buildDirective = buildDirective;
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ exports.default = {
install: function (Vue, config) {
if (config === void 0) { config = {}; }
Vue.directive('dompurify-html', dompurify_html_1.buildDirective(config));
}
},
};
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 91e2a6f

Please sign in to comment.