Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@fontsource/righteous

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fontsource/righteous - npm Package Compare versions

Comparing version
4.3.0
to
4.4.0
+19
-0
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 @@

+1
-3

@@ -7,6 +7,4 @@ /* righteous-latin-400-normal*/

font-weight: 400;
src:
local('Righteous'),
local('Righteous-Regular'), url('./files/righteous-latin-400-normal.woff2') format('woff2'), url('./files/righteous-latin-400-normal.woff') format('woff');
src: url('./files/righteous-latin-400-normal.woff2') format('woff2'), url('./files/righteous-latin-400-normal.woff') format('woff');
}

@@ -7,6 +7,4 @@ /* righteous-latin-ext-400-normal*/

font-weight: 400;
src:
local('Righteous'),
local('Righteous-Regular'), url('./files/righteous-latin-ext-400-normal.woff2') format('woff2'), url('./files/righteous-latin-ext-400-normal.woff') format('woff');
src: url('./files/righteous-latin-ext-400-normal.woff2') format('woff2'), url('./files/righteous-latin-ext-400-normal.woff') format('woff');
}

@@ -7,6 +7,4 @@ /* righteous-latin-ext-400-normal*/

font-weight: 400;
src:
local('Righteous'),
local('Righteous-Regular'), url('./files/righteous-latin-ext-400-normal.woff2') format('woff2'), url('./files/righteous-latin-ext-400-normal.woff') format('woff');
src: url('./files/righteous-latin-ext-400-normal.woff2') format('woff2'), url('./files/righteous-latin-ext-400-normal.woff') format('woff');
}

@@ -7,6 +7,4 @@ /* righteous-latin-400-normal*/

font-weight: 400;
src:
local('Righteous'),
local('Righteous-Regular'), url('./files/righteous-latin-400-normal.woff2') format('woff2'), url('./files/righteous-latin-400-normal.woff') format('woff');
src: url('./files/righteous-latin-400-normal.woff2') format('woff2'), url('./files/righteous-latin-400-normal.woff') format('woff');
}

@@ -5,3 +5,3 @@ {

"subsets": ["latin", "latin-ext"],
"weights": ["400"],
"weights": [400],
"styles": ["normal"],

@@ -8,0 +8,0 @@ "defSubset": "latin",

{
"name": "@fontsource/righteous",
"version": "4.3.0",
"version": "4.4.0",
"description": "Self-host the Righteous font in a neatly bundled NPM package.",

@@ -25,3 +25,3 @@ "main": "index.css",

},
"gitHead": "a6662f1f915c4779a5ef3f9b02efa8212a974788"
"gitHead": "9e9d4be1d52cd13e7aeb29ec2cd782cb47b1fc72"
}

@@ -18,3 +18,3 @@ # Fontsource Righteous

```javascript
import "@fontsource/righteous" // Defaults to weight 400.
import "@fontsource/righteous"; // Defaults to weight 400.
```

@@ -21,0 +21,0 @@