@fontsource/source-code-pro
Advanced tools
Comparing version 4.3.0 to 4.4.0
@@ -15,2 +15,14 @@ # Changelog | ||
## 4.4.x | ||
### Features | ||
- Changed weight metadata from a string array to number array. e.g. ["400"] --> [400] [#240](https://github.com/fontsource/fontsource/pull/240) | ||
- Removed local font names in CSS selector of `src:` which should cut down on inconsistencies of OS installed fonts. [#240](https://github.com/fontsource/fontsource/pull/240) | ||
### Fixes | ||
- Stop serving variable fonts in normal packages, which should lead to smaller bundle sizes and resolve duplicated imports of certain fonts. [#240](https://github.com/fontsource/fontsource/pull/240) | ||
## 4.3.x | ||
@@ -31,3 +43,10 @@ | ||
- GitHub Actions Git configs changed to 'fontsource-bot'. [#200](https://github.com/fontsource/fontsource/pull/200) | ||
- Update dependencies. [#207](https://github.com/fontsource/fontsource/pull/207) [#209](https://github.com/fontsource/fontsource/pull/209) | ||
- Add NPM and GitHub links to each Font Preview page. [#210](https://github.com/fontsource/fontsource/pull/210) | ||
### Miscellaneous | ||
- Add testing and improve local build speeds. [#222](https://github.com/fontsource/fontsource/pull/222) | ||
- Typescript Migration. [#229](https://github.com/fontsource/fontsource/pull/229) | ||
## 4.2.x | ||
@@ -34,0 +53,0 @@ |
@@ -12,3 +12,3 @@ { | ||
], | ||
"weights": ["200", "300", "400", "500", "600", "700", "900"], | ||
"weights": [200, 300, 400, 500, 600, 700, 900], | ||
"styles": ["italic", "normal"], | ||
@@ -15,0 +15,0 @@ "defSubset": "latin", |
{ | ||
"name": "@fontsource/source-code-pro", | ||
"version": "4.3.0", | ||
"version": "4.4.0", | ||
"description": "Self-host the Source Code Pro font in a neatly bundled NPM package.", | ||
@@ -25,3 +25,3 @@ "main": "index.css", | ||
}, | ||
"gitHead": "a6662f1f915c4779a5ef3f9b02efa8212a974788" | ||
"gitHead": "9e9d4be1d52cd13e7aeb29ec2cd782cb47b1fc72" | ||
} |
@@ -18,3 +18,3 @@ # Fontsource Source Code Pro | ||
```javascript | ||
import "@fontsource/source-code-pro" // Defaults to weight 400. | ||
import "@fontsource/source-code-pro"; // Defaults to weight 400. | ||
``` | ||
@@ -21,0 +21,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3558045