@naturalcycles/nodejs-lib 12.47.0 → 12.47.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [12.47.1](https://github.com/NaturalCycles/nodejs-lib/compare/v12.47.0...v12.47.1) (2021-10-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove console.log ([90f186c](https://github.com/NaturalCycles/nodejs-lib/commit/90f186c942dd461245faae479674a74058860b65))
7
+
1
8
  # [12.47.0](https://github.com/NaturalCycles/nodejs-lib/compare/v12.46.0...v12.47.0) (2021-10-25)
2
9
 
3
10
 
@@ -87,8 +87,8 @@ function stringExtensions(joi) {
87
87
  },
88
88
  ],
89
89
  validate(v, helpers, args) {
90
- console.log('!!! stripHTML', args, v);
91
- const { strict = false } = args;
90
+ // console.log('!!! stripHTML', args, v)
91
+ const { strict } = args;
92
92
  const r = sanitize(v, {
93
93
  allowedTags: [], // no html tags allowed at all
94
94
  // disallowedTagsMode: 'discard' // discard is default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/nodejs-lib",
3
- "version": "12.47.0",
3
+ "version": "12.47.1",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "docs-serve": "vuepress dev docs",
@@ -109,8 +109,8 @@ export function stringExtensions(joi: typeof Joi): Extension {
109
109
  },
110
110
  ],
111
111
  validate(v: string, helpers, args: JoiStripHTMLOptions) {
112
- console.log('!!! stripHTML', args, v)
113
- const { strict = false } = args
112
+ // console.log('!!! stripHTML', args, v)
113
+ const { strict } = args
114
114
 
115
115
  const r = sanitize(v, {
116
116
  allowedTags: [], // no html tags allowed at all