@lucern/pack-host 0.3.0-alpha.16 → 0.3.0-alpha.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/dist/domain-pack/authoring.d.ts +1 -1
- package/dist/domain-pack/authoring.js +5 -5
- package/dist/domain-pack/authoring.js.map +1 -1
- package/dist/domain-pack/index.js +11 -11
- package/dist/domain-pack/index.js.map +1 -1
- package/dist/domain-pack/packs/index.d.ts +8 -2
- package/dist/domain-pack/packs/index.js +6 -6
- package/dist/domain-pack/packs/index.js.map +1 -1
- package/dist/domain-pack.js +11 -11
- package/dist/domain-pack.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/manifests/documents-v1.js +1 -1
- package/dist/manifests/documents-v1.js.map +1 -1
- package/dist/manifests/index.js +2 -2
- package/dist/manifests/index.js.map +1 -1
- package/dist/manifests/news-v1.js +1 -1
- package/dist/manifests/news-v1.js.map +1 -1
- package/dist/manifests.d.ts +1 -1
- package/dist/manifests.js +2 -2
- package/dist/manifests.js.map +1 -1
- package/dist/proof-attestation.json +1 -1
- package/dist/registry.js +2 -2
- package/dist/registry.js.map +1 -1
- package/package.json +1 -1
|
@@ -885,9 +885,6 @@ function emptyCounts() {
|
|
|
885
885
|
function isPlainObject(value) {
|
|
886
886
|
return typeof value === "object" && value !== null && !Array.isArray(value) && Object.getPrototypeOf(value) === Object.prototype;
|
|
887
887
|
}
|
|
888
|
-
function describeParseFailure(error) {
|
|
889
|
-
return error instanceof Error ? error.message : "Manifest parse failed.";
|
|
890
|
-
}
|
|
891
888
|
function dedupeStrings2(values) {
|
|
892
889
|
if (!values) {
|
|
893
890
|
return void 0;
|
|
@@ -1018,6 +1015,9 @@ function sortJsonValue(value) {
|
|
|
1018
1015
|
}
|
|
1019
1016
|
return value;
|
|
1020
1017
|
}
|
|
1018
|
+
function escapeYamlString(value) {
|
|
1019
|
+
return JSON.stringify(value);
|
|
1020
|
+
}
|
|
1021
1021
|
function toYamlScalar(value) {
|
|
1022
1022
|
if (value === null) {
|
|
1023
1023
|
return "null";
|
|
@@ -1025,7 +1025,7 @@ function toYamlScalar(value) {
|
|
|
1025
1025
|
if (typeof value === "boolean" || typeof value === "number") {
|
|
1026
1026
|
return String(value);
|
|
1027
1027
|
}
|
|
1028
|
-
return
|
|
1028
|
+
return escapeYamlString(String(value));
|
|
1029
1029
|
}
|
|
1030
1030
|
function renderYaml(value, indent = 0) {
|
|
1031
1031
|
const prefix = " ".repeat(indent);
|
|
@@ -1704,7 +1704,7 @@ function parseFailureResult(error, format) {
|
|
|
1704
1704
|
issues: [
|
|
1705
1705
|
issue2(
|
|
1706
1706
|
"PARSE_ERROR",
|
|
1707
|
-
|
|
1707
|
+
error instanceof Error ? error.message : String(error),
|
|
1708
1708
|
"manifest",
|
|
1709
1709
|
"parse"
|
|
1710
1710
|
)
|
|
@@ -3801,12 +3801,12 @@ function getDomainPack(packId) {
|
|
|
3801
3801
|
function listDomainPacks() {
|
|
3802
3802
|
return Object.keys(DOMAIN_PACKS);
|
|
3803
3803
|
}
|
|
3804
|
-
|
|
3805
|
-
shapingContributionRegistry
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
shapingContributionRegistry
|
|
3809
|
-
|
|
3804
|
+
function getShapingContribution(packId) {
|
|
3805
|
+
return shapingContributionRegistry.get(packId);
|
|
3806
|
+
}
|
|
3807
|
+
function listShapingContributions() {
|
|
3808
|
+
return shapingContributionRegistry.list();
|
|
3809
|
+
}
|
|
3810
3810
|
|
|
3811
3811
|
export { DEVELOPER_REASONING_PACK, ENGINEERING_ACCELERATOR_PACK, SOFTWARE_ENTITIES_V1, buildShapingContribution, createDomainPackAuthoringTools, createShapingContributionRegistry, defineDomainPack, defineDomainPackAuthoringManifest, getDomainPack, getShapingContribution, listDomainPacks, listShapingContributions, parseDomainPackAuthoringManifest, previewDomainPackAuthoringManifest, previewDomainPackAuthoringManifestSource, publishDomainPackAuthoringManifest, publishDomainPackAuthoringManifestSource, serializeDomainPackAuthoringManifest, validateDomainPack, validateDomainPackAuthoringManifest, validateDomainPackAuthoringManifestSource, validateShapingContribution };
|
|
3812
3812
|
//# sourceMappingURL=index.js.map
|