Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fontsource/source-code-pro

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fontsource/source-code-pro - npm Package Compare versions

Comparing version 4.3.0 to 4.4.0

19

CHANGELOG.md

@@ -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 @@

2

metadata.json

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc