@docusaurus/plugin-pwa 0.0.0-4262 → 0.0.0-4263

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/options.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
1
7
  import { Joi } from '@docusaurus/utils-validation';
2
8
  import type { ThemeConfig, ValidationResult, OptionValidationContext } from '@docusaurus/types';
3
9
  import type { PluginOptions } from '@docusaurus/plugin-pwa';
package/lib/options.js CHANGED
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateOptions = exports.Schema = void 0;
4
- const tslib_1 = require("tslib");
5
2
  /**
6
3
  * Copyright (c) Facebook, Inc. and its affiliates.
7
4
  *
8
5
  * This source code is licensed under the MIT license found in the
9
6
  * LICENSE file in the root directory of this source tree.
10
7
  */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.validateOptions = exports.Schema = void 0;
10
+ const tslib_1 = require("tslib");
11
11
  const path_1 = (0, tslib_1.__importDefault)(require("path"));
12
12
  const utils_validation_1 = require("@docusaurus/utils-validation");
13
13
  const DEFAULT_OPTIONS = {
package/lib/registerSw.js CHANGED
@@ -4,6 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+
7
8
  import {createStorageSlot} from '@docusaurus/theme-common';
8
9
 
9
10
  // First: read the env variables (provided by Webpack)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-pwa",
3
- "version": "0.0.0-4262",
3
+ "version": "0.0.0-4263",
4
4
  "description": "Docusaurus Plugin to add PWA support.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-pwa.d.ts",
@@ -23,10 +23,10 @@
23
23
  "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
24
24
  "@babel/plugin-proposal-optional-chaining": "^7.16.0",
25
25
  "@babel/preset-env": "^7.16.4",
26
- "@docusaurus/theme-common": "0.0.0-4262",
27
- "@docusaurus/theme-translations": "0.0.0-4262",
28
- "@docusaurus/utils": "0.0.0-4262",
29
- "@docusaurus/utils-validation": "0.0.0-4262",
26
+ "@docusaurus/theme-common": "0.0.0-4263",
27
+ "@docusaurus/theme-translations": "0.0.0-4263",
28
+ "@docusaurus/utils": "0.0.0-4263",
29
+ "@docusaurus/utils-validation": "0.0.0-4263",
30
30
  "babel-loader": "^8.2.2",
31
31
  "clsx": "^1.1.1",
32
32
  "core-js": "^3.18.0",
@@ -38,7 +38,7 @@
38
38
  "workbox-window": "^6.1.1"
39
39
  },
40
40
  "devDependencies": {
41
- "@docusaurus/module-type-aliases": "0.0.0-4262",
41
+ "@docusaurus/module-type-aliases": "0.0.0-4263",
42
42
  "fs-extra": "^10.0.0"
43
43
  },
44
44
  "peerDependencies": {
@@ -47,5 +47,5 @@
47
47
  "react": "^16.8.4 || ^17.0.0",
48
48
  "react-dom": "^16.8.4 || ^17.0.0"
49
49
  },
50
- "gitHead": "9c5de631b1ec505a45905a8a811baaf2d2c69da2"
50
+ "gitHead": "c04a978ae6fdf49ddbeb2259c3f79c5d820eb243"
51
51
  }
package/src/options.ts CHANGED
@@ -4,6 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+
7
8
  import path from 'path';
8
9
  import {Joi} from '@docusaurus/utils-validation';
9
10
  import type {
package/src/registerSw.js CHANGED
@@ -4,6 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+
7
8
  import {createStorageSlot} from '@docusaurus/theme-common';
8
9
 
9
10
  // First: read the env variables (provided by Webpack)