Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-c2a/models

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-c2a/models - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

4

out/aggregations/aggregation.js

@@ -10,3 +10,3 @@ "use strict";

characteristics: ig.characteristics,
subAggs: (_a = ig.subAggs) === null || _a === void 0 ? void 0 : _a.map(sg => serializeCustom(sg, serialization_classes_1.SerializationClasses.AGGREGATION, exports.aggregationSerializer(sg, serialize, serializeCustom))),
subAggs: (_a = ig.subAggs) === null || _a === void 0 ? void 0 : _a.map(sg => serializeCustom(sg, serialization_classes_1.SerializationClasses.AGGREGATION, (0, exports.aggregationSerializer)(sg, serialize, serializeCustom))),
descriptions: ig.descriptions,

@@ -37,2 +37,2 @@ };

exports.getAllCharacteristics = getAllCharacteristics;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdncmVnYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9hZ2dyZWdhdGlvbnMvYWdncmVnYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsMkVBQXVFO0FBYWhFLE1BQU0scUJBQXFCLEdBQUcsQ0FDbkMsRUFBa0IsRUFDbEIsU0FBNEMsRUFDNUMsZUFBeUYsRUFDbEUsRUFBRTs7SUFDekIsT0FBTztRQUNMLFFBQVEsRUFBRSxDQUFDLEdBQUcsRUFBRSxDQUFDLFFBQVEsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUNqRCxlQUFlLEVBQUUsRUFBRSxDQUFDLGVBQWU7UUFDbkMsT0FBTyxFQUFFLE1BQUEsRUFBRSxDQU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gYSA9IGEucGFyZW50QWdnO1xuICB9XG5cbiAgcmV0dXJuIHJlc3VsdDtcbn07Il19

@@ -18,10 +18,10 @@ "use strict";

aggregations: this.aggregations.map(agg => this.serializeAgg(agg, serialize, serializeCustom)),
aggregationsPerComponent: utils_1.fromEntries([...this.aggregationsPerComponent].map(([compTransition, aggArr]) => {
aggregationsPerComponent: (0, utils_1.fromEntries)([...this.aggregationsPerComponent].map(([compTransition, aggArr]) => {
return [serialize(compTransition), aggArr.map(agg => this.serializeAgg(agg, serialize, serializeCustom))];
})),
rulesOutput: utils_1.fromEntries([...this.rulesOutput].map(([op, effect]) => [serialize(op), effect])),
rulesOutput: (0, utils_1.fromEntries)([...this.rulesOutput].map(([op, effect]) => [serialize(op), effect])),
};
}
serializeAgg(agg, serialize, serializeCustom) {
return serializeCustom(agg, serialization_classes_1.SerializationClasses.AGGREGATION, aggregations_1.aggregationSerializer(agg, serialize, serializeCustom));
return serializeCustom(agg, serialization_classes_1.SerializationClasses.AGGREGATION, (0, aggregations_1.aggregationSerializer)(agg, serialize, serializeCustom));
}

@@ -33,2 +33,2 @@ getSerializationClass() {

exports.ChangeAnalysisReport = ChangeAnalysisReport;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLWFuYWx5c2lzLXJlcG9ydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2NoYW5nZS1hbmFseXNpcy1yZXBvcnQvY2hhbmdlLWFuYWx5c2lzLXJlcG9ydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxrREFBcUU7QUFFckUsMkVBQXVFO0FBS3ZFLG9DQUF1QztBQUV2QyxNQUFhLG9CQUFvQjtJQUUvQixZQUNrQixjQUE4QixFQUM5QixZQUErQyxFQUMvQyx3QkFBdUYsRUFDdkYsV0FBZ0Q7UUFIaEQsbUJBQWMsR0FBZCxjQUFjLENBQWdCO1FBQzlC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dGlvbjxDb21wb25lbnRPcGVyYXRpb24+LFxuICAgIHNlcmlhbGl6ZTogKG9iajogSlNPTlNlcmlhbGl6YWJsZSkgPT4gbnVtYmVyLFxuICAgIHNlcmlhbGl6ZUN1c3RvbTogKG9iajogYW55LCBzZXJpYWxpemF0aW9uQ2xhc3M6IHN0cmluZywgc2VyaWFsaXplZDogU2VyaWFsaXplZCkgPT4gbnVtYmVyKXtcbiAgICByZXR1cm4gc2VyaWFsaXplQ3VzdG9tKFxuICAgICAgYWdnLFxuICAgICAgU2VyaWFsaXphdGlvbkNsYXNzZXMuQUdHUkVHQVRJT04sXG4gICAgICBhZ2dyZWdhdGlvblNlcmlhbGl6ZXIoYWdnLCBzZXJpYWxpemUsIHNlcmlhbGl6ZUN1c3RvbSksXG4gICAgKTtcbiAgfVxuXG4gIGdldFNlcmlhbGl6YXRpb25DbGFzcygpOiBzdHJpbmcge1xuICAgIHJldHVybiBTZXJpYWxpemF0aW9uQ2xhc3Nlcy5DSEFOR0VfQU5BTFlTSVNfUkVQT1JUO1xuICB9XG59Il19

@@ -8,3 +8,3 @@ "use strict";

const serialized = obj;
return new model_diffing_1.InsertComponentOperation(utils_1.deserializeOpNodeData(serialized), utils_1.deserializeOpOutoingNodeReferences(serialized, deserialize));
return new model_diffing_1.InsertComponentOperation((0, utils_1.deserializeOpNodeData)(serialized), (0, utils_1.deserializeOpOutoingNodeReferences)(serialized, deserialize));
}

@@ -14,3 +14,3 @@ exports.insertComponentOperationDeserializer = insertComponentOperationDeserializer;

const serialized = obj;
return new model_diffing_1.RemoveComponentOperation(utils_1.deserializeOpNodeData(serialized), utils_1.deserializeOpOutoingNodeReferences(serialized, deserialize));
return new model_diffing_1.RemoveComponentOperation((0, utils_1.deserializeOpNodeData)(serialized), (0, utils_1.deserializeOpOutoingNodeReferences)(serialized, deserialize));
}

@@ -20,3 +20,3 @@ exports.removeComponentOperationDeserializer = removeComponentOperationDeserializer;

const serialized = obj;
return new model_diffing_1.ReplaceComponentOperation(utils_1.deserializeOpNodeData(serialized), utils_1.deserializeOpOutoingNodeReferences(serialized, deserialize));
return new model_diffing_1.ReplaceComponentOperation((0, utils_1.deserializeOpNodeData)(serialized), (0, utils_1.deserializeOpOutoingNodeReferences)(serialized, deserialize));
}

@@ -26,5 +26,5 @@ exports.replaceComponentOperationDeserializer = replaceComponentOperationDeserializer;

const serialized = obj;
return new model_diffing_1.RenameComponentOperation(utils_1.deserializeOpNodeData(serialized), utils_1.deserializeOpOutoingNodeReferences(serialized, deserialize));
return new model_diffing_1.RenameComponentOperation((0, utils_1.deserializeOpNodeData)(serialized), (0, utils_1.deserializeOpOutoingNodeReferences)(serialized, deserialize));
}
exports.renameComponentOperationDeserializer = renameComponentOperationDeserializer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LW9wZXJhdGlvbi1kZXNlcmlhbGl6ZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vZXhwb3J0L2Rlc2VyaWFsaXplcnMvaW5mcmEtbW9kZWwtZGlmZi9jb21wb25lbnQtb3BlcmF0aW9ucy9jb21wb25lbnQtb3BlcmF0aW9uLWRlc2VyaWFsaXplcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOERBS29DO0FBSXBDLG1DQUFvRjtBQUVwRixTQUFnQixvQ0FBb0MsQ0FDbEQsR0FBZSxFQUNmLFdBQXVEO0lBRXZELE1BQU0sVUFBVSxHQUFHLEdBQW1DLENBQUM7SUFFdkQsT0FBTyxJQUFJLHdDQUF3QixDQUNqQyw2QkFBcUIsQ0FBQyxVQUFVLENBQUMsRUFDakMsMENBQWtDLENBQUMsVUFBVSxFQUFFLFdBQVcsQ0FBQyxDQUM1RCxDQUFDO0FBQ0osQ0FBQztBQVZELG9GQVVDO0FBRUQsU0FBZ0Isb0NBQW9DLENBQ2xELEdBQWUsRUFDZixXQUF1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biAgICBkZXNlcmlhbGl6ZU9wT3V0b2luZ05vZGVSZWZlcmVuY2VzKHNlcmlhbGl6ZWQsIGRlc2VyaWFsaXplKSxcbiAgKTtcbn0iXX0=

@@ -8,3 +8,3 @@ "use strict";

const serialized = obj;
return new model_diffing_1.InsertPropertyComponentOperation(utils_1.deserializeOpNodeData(serialized), utils_1.deserializePropOpOutoingNodeReferences(serialized, deserialize));
return new model_diffing_1.InsertPropertyComponentOperation((0, utils_1.deserializeOpNodeData)(serialized), (0, utils_1.deserializePropOpOutoingNodeReferences)(serialized, deserialize));
}

@@ -14,3 +14,3 @@ exports.insertPropertyComponentOperationDeserializer = insertPropertyComponentOperationDeserializer;

const serialized = obj;
return new model_diffing_1.RemovePropertyComponentOperation(utils_1.deserializeOpNodeData(serialized), utils_1.deserializePropOpOutoingNodeReferences(serialized, deserialize));
return new model_diffing_1.RemovePropertyComponentOperation((0, utils_1.deserializeOpNodeData)(serialized), (0, utils_1.deserializePropOpOutoingNodeReferences)(serialized, deserialize));
}

@@ -20,3 +20,3 @@ exports.removePropertyComponentOperationDeserializer = removePropertyComponentOperationDeserializer;

const serialized = obj;
return new model_diffing_1.MovePropertyComponentOperation(utils_1.deserializeOpNodeData(serialized), utils_1.deserializePropOpOutoingNodeReferences(serialized, deserialize));
return new model_diffing_1.MovePropertyComponentOperation((0, utils_1.deserializeOpNodeData)(serialized), (0, utils_1.deserializePropOpOutoingNodeReferences)(serialized, deserialize));
}

@@ -26,5 +26,5 @@ exports.movePropertyComponentOperationDeserializer = movePropertyComponentOperationDeserializer;

const serialized = obj;
return new model_diffing_1.MovePropertyComponentOperation(utils_1.deserializeOpNodeData(serialized), utils_1.deserializeUpdatePropOpOutoingNodeReferences(serialized, deserialize));
return new model_diffing_1.MovePropertyComponentOperation((0, utils_1.deserializeOpNodeData)(serialized), (0, utils_1.deserializeUpdatePropOpOutoingNodeReferences)(serialized, deserialize));
}
exports.updatePropertyComponentOperationDeserializer = updatePropertyComponentOperationDeserializer;
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udE9wZXJhdGlvbihcbiAgICBkZXNlcmlhbGl6ZU9wTm9kZURhdGEoc2VyaWFsaXplZCksXG4gICAgZGVzZXJpYWxpemVVcGRhdGVQcm9wT3BPdXRvaW5nTm9kZVJlZmVyZW5jZXMoc2VyaWFsaXplZCwgZGVzZXJpYWxpemUpLFxuICApO1xufSJdfQ==

@@ -13,3 +13,3 @@ "use strict";

const serializedComponentProperty = obj;
return new infra_model_1.ComponentPropertyRecord(utils_1.fromEntries(Object.entries(serializedComponentProperty.value)
return new infra_model_1.ComponentPropertyRecord((0, utils_1.fromEntries)(Object.entries(serializedComponentProperty.value)
.map(([k, v]) => [k, deserialize(v)])), serializedComponentProperty.componentUpdateType);

@@ -27,2 +27,2 @@ }

exports.componentPropertyEmptyDeserializer = componentPropertyEmptyDeserializer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LXByb3BlcnR5LWRlc2VyaWFsaXplci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2V4cG9ydC9kZXNlcmlhbGl6ZXJzL2luZnJhLW1vZGVsL2NvbXBvbmVudC1wcm9wZXJ0eS1kZXNlcmlhbGl6ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQW1LO0FBQ25LLDBDQUE2QztBQUs3QyxTQUFnQixrQ0FBa0MsQ0FDaEQsR0FBZSxFQUNmLFdBQXVEO0lBRXZELE1BQU0sMkJBQTJCLEdBQUcsR0FBdUMsQ0FBQztJQUU1RSxPQUFPLElBQUksb0NBQXNCLENBQy9CLDJCQUEyQixDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxXQUFXLENBQUMsQ0FBQyxDQUEyQixDQUFDLEVBQ3BGLDJCQUEyQixDQUFDLG1CQUFtQixDQUNoRCxDQUFDO0FBQ0osQ0FBQztBQVZELG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XBvbmVudFByb3BlcnR5LnZhbHVlKVxuICAgICAgLm1hcCgoW2ssdl0pID0+IFtrLCBkZXNlcmlhbGl6ZSh2KSBhcyBDb21wb25lbnRQcm9wZXJ0eVZhbHVlXSkpLFxuICAgIHNlcmlhbGl6ZWRDb21wb25lbnRQcm9wZXJ0eS5jb21wb25lbnRVcGRhdGVUeXBlLFxuICApO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gY29tcG9uZW50UHJvcGVydHlQcmltaXRpdmVEZXNlcmlhbGl6ZXIob2JqOiBTZXJpYWxpemVkKTogSlNPTlNlcmlhbGl6YWJsZSB7XG4gIGNvbnN0IHNlcmlhbGl6ZWRDb21wb25lbnRQcm9wZXJ0eSA9IG9iaiBhcyBTZXJpYWxpemVkQ29tcG9uZW50UHJvcGVydHlQcmltaXRpdmU7XG5cbiAgcmV0dXJuIG5ldyBDb21wb25lbnRQcm9wZXJ0eVByaW1pdGl2ZShcbiAgICBzZXJpYWxpemVkQ29tcG9uZW50UHJvcGVydHkudmFsdWUsXG4gICAgc2VyaWFsaXplZENvbXBvbmVudFByb3BlcnR5LmNvbXBvbmVudFVwZGF0ZVR5cGUsXG4gICk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBjb21wb25lbnRQcm9wZXJ0eUVtcHR5RGVzZXJpYWxpemVyKCk6IEpTT05TZXJpYWxpemFibGUge1xuICByZXR1cm4gbmV3IEVtcHR5Q29tcG9uZW50UHJvcGVydHkoKTtcbn0iXX0=

@@ -82,3 +82,3 @@ "use strict";

return [this];
return utils_1.flatMap(Object.values(this.value), v => v.explode());
return (0, utils_1.flatMap)(Object.values(this.value), v => v.explode());
}

@@ -102,3 +102,3 @@ toJSON() {

return {
value: utils_1.fromEntries(Object.entries(this.getRecord()).map(([k, v]) => [k, serialize(v)])),
value: (0, utils_1.fromEntries)(Object.entries(this.getRecord()).map(([k, v]) => [k, serialize(v)])),
componentUpdateType: this.componentUpdateType,

@@ -161,2 +161,2 @@ };

exports.EmptyComponent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xuXG5leHBvcnQgY2xhc3MgRW1wdHlDb21wb25lbnRQcm9wZXJ0eSBleHRlbmRzIENvbXBvbmVudFByb3BlcnR5VmFsdWUge1xuICBwdWJsaWMgZ2V0IHZhbHVlKCk6IENvbXBvbmVudFByb3BlcnR5VmFsdWVUeXBlIHwgdW5kZWZpbmVkIHsgcmV0dXJuIHVuZGVmaW5lZDsgfVxuXG4gIGNvbnN0cnVjdG9yKCl7XG4gICAgc3VwZXIoe30se30pO1xuICB9XG5cbiAgcHVibGljIHRvU2VyaWFsaXplZCgpOiBTZXJpYWxpemVkQ29tcG9uZW50UHJvcGVydHlFbXB0eSB7XG4gICAgcmV0dXJuIHtcbiAgICAgIHZhbHVlOiB1bmRlZmluZWQsXG4gICAgICBjb21wb25lbnRVcGRhdGVUeXBlOiB0aGlzLmNvbXBvbmVudFVwZGF0ZVR5cGUsXG4gICAgfTtcbiAgfVxuXG4gIHB1YmxpYyBnZXRTZXJpYWxpemF0aW9uQ2xhc3MoKTogc3RyaW5ne1xuICAgIHJldHVybiBTZXJpYWxpemF0aW9uQ2xhc3Nlcy5DT01QT05FTlRfUFJPUEVSVFlfRU1QVFk7XG4gIH1cbn0iXX0=

@@ -19,3 +19,3 @@ "use strict";

return this.explodeDirectReferences()
.filter(({ ref }) => utils_1.isDefined(ref))
.filter(({ ref }) => (0, utils_1.isDefined)(ref))
.map(({ refName, ref, key }) => createModelEntityEdge(refName, ref, key));

@@ -27,3 +27,3 @@ }

});
return utils_1.flatMap(Object.entries(this.outgoingNodeReferences), ([k, v]) => {
return (0, utils_1.flatMap)(Object.entries(this.outgoingNodeReferences), ([k, v]) => {
if (v instanceof ModelEntity) {

@@ -56,3 +56,3 @@ return [createInfoObj(k, v)];

const entities = this.explodeNodeReferences();
return new fn.Graph(entities.map(e => e.nodeData), utils_1.flatMap(entities, e => e.getOutgoingNodeEdges()));
return new fn.Graph(entities.map(e => e.nodeData), (0, utils_1.flatMap)(entities, e => e.getOutgoingNodeEdges()));
}

@@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gpIHtcbiAgICAgIGNvbnN0IGUgPSBzdGFjay5wb3AoKTtcbiAgICAgIGlmKGUgPT09IHVuZGVmaW5lZCB8fCByZXN1bHQuaGFzKGUpKSBjb250aW51ZTtcbiAgICAgIHJlc3VsdC5hZGQoZSk7XG4gICAgICBzdGFjay5wdXNoKC4uLmUuZXhwbG9kZURpcmVjdFJlZmVyZW5jZXMoKS5tYXAoKHtyZWZ9KSA9PiByZWYpKTtcbiAgICB9XG5cbiAgICByZXR1cm4gWy4uLnJlc3VsdF07XG4gIH1cblxuICBwdWJsaWMgZ2VuZXJhdGVPdXRnb2luZ0dyYXBoKCk6IGZuLkdyYXBoPGFueSwge19sYWJlbDogc3RyaW5nLCBfaW46IHN0cmluZywgX291dDogc3RyaW5nfT4ge1xuICAgIGNvbnN0IGVudGl0aWVzID0gdGhpcy5leHBsb2RlTm9kZVJlZmVyZW5jZXMoKTtcbiAgICByZXR1cm4gbmV3IGZuLkdyYXBoKGVudGl0aWVzLm1hcChlID0+IGUubm9kZURhdGEpLCBmbGF0TWFwKGVudGl0aWVzLCBlID0+IGUuZ2V0T3V0Z29pbmdOb2RlRWRnZXMoKSkpO1xuICB9XG59Il19

@@ -18,7 +18,7 @@ "use strict";

static createComponentTransitionMap(componentTransitions) {
return new Map(utils_1.flatMap(componentTransitions, t => [[t.v1, t], [t.v2, t]])
.filter(([v]) => utils_1.isDefined(v)));
return new Map((0, utils_1.flatMap)(componentTransitions, t => [[t.v1, t], [t.v2, t]])
.filter(([v]) => (0, utils_1.isDefined)(v)));
}
static createComponentTransitionToOperationsMap(componentOperations) {
return utils_1.groupArrayBy(componentOperations, o => o.componentTransition);
return (0, utils_1.groupArrayBy)(componentOperations, o => o.componentTransition);
}

@@ -56,2 +56,2 @@ get componentOperations() {

exports.InfraModelDiff = InfraModelDiff;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5mcmEtbW9kZWwtZGlmZi5qcyIsInNvdXJjZVJvb3Q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AuZ2V0KGUpO1xuICAgIGlmKCF0KVxuICAgICAgdGhyb3cgbmV3IFRyYW5zaXRpb25Ob3RGb3VuZEVycm9yKGBDb3VsZCBub3QgZmluZCB0cmFuc2l0aW9uIGZvciBjb21wb25lbnQgJHtlLm5hbWV9IGluIG1vZGVsYCk7XG4gICAgcmV0dXJuIHQ7XG4gIH1cblxuICBwdWJsaWMgZ2V0VHJhbnNpdGlvbk9wZXJhdGlvbnModDogVHJhbnNpdGlvbjxDb21wb25lbnQ+KTogQ29tcG9uZW50T3BlcmF0aW9uW10ge1xuICAgIHJldHVybiB0aGlzLmNvbXBvbmVudFRyYW5zaXRpb25Ub09wZXJhdGlvbnNNYXAuZ2V0KHQpID8/IFtdO1xuICB9XG5cbiAgcHVibGljIHRvU2VyaWFsaXplZChcbiAgICBzZXJpYWxpemU6IChvYmo6IEpTT05TZXJpYWxpemFibGUpID0+IFNlcmlhbGl6YXRpb25JRCxcbiAgKTogU2VyaWFsaXplZCB7XG4gICAgcmV0dXJuIHtcbiAgICAgIGNvbXBvbmVudE9wZXJhdGlvbnM6IHRoaXMuY29tcG9uZW50T3BlcmF0aW9ucy5tYXAoc2VyaWFsaXplKSxcbiAgICAgIGNvbXBvbmVudFRyYW5zaXRpb25zOiB0aGlzLmNvbXBvbmVudFRyYW5zaXRpb25zLm1hcCh0ID0+IHNlcmlhbGl6ZSh0KSksXG4gICAgICBpbmZyYU1vZGVsVHJhbnNpdGlvbjogc2VyaWFsaXplKHRoaXMuaW5mcmFNb2RlbFRyYW5zaXRpb24pLFxuICAgIH07XG4gIH1cbiAgcHVibGljIGdldFNlcmlhbGl6YXRpb25DbGFzcygpOiBzdHJpbmcge1xuICAgIHJldHVybiBTZXJpYWxpemF0aW9uQ2xhc3Nlcy5JTkZSQV9NT0RFTF9ESUZGO1xuICB9XG59Il19

@@ -35,3 +35,3 @@ "use strict";

&& v2path.length >= this.pathTransition.v2.length
&& utils_1.arraysEqual(v2path, this.pathTransition.v2.slice(0, v2path.length))) {
&& (0, utils_1.arraysEqual)(v2path, this.pathTransition.v2.slice(0, v2path.length))) {
return [...this.pathTransition.v1, ...v2path.slice(this.pathTransition.v1.length)];

@@ -88,3 +88,3 @@ }

}
return utils_1.flatMap(this.innerOperations, o => [this, ...(o instanceof UpdatePropertyComponentOperation
return (0, utils_1.flatMap)(this.innerOperations, o => [this, ...(o instanceof UpdatePropertyComponentOperation
? o.getAllInnerOperations()

@@ -110,3 +110,3 @@ : [o]),

return [this];
return utils_1.flatMap(this.innerOperations, o => (o instanceof UpdatePropertyComponentOperation) ? o.getLeaves() : [o]);
return (0, utils_1.flatMap)(this.innerOperations, o => (o instanceof UpdatePropertyComponentOperation) ? o.getLeaves() : [o]);
}

@@ -132,2 +132,2 @@ toSerialized(serialize) {

exports.MovePropertyComponentOperation = MovePropertyComponentOperation;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktY29tcG9uZW50LW9wZXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZGVsLWRpZmZpbmcvb3BlcmF0aW9ucy9wcm9wZXJ0eS1jb21wb25lbnQtb3BlcmF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLDhFQUEwRTtBQUcxRSx1Q0FBbUQ7QUFFbkQsK0RBQWdIO0FBV2hILE1BQXNCLDBCQUVwQixTQUFRLHdDQUErQztJQUd2RCxJQUFXLGNBQWMsS0FBK0IsT0FBTyxJQUFJLENBQUMsc0JBQXNCLENBQUMsY0FBYyxDQUFDLENBQUMsQ0FBQztJQUM1RyxJQUFXLGtCQUFrQjtRQUMzQixPQUFPLElBQUksQ0FBQyxzQkFBc0IsQ0FBQyxrQkFBa0IsQ0FBQztJQUN4RCxDQUFDO0lBQ0QsSUFBVyxxQkFBcUIsS0FBb0IsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDLHFCQUFxQixD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AgIHJldHVybiB7XG4gICAgICAuLi5zdXBlci50b1NlcmlhbGl6ZWQoc2VyaWFsaXplKSxcbiAgICAgIGlubmVyT3BlcmF0aW9uczogdGhpcy5pbm5lck9wZXJhdGlvbnM/Lm1hcChvID0+IHNlcmlhbGl6ZShvKSksXG4gICAgfTtcbiAgfVxuXG4gIHB1YmxpYyBnZXRTZXJpYWxpemF0aW9uQ2xhc3MoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gU2VyaWFsaXphdGlvbkNsYXNzZXMuVVBEQVRFX1BST1BFUlRZX0NPTVBPTkVOVF9PUEVSQVRJT047XG4gIH1cbn1cblxuZXhwb3J0IGNsYXNzIE1vdmVQcm9wZXJ0eUNvbXBvbmVudE9wZXJhdGlvbiBleHRlbmRzIFVwZGF0ZVByb3BlcnR5Q29tcG9uZW50T3BlcmF0aW9uIHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBub2RlRGF0YTogT3BOb2RlRGF0YSxcbiAgICBvdXRnb2luZ1JlZmVyZW5jZXM6IFVwZGF0ZVByb3BPcE91dGdvaW5nTm9kZVJlZmVyZW5jZXMsXG4gICAgb3BlcmF0aW9uVHlwZTogT3BlcmF0aW9uVHlwZSA9IE9wZXJhdGlvblR5cGUuUkVOQU1FLFxuICApe3N1cGVyKG5vZGVEYXRhLCBvdXRnb2luZ1JlZmVyZW5jZXMsIG9wZXJhdGlvblR5cGUpO31cblxuICBwdWJsaWMgZ2V0U2VyaWFsaXphdGlvbkNsYXNzKCk6IHN0cmluZyB7XG4gICAgcmV0dXJuIFNlcmlhbGl6YXRpb25DbGFzc2VzLk1PVkVfUFJPUEVSVFlfQ09NUE9ORU5UX09QRVJBVElPTjtcbiAgfVxufSJdfQ==

@@ -30,3 +30,3 @@ "use strict";

toSerialized(serialize) {
const serializeVersion = (version) => json_serializable_1.isJSONSerializable(version)
const serializeVersion = (version) => (0, json_serializable_1.isJSONSerializable)(version)
? serialize(version)

@@ -50,2 +50,2 @@ : { value: version };

exports.Comple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4+XG57XG4gIC8vIEJ5IGRlZmluaXRpb24gdGhlc2UgbmVlZCB0byBiZSBkZWZpbmVkXG4gIGdldCB2MSgpOiBUIHsgcmV0dXJuIHN1cGVyLnYxITsgfSAvLyBlc2xpbnQtZGlzYWJsZS1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1ub24tbnVsbC1hc3NlcnRpb25cbiAgZ2V0IHYyKCk6IFQgeyByZXR1cm4gc3VwZXIudjIhOyB9IC8vIGVzbGludC1kaXNhYmxlLWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25vLW5vbi1udWxsLWFzc2VydGlvblxuXG4gIGNvbnN0cnVjdG9yKHZlcnNpb25zOiBDb21wbGV0ZVRyYW5zaXRpb25WZXJzaW9uczxUPil7XG4gICAgc3VwZXIodmVyc2lvbnMpO1xuICB9XG59Il19

@@ -7,3 +7,3 @@ "use strict";

test('Report Graph returns proper graph', () => {
const infraModelDiff = example_model_1.buildDiff();
const infraModelDiff = (0, example_model_1.buildDiff)();
infraModelDiff;

@@ -13,2 +13,2 @@ // const report = new ChangeAnalysisReport(infraModelDiff, []);

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLXJlcG9ydC1ncmFwaC50ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vdGVzdC9leHBvcnQvY2hhbmdlLXJlcG9ydC1ncmFwaC50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsdUVBQXVFO0FBQ3ZFLG1EQUE0QztBQUU1QyxpQkFBaUI7QUFDakIsSUFBSSxDQUFDLG1DQUFtQyxFQUFFLEdBQUcsRUFBRTtJQUM3QyxNQUFNLGNBQWMsR0FBRyx5QkFBUyxFQUFFLENBQUM7SUFDbkMsY0FBYyxDQUFDO0lBQ2YsK0RBQStEO0lBRS9ELHFDQUFxQztBQUN2QyxDQUFDLENBQUMsQ0FBQ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mcm9tICcuLi8uLi9jaGFuZ2UtYW5hbHlzaXMtcmVwb3J0JztcbmltcG9ydCB7IGJ1aWxkRGlmZiB9IGZyb20gJy4vZXhhbXBsZS1tb2RlbCc7XG5cbi8vIFRPRE86IEZpeCB0ZXN0XG50ZXN0KCdSZXBvcnQgR3JhcGggcmV0dXJucyBwcm9wZXIgZ3JhcGgnLCAoKSA9PiB7XG4gIGNvbnN0IGluZnJhTW9kZWxEaWZmID0gYnVpbGREaWZmKCk7XG4gIGluZnJhTW9kZWxEaWZmO1xuICAvLyBjb25zdCByZXBvcnQgPSBuZXcgQ2hhbmdlQW5hbHlzaXNSZXBvcnQoaW5mcmFNb2RlbERpZmYsIFtdKTtcblxuICAvLyBjb25zb2xlLmxvZyhyZXBvcnQuZ2VuZXJhdGVHcmFwaCk7XG59KTsiXX0=

@@ -50,3 +50,3 @@ "use strict";

const buildDiff = () => {
const infraModelv1 = exports.buildModelV1();
const infraModelv1 = (0, exports.buildModelV1)();
const infraModelv2 = buildModelV2();

@@ -79,2 +79,2 @@ const component1v1 = infraModelv1.components[0];

exports.buildDiff = buildDiff;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhhbXBsZS1tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Rlc3QvZXhwb3J0L2V4YW1wbGUtbW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsbURBTzJCO0FBQzNCLHVEQUFtRztBQUc1RixNQUFNLFlBQVksR0FBRyxHQUFlLEVBQUU7SUFDM0MsTUFBTSxZQUFZLEdBQUcsSUFBSSx1QkFBUyxDQUFDLFlBQVksRUFBRSxVQUFVLEVBQUU7UUFDM0QsT0FBTyxFQUFFLGdCQUFnQjtRQUN6QixVQUFVLEVBQUUsSUFBSSxxQ0FBdUIsQ0FDckM7WUFDRSxPQUFPLEVBQUUsSUFBSSx3Q0F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vbixcbiAgfSk7XG5cbiAgY29uc3QgZGlyZWN0Q2hhbmdlQ29tcG9uZW50MiA9IG5ldyBVcGRhdGVQcm9wZXJ0eUNvbXBvbmVudE9wZXJhdGlvbih7fSwge1xuICAgIHBhdGhUcmFuc2l0aW9uOiBuZXcgVHJhbnNpdGlvbih7djE6IFsnbmVzdGVkJywgJ3Byb3BDb21wMiddLCB2MjogWyduZXN0ZWROYW1lQ2hhbmdlZCcsICdwcm9wQ29tcDJOYW1lQ2hhbmdlZCddfSksXG4gICAgcHJvcGVydHlUcmFuc2l0aW9uOiBuZXcgVHJhbnNpdGlvbih7XG4gICAgICB2MTogY29tcG9uZW50MnYxLnByb3BlcnRpZXMuZ2V0UmVjb3JkKCkubmVzdGVkLmdldFJlY29yZCgpLnByb3BDb21wMixcbiAgICAgIHYyOiBjb21wb25lbnQydjIucHJvcGVydGllcy5nZXRSZWNvcmQoKS5uZXN0ZWROYW1lQ2hhbmdlZC5nZXRSZWNvcmQoKS5wcm9wQ29tcDJOYW1lQ2hhbmdlZCxcbiAgICB9KSxcbiAgICBjb21wb25lbnRUcmFuc2l0aW9uOiBjb21wb25lbnQyVHJhbnNpdGlvbixcbiAgfSk7XG5cbiAgY29uc3QgaW5mcmFNb2RlbFRyYW5zaXRpb24gPSAgbmV3IFRyYW5zaXRpb248SW5mcmFNb2RlbD4oe3YxOiBpbmZyYU1vZGVsdjEsIHYyOiBpbmZyYU1vZGVsdjJ9KTtcblxuICByZXR1cm4gbmV3IEluZnJhTW9kZWxEaWZmKFxuICAgIFtkaXJlY3RDaGFuZ2VDb21wb25lbnQxLCBkaXJlY3RDaGFuZ2VDb21wb25lbnQyXSxcbiAgICBbY29tcG9uZW50MVRyYW5zaXRpb24sIGNvbXBvbmVudDJUcmFuc2l0aW9uXSwgaW5mcmFNb2RlbFRyYW5zaXRpb24sXG4gICk7XG59OyJdfQ==

@@ -8,3 +8,3 @@ "use strict";

test('InfraModel toSerialized', () => {
const model = example_model_1.buildModelV1();
const model = (0, example_model_1.buildModelV1)();
const serialized = new json_serializer_1.JSONSerializer().serialize(model);

@@ -16,3 +16,3 @@ const deserialized = new json_deserializer_1.JSONDeserializer().deserialize(serialized);

test('InfraModelDiff toSerialized', () => {
const diff = example_model_1.buildDiff();
const diff = (0, example_model_1.buildDiff)();
const serialized = new json_serializer_1.JSONSerializer().serialize(diff);

@@ -24,2 +24,2 @@ const deserialized = new json_deserializer_1.JSONDeserializer().deserialize(serialized);

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5mcmEtbW9kZWwudGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Rlc3QvZXhwb3J0L2luZnJhLW1vZGVsLnRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxzRUFBa0U7QUFDbEUsa0VBQThEO0FBSzlELG1EQUEwRDtBQUUxRCx3QkFBd0I7QUFDeEIsSUFBSSxDQUFDLHlCQUF5QixFQUFFLEdBQUcsRUFBRTtJQUNuQyxNQUFNLEtBQUssR0FBRyw0QkFBWSxFQUFFLENBQUM7SUFDN0IsTUFBTSxVQUFVLEdBQUcsSUFBSSxnQ0FBYyxFQUFFLENBQUMsU0FBUyxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQ3pELE1BQU0sWUFBWSxHQUFHLElBQUksb0NBQWdCLEVBQWMsQ0FBQyxXQUFXLENBQUMsVUFBVSxDQUFDLENBQUM7SUFDaEYsWUFBWSxDQUFDO0lBQ2IsdUNBQXVDO0FBQ3pDLENBQUMsQ0FBQyxDQUFDO0FBRUgsSUFBSSxDQUFDLDZCQUE2QixFQUFFLEdBQUcsRUFBRTtJQUN2QyxNQUFNLElBQUksR0FBRyx5QkFBUyxFQUFFLENBQUM7SUFFekIsTUFBTSxVQUFVLEdBQUcsSUFBSSxnQ0FBYyxFQUFFLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyx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BlY3QoZGVzZXJpYWxpemVkLmNvbXBvbmVudE9wZXJhdGlvbnMubGVuZ3RoKS50b0JlKGRpZmYuY29tcG9uZW50T3BlcmF0aW9ucy5sZW5ndGgpO1xuICBleHBlY3QoZGVzZXJpYWxpemVkLmNvbXBvbmVudFRyYW5zaXRpb25zLmxlbmd0aCkudG9CZShkaWZmLmNvbXBvbmVudFRyYW5zaXRpb25zLmxlbmd0aCk7XG4gIC8vIGV4cGVjdChkZXNlcmlhbGl6ZWQpLnRvRXF1YWwoZGlmZik7XG59KTsiXX0=
{
"name": "@aws-c2a/models",
"version": "0.5.0",
"version": "0.6.0",
"description": "The models package for CDK Change Analyzer: a tool that enables detecting dangerous changes within CDK projects.",

@@ -28,3 +28,3 @@ "main": "out/index.js",

"dependencies": {
"@aws-cdk/cfnspec": "^1.115.0",
"@aws-cdk/cfnspec": "1.115.0",
"fifinet": "0.1.7"

@@ -52,3 +52,3 @@ },

},
"gitHead": "ca8a2214e9258a7193110857687cb90320fc20ac"
"gitHead": "e8b1afb56d7ea4d1eb54a44a654b4d161f8b9ccb"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc