@docusaurus/plugin-pwa 0.0.0-5039 → 0.0.0-5040
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 +8 -8
- package/src/registerSw.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-pwa",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-5040",
|
|
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.18.0",
|
|
24
24
|
"@babel/preset-env": "^7.18.0",
|
|
25
|
-
"@docusaurus/core": "0.0.0-
|
|
26
|
-
"@docusaurus/theme-common": "0.0.0-
|
|
27
|
-
"@docusaurus/theme-translations": "0.0.0-
|
|
28
|
-
"@docusaurus/utils": "0.0.0-
|
|
29
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
25
|
+
"@docusaurus/core": "0.0.0-5040",
|
|
26
|
+
"@docusaurus/theme-common": "0.0.0-5040",
|
|
27
|
+
"@docusaurus/theme-translations": "0.0.0-5040",
|
|
28
|
+
"@docusaurus/utils": "0.0.0-5040",
|
|
29
|
+
"@docusaurus/utils-validation": "0.0.0-5040",
|
|
30
30
|
"babel-loader": "^8.2.5",
|
|
31
31
|
"clsx": "^1.1.1",
|
|
32
32
|
"core-js": "^3.22.5",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"workbox-window": "^6.5.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
42
|
+
"@docusaurus/module-type-aliases": "0.0.0-5040",
|
|
43
43
|
"fs-extra": "^10.1.0"
|
|
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": "
|
|
49
|
+
"gitHead": "b78c3c30f8187b22735be5d269a95324dda066c7"
|
|
50
50
|
}
|
package/src/registerSw.ts
CHANGED
|
@@ -320,6 +320,6 @@ if (typeof window !== 'undefined') {
|
|
|
320
320
|
addLegacyAppInstalledEventsListeners();
|
|
321
321
|
|
|
322
322
|
// Then try to register the SW using lazy/dynamic imports
|
|
323
|
-
registerSW().catch((e) => console.error('registerSW failed', e));
|
|
323
|
+
registerSW().catch((e: unknown) => console.error('registerSW failed', e));
|
|
324
324
|
}
|
|
325
325
|
}
|