pinokiod 5.3.2 → 5.3.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.
@@ -4,7 +4,7 @@ const { rimraf } = require('rimraf')
4
4
  const decompress = require('decompress');
5
5
  class Node {
6
6
  cmd() {
7
- return "nodejs pnpm"
7
+ return "nodejs=22.21.1 pnpm"
8
8
  }
9
9
  async install(req, ondata) {
10
10
  await this.kernel.bin.exec({
@@ -16,6 +16,12 @@ class Node {
16
16
  }, ondata)
17
17
  }
18
18
  async installed() {
19
+ if (this.kernel.bin.installed.conda && this.kernel.bin.installed.conda_versions) {
20
+ let version = this.kernel.bin.installed.conda_versions.nodejs
21
+ if (version !== "22.21.1") {
22
+ return false
23
+ }
24
+ }
19
25
  return this.kernel.bin.installed.conda.has("nodejs") && this.kernel.bin.installed.conda.has("pnpm")
20
26
  }
21
27
  env() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "5.3.2",
3
+ "version": "5.3.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {