@primate/python 0.1.1 → 0.1.3
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/package.json +5 -5
- package/src/private/build.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primate/python",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Primate Python backend",
|
|
5
5
|
"homepage": "https://primatejs.com/modules/python",
|
|
6
6
|
"bugs": "https://github.com/primatejs/primate/issues",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"directory": "packages/python"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@rcompat/fs": "^0.
|
|
19
|
-
"
|
|
18
|
+
"@rcompat/fs": "^0.5.0",
|
|
19
|
+
"pyodide": "^0.26.2",
|
|
20
|
+
"@primate/core": "^0.1.6"
|
|
20
21
|
},
|
|
21
22
|
"peerDependencies": {
|
|
22
|
-
"
|
|
23
|
-
"primate": "^0.32.1"
|
|
23
|
+
"primate": "^0.32.3"
|
|
24
24
|
},
|
|
25
25
|
"type": "module",
|
|
26
26
|
"imports": {
|
package/src/private/build.js
CHANGED
|
@@ -12,7 +12,7 @@ const make_package = pkg => `await pyodide.loadPackage("${pkg}", {
|
|
|
12
12
|
});\n`;
|
|
13
13
|
|
|
14
14
|
const js_wrapper = async (path, routes, packages) => `
|
|
15
|
-
import file from "
|
|
15
|
+
import file from "primate/runtime/file";
|
|
16
16
|
import to_request from "@primate/python/to-request";
|
|
17
17
|
import to_response from "@primate/python/to-response";
|
|
18
18
|
import wrap from "@primate/python/wrap";
|