basedpyright 1.31.3 → 1.31.4

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.
@@ -5718,7 +5718,15 @@ def open(
5718
5718
  """
5719
5719
  ...
5720
5720
  def ord(c: str | bytes | bytearray, /) -> int:
5721
- """Return the Unicode code point for a one-character string."""
5721
+ """
5722
+ Return the ordinal value of a character.
5723
+
5724
+ If the argument is a one-character string, return the Unicode code
5725
+ point of that character.
5726
+
5727
+ If the argument is a bytes or bytearray object of length 1, return its
5728
+ single byte value.
5729
+ """
5722
5730
  ...
5723
5731
  @type_check_only
5724
5732
  class _SupportsWriteAndFlush(SupportsWrite[_T_contra], SupportsFlush, Protocol[_T_contra]): ...
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "basedpyright",
3
3
  "displayName": "basedpyright",
4
4
  "description": "a fork of pyright with various type checking improvements, pylance features and more.",
5
- "version": "1.31.3",
5
+ "version": "1.31.4",
6
6
  "license": "MIT",
7
7
  "author": {
8
8
  "name": "detachhead"
@@ -25,7 +25,7 @@
25
25
  "fsevents": "~2.3.3"
26
26
  },
27
27
  "devDependencies": {
28
- "@types/node": "^22.10.5",
28
+ "@types/node": "^22.16.0",
29
29
  "copy-webpack-plugin": "^11.0.0",
30
30
  "esbuild-loader": "^3.2.0",
31
31
  "shx": "^0.3.4",