hexo-swpp 4.0.1 → 4.0.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.
Files changed (2) hide show
  1. package/dist/index.js +0 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -54,7 +54,6 @@ function checkHexoConfig(config) {
54
54
  'auto_exec': 'boolean',
55
55
  'npm_url': 'string',
56
56
  'sort_rules': 'object',
57
- 'track_link': 'boolean',
58
57
  };
59
58
  for (let configKey in config) {
60
59
  const type = typeMap[configKey];
@@ -218,7 +217,6 @@ async function loadConfig(hexo, pluginConfig) {
218
217
  isServiceWorker: pluginConfig.serviceWorker ?? true,
219
218
  domJsPath: pluginConfig.gen_dom ? 'sw-dom.js' : undefined,
220
219
  diffJsonPath: pluginConfig.gen_diff,
221
- trackLink: pluginConfig.track_link
222
220
  });
223
221
  await actions.loadConfig({
224
222
  compilationEnv: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-swpp",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "types/index.d.ts",
6
6
  "files": [
@@ -30,7 +30,7 @@
30
30
  "hexo-log": "^4.1.0"
31
31
  },
32
32
  "peerDependencies": {
33
- "swpp-backends": "^3.0.0"
33
+ "swpp-backends": "^3.1.0"
34
34
  },
35
35
  "scripts": {}
36
36
  }