@synsci/openscience 1.2.1 → 1.2.2
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/bin/openscience +2 -2
- package/package.json +12 -12
package/bin/openscience
CHANGED
|
@@ -59,7 +59,7 @@ const archMap = { x64: "x64", arm64: "arm64", arm: "arm" }
|
|
|
59
59
|
const platform = platformMap[os.platform()] || os.platform()
|
|
60
60
|
const arch = archMap[os.arch()] || os.arch()
|
|
61
61
|
const base = "openscience-" + platform + "-" + arch
|
|
62
|
-
const scopedBase = "
|
|
62
|
+
const scopedBase = "openscience-" + platform + "-" + arch
|
|
63
63
|
|
|
64
64
|
// 2. Search this install's node_modules for the matching platform package.
|
|
65
65
|
// This must come before ~/.openscience or Homebrew fallbacks; otherwise an npm
|
|
@@ -77,7 +77,7 @@ while (true) {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
// Check scoped packages (@synsci/openscience-darwin-arm64)
|
|
80
|
-
const scoped = path.join(modules, "@
|
|
80
|
+
const scoped = path.join(modules, "@synsci")
|
|
81
81
|
if (fs.existsSync(scoped)) {
|
|
82
82
|
const scopedEntries = fs.readdirSync(scoped)
|
|
83
83
|
for (const entry of scopedEntries) {
|
package/package.json
CHANGED
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.2.
|
|
9
|
+
"version": "1.2.2",
|
|
10
10
|
"optionalDependencies": {
|
|
11
|
-
"@synsci/openscience-linux-x64-baseline-musl": "1.2.
|
|
12
|
-
"@synsci/openscience-windows-x64-baseline": "1.2.
|
|
13
|
-
"@synsci/openscience-linux-x64-baseline": "1.2.
|
|
14
|
-
"@synsci/openscience-darwin-x64": "1.2.
|
|
15
|
-
"@synsci/openscience-linux-arm64-musl": "1.2.
|
|
16
|
-
"@synsci/openscience-darwin-x64-baseline": "1.2.
|
|
17
|
-
"@synsci/openscience-linux-x64-musl": "1.2.
|
|
18
|
-
"@synsci/openscience-darwin-arm64": "1.2.
|
|
19
|
-
"@synsci/openscience-linux-arm64": "1.2.
|
|
20
|
-
"@synsci/openscience-windows-x64": "1.2.
|
|
21
|
-
"@synsci/openscience-linux-x64": "1.2.
|
|
11
|
+
"@synsci/openscience-linux-x64-baseline-musl": "1.2.2",
|
|
12
|
+
"@synsci/openscience-windows-x64-baseline": "1.2.2",
|
|
13
|
+
"@synsci/openscience-linux-x64-baseline": "1.2.2",
|
|
14
|
+
"@synsci/openscience-darwin-x64": "1.2.2",
|
|
15
|
+
"@synsci/openscience-linux-arm64-musl": "1.2.2",
|
|
16
|
+
"@synsci/openscience-darwin-x64-baseline": "1.2.2",
|
|
17
|
+
"@synsci/openscience-linux-x64-musl": "1.2.2",
|
|
18
|
+
"@synsci/openscience-darwin-arm64": "1.2.2",
|
|
19
|
+
"@synsci/openscience-linux-arm64": "1.2.2",
|
|
20
|
+
"@synsci/openscience-windows-x64": "1.2.2",
|
|
21
|
+
"@synsci/openscience-linux-x64": "1.2.2"
|
|
22
22
|
}
|
|
23
23
|
}
|