textbrowser 0.54.3 → 0.54.5

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/CHANGES.md CHANGED
@@ -1,10 +1,18 @@
1
1
  # CHANGES to `textbrowser`
2
2
 
3
- ## 0.52.3
3
+ ## 0.54.5
4
+
5
+ - fix: worker issues
6
+
7
+ ## 0.54.4
8
+
9
+ - fix: build file
10
+
11
+ ## 0.54.3
4
12
 
5
13
  - chore: update `simple-get-json`
6
14
 
7
- ## 0.52.2
15
+ ## 0.54.2
8
16
 
9
17
  - chore: update `simple-get-json`, `jsdom`, devDeps., fix rollup, rebuild
10
18
 
@@ -9,8 +9,8 @@ function requireDist () {
9
9
  hasRequiredDist = 1;
10
10
  (function (module, exports) {
11
11
  (function (global, factory) {
12
- module.exports = factory() ;
13
- })(dist, (function () {
12
+ factory(exports) ;
13
+ })(dist, (function (exports) {
14
14
  function _arrayLikeToArray(r, a) {
15
15
  (null == a || a > r.length) && (a = r.length);
16
16
  for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
@@ -152,11 +152,11 @@ function requireDist () {
152
152
 
153
153
  var getJSON = buildGetJSONWithFetch();
154
154
 
155
- return getJSON;
155
+ exports.getJSON = getJSON;
156
156
 
157
157
  }));
158
158
 
159
- } (dist$1));
159
+ } (dist$1, dist$1.exports));
160
160
  return dist$1.exports;
161
161
  }
162
162
 
package/dist/index-es.js CHANGED
@@ -9,8 +9,8 @@ function requireDist$1 () {
9
9
  hasRequiredDist$1 = 1;
10
10
  (function (module, exports) {
11
11
  (function (global, factory) {
12
- module.exports = factory() ;
13
- })(dist$2, function () {
12
+ factory(exports) ;
13
+ })(dist$2, function (exports) {
14
14
 
15
15
  function _arrayLikeToArray(r, a) {
16
16
  (null == a || a > r.length) && (a = r.length);
@@ -151,9 +151,9 @@ function requireDist$1 () {
151
151
  };
152
152
  }
153
153
  var getJSON = buildGetJSONWithFetch();
154
- return getJSON;
154
+ exports.getJSON = getJSON;
155
155
  });
156
- } (dist$3));
156
+ } (dist$3, dist$3.exports));
157
157
  return dist$3.exports;
158
158
  }
159
159
 
@@ -15560,7 +15560,7 @@ const respondToState = async ({
15560
15560
  // We use this promise for rejecting (inside a listener)
15561
15561
  // to a common catch and to prevent continuation by
15562
15562
  // failing to return
15563
- return new Promise(async () => {
15563
+ return new Promise(async resolve => {
15564
15564
  // eslint-disable-line no-async-promise-executor -- See above
15565
15565
  navigator.serviceWorker.addEventListener('message', ({
15566
15566
  data
@@ -15614,7 +15614,7 @@ const respondToState = async ({
15614
15614
  // location.replace(location); // Avoids adding to browser history)
15615
15615
 
15616
15616
  // This will cause jankiness and unnecessarily show languages selection
15617
- // resolve();
15617
+ resolve(undefined);
15618
15618
  return;
15619
15619
  case 'error':
15620
15620
  logger.addLogEntry({
@@ -15679,6 +15679,8 @@ any indication it is installing.
15679
15679
  }
15680
15680
  resolve();
15681
15681
  */
15682
+ } else {
15683
+ resolve(undefined);
15682
15684
  }
15683
15685
  });
15684
15686
  };