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.0.0-beta.17 to 2.0.0-beta.18

2

font.d.ts

@@ -57,2 +57,4 @@ export type FontStyle = 'normal' | 'italic' | 'oblique';

src: string;
fontStyle?: string;
fontWeight?: string | number;
[key: string]: any;

@@ -59,0 +61,0 @@ }

4

package.json
{
"name": "@react-pdf/types",
"version": "2.0.0-beta.17",
"version": "2.0.0-beta.18",
"license": "MIT",

@@ -9,3 +9,3 @@ "author": "Diego Muracciole <diegomuracciole@gmail.com>",

"main": "index.d.ts",
"gitHead": "db65b560de8295a41a5117e2b97ce68198e334c6"
"gitHead": "001b9f0769b75b6abc49cade7237a39b22a1d481"
}

@@ -55,5 +55,8 @@ export type Orientation = 'portrait' | 'landscape';

type StaticSize = number | string;
export type PageSize =
| StandardPageSize
| [number, number]
| { width: number; height: number };
| [StaticSize]
| [StaticSize, StaticSize]
| { width: StaticSize; height?: StaticSize };

@@ -6,3 +6,3 @@ export interface SVGPresentationAttributes {

transform?: string;
strokeDashArray?: string;
strokeDasharray?: string;
opacity?: string | number;

@@ -9,0 +9,0 @@ strokeWidth?: string | number;

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