@jeik/dingtalk-connector 0.8.21-fix5 → 0.8.21-fix7
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.
|
@@ -298,8 +298,8 @@ function getInstallSpec() {
|
|
|
298
298
|
try {
|
|
299
299
|
const require = createRequire(import.meta.url);
|
|
300
300
|
const { version } = require('../package.json');
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
// 任何预发布版(含 -)都钉精确版本,否则 openclaw 会装 latest(如 -fix6 被当稳定版误装成 0.8.21)
|
|
302
|
+
if (version && version.includes('-')) {
|
|
303
303
|
return `${PKG_NAME}@${version}`;
|
|
304
304
|
}
|
|
305
305
|
} catch {}
|
|
@@ -922,10 +922,4 @@ Options:
|
|
|
922
922
|
}
|
|
923
923
|
}
|
|
924
924
|
|
|
925
|
-
|
|
926
|
-
const { pathToFileURL } = createRequire(import.meta.url)('node:url');
|
|
927
|
-
if (globalThis['proc' + 'ess'].argv[1] && import.meta.url === pathToFileURL(globalThis['proc' + 'ess'].argv[1]).href) {
|
|
928
|
-
main();
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
export { findShadowingLocalPlugin };
|
|
925
|
+
main();
|