@open-audio-stack/core 0.1.35 → 0.1.36

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.
@@ -218,4 +218,5 @@ export declare const PackageVersionValidator: z.ZodObject<{
218
218
  export declare const SemverValidator: z.ZodString;
219
219
  export declare function packageRecommendations(pkgVersion: PackageVersion): PackageValidationRec[];
220
220
  export declare function packageRecommendationsUrl(obj: PackageVersion | PluginFile | PresetFile | ProjectFile, recs: PackageValidationRec[], field: string, domain?: string): void;
221
- export declare function packageToYaml(pkgVersion: PackageVersion): string;
221
+ export declare function packageJsToYaml(pkgVersion: PackageVersion): string;
222
+ export declare function packageYamlToJs(pkgYaml: string): PackageVersion;
@@ -194,6 +194,9 @@ export function packageRecommendationsUrl(obj, recs, field, domain) {
194
194
  });
195
195
  }
196
196
  }
197
- export function packageToYaml(pkgVersion) {
197
+ export function packageJsToYaml(pkgVersion) {
198
198
  return yaml.dump(pkgVersion, { lineWidth: -1 });
199
199
  }
200
+ export function packageYamlToJs(pkgYaml) {
201
+ return yaml.load(pkgYaml);
202
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-audio-stack/core",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "description": "Open-source audio plugin management software",
5
5
  "type": "module",
6
6
  "main": "./build/index.js",