npm package diff
Package: @forge/manifest
Versions: 9.1.0-next.0 - 9.1.0-next.1
File: package/out/validators/modules-validator.js
Index: package/out/validators/modules-validator.js
===================================================================
--- package/out/validators/modules-validator.js
+++ package/out/validators/modules-validator.js
@@ -152,9 +152,15 @@
});
}
}
});
+ function isRemoteType(obj) {
+ return obj && typeof obj === 'object' && 'remote' in obj;
+ }
_endpoint?.forEach((endpoint) => {
+ if (!isRemoteType(endpoint)) {
+ return;
+ }
if (!_checkRemoteExists(endpoint.remote)) {
validationErrors.push({
message: text_1.errors.modules.endpoint.remote.notExists(endpoint.remote),
reference: text_1.References.Modules,