pinokiod 3.2.3 → 3.2.5

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.
@@ -29,6 +29,11 @@ const ENVS = async () => {
29
29
  key: "PIP_CACHE_DIR",
30
30
  hidden: true,
31
31
  val: "./cache/PIP_CACHE_DIR"
32
+ }, {
33
+ type: ["system"],
34
+ key: "UV_CACHE_DIR",
35
+ hidden: true,
36
+ val: "./cache/UV_CACHE_DIR"
32
37
  }, {
33
38
  type: ["system"],
34
39
  key: "PIP_TMPDIR",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.3",
3
+ "version": "3.2.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -933,7 +933,12 @@ class Server {
933
933
  }
934
934
  if (requires_instantiation) {
935
935
  let p = Util.api_path(filepath, this.kernel)
936
- console.log("p", p)
936
+ let platform = os.platform()
937
+ console.log("p before", p)
938
+ if (platform === "win32") {
939
+ p = p.replace(/\\/g, '\\\\')
940
+ }
941
+ console.log("p after", p)
937
942
  res.render("required_env_editor", {
938
943
  agent: this.agent,
939
944
  theme: this.theme,