textbrowser 0.41.1 → 0.41.2

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.41.1",
3
+ "version": "0.41.2",
4
4
  "description": "Multilinear text browser",
5
5
  "main": "dist/index-umd.min.js",
6
6
  "module": "resources/index.js",
@@ -176,7 +176,7 @@ class TextBrowser {
176
176
  builtinIndex,
177
177
  1,
178
178
  new URL('index.css', moduleURL).href,
179
- new URL('node_modules/textbrowser/node_modules/dialog-polyfill/dist/dialog-polyfill.css', location).href
179
+ new URL('../../dialog-polyfill/dist/dialog-polyfill.css', moduleURL).href
180
180
  );
181
181
  }
182
182
  this.stylesheets = stylesheets;
package/sw-sample.js CHANGED
@@ -136,7 +136,7 @@ const defaultUserStaticFiles = [
136
136
  // get these as reliable full paths without hard-coding or needing to
137
137
  // actually be in `node_modules/textbrowser`; see `resources/index.js`
138
138
  const textbrowserStaticResourceFiles = [
139
- 'node_modules/textbrowser/node_modules/dialog-polyfill/dist/dialog-polyfill.esm.js',
139
+ 'node_modules/dialog-polyfill/dist/dialog-polyfill.esm.js',
140
140
 
141
141
  'node_modules/textbrowser/appdata/languages.json',
142
142