pmcf 6.66.0 → 6.66.2
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/README.md +1 -1
- package/package.json +2 -2
- package/src/constants.mjs +1 -0
- package/src/core-service.mjs +7 -1
- package/src/endpoint.mjs +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "6.66.
|
|
3
|
+
"version": "6.66.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"content-entry-transform": "^1.7.9",
|
|
55
55
|
"filtered-map": "^1.0.0",
|
|
56
56
|
"ip-utilties": "^3.13.1",
|
|
57
|
-
"npm-pkgbuild": "^22.2.
|
|
57
|
+
"npm-pkgbuild": "^22.2.8",
|
|
58
58
|
"pacc": "^11.17.6",
|
|
59
59
|
"package-directory": "^8.2.0",
|
|
60
60
|
"yaml": "^2.9.1"
|
package/src/constants.mjs
CHANGED
package/src/core-service.mjs
CHANGED
|
@@ -145,6 +145,8 @@ export class CoreService extends base {
|
|
|
145
145
|
filter = undefined;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
+
const seen = new Set();
|
|
149
|
+
|
|
148
150
|
for (const e of data) {
|
|
149
151
|
if (type && e.type.name !== type) {
|
|
150
152
|
continue;
|
|
@@ -172,7 +174,11 @@ export class CoreService extends base {
|
|
|
172
174
|
}
|
|
173
175
|
|
|
174
176
|
if (e.scheme || e.pathname) {
|
|
175
|
-
|
|
177
|
+
const he = new HTTPEndpoint(this, na, options);
|
|
178
|
+
if (!seen.has(he.url.toString())) {
|
|
179
|
+
seen.add(he.url.toString());
|
|
180
|
+
result.push(he);
|
|
181
|
+
}
|
|
176
182
|
} else {
|
|
177
183
|
result.push(new Endpoint(this, na, options));
|
|
178
184
|
}
|
package/src/endpoint.mjs
CHANGED