@dsh-plus/web-cache-headers 0.1.11 → 0.1.13

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/lib/client.js +2 -2
  2. package/package.json +8 -8
package/lib/client.js CHANGED
@@ -121,7 +121,7 @@ window.__ModuleLoader__.load({
121
121
  const DSH_PLUS_BUNDLE = "@dsh-plus/bundle-main";
122
122
  /**
123
123
  * 把一张配置卡片注册进插件页的两个配置槽位。
124
- * 两个槽位都由 0.2.1-alpha.1 的插件页声明,任一缺席即报错——不做版本探测。
124
+ * 两个槽位都由 0.2.1-alpha.2 的插件页声明,任一缺席即报错——不做版本探测。
125
125
  */
126
126
  function injectPluginConfigCard(slots, reg) {
127
127
  const base = {
@@ -356,7 +356,7 @@ window.__ModuleLoader__.load({
356
356
  /**
357
357
  * 配置分节样式工厂(各插件 client 的公共收编版)。
358
358
  *
359
- * 目标宿主 dsh 0.2.1-alpha.1:插件页把配置视图放进已有页面级内边距的容器里
359
+ * 目标宿主 dsh 0.2.1-alpha.2:插件页把配置视图放进已有页面级内边距的容器里
360
360
  * (`div.detailSections[data-plugin-config]` 或 `section.detailSection[data-plugin-config]`),
361
361
  * 外层无边框——故这里输出的是**无边框分节**(小节标题 13px/600、字段 12px 0、
362
362
  * 横向零内边距、页脚非 sticky),度量对齐官方设置页
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-plus/web-cache-headers",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "dsh-plus service plugin: GUI 静态资源长缓存——为内容哈希的 /assets/* 响应补 `Cache-Control: immutable`(/plugins 官方已自带),消除每次刷新重复传输 ~1.4MB JS/CSS;进程级 writeHead 增量拦截,零路由注册、零 dsh 服务耦合,已有缓存头优先保证未来共存",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -31,17 +31,17 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@dsh-plus/shared": "0.1.37"
34
+ "@dsh-plus/shared": "0.1.39"
35
35
  },
36
36
  "peerDependencies": {
37
- "@deepseek-ai/cordis": "^4.0.5-alpha.1",
38
- "@deepseek-ai/dsh-settings": "^0.2.1-alpha.1",
39
- "@deepseek-ai/schemastery": "^3.18.5-alpha.1"
37
+ "@deepseek-ai/cordis": "^4.0.5-alpha.2",
38
+ "@deepseek-ai/dsh-settings": "^0.2.1-alpha.3",
39
+ "@deepseek-ai/schemastery": "^3.18.5-alpha.2"
40
40
  },
41
41
  "devDependencies": {
42
- "@deepseek-ai/cordis": "4.0.5-alpha.1",
43
- "@deepseek-ai/dsh-settings": "0.2.1-alpha.1",
44
- "@deepseek-ai/schemastery": "3.18.5-alpha.1",
42
+ "@deepseek-ai/cordis": "4.0.5-alpha.2",
43
+ "@deepseek-ai/dsh-settings": "0.2.1-alpha.3",
44
+ "@deepseek-ai/schemastery": "3.18.5-alpha.2",
45
45
  "@types/react": "~18.3.31",
46
46
  "react": "^18.2.0"
47
47
  },