textbrowser 0.48.0 → 0.48.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/.eslintrc.cjs CHANGED
@@ -13,6 +13,7 @@ module.exports = {
13
13
  polyfills: [
14
14
  'Array.isArray',
15
15
  'Blob',
16
+ 'caches',
16
17
  'console',
17
18
  'Date.now',
18
19
  'document.dir',
@@ -25,6 +26,7 @@ module.exports = {
25
26
  'history',
26
27
  'history.replaceState',
27
28
  'IDBKeyRange',
29
+ 'indexedDB',
28
30
  'JSON',
29
31
  'location.hash',
30
32
  'location.href',
@@ -85,7 +87,7 @@ module.exports = {
85
87
  'array-bracket-newline': 0,
86
88
  'no-console': 0,
87
89
  'require-unicode-regexp': 0,
88
- 'max-len': 0,
90
+ '@stylistic/max-len': 0,
89
91
  'no-shadow': 0,
90
92
  'implicit-arrow-linebreak': 0,
91
93
  'function-paren-newline': 0,
package/CHANGES.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # CHANGES to `textbrowser`
2
2
 
3
+ ## 0.48.2
4
+
5
+ - fix: offline files issue
6
+
7
+ ## 0.48.1
8
+
9
+ - fix: add to offline files
10
+ - refactor: drop unused files
11
+ - refactor: use `intl-locale-textinfo-polyfill` over `rtl-detect`
12
+ - chore: update deps., devDeps. and lint
13
+
3
14
  ## 0.48.0
4
15
 
5
16
  - feat: service worker helper
package/README.md CHANGED
@@ -420,9 +420,8 @@ methods.
420
420
  - `applicableFieldIdx` - The `fieldInfo` item whose `field` property is equal to `applicableField`.
421
421
  - `applicableFieldText` - Equivalent to `tr[applicableFieldIdx]`
422
422
  - `fieldLang` - The `fieldLang` property of `fieldInfo[j]`
423
- - `getLangDir` - A method from
424
- [`rtl-detect`](https://github.com/shadiabuhilal/rtl-detect)
425
- for determining directionality ("rtl" or "ltr") for a given
423
+ - `getLangDir` - A method for determining directionality
424
+ ("rtl" or "ltr") for a given
426
425
  language code. May be useful with
427
426
  `fieldInfo[applicableFieldIdx].fieldLang`
428
427
  - `escapeColumn` - Boolean (defaults to `true`). If set to `false`, will avoid
@@ -635,9 +634,6 @@ it supports the following arguments:
635
634
  1. Drop unused fields in URL by default
636
635
  1. Ensure works with `pnpm` in all environments (didn't work when deployed,
637
636
  but would need to recall the problem and resolve)
638
- 1. Waiting: Avoid `rtl-detect` if
639
- [intl-locale-info proposal](https://github.com/tc39/proposal-intl-locale-info)
640
- gets implemented)
641
637
  1. [`navigator.storage.estimate`](https://developers.google.com/web/updates/2017/08/estimating-available-storage-space)
642
638
  1. Consider using `Intl.DisplayNames` (`type: 'language'`) with plugins so
643
639
  can, e.g., show language visibly into which a targeted content language