fix(build): modernize package exports, tooling configuration, and test setup
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* autocreated commitinfo by @pushrocks/commitinfo
|
||||
* autocreated commitinfo by @push.rocks/commitinfo
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/smartyaml',
|
||||
version: '3.0.4',
|
||||
version: '3.0.5',
|
||||
description: 'A module for smart handling of YAML data with support for converting between YAML strings and JavaScript objects.'
|
||||
}
|
||||
|
||||
+2
-2
@@ -7,11 +7,11 @@ export let yamlStringToObject = async (
|
||||
};
|
||||
|
||||
export let objectToYamlString = async (
|
||||
objectArg
|
||||
objectArg: unknown
|
||||
): Promise<string> => {
|
||||
return plugins.yaml.stringify(objectArg);
|
||||
};
|
||||
|
||||
export let getYamlDocFromString = async (stringArg: string) => {
|
||||
return plugins.yaml.parseDocument(stringArg);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user