@aipanel/provider-deepseek 1.2.10 → 1.2.11

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/es/system.js CHANGED
@@ -35,8 +35,8 @@ function isDeepSeekVersionAtLeast(version, minimum = MIN_DSH_VERSION) {
35
35
  for (let i = 0; i < len; i++) {
36
36
  const x = pa[i];
37
37
  const y = pb[i];
38
- if (x === void 0) return true;
39
- if (y === void 0) return false;
38
+ if (x === void 0) return false;
39
+ if (y === void 0) return true;
40
40
  const xn = /^\d+$/.test(x) ? Number(x) : NaN;
41
41
  const yn = /^\d+$/.test(y) ? Number(y) : NaN;
42
42
  if (!Number.isNaN(xn) && !Number.isNaN(yn)) {
package/lib/system.cjs CHANGED
@@ -61,8 +61,8 @@ function isDeepSeekVersionAtLeast(version, minimum = MIN_DSH_VERSION) {
61
61
  for (let i = 0; i < len; i++) {
62
62
  const x = pa[i];
63
63
  const y = pb[i];
64
- if (x === void 0) return true;
65
- if (y === void 0) return false;
64
+ if (x === void 0) return false;
65
+ if (y === void 0) return true;
66
66
  const xn = /^\d+$/.test(x) ? Number(x) : NaN;
67
67
  const yn = /^\d+$/.test(y) ? Number(y) : NaN;
68
68
  if (!Number.isNaN(xn) && !Number.isNaN(yn)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aipanel/provider-deepseek",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "type": "module",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
@@ -22,13 +22,14 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "execa": "^9.6.1",
25
- "@aipanel/core": "1.2.10"
25
+ "@aipanel/core": "1.2.11"
26
26
  },
27
27
  "devDependencies": {
28
28
  "esbuild": "^0.25.0"
29
29
  },
30
30
  "scripts": {
31
31
  "build": "pagoda-cli build && node scripts/build-dsh-assets.mjs",
32
- "typecheck": "tsc -p tsconfig.declaration.json --noEmit"
32
+ "typecheck": "tsc -p tsconfig.declaration.json --noEmit",
33
+ "test": "vitest run"
33
34
  }
34
35
  }