@docusaurus/plugin-pwa 0.0.0-4687 → 0.0.0-4694

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/lib/index.js CHANGED
@@ -148,8 +148,7 @@ function pluginPWA(context, options) {
148
148
  '**/*.{js,json,css,html}',
149
149
  '**/*.{png,jpg,jpeg,gif,svg,ico}',
150
150
  '**/*.{woff,woff2,eot,ttf,otf}',
151
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
152
- // @ts-ignore
151
+ // @ts-expect-error: internal API?
153
152
  ...(workbox_build_1.injectManifest.globPatterns ?? []),
154
153
  ],
155
154
  // those attributes are not overrideable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-pwa",
3
- "version": "0.0.0-4687",
3
+ "version": "0.0.0-4694",
4
4
  "description": "Docusaurus Plugin to add PWA support.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-pwa.d.ts",
@@ -22,11 +22,11 @@
22
22
  "dependencies": {
23
23
  "@babel/core": "^7.17.5",
24
24
  "@babel/preset-env": "^7.16.11",
25
- "@docusaurus/core": "0.0.0-4687",
26
- "@docusaurus/theme-common": "0.0.0-4687",
27
- "@docusaurus/theme-translations": "0.0.0-4687",
28
- "@docusaurus/utils": "0.0.0-4687",
29
- "@docusaurus/utils-validation": "0.0.0-4687",
25
+ "@docusaurus/core": "0.0.0-4694",
26
+ "@docusaurus/theme-common": "0.0.0-4694",
27
+ "@docusaurus/theme-translations": "0.0.0-4694",
28
+ "@docusaurus/utils": "0.0.0-4694",
29
+ "@docusaurus/utils-validation": "0.0.0-4694",
30
30
  "babel-loader": "^8.2.3",
31
31
  "clsx": "^1.1.1",
32
32
  "core-js": "^3.21.0",
@@ -39,12 +39,12 @@
39
39
  "workbox-window": "^6.5.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@docusaurus/module-type-aliases": "0.0.0-4687",
42
+ "@docusaurus/module-type-aliases": "0.0.0-4694",
43
43
  "fs-extra": "^10.0.1"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": "^16.8.4 || ^17.0.0",
47
47
  "react-dom": "^16.8.4 || ^17.0.0"
48
48
  },
49
- "gitHead": "07732e16aa86d21c9c5713e03c7159201c2457de"
49
+ "gitHead": "6706b0196d2679820faba0cac3e577462161c626"
50
50
  }
package/src/index.ts CHANGED
@@ -189,8 +189,7 @@ export default function pluginPWA(
189
189
  '**/*.{js,json,css,html}',
190
190
  '**/*.{png,jpg,jpeg,gif,svg,ico}',
191
191
  '**/*.{woff,woff2,eot,ttf,otf}',
192
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
193
- // @ts-ignore
192
+ // @ts-expect-error: internal API?
194
193
  ...(injectManifest.globPatterns ?? []),
195
194
  ],
196
195
  // those attributes are not overrideable