insync-stage-handler 4.0.0 → 4.0.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/dist/module.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as R from 'ramda';
2
- import { flip, prop, path, curry, map as map$1, compose, indexBy, pipe, converge, pathOr, defaultTo, hasPath, of, prepend, append, flatten, join, applyTo, assoc, dissocPath, filter, propSatisfies, startsWith, pair, replace, reduce, assocPath, tap, propOr, always, last, gte, nth, apply, nAry, unless } from 'ramda';
2
+ import { flip, prop, path, curry, map as map$1, compose, indexBy, pipe, converge, pathOr, defaultTo, hasPath, prepend, join, applyTo, assoc, dissocPath, filter, propSatisfies, startsWith, pair, replace, reduce, assocPath, tap, propOr, always, last, gte, nth, apply, nAry, unless } from 'ramda';
3
3
  import Ajv from 'ajv';
4
4
  import { formatWithOptions, parseISO } from 'date-fns/fp';
5
5
 
@@ -40,7 +40,7 @@ const formatErrorMessage = errors => {
40
40
  return pipe(map$1(({
41
41
  dataPath,
42
42
  message
43
- }) => `path: "${dataPath}", message: ${message}`), map$1(of), map$1(pipe(prepend(" - "), append("\n"))), flatten, prepend(header), join(""))(errors);
43
+ }) => ` - path: "${dataPath}", message: ${message}\n`), prepend(header), join(""))(errors);
44
44
  };
45
45
  var createValidationError = errors => {
46
46
  const err = new ValidationError(formatErrorMessage(errors));
@@ -3996,7 +3996,7 @@ const settingsCleaner = R.pipe(R.dissocPath(["timer", "wantedTime"]));
3996
3996
  var settingsHandler = (stage, settings) => R.pipe(settingsUpgrader(stage), settingsCleaner)(settings);
3997
3997
 
3998
3998
  var name = "insync-stage-handler";
3999
- var version = "4.0.0";
3999
+ var version = "4.0.1";
4000
4000
  var description = "Handles stages files. This consists of validating, upgrading and consolodating them.";
4001
4001
  var author = "David Ammeraal (Noterik B.V.)";
4002
4002
  var license = "MIT";