pyodide 0.26.4 → 0.27.0

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/ffi.d.ts CHANGED
@@ -1086,8 +1086,11 @@ declare class PythonError extends Error {
1086
1086
  constructor(type: string, message: string, error_address: number);
1087
1087
  }
1088
1088
  /**
1089
- * See :ref:`js-api-pyodide-ffi`
1089
+ * Foreign function interface classes. Can be used for typescript type
1090
+ * annotations or at runtime for `instanceof` checks.
1091
+ * @summaryLink :ref:`ffi <js-api-pyodide-ffi>`
1090
1092
  * @hidetype
1093
+ * @omitFromAutoModule
1091
1094
  */
1092
1095
  declare const ffi: {
1093
1096
  PyProxy: typeof PyProxy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyodide",
3
- "version": "0.26.4",
3
+ "version": "0.27.0",
4
4
  "description": "The Pyodide JavaScript package",
5
5
  "keywords": [
6
6
  "python",
@@ -31,10 +31,11 @@
31
31
  "npm-run-all": "^4.1.5",
32
32
  "nyc": "^15.1.0",
33
33
  "prettier": "^2.2.1",
34
+ "sinon": "^18.0.0",
34
35
  "ts-mocha": "^9.0.2",
35
36
  "tsd": "^0.24.1",
36
- "typedoc": "^0.25.1",
37
- "typescript": "^4.6.4",
37
+ "typedoc": "^0.27.6",
38
+ "typescript": "5.7",
38
39
  "wabt": "^1.0.32"
39
40
  },
40
41
  "main": "pyodide.js",
@@ -78,9 +79,10 @@
78
79
  "ws": false
79
80
  },
80
81
  "scripts": {
81
- "build": "tsc --noEmit && node esbuild.config.mjs",
82
+ "build-inner": "node esbuild.config.inner.mjs",
83
+ "build": "tsc --noEmit && node esbuild.config.outer.mjs",
82
84
  "test": "npm-run-all test:*",
83
- "test:unit": "cross-env TEST_NODE=1 ts-mocha --node-option=experimental-loader=./test/loader.mjs --node-option=experimental-wasm-stack-switching -p tsconfig.test.json test/unit/**/*.test.*",
85
+ "test:unit": "cross-env TEST_NODE=1 ts-mocha --node-option=experimental-loader=./test/loader.mjs --node-option=experimental-wasm-stack-switching -p tsconfig.test.json \"test/unit/**\"",
84
86
  "test:node": "cross-env TEST_NODE=1 mocha test/integration/**/*.test.js",
85
87
  "test:browser": "mocha test/integration/**/*.test.js",
86
88
  "tsc": "tsc --noEmit",