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

expo-print

Package Overview
Dependencies
Maintainers
27
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-print - npm Package Compare versions

Comparing version 11.0.3 to 11.0.4

ios/EXPrint/EXWKViewPrintPDFRenderer.h

20

build/Print.types.d.ts

@@ -42,2 +42,6 @@ export declare type PrintOptions = {

orientation?: OrientationType['portrait'] | OrientationType['landscape'];
/**
* **Available on iOS only.** Page margins for the printed document.
*/
margins?: PageMargins;
};

@@ -61,2 +65,8 @@ export declare type Printer = {

}
export declare type PageMargins = {
top: number;
right: number;
bottom: number;
left: number;
};
export declare type FilePrintOptions = {

@@ -83,5 +93,5 @@ /**

/**
* Padding for the printed document.
* **Available on iOS only.** Page margins for the printed document.
*/
padding?: FilePrintPadding;
margins?: PageMargins;
/**

@@ -92,8 +102,2 @@ * Whether to include base64 encoded string of the file in the returned object.

};
export declare type FilePrintPadding = {
top: number;
right: number;
bottom: number;
left: number;
};
export declare type FilePrintResult = {

@@ -100,0 +104,0 @@ /**

@@ -13,2 +13,8 @@ # Changelog

## 11.0.4 — 2021-11-05
### 🐛 Bug fixes
- Fix page-breaks and margins not supported on iOS ([#14383](https://github.com/expo/expo/pull/14802) by [@cruzach](https://github.com/IjzerenHein))
## 11.0.3 — 2021-10-21

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

6

package.json
{
"name": "expo-print",
"version": "11.0.3",
"version": "11.0.4",
"description": "Provides an API for iOS (AirPrint) and Android printing functionality.",

@@ -37,3 +37,3 @@ "main": "build/Print.js",

"dependencies": {
"expo-modules-core": "~0.4.4"
"expo-modules-core": "~0.4.7"
},

@@ -43,3 +43,3 @@ "devDependencies": {

},
"gitHead": "4fa0497a180ae707fa860cb03858630ab7af19f4"
"gitHead": "74665a05e2bc8c20c23c07e1b3a8b92b2ed5d875"
}

@@ -16,3 +16,3 @@ # expo-print

For bare React Native projects, you must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/expo/expo/tree/master/packages/react-native-unimodules) before continuing.
For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.

@@ -19,0 +19,0 @@ ### Add the package to your npm dependencies

@@ -43,2 +43,6 @@ // @needsAudit

orientation?: OrientationType['portrait'] | OrientationType['landscape'];
/**
* **Available on iOS only.** Page margins for the printed document.
*/
margins?: PageMargins;
};

@@ -67,2 +71,10 @@

// @needsAudit
export type PageMargins = {
top: number;
right: number;
bottom: number;
left: number;
};
// @docsMissing

@@ -90,5 +102,5 @@ export type FilePrintOptions = {

/**
* Padding for the printed document.
* **Available on iOS only.** Page margins for the printed document.
*/
padding?: FilePrintPadding;
margins?: PageMargins;
/**

@@ -101,10 +113,2 @@ * Whether to include base64 encoded string of the file in the returned object.

// @needsAudit
export type FilePrintPadding = {
top: number;
right: number;
bottom: number;
left: number;
};
// @needsAudit
export type FilePrintResult = {

@@ -111,0 +115,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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