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

expo-print

Package Overview
Dependencies
Maintainers
17
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 6.0.0 to 7.0.0-rc.0

.eslintrc.js

4

build/Print.d.ts

@@ -1,3 +0,3 @@

import { PrintOptions, Printer, OrientationType, FilePrintOptions, FilePrintResult } from './Print.types';
export { Printer, FilePrintOptions, FilePrintResult, PrintOptions, OrientationType, };
import { FilePrintOptions, FilePrintResult, OrientationType, PrintOptions, Printer } from './Print.types';
export { FilePrintOptions, FilePrintResult, OrientationType, PrintOptions, Printer };
export declare const Orientation: OrientationType;

@@ -4,0 +4,0 @@ export declare function printAsync(options: PrintOptions): Promise<void>;

import { Platform } from 'react-native';
import { UnavailabilityError } from '@unimodules/core';
import ExponentPrint from './ExponentPrint';
import { UnavailabilityError } from '@unimodules/core';
export const Orientation = ExponentPrint.Orientation;

@@ -5,0 +5,0 @@ export async function printAsync(options) {

@@ -1,6 +0,1 @@

;
;
;
;
;
//# sourceMappingURL=Print.types.js.map
{
"name": "expo-print",
"version": "6.0.0",
"version": "7.0.0-rc.0",
"description": "Provides an API for iOS (AirPrint) and Android printing functionality.",

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

"clean": "expo-module clean",
"lint": "expo-module lint",
"test": "expo-module test",

@@ -24,3 +25,4 @@ "prepare": "expo-module prepare",

"type": "git",
"url": "https://github.com/expo/expo.git"
"url": "https://github.com/expo/expo.git",
"directory": "packages/expo-print"
},

@@ -40,6 +42,6 @@ "bugs": {

"devDependencies": {
"expo-module-scripts": "^1.0.0",
"babel-preset-expo": "^6.0.0"
"expo-module-scripts": "~1.1.1-rc.0",
"babel-preset-expo": "~7.0.0-rc.0"
},
"gitHead": "9518929d6f2ba9cf8e0aae81d34cc1eb52f7093a"
"gitHead": "5d4fcf318390f59cecd1ae5d191afb15488a4447"
}

@@ -10,6 +10,8 @@ # expo-print

# Installation
# Installation in managed Expo projects
This package is pre-installed in [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects. You may skip the rest of the installation guide if this applies to you.
For managed [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](#api-documentation). If you follow the link and there is no documentation available then this library is not yet usable within managed projects &mdash; it is likely to be included in an upcoming Expo SDK release.
# Installation in bare React Native projects
For bare React Native projects, you must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/unimodules/react-native-unimodules) before continuing.

@@ -16,0 +18,0 @@

import { Platform } from 'react-native';
import { UnavailabilityError } from '@unimodules/core';
import ExponentPrint from './ExponentPrint';
import { UnavailabilityError } from '@unimodules/core';
import {
FilePrintOptions,
FilePrintResult,
OrientationType,
PrintOptions,
Printer,
OrientationType,
FilePrintOptions,
FilePrintResult,
} from './Print.types';
export {
Printer,
FilePrintOptions,
FilePrintResult,
PrintOptions,
OrientationType,
};
export { FilePrintOptions, FilePrintResult, OrientationType, PrintOptions, Printer };

@@ -20,0 +15,0 @@ export const Orientation: OrientationType = ExponentPrint.Orientation;

@@ -7,3 +7,3 @@ export interface PrintOptions {

orientation?: string;
};
}

@@ -13,3 +13,3 @@ export interface Printer {

url: string;
};
}

@@ -19,3 +19,3 @@ export interface OrientationType {

landscape: string;
};
}

@@ -32,3 +32,3 @@ export interface FilePrintOptions {

};
};
}

@@ -38,2 +38,2 @@ export interface FilePrintResult {

numberOfPages: number;
};
}

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