Skip to content

Commit 13dae63

Browse files
committed
V0.10.1
1 parent 71382fd commit 13dae63

20 files changed

Lines changed: 17923 additions & 16338 deletions

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ installations, virtual environments, and packages.
1212

1313
![Python Management Screenshot](./resources/python.png)
1414

15-
| Channel | Version | Date |
16-
|--------------|------------------------------------------------------------------------------------|------------|
17-
| Early Access | [V0.9.2](https://github.com/KindaBrazy/LynxHub-Python-Toolkit/releases/tag/V0.9.1) | 2025-03-23 |
18-
| Release | [V0.9.2](https://github.com/KindaBrazy/LynxHub-Python-Toolkit/releases/tag/V0.9.1) | 2025-03-23 |
15+
| Channel | Version | Date |
16+
|--------------|-------------------------------------------------------------------------------------|------------|
17+
| Early Access | [V0.10.1](https://github.com/KindaBrazy/LynxHub-Python-Toolkit/releases/tag/V0.9.1) | 2025-05-22 |
18+
| Release | [V0.10.0](https://github.com/KindaBrazy/LynxHub-Python-Toolkit/releases/tag/V0.9.1) | 2025-04-17 |
1919

2020
</div>
2121

lynxExtension.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
{
2+
"$schema": "./lynxExtension.schema.json",
23
"id": "python_toolkit",
34
"title": "Python Toolkit",
45
"description": "Effortlessly manage your Python environments and dependencies.",
5-
"version": "0.10.0",
6+
"version": "0.10.1",
67
"publishDate": "2025-01-01",
7-
"updateDate": "2025-04-17",
8-
"requireAppBuild": 18,
8+
"updateDate": "2025-05-22",
9+
"requireAppBuild": 20,
910
"repoUrl": "https://github.com/KindaBrazy/LynxHub-Python-Toolkit",
1011
"changeLog": [
12+
{
13+
"title": "🚀 V0.10.1",
14+
"items": [
15+
{
16+
"label": "✨ New Features",
17+
"subitems": [
18+
{
19+
"label": "Support LynxHub Version 3"
20+
}
21+
]
22+
}
23+
]
24+
},
1125
{
1226
"title": "🚀 V0.10.0",
1327
"items": [

scripts/main/mainEntry.mjs

Lines changed: 1283 additions & 320 deletions
Large diffs are not rendered by default.

scripts/renderer/__federation_expose_Extension-D3MEU0L9.js renamed to scripts/renderer/__federation_expose_Extension-CnPdYJop.js

Lines changed: 6238 additions & 6214 deletions
Large diffs are not rendered by default.

scripts/renderer/__federation_fn_import-DnzCM302.js renamed to scripts/renderer/__federation_fn_import-JrT3xvdd.js

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,13 @@ function compareAtom(rangeAtom, versionAtom) {
217217
function comparePreRelease(rangeAtom, versionAtom) {
218218
const { preRelease: rangePreRelease } = rangeAtom;
219219
const { preRelease: versionPreRelease } = versionAtom;
220-
if (rangePreRelease === undefined && !!versionPreRelease) {
220+
if (rangePreRelease === void 0 && !!versionPreRelease) {
221221
return 1;
222222
}
223-
if (!!rangePreRelease && versionPreRelease === undefined) {
223+
if (!!rangePreRelease && versionPreRelease === void 0) {
224224
return -1;
225225
}
226-
if (rangePreRelease === undefined && versionPreRelease === undefined) {
226+
if (rangePreRelease === void 0 && versionPreRelease === void 0) {
227227
return 0;
228228
}
229229
for (let i = 0, n = rangePreRelease.length; i <= n; i++) {
@@ -232,7 +232,7 @@ function comparePreRelease(rangeAtom, versionAtom) {
232232
if (rangeElement === versionElement) {
233233
continue;
234234
}
235-
if (rangeElement === undefined && versionElement === undefined) {
235+
if (rangeElement === void 0 && versionElement === void 0) {
236236
return 0;
237237
}
238238
if (!rangeElement) {
@@ -264,7 +264,7 @@ function compare(rangeAtom, versionAtom) {
264264
return compareVersion(rangeAtom, versionAtom) > 0;
265265
case "<=":
266266
return eq(rangeAtom, versionAtom) || compareVersion(rangeAtom, versionAtom) > 0;
267-
case undefined: {
267+
case void 0: {
268268
return true;
269269
}
270270
default:
@@ -308,7 +308,6 @@ function satisfy(version, range) {
308308
versionPreRelease
309309
] = extractedVersion;
310310
const versionAtom = {
311-
operator: versionOperator,
312311
version: combineVersion(
313312
versionMajor,
314313
versionMinor,
@@ -318,7 +317,7 @@ function satisfy(version, range) {
318317
major: versionMajor,
319318
minor: versionMinor,
320319
patch: versionPatch,
321-
preRelease: versionPreRelease == null ? undefined : versionPreRelease.split(".")
320+
preRelease: versionPreRelease == null ? void 0 : versionPreRelease.split(".")
322321
};
323322
for (const comparator2 of comparators) {
324323
const extractedComparator = extractComparator(comparator2);
@@ -345,7 +344,7 @@ function satisfy(version, range) {
345344
major: rangeMajor,
346345
minor: rangeMinor,
347346
patch: rangePatch,
348-
preRelease: rangePreRelease == null ? undefined : rangePreRelease.split(".")
347+
preRelease: rangePreRelease == null ? void 0 : rangePreRelease.split(".")
349348
};
350349
if (!compare(rangeAtom, versionAtom)) {
351350
return false;
@@ -366,18 +365,23 @@ async function getSharedFromRuntime(name, shareScope) {
366365
let module = null;
367366
if (globalThis?.__federation_shared__?.[shareScope]?.[name]) {
368367
const versionObj = globalThis.__federation_shared__[shareScope][name];
369-
const versionKey = Object.keys(versionObj)[0];
370-
const versionValue = Object.values(versionObj)[0];
371-
if (moduleMap[name]?.requiredVersion) {
372-
// judge version satisfy
373-
if (satisfy(versionKey, moduleMap[name].requiredVersion)) {
368+
const requiredVersion = moduleMap[name]?.requiredVersion;
369+
const hasRequiredVersion = !!requiredVersion;
370+
if (hasRequiredVersion) {
371+
const versionKey = Object.keys(versionObj).find((version) =>
372+
satisfy(version, requiredVersion)
373+
);
374+
if (versionKey) {
375+
const versionValue = versionObj[versionKey];
374376
module = await (await versionValue.get())();
375377
} else {
376378
console.log(
377379
`provider support ${name}(${versionKey}) is not satisfied requiredVersion(\${moduleMap[name].requiredVersion})`
378380
);
379381
}
380382
} else {
383+
const versionKey = Object.keys(versionObj)[0];
384+
const versionValue = versionObj[versionKey];
381385
module = await (await versionValue.get())();
382386
}
383387
}

scripts/renderer/_commonjsHelpers-E-ZsRS8r.js renamed to scripts/renderer/_commonjsHelpers-D5KtpA0t.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function getDefaultExportFromCjs (x) {
55
}
66

77
function getAugmentedNamespace(n) {
8-
if (n.__esModule) return n;
8+
if (Object.prototype.hasOwnProperty.call(n, '__esModule')) return n;
99
var f = n.default;
1010
if (typeof f == "function") {
1111
var a = function a () {

scripts/renderer/chunk-736YWA4T-pt2i7NVI.js renamed to scripts/renderer/chunk-736YWA4T-Da4CYBw8.js

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ function requireReactJsxRuntime_production () {
2121
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
2222
function jsxProd(type, config, maybeKey) {
2323
var key = null;
24-
undefined !== maybeKey && (key = "" + maybeKey);
25-
undefined !== config.key && (key = "" + config.key);
24+
void 0 !== maybeKey && (key = "" + maybeKey);
25+
void 0 !== config.key && (key = "" + config.key);
2626
if ("key" in config) {
2727
maybeKey = {};
2828
for (var propName in config)
@@ -33,7 +33,7 @@ function requireReactJsxRuntime_production () {
3333
$$typeof: REACT_ELEMENT_TYPE,
3434
type: type,
3535
key: key,
36-
ref: undefined !== config ? config : null,
36+
ref: void 0 !== config ? config : null,
3737
props: maybeKey
3838
};
3939
}
@@ -60,12 +60,7 @@ var jsxRuntimeExports = /*@__PURE__*/ requireJsxRuntime();
6060
var TRANSITION_EASINGS = {
6161
ease: [0.36, 0.66, 0.4, 1],
6262
easeIn: [0.4, 0, 1, 1],
63-
easeOut: [0, 0, 0.2, 1],
64-
easeInOut: [0.4, 0, 0.2, 1],
65-
spring: [0.155, 1.105, 0.295, 1.12],
66-
springOut: [0.57, -0.15, 0.62, 0.07],
67-
softSpring: [0.16, 1.11, 0.3, 1.02]
68-
};
63+
easeOut: [0, 0, 0.2, 1]};
6964
var TRANSITION_VARIANTS = {
7065
scaleSpring: {
7166
enter: {
@@ -110,46 +105,6 @@ var TRANSITION_VARIANTS = {
110105
}
111106
}
112107
},
113-
scale: {
114-
enter: { scale: 1 },
115-
exit: { scale: 0.95 }
116-
},
117-
scaleFadeIn: {
118-
enter: {
119-
transform: "scale(1)",
120-
opacity: 1,
121-
transition: {
122-
duration: 0.25,
123-
ease: TRANSITION_EASINGS.easeIn
124-
}
125-
},
126-
exit: {
127-
transform: "scale(0.95)",
128-
opacity: 0,
129-
transition: {
130-
duration: 0.2,
131-
ease: TRANSITION_EASINGS.easeOut
132-
}
133-
}
134-
},
135-
scaleInOut: {
136-
enter: {
137-
transform: "scale(1)",
138-
opacity: 1,
139-
transition: {
140-
duration: 0.4,
141-
ease: TRANSITION_EASINGS.ease
142-
}
143-
},
144-
exit: {
145-
transform: "scale(1.03)",
146-
opacity: 0,
147-
transition: {
148-
duration: 0.3,
149-
ease: TRANSITION_EASINGS.ease
150-
}
151-
}
152-
},
153108
fade: {
154109
enter: {
155110
opacity: 1,

scripts/renderer/extension/index.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

scripts/renderer/index-BG_1q3Qa.js

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)