@deepseek-ai/dsh-lazy-require 0.2.0-rc.2 → 0.2.1-alpha.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.
package/README.i18n.yaml CHANGED
@@ -33,8 +33,8 @@
33
33
  en: 4f0eadf94828e66e
34
34
  zh: 4f8a6ec170ebbfb6
35
35
  /deepseek-ai-dsh-lazy-require/known-limitations-and-deferred-work:
36
- en: 0973de93cdfa0bee
37
- zh: 22e1e00a8df2f3f2
36
+ en: 2a27f7f398a68bf4
37
+ zh: bea423499191a7aa
38
38
  /deepseek-ai-dsh-lazy-require/known-limitations-and-deferred-work/dev-note:
39
39
  en: 0a1253c6f7b5e8b9
40
40
  zh: 9f56528562c7c914
package/README.md CHANGED
@@ -80,8 +80,6 @@ None.
80
80
  - **CommonJS-compatible dependencies only** — ESM-only packages require an asynchronous factory owned by their caller.
81
81
  - **WebWorker packaging needs an explicit request** — the static packer does not discover dependencies named only in `createLazyRequire()` calls. A package used in a Preview image must keep the dependency reachable through a supported literal request until the packer recognizes this helper.
82
82
 
83
- No runtime invariant companion is published because the loader holds no independently observable mutable relationship.
84
-
85
83
  <a id="dev-note"></a>
86
84
  ### Dev Note
87
85
 
package/README.zh.md CHANGED
@@ -80,8 +80,6 @@ const requireNative = createLazyRequire<NativeModule>('native-package', import.m
80
80
  - **仅限兼容 CommonJS 的依赖**——仅 ESM package 需要由调用方拥有异步 factory。
81
81
  - **WebWorker 打包需要显式请求**——静态 packer 无法发现仅在 `createLazyRequire()` 调用中命名的依赖。Preview image 使用的 package 必须通过受支持的字面量请求保持该依赖可达,直到 packer 能够识别此 helper。
82
82
 
83
- 本包不发布运行时 invariant companion,因为 loader 不持有可独立观测的可变关系。
84
-
85
83
  <a id="dev-note"></a>
86
84
  ### 开发备注
87
85
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-lazy-require",
3
3
  "description": "Caller-relative, success-cached lazy loading for CommonJS-compatible Host dependencies",
4
- "version": "0.2.0-rc.2",
4
+ "version": "0.2.1-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,9 +27,9 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/cordis": "~4.0.4"
30
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1"
31
31
  },
32
32
  "devDependencies": {
33
- "@deepseek-ai/cordis": "~4.0.4"
33
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1"
34
34
  }
35
35
  }