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

@react-pdf/types

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-pdf/types - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

8

CHANGELOG.md
# @react-pdf/types
## 2.3.3
### Patch Changes
- [#2276](https://github.com/diegomura/react-pdf/pull/2276) [`1e1fbdc`](https://github.com/diegomura/react-pdf/commit/1e1fbdc3c33ced46d8c7ebba7a196733cb789d59) Thanks [@renchap](https://github.com/renchap)! - add `aspectRatio` style property
* [#2293](https://github.com/diegomura/react-pdf/pull/2293) [`8636812`](https://github.com/diegomura/react-pdf/commit/86368122ed87621d19ae3bc248080e17703d9fcb) Thanks [@BryanAbate](https://github.com/BryanAbate)! - fix type for `getRegisteredFonts` method
## 2.3.2

@@ -4,0 +12,0 @@

2

font.d.ts

@@ -82,3 +82,3 @@ export type FontStyle = 'normal' | 'italic' | 'oblique';

getEmojiSource: () => EmojiSource;
getRegisteredFonts: () => FontInstance[];
getRegisteredFonts: () => Record<string, FontInstance>;
getRegisteredFontFamilies: () => string[];

@@ -85,0 +85,0 @@ getHyphenationCallback: () => HyphenationCallback;

{
"name": "@react-pdf/types",
"version": "2.3.2",
"version": "2.3.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "React-pdf TypeScript definitions",

@@ -21,2 +21,3 @@ export interface Style {

aspectRatio?: number | string;
bottom?: number | string;

@@ -23,0 +24,0 @@ display?: 'flex' | 'none';

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