@medipass/utils 11.66.5-master.0 → 11.66.7-feature-typescript-claudia.0

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
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [11.66.6](https://github.com/medipass/web-medicules/compare/@medipass/utils@11.66.5...@medipass/utils@11.66.6) (2022-08-07)
7
+
8
+ **Note:** Version bump only for package @medipass/utils
9
+
10
+
11
+
12
+
13
+
14
+ ## [11.66.5](https://github.com/medipass/web-medicules/compare/@medipass/utils@11.66.5-master.0...@medipass/utils@11.66.5) (2022-08-05)
15
+
16
+ **Note:** Version bump only for package @medipass/utils
17
+
18
+
19
+
20
+
21
+
6
22
  ## [11.66.4](https://github.com/medipass/web-medicules/compare/@medipass/utils@11.66.3...@medipass/utils@11.66.4) (2022-08-05)
7
23
 
8
24
  **Note:** Version bump only for package @medipass/utils
package/blah.js ADDED
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/utils",
3
- "version": "11.66.5-master.0",
3
+ "version": "11.66.7-feature-typescript-claudia.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -48,5 +48,5 @@
48
48
  "redux-thunk": "^2.2.0",
49
49
  "rimraf": "^2.6.2"
50
50
  },
51
- "gitHead": "87cc23725a2956557fa786b55831d22d5c931749"
51
+ "gitHead": "789e320bece0383354e4dc2cbdf1082702192ba9"
52
52
  }
package/validate-form.js CHANGED
@@ -331,7 +331,8 @@ var hasSpaceAfterApostrophe = function hasSpaceAfterApostrophe(value) {
331
331
  var hasSpaceBeforeApostrophe = function hasSpaceBeforeApostrophe(value) {
332
332
  return value && /(\s['])/.test(value) ? "Name cannot have a space before an apostrophe (')" : undefined;
333
333
  };
334
- var validateForm = (function () {
334
+
335
+ var combineValidators = function combineValidators() {
335
336
  for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {
336
337
  fns[_key] = arguments[_key];
337
338
  }
@@ -347,9 +348,9 @@ var validateForm = (function () {
347
348
 
348
349
  return undefined;
349
350
  };
350
- });
351
+ };
351
352
 
352
- exports.default = validateForm;
353
+ exports.default = combineValidators;
353
354
  exports.hasDoubleSpaces = hasDoubleSpaces;
354
355
  exports.hasInvalidCharacters = hasInvalidCharacters;
355
356
  exports.hasNumber = hasNumber;