textbrowser 0.46.1 → 0.46.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "textbrowser",
3
- "version": "0.46.1",
3
+ "version": "0.46.3",
4
4
  "description": "Multilinear text browser",
5
5
  "type": "module",
6
6
  "main": "dist/index-es.min.js",
@@ -47,7 +47,7 @@
47
47
  "dom-parser": "^0.1.6",
48
48
  "form-serialization": "^0.11.0",
49
49
  "indexeddbshim": "^10.0.0",
50
- "intl-dom": "^0.16.0",
50
+ "intl-dom": "^0.17.0",
51
51
  "jamilih": "0.54.0",
52
52
  "jsdom": "^20.0.2",
53
53
  "json-refs": "^3.0.15",
package/server/main.js CHANGED
@@ -9,6 +9,7 @@ import commandLineArgs from 'command-line-args';
9
9
  import DOMParser from 'dom-parser';
10
10
  import setGlobalVars from 'indexeddbshim/dist/indexeddbshim-UnicodeIdentifiers-node.js';
11
11
  import {getJSON} from 'simple-get-json';
12
+ import {setFetch} from 'intl-dom';
12
13
 
13
14
  import IntlURLSearchParams from '../resources/utils/IntlURLSearchParams.js';
14
15
  import {resultsDisplayServer} from '../resources/resultsDisplay.js';
@@ -18,6 +19,8 @@ import {setServiceWorkerDefaults} from '../resources/utils/ServiceWorker.js';
18
19
  import {Languages} from '../resources/utils/Languages.js';
19
20
  import activateCallback from '../resources/activateCallback.js';
20
21
 
22
+ setFetch(fetch);
23
+
21
24
  // Todo (low): See
22
25
  // https://gist.github.com/brettz9/0993fbde6f7352b2bb05f38078cefb29
23
26
  // on idea for adapting node-serviceworker to consume entire service-worker