@d-i-t-a/reader 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import Navigator from "./Navigator";
3
2
  import Annotator from "../store/Annotator";
4
3
  import { Publication } from "../model/Publication";
@@ -18,7 +17,7 @@ import { TTSModuleConfig } from "../modules/TTS/TTSSettings";
18
17
  import { PageBreakModuleConfig } from "../modules/pagebreak/PageBreakModule";
19
18
  import { PageBreakModule } from "../modules/pagebreak/PageBreakModule";
20
19
  import { DefinitionsModule, DefinitionsModuleConfig } from "../modules/search/DefinitionsModule";
21
- import EventEmitter from "events";
20
+ import EventEmitter from "eventemitter3";
22
21
  import LineFocusModule, { LineFocusModuleConfig } from "../modules/linefocus/LineFocusModule";
23
22
  export declare type GetContent = (href: string) => Promise<string>;
24
23
  export declare type GetContentBytesLength = (href: string) => Promise<number>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-i-t-a/reader",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "A viewer application for EPUB files.",
5
5
  "repository": "https://github.com/d-i-t-a/R2D2BC",
6
6
  "license": "Apache-2.0",
@@ -27,6 +27,7 @@
27
27
  "cssesc": "^3.0.0",
28
28
  "detect-browser": "^5.2.0",
29
29
  "devtools-detector": "^2.0.6",
30
+ "eventemitter3": "^4.0.7",
30
31
  "jscrypto": "0.0.1",
31
32
  "lodash.clonedeep": "^4.5.0",
32
33
  "mark.js": "^8.11.1",
@@ -51,8 +52,8 @@
51
52
  ]
52
53
  },
53
54
  "devDependencies": {
54
- "@parcel/transformer-sass": "^2.0.0-beta.2",
55
- "@parcel/transformer-typescript-tsc": "^2.0.0-beta.1",
55
+ "@parcel/transformer-sass": "^2.4.1",
56
+ "@parcel/transformer-typescript-tsc": "^2.4.1",
56
57
  "@types/chai": "^4.2.15",
57
58
  "@types/copy": "^0.3.1",
58
59
  "@types/cssesc": "^3.0.0",
@@ -84,7 +85,7 @@
84
85
  "cpx": "^1.2.1",
85
86
  "debounce": "^1.2.1",
86
87
  "dita-streamer-js": "^1.1.1",
87
- "ecstatic": ">=4.1.3",
88
+ "ecstatic": "^4.1.4",
88
89
  "esbuild": "^0.12.11",
89
90
  "eslint": "^7.23.0",
90
91
  "eslint-config-prettier": "^8.1.0",
@@ -93,16 +94,20 @@
93
94
  "eslint-plugin-import": "^2.22.1",
94
95
  "eslint-plugin-jsx-a11y": "^6.4.1",
95
96
  "eslint-plugin-prettier": "^3.3.1",
96
- "eslint-plugin-react": "^7.23.2",
97
+ "eslint-plugin-react": "^7.29.4",
97
98
  "eslint-plugin-react-hooks": "^4.2.0",
99
+ "path-parse": "^1.0.7",
98
100
  "express": "^4.17.1",
99
101
  "glob-parent": ">=5.1.2",
100
102
  "json-schema": ">=0.4.0",
101
103
  "materialize-css": "^1.0.0",
102
- "mocha": "^8.3.2",
103
- "node-sass": "^7.0.0",
104
+ "mocha": "^9.2.2",
105
+ "minimist": "^1.2.6",
106
+ "moment": "^2.29.3",
107
+ "urijs": "^1.19.11",
108
+ "node-sass": "^7.0.1",
104
109
  "npm-force-resolutions": "0.0.10",
105
- "parcel": "^2.0.0-beta.2",
110
+ "parcel": "^2.4.1",
106
111
  "prettier": "^2.2.1",
107
112
  "process": "^0.11.10",
108
113
  "rangy": "^1.3.0",