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.4.1 to 2.5.0

6

CHANGELOG.md
# @react-pdf/types
## 2.5.0
### Minor Changes
- [#2723](https://github.com/diegomura/react-pdf/pull/2723) [`22a34a9`](https://github.com/diegomura/react-pdf/commit/22a34a91b16a201cd8288e0dbea9368b12ca73f5) Thanks [@hendrikmolder](https://github.com/hendrikmolder)! - Allow passing a string array to fontFamily
## 2.4.1

@@ -4,0 +10,0 @@

2

font.d.ts

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

src: string;
fontFamily: string;
fontFamily: string | string[];
fontStyle: FontStyle;

@@ -26,0 +26,0 @@ fontWeight: number;

@@ -7,5 +7,5 @@ type HTTPMethod = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';

type SourceBlob = Blob
type SourceBlob = Blob;
type SourceDataBuffer = { data: Buffer; format: 'png' | 'jpg' }
type SourceDataBuffer = { data: Buffer; format: 'png' | 'jpg' };

@@ -12,0 +12,0 @@ type SourceURLObject = {

{
"name": "@react-pdf/types",
"version": "2.4.1",
"version": "2.5.0",
"license": "MIT",

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

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