pmcf 4.18.2 → 4.18.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "4.18.2",
3
+ "version": "4.18.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -26,7 +26,7 @@ class ALPMRepository extends Base {
26
26
 
27
27
  static get typeDefinition() {
28
28
  return ALPMRepositoryTypeDefinition;
29
- }
29
+ }
30
30
  }
31
31
 
32
32
  const ALPMServiceTypeDefinition = {
@@ -58,4 +58,12 @@ export class ALPMService extends Service {
58
58
  }
59
59
 
60
60
  repositories = new Map();
61
+
62
+ typeNamed(type, name) {
63
+ if (type === ALPMRepositoryTypeDefinition.name) {
64
+ return this.repositories.get(name);
65
+ }
66
+
67
+ return super.typeNamed(type, name);
68
+ }
61
69
  }