@swagger-api/apidom-ns-api-design-systems 0.77.0 → 0.78.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,12 @@
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
+ # [0.78.0](https://github.com/swagger-api/apidom/compare/v0.77.0...v0.78.0) (2023-10-17)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **types:** fix regression in @types/ramda@0.29.6 ([#3281](https://github.com/swagger-api/apidom/issues/3281)) ([c6c279f](https://github.com/swagger-api/apidom/commit/c6c279f526e07b16221d8c00dd0041eeb93e1290)), closes [#3279](https://github.com/swagger-api/apidom/issues/3279)
11
+
6
12
  # [0.77.0](https://github.com/swagger-api/apidom/compare/v0.76.2...v0.77.0) (2023-10-03)
7
13
 
8
14
  **Note:** Version bump only for package @swagger-api/apidom-ns-api-design-systems
@@ -28,7 +28,11 @@ const SpecificationVisitor = (0, _stampit.default)(_Visitor.default, {
28
28
  return (0, _ramda.pick)(['namespace', 'specObj'], this);
29
29
  },
30
30
  retrieveFixedFields(specPath) {
31
- return (0, _ramda.pipe)((0, _ramda.path)(['visitors', ...specPath, 'fixedFields']), _ramda.keys)(this.specObj);
31
+ const fixedFields = (0, _ramda.path)(['visitors', ...specPath, 'fixedFields'], this.specObj);
32
+ if (typeof fixedFields === 'object' && fixedFields !== null) {
33
+ return Object.keys(fixedFields);
34
+ }
35
+ return [];
32
36
  },
33
37
  retrieveVisitor(specPath) {
34
38
  if ((0, _ramda.pathSatisfies)(_ramdaAdjunct.isFunction, ['visitors', ...specPath], this.specObj)) {
@@ -14,7 +14,7 @@ const makeMessage = (value, requirementLevel, standardIdentifier) => {
14
14
  if ((0, _apidomCore.toValue)(requirementLevel) === 'may') {
15
15
  return `"${primitiveValue}" not allowed for subject ${primitiveStandardIdentifier}`;
16
16
  }
17
- throw new _apidomError.NotImplementedError('[Requirement levels] other than "may" are currently not implemented.');
17
+ throw new _apidomError.NotImplementedError('[Requirement levels] other than "may" are not yet implemented.');
18
18
  };
19
19
 
20
20
  // @ts-ignore