@native-systems/utility 2.0.1 → 2.0.2

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/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import Handlebars from 'handlebars';
2
- import sanitizeHtml, { simpleTransform } from 'sanitize-html';
2
+ import sanitizeHtml from 'sanitize-html';
3
3
  import MarkdownIt from 'markdown-it';
4
4
 
5
5
  var PostgresError = /*#__PURE__*/ (function (PostgresError) {
@@ -1159,7 +1159,7 @@ var markdownPlugin = function (handlebars) {
1159
1159
  a: ['href', 'title', 'target'],
1160
1160
  },
1161
1161
  transformTags: {
1162
- a: simpleTransform('a', {
1162
+ a: sanitizeHtml.simpleTransform('a', {
1163
1163
  target: '_blank',
1164
1164
  rel: 'noopener',
1165
1165
  }),
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
13
- "version": "2.0.1",
13
+ "version": "2.0.2",
14
14
  "license": "MIT",
15
15
  "private": false,
16
16
  "engines": {