componentsjs 5.0.0-beta.6 → 5.0.0-beta.7

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,6 +1,17 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ <a name="v5.0.0-beta.7"></a>
5
+ ## [v5.0.0-beta.7](https://github.com/LinkedSoftwareDependencies/Components.js/compare/v5.0.0-beta.6...v5.0.0-beta.7) - 2022-02-21
6
+
7
+ ### Changed
8
+ * [Lower log level of empty modules to debug](https://github.com/LinkedSoftwareDependencies/Components.js/commit/df119861bc12992e05af05b42f0a734069de6915)
9
+ * [Bump to rdf-object 1.13.1](https://github.com/LinkedSoftwareDependencies/Components.js/commit/264be522079f86bd47bea9fe5730eaed29bbe450)
10
+
11
+ ### Fixed
12
+ * [Fix incorrect error logging when generics error occurs in extends clause](https://github.com/LinkedSoftwareDependencies/Components.js/commit/1ce62d39896ca498ecba7443c9c7c298c9db0301)
13
+ * [Fix minor context issues](https://github.com/LinkedSoftwareDependencies/Components.js/commit/7adcd5fe0de73a42c8225069752be40214f843f3)
14
+
4
15
  <a name="v5.0.0-beta.6"></a>
5
16
  ## [v5.0.0-beta.6](https://github.com/LinkedSoftwareDependencies/Components.js/compare/v5.0.0-beta.5...v5.0.0-beta.6) - 2022-02-09
6
17
 
@@ -33,7 +33,7 @@
33
33
  "@id": "oo:parameter"
34
34
  },
35
35
  "memberFields": {
36
- "@id": "oo:memberFields"
36
+ "@id": "oo:memberField"
37
37
  },
38
38
  "memberFieldName": {
39
39
  "@id": "oo:memberFieldName"
@@ -111,8 +111,11 @@
111
111
  "ParameterRangeIntersection": {
112
112
  "@id": "oo:ParameterRangeIntersection"
113
113
  },
114
+ "ParameterRangeTuple": {
115
+ "@id": "oo:ParameterRangeTuple"
116
+ },
114
117
  "parameterRangeElements": {
115
- "@id": "oo:parameterRangeElements",
118
+ "@id": "oo:parameterRangeElement",
116
119
  "@type": "@id"
117
120
  },
118
121
  "ParameterRangeCollectEntries": {
@@ -141,12 +144,9 @@
141
144
  "@type": "@id"
142
145
  },
143
146
  "parameterRangeGenericBindings": {
144
- "@id": "oo:parameterRangeGenericBindings",
147
+ "@id": "oo:parameterRangeGenericBinding",
145
148
  "@type": "@id"
146
149
  },
147
- "GenericComponentExtension": {
148
- "@id": "oo:GenericComponentExtension"
149
- },
150
150
  "ParameterRangeIndexed": {
151
151
  "@id": "oo:ParameterRangeIndexed"
152
152
  },
@@ -158,6 +158,9 @@
158
158
  "@id": "oo:parameterRangeIndexedIndex",
159
159
  "@type": "@id"
160
160
  },
161
+ "GenericComponentExtension": {
162
+ "@id": "oo:GenericComponentExtension"
163
+ },
161
164
 
162
165
  "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
163
166
  "comment": {
@@ -60,7 +60,7 @@ class ComponentRegistry {
60
60
  }
61
61
  }
62
62
  else {
63
- this.logger.warn(`Registered a module ${moduleResource.value} without components.`);
63
+ this.logger.debug(`Registered a module ${moduleResource.value} without components.`);
64
64
  }
65
65
  }
66
66
  /**
@@ -100,7 +100,7 @@ class ConfigPreprocessorComponent {
100
100
  const conflict = genericsContext.bindComponentGenericTypes(handleResponse.component, config.properties.genericTypeInstances, { config }, (subType, superType) => this.parameterHandler.parameterPropertyHandlerRange
101
101
  .hasType(subType, superType, genericsContext, config.property.genericTypeInstancesComponentScope, config.properties.genericTypeInstances, { config }));
102
102
  if (conflict) {
103
- throw new ErrorResourcesContext_1.ErrorResourcesContext(conflict.description, conflict.context);
103
+ throw new ErrorResourcesContext_1.ErrorResourcesContext(conflict.description, { cause: conflict });
104
104
  }
105
105
  }
106
106
  return genericsContext;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "componentsjs",
3
- "version": "5.0.0-beta.6",
3
+ "version": "5.0.0-beta.7",
4
4
  "description": "A semantic dependency injection framework",
5
5
  "lsd:contexts": {
6
6
  "https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^3.0.0/components/context.jsonld": "components/context.jsonld"
@@ -40,7 +40,7 @@
40
40
  "jsonld-context-parser": "^2.1.1",
41
41
  "minimist": "^1.2.0",
42
42
  "rdf-data-factory": "^1.1.0",
43
- "rdf-object": "^1.13.0",
43
+ "rdf-object": "^1.13.1",
44
44
  "rdf-parse": "^1.9.1",
45
45
  "rdf-quad": "^1.5.0",
46
46
  "rdf-terms": "^1.7.0",