- fd5462f: BREAKING CHANGE:
parseData()
will now throw anInvalidStructureError
if the top-level object in the input data is a design token. - fd5462f: BREAKING CHANGE: Specified minimum Node version of 18
- 7644f9a: BREAKING CHANGE:
ParseGroupDataFn
can no longer return anaddChild
function. Instead, you should now provide anaddChildToGroup
function in your parser config. - 7644f9a: BREAKING CHANGE:
parseData()
may now returnundefined
(happens if noparseGroupData
function is set in the config). - 7644f9a: BREAKING CHANGE:
extractProperties()
now returns an object containing unextract properties and their values, instead of an array of unextracted property names.
- aa0e5ce: Initial release of
@udt/parser-utils
package.
- aa0e5ce: Added
extractProperties()
function for extracting specified properties and their values from an obejct. - aa0e5ce: Added
parseData()
function for parsing design token data - aa0e5ce: Added
isPlainObject()
function for checking if a value is a plain object.