Comparing version 0.3.73 to 0.3.74
{ | ||
"name": "epubjs", | ||
"version": "0.3.73", | ||
"version": "0.3.74", | ||
"description": "Parse and Render Epubs", | ||
@@ -28,2 +28,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@types/jszip": "^3.1.4", | ||
"babel-cli": "^6.26.0", | ||
@@ -79,3 +80,2 @@ "babel-core": "^6.26.3", | ||
"dependencies": { | ||
"@types/jszip": "^3.1.4", | ||
"event-emitter": "^0.3.5", | ||
@@ -82,0 +82,0 @@ "jszip": "^3.1.5", |
@@ -16,5 +16,17 @@ interface EpubCFISegment { | ||
interface EpubCFIComponent { | ||
steps: Array<EpubCFIStep>, | ||
terminal: { | ||
offset: number, | ||
assertion: string | ||
} | ||
} | ||
export default class EpubCFI { | ||
constructor(cfiFrom?: string | Range | Node, base?: string | object, ignoreClass?: string); | ||
base: EpubCFIComponent; | ||
spinePos: number; | ||
range: boolean; | ||
isCfiString(str: string): boolean; | ||
@@ -21,0 +33,0 @@ |
@@ -12,7 +12,8 @@ import Book from "./book"; | ||
export interface RenditionOptions { | ||
width?: number, | ||
height?: number, | ||
width?: number | string, | ||
height?: number | string, | ||
ignoreClass?: string, | ||
manager?: string | Function | object, | ||
view?: string | Function | object, | ||
flow?: string, | ||
layout?: string, | ||
@@ -22,3 +23,6 @@ spread?: string, | ||
stylesheet?: string, | ||
script?: string | ||
resizeOnOrientationChange?: boolean, | ||
script?: string, | ||
infinite?: boolean, | ||
overflow?: string, | ||
} | ||
@@ -25,0 +29,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
5040913
7
177
51140
49
2
90
- Removed@types/jszip@^3.1.4
- Removed@types/jszip@3.4.1(transitive)