@docusaurus/plugin-pwa 0.0.0-6072 → 0.0.0-6079

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
@@ -31,7 +31,7 @@ function getSWBabelLoader() {
31
31
  {
32
32
  useBuiltIns: 'entry',
33
33
  corejs: '3',
34
- // See https://twitter.com/jeffposnick/status/1280223070876315649
34
+ // See https://x.com/jeffposnick/status/1280223070876315649
35
35
  targets: 'chrome >= 56',
36
36
  },
37
37
  ],
package/lib/sw.js CHANGED
@@ -15,7 +15,7 @@ function parseSwParams() {
15
15
  }
16
16
  // Doc advises against dynamic imports in SW
17
17
  // https://developers.google.com/web/tools/workbox/guides/using-bundlers#code_splitting_and_dynamic_imports
18
- // https://twitter.com/sebastienlorber/status/1280155204575518720
18
+ // https://x.com/sebastienlorber/status/1280155204575518720
19
19
  // but looks it's working fine as it's inlined by webpack, need to double check
20
20
  async function runSWCustomCode(params) {
21
21
  if (process.env.PWA_SW_CUSTOM) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-pwa",
3
- "version": "0.0.0-6072",
3
+ "version": "0.0.0-6079",
4
4
  "description": "Docusaurus Plugin to add PWA support.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-pwa.d.ts",
@@ -22,13 +22,13 @@
22
22
  "dependencies": {
23
23
  "@babel/core": "^7.23.3",
24
24
  "@babel/preset-env": "^7.23.3",
25
- "@docusaurus/core": "0.0.0-6072",
26
- "@docusaurus/logger": "0.0.0-6072",
27
- "@docusaurus/theme-common": "0.0.0-6072",
28
- "@docusaurus/theme-translations": "0.0.0-6072",
29
- "@docusaurus/types": "0.0.0-6072",
30
- "@docusaurus/utils": "0.0.0-6072",
31
- "@docusaurus/utils-validation": "0.0.0-6072",
25
+ "@docusaurus/core": "0.0.0-6079",
26
+ "@docusaurus/logger": "0.0.0-6079",
27
+ "@docusaurus/theme-common": "0.0.0-6079",
28
+ "@docusaurus/theme-translations": "0.0.0-6079",
29
+ "@docusaurus/types": "0.0.0-6079",
30
+ "@docusaurus/utils": "0.0.0-6079",
31
+ "@docusaurus/utils-validation": "0.0.0-6079",
32
32
  "babel-loader": "^9.1.3",
33
33
  "clsx": "^2.0.0",
34
34
  "core-js": "^3.31.1",
@@ -42,7 +42,7 @@
42
42
  "workbox-window": "^7.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@docusaurus/module-type-aliases": "0.0.0-6072",
45
+ "@docusaurus/module-type-aliases": "0.0.0-6079",
46
46
  "fs-extra": "^11.1.0"
47
47
  },
48
48
  "peerDependencies": {
@@ -52,5 +52,5 @@
52
52
  "engines": {
53
53
  "node": ">=18.0"
54
54
  },
55
- "gitHead": "0489236d6e7d2912ca71b3b251d155e30bb8cd4d"
55
+ "gitHead": "88a9e6f7cb97ad1b99679b12437bcb40eecb3fa0"
56
56
  }
package/src/index.ts CHANGED
@@ -31,7 +31,7 @@ function getSWBabelLoader() {
31
31
  {
32
32
  useBuiltIns: 'entry',
33
33
  corejs: '3',
34
- // See https://twitter.com/jeffposnick/status/1280223070876315649
34
+ // See https://x.com/jeffposnick/status/1280223070876315649
35
35
  targets: 'chrome >= 56',
36
36
  },
37
37
  ],
package/src/sw.ts CHANGED
@@ -20,7 +20,7 @@ function parseSwParams() {
20
20
 
21
21
  // Doc advises against dynamic imports in SW
22
22
  // https://developers.google.com/web/tools/workbox/guides/using-bundlers#code_splitting_and_dynamic_imports
23
- // https://twitter.com/sebastienlorber/status/1280155204575518720
23
+ // https://x.com/sebastienlorber/status/1280155204575518720
24
24
  // but looks it's working fine as it's inlined by webpack, need to double check
25
25
  async function runSWCustomCode(params: {offlineMode: boolean; debug: boolean}) {
26
26
  if (process.env.PWA_SW_CUSTOM) {