@vixoniccom/modules 2.20.0 → 2.20.1-dev.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
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.20.1-dev.0](https://github.com/Vixonic/store-modules/compare/v2.20.0...v2.20.1-dev.0) (2025-05-28)
6
+
5
7
  ## [2.20.0](https://bitbucket.org/vixonic_dev/modules/compare/v2.20.0-dev.2...v2.20.0) (2025-02-17)
6
8
 
7
9
  ## [2.20.0-dev.2](https://bitbucket.org/vixonic_dev/modules/compare/v2.20.0-dev.1...v2.20.0-dev.2) (2025-02-11)
@@ -12,8 +12,8 @@ export interface PayloadValueError<E extends string, P> extends SimpleValueError
12
12
  }
13
13
  export type ValueError<E extends string = string, P = {}> = SimpleValueError<E> | PayloadValueError<E, P>;
14
14
  export declare namespace Errors {
15
- const isMap: (errors: Errors) => errors is ErrorsMap<ValueError<string, {}>>;
16
- const isArray: (errors: Errors) => errors is ValueError<string, {}>[];
15
+ const isMap: (errors: Errors) => errors is ErrorsMap;
16
+ const isArray: (errors: Errors) => errors is ValueError[];
17
17
  const any: (errors: Errors | undefined) => boolean;
18
18
  }
19
19
  export type Errors<E extends ValueError = ValueError> = E[] | ErrorsMap;
@@ -21,4 +21,4 @@ var Errors;
21
21
  });
22
22
  }
23
23
  };
24
- })(Errors = exports.Errors || (exports.Errors = {}));
24
+ })(Errors || (exports.Errors = Errors = {}));
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defsMapToString = exports.getDefsFromInputs = void 0;
3
+ exports.getDefsFromInputs = getDefsFromInputs;
4
+ exports.defsMapToString = defsMapToString;
4
5
  function getDefsFromInputs(inputs) {
5
6
  return inputs.map(function (i) { return ({ id: i.id, typeDef: i.valueTypeDef() }); });
6
7
  }
7
- exports.getDefsFromInputs = getDefsFromInputs;
8
8
  function defsMapToString(defsMap) {
9
9
  var reduced = [];
10
10
  return defsMap.reduce(function (pV, e) {
@@ -16,4 +16,3 @@ function defsMapToString(defsMap) {
16
16
  return pV.concat(e);
17
17
  }, reduced).map(function (e) { return "".concat(e.id, ": ").concat(e.typeDef); }).join(', ');
18
18
  }
19
- exports.defsMapToString = defsMapToString;
@@ -24,4 +24,4 @@ var Validator;
24
24
  Validator.invalidValue = function () {
25
25
  return [{ type: 'invalidValue' }];
26
26
  };
27
- })(Validator = exports.Validator || (exports.Validator = {}));
27
+ })(Validator || (exports.Validator = Validator = {}));
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.shouldBeVisible = void 0;
3
+ exports.shouldBeVisible = shouldBeVisible;
4
4
  function shouldBeVisible(item, _values) {
5
5
  if (!item.show)
6
6
  return true;
@@ -18,4 +18,3 @@ function shouldBeVisible(item, _values) {
18
18
  return true;
19
19
  }
20
20
  }
21
- exports.shouldBeVisible = shouldBeVisible;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vixoniccom/modules",
3
- "version": "2.20.0",
3
+ "version": "2.20.1-dev.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,10 +15,10 @@
15
15
  "author": "",
16
16
  "license": "ISC",
17
17
  "devDependencies": {
18
- "@types/node": "^14.17.10",
19
- "jest": "^27.3.1",
18
+ "@types/node": "^22.15.23",
19
+ "jest": "^29.7.0",
20
20
  "standard-version": "^9.3.2",
21
21
  "ts-node": "^10.2.1",
22
- "typescript": "^4.3.5"
22
+ "typescript": "^5.8.3"
23
23
  }
24
24
  }