cloudron 5.6.0 → 5.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudron",
3
- "version": "5.6.0",
3
+ "version": "5.6.2",
4
4
  "license": "MIT",
5
5
  "description": "Cloudron Commandline Tool",
6
6
  "main": "main.js",
package/src/actions.js CHANGED
@@ -524,7 +524,7 @@ async function downloadManifest(appstoreId) {
524
524
  const [ id, version ] = appstoreId.split('@');
525
525
 
526
526
  if (!manifestFormat.isId(id)) throw new Error('Invalid appstore ID');
527
- if (!semver.valid(version)) throw new Error('Invalid appstore version, not a semver');
527
+ if (version && !semver.valid(version)) throw new Error('Invalid appstore version, not a semver');
528
528
 
529
529
  // encodeURIComponent required to protect against passing junk in the URL (e.g appstoreId=org.wordpress.cloudronapp?foo=bar)
530
530
  const url = config.appStoreOrigin() + '/api/v1/apps/' + id + (version ? '/versions/' + version : '');
@@ -1,4 +1,4 @@
1
- FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
1
+ FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
2
2
 
3
3
  RUN mkdir -p /app/code
4
4
  WORKDIR /app/code