synsci 2.0.77 → 2.0.78-test.34098503148

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.
Files changed (2) hide show
  1. package/bin/synsci.mjs +3 -1
  2. package/package.json +1 -1
package/bin/synsci.mjs CHANGED
@@ -435,7 +435,9 @@ async function main() {
435
435
  const s = spinner("Checking for updates...")
436
436
  const current = raw.replace(/[^0-9.]/g, "")
437
437
  const latest = runQuiet(`npm view @synsci/openscience@${OPENSCIENCE_NPM_TAG} version`)
438
- if (!latest || current === latest) {
438
+ if (!latest) {
439
+ s.warn(`Could not check for updates, continuing with openscience ${current}`)
440
+ } else if (current === latest) {
439
441
  s.ok(`openscience ${current} ${DIM}(up to date)${RESET}`)
440
442
  } else {
441
443
  s.update(`Upgrading ${current} → ${latest}...`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synsci",
3
- "version": "2.0.77",
3
+ "version": "2.0.78-test.34098503148",
4
4
  "description": "Launcher for OpenScience, the open-source AI research workspace",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",