@zzzen/pyright-internal 1.2.0-dev.20251019 → 1.2.0-dev.20251026

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.
@@ -75,6 +75,7 @@
75
75
  "classMethodClsParam": "Sınıf metotları bir \"cls\" parametresi almalıdır",
76
76
  "classNotRuntimeSubscriptable": "\"{name}\" sınıfına ait alt simge çalışma zamanı özel durumunu oluşturur; tür ifadelerini tırnak içine alın",
77
77
  "classPatternBuiltInArgPositional": "Sınıf deseni yalnızca konumsal alt desen kabul eder",
78
+ "classPatternNewType": "\"{type}\" cannot be used in a class pattern because it is defined using NewType",
78
79
  "classPatternPositionalArgCount": "\"{type}\" sınıfı için çok fazla konumsal desen var; {expected} bekleniyordu ancak {received} alındı",
79
80
  "classPatternTypeAlias": "\"{type}\" özel bir tür diğer adı olduğundan sınıf deseninde kullanılamaz",
80
81
  "classPropertyDeprecated": "Sınıf özellikleri Python 3.11'de kullanım dışıdır ve Python 3.13'te desteklenmez",
@@ -434,7 +435,7 @@
434
435
  "pyrightCommentNotOnOwnLine": "Pyright comments used to control file-level settings must appear on their own line",
435
436
  "pyrightCommentUnknownDiagnosticRule": "\"{rule}\", pyright açıklaması için bilinmeyen bir tanılama kuralı",
436
437
  "pyrightCommentUnknownDiagnosticSeverityValue": "\"{value}\" pyright açıklaması için geçersiz değer; true, false, error, warning, information veya none bekleniyordu",
437
- "pyrightCommentUnknownDirective": "\"{directive}\", pyright açıklaması için bilinmeyen bir yönergedir; \"strict\" veya \"basic\" bekleniyordu",
438
+ "pyrightCommentUnknownDirective": "\"{directive}\" is an unknown directive for pyright comment; expected \"strict\", \"standard\", or \"basic\"",
438
439
  "readOnlyArgCount": "\"ReadOnly\" sonrasında tek bir tür bağımsız değişken bekleniyordu",
439
440
  "readOnlyNotInTypedDict": "Bu bağlamda \"ReadOnly\" kullanımına izin verilmiyor",
440
441
  "recursiveDefinition": "Kendine başvurduğundan \"{name}\" türü belirlenemedi",
@@ -75,6 +75,7 @@
75
75
  "classMethodClsParam": "类方法应采用“cls”参数",
76
76
  "classNotRuntimeSubscriptable": "类 \"{name}\" 的下标将生成运行时异常; 请将类型表达式括在引号中",
77
77
  "classPatternBuiltInArgPositional": "类模式仅接受位置子模式",
78
+ "classPatternNewType": "\"{type}\" cannot be used in a class pattern because it is defined using NewType",
78
79
  "classPatternPositionalArgCount": "类“{type}”的位置模式太多; 应为 {expected},但收到了 {received}",
79
80
  "classPatternTypeAlias": "无法在类模式中使用“{type}”,因为它是专用类型别名",
80
81
  "classPropertyDeprecated": "类属性在 Python 3.11 中已弃用,在 Python 3.13 中将不受支持",
@@ -434,7 +435,7 @@
434
435
  "pyrightCommentNotOnOwnLine": "用于控制文件级设置的 Pyright 注释必须显示在其自己的行上",
435
436
  "pyrightCommentUnknownDiagnosticRule": "“{rule}”是 pyright 注释的未知诊断规则",
436
437
  "pyrightCommentUnknownDiagnosticSeverityValue": "\"{value}\"是 pyright 注释的无效值;应为 true、false、error、warning、information 或 none",
437
- "pyrightCommentUnknownDirective": "\"{directive}\" pyright 注释的未知指令;应为 strict basic",
438
+ "pyrightCommentUnknownDirective": "\"{directive}\" is an unknown directive for pyright comment; expected \"strict\", \"standard\", or \"basic\"",
438
439
  "readOnlyArgCount": "“ReadOnly”后应为单个类型参数",
439
440
  "readOnlyNotInTypedDict": "此上下文中不允许使用“ReadOnly”",
440
441
  "recursiveDefinition": "无法确定“{name}”的类型,因为它引用其自身",
@@ -75,6 +75,7 @@
75
75
  "classMethodClsParam": "類別方法應採用 \"cls\" 參數",
76
76
  "classNotRuntimeSubscriptable": "類別 \"{name}\" 的下標會產生執行階段例外; 以引號括住類型運算式",
77
77
  "classPatternBuiltInArgPositional": "類別模式僅接受位置子模式",
78
+ "classPatternNewType": "\"{type}\" cannot be used in a class pattern because it is defined using NewType",
78
79
  "classPatternPositionalArgCount": "類別 \"{type}\" 的位置模式太多;預期 {expected} 但收到 {received}",
79
80
  "classPatternTypeAlias": "無法在類別模式中使用 \"{type}\",因為它是特殊的型別別名",
80
81
  "classPropertyDeprecated": "類別屬性在 Python 3.11 中已取代,在 Python 3.13 中將不受支援",
@@ -434,7 +435,7 @@
434
435
  "pyrightCommentNotOnOwnLine": "用來控制檔案層級設定的 Pyright 註解必須出現在自己的行上",
435
436
  "pyrightCommentUnknownDiagnosticRule": "\"{rule}\" 是 pyright 註解未知的診斷規則",
436
437
  "pyrightCommentUnknownDiagnosticSeverityValue": "\"{value}\" 是 pyright 註解無效的值; 預期為 true、false、error、warning、information 或 none",
437
- "pyrightCommentUnknownDirective": "\"{directive}\" pyright 註解未知的指示詞; 預期為 \"strict\" \"basic\"",
438
+ "pyrightCommentUnknownDirective": "\"{directive}\" is an unknown directive for pyright comment; expected \"strict\", \"standard\", or \"basic\"",
438
439
  "readOnlyArgCount": "\"ReadOnly\" 後面應有單一型別引數",
439
440
  "readOnlyNotInTypedDict": "此內容中不允許 \"ReadOnly\"",
440
441
  "recursiveDefinition": "無法判斷 \"{name}\" 型別,因為它參照了自己",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@zzzen/pyright-internal",
3
3
  "displayName": "pyright",
4
4
  "description": "Type checker for the Python language",
5
- "version": "1.2.0-dev.20251019",
5
+ "version": "1.2.0-dev.20251026",
6
6
  "license": "MIT",
7
7
  "private": false,
8
8
  "files": [
@@ -13,10 +13,10 @@
13
13
  "clean": "shx rm -rf ./dist ./out",
14
14
  "webpack:testserver": "webpack --config ./src/tests/lsp/webpack.testserver.config.js --mode=development",
15
15
  "webpack:testserver:watch": "npm run clean && webpack --config ./src/tests/lsp/webpack.testserver.config.js --mode development --watch --progress",
16
- "test": "npm run webpack:testserver && jest --forceExit",
17
- "test:norebuild": "jest --forceExit",
18
- "test:coverage": "jest --forceExit --reporters=jest-junit --reporters=default --coverage --coverageReporters=cobertura --coverageReporters=html --coverageReporters=json",
19
- "test:imports": "jest importResolver.test --forceExit --runInBand"
16
+ "test": "npm run webpack:testserver && node --max-old-space-size=8192 --expose-gc ./node_modules/jest/bin/jest --forceExit",
17
+ "test:norebuild": "node --max-old-space-size=8192 --expose-gc ./node_modules/jest/bin/jest --forceExit",
18
+ "test:coverage": "node --max-old-space-size=8192 --expose-gc ./node_modules/jest/bin/jest --forceExit --reporters=jest-junit --reporters=default --coverage --coverageReporters=cobertura --coverageReporters=html --coverageReporters=json",
19
+ "test:imports": "node --max-old-space-size=8192 --expose-gc ./node_modules/jest/bin/jest importResolver.test --forceExit --runInBand"
20
20
  },
21
21
  "dependencies": {
22
22
  "@yarnpkg/fslib": "2.10.4",
@@ -25,32 +25,32 @@
25
25
  "chokidar": "^3.6.0",
26
26
  "command-line-args": "^5.2.1",
27
27
  "jsonc-parser": "^3.3.1",
28
- "smol-toml": "^1.3.1",
28
+ "smol-toml": "^1.4.2",
29
29
  "source-map-support": "^0.5.21",
30
- "tmp": "^0.2.3",
31
- "vscode-jsonrpc": "^9.0.0-next.5",
32
- "vscode-languageserver": "^10.0.0-next.10",
33
- "vscode-languageserver-protocol": "^3.17.6-next.10",
30
+ "tmp": "^0.2.5",
31
+ "vscode-jsonrpc": "^9.0.0-next.8",
32
+ "vscode-languageserver": "^10.0.0-next.13",
33
+ "vscode-languageserver-protocol": "^3.17.6-next.13",
34
34
  "vscode-languageserver-textdocument": "^1.0.11",
35
35
  "vscode-languageserver-types": "^3.17.6-next.5",
36
- "vscode-uri": "^3.0.8"
36
+ "vscode-uri": "^3.1.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/command-line-args": "^5.2.3",
40
40
  "@types/fs-extra": "^11.0.4",
41
- "@types/jest": "^29.5.14",
42
- "@types/lodash": "^4.17.14",
43
- "@types/node": "^22.10.5",
41
+ "@types/jest": "^30.0.0",
42
+ "@types/lodash": "^4.17.20",
43
+ "@types/node": "^22.18.12",
44
44
  "@types/tmp": "^0.2.6",
45
- "copy-webpack-plugin": "^11.0.0",
46
- "esbuild-loader": "^3.2.0",
47
- "jest": "^29.7.0",
45
+ "copy-webpack-plugin": "^12.0.2",
46
+ "esbuild-loader": "^4.4.0",
47
+ "jest": "^30.2.0",
48
48
  "jest-junit": "^16.0.0",
49
- "shx": "^0.3.4",
50
- "ts-jest": "^29.2.5",
51
- "ts-loader": "^9.5.1",
49
+ "shx": "^0.4.0",
50
+ "ts-jest": "^29.4.5",
51
+ "ts-loader": "^9.5.4",
52
52
  "typescript": "~5.5.4",
53
- "webpack": "^5.97.1",
53
+ "webpack": "^5.102.1",
54
54
  "webpack-cli": "^5.1.4",
55
55
  "word-wrap": "1.2.5"
56
56
  },