1 | ## 4.0.0
|
2 |
|
3 | - **New:** `variant` can have more than one value. Parsing the `variant` is too complex for this function, so any unknown tokens are assumed to be a `variant` and joined as one (e.g., `foo bold bar italic qux` parses a `variant` of `foo bar qux`).
|
4 | - **Fix:** Fixed `normal` overriding other declarations. The defaults are still `normal` and you can have any number of normals precede the `size` without overriding non-`normal` values.
|
5 | - **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.
|
6 | - **Breaking:** Error messaging has changed and new errors will throw when adding more than one `style`, `weight` or `stretch`.
|
7 |
|
8 | ## 3.0.4
|
9 |
|
10 | - Add BundlePhobia badges to npm (requires version bump).
|
11 |
|
12 | ## 3.0.3
|
13 |
|
14 | - Also exports a CommonJS module. Fixes `const parseCSSFont = require('parse-css-font');`.
|
15 |
|
16 | ## 3.0.2
|
17 |
|
18 | - Fix parsing of `1rem / 1.2` when the slash is surrounded by spaces.
|
19 |
|
20 | ## 3.0.1
|
21 |
|
22 | - Fix readme.
|
23 | - Add `package-lock.json`.
|
24 |
|
25 | ## 3.0.0
|
26 |
|
27 | - **Breaking:** Remove tcomb dependency. Breaking change if you were somehow relying on those errors.
|
28 | - Introduce TypeScript.
|
29 | - Provide TypeScript-generated type definitions.
|
30 |
|
31 | ## 2.0.2
|
32 |
|
33 | - Update dependencies.
|
34 |
|
35 | ## 2.0.1
|
36 |
|
37 | - Fix issue w/ slashes in functions.
|
38 |
|
39 | ## 2.0.0
|
40 |
|
41 | - Preserves functions with spaces and commas inside.
|
42 |
|
43 | ## 1.0.0
|
44 |
|
45 | - Initial release.
|