1.4 KiB
1.4 KiB
4.0.0
- New:
variantcan have more than one value. Parsing thevariantis too complex for this function, so any unknown tokens are assumed to be avariantand joined as one (e.g.,foo bold bar italic quxparses avariantoffoo bar qux). - Fix: Fixed
normaloverriding other declarations. The defaults are stillnormaland you can have any number of normals precede thesizewithout overriding non-normalvalues. - Breaking: Removed parsing of CSS global keywords, as they don't seem to be supported. This is a fix, but it may break implementations that were relying on it.
- Breaking: Error messaging has changed and new errors will throw when adding more than one
style,weightorstretch.
3.0.4
- Add BundlePhobia badges to npm (requires version bump).
3.0.3
- Also exports a CommonJS module. Fixes
const parseCSSFont = require('parse-css-font');.
3.0.2
- Fix parsing of
1rem / 1.2when the slash is surrounded by spaces.
3.0.1
- Fix readme.
- Add
package-lock.json.
3.0.0
- Breaking: Remove tcomb dependency. Breaking change if you were somehow relying on those errors.
- Introduce TypeScript.
- Provide TypeScript-generated type definitions.
2.0.2
- Update dependencies.
2.0.1
- Fix issue w/ slashes in functions.
2.0.0
- Preserves functions with spaces and commas inside.
1.0.0
- Initial release.