@supacloud/cli 0.3.7 → 0.4.1

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/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11481,7 +11481,7 @@ function finalize(ctx, schema) {
11481
11481
  result.$schema = "http://json-schema.org/draft-07/schema#";
11482
11482
  } else if (ctx.target === "draft-04") {
11483
11483
  result.$schema = "http://json-schema.org/draft-04/schema#";
11484
- } else if (ctx.target === "openapi-3.0") {} else {}
11484
+ } else if (ctx.target === "openapi-3.0") {}
11485
11485
  if (ctx.external?.uri) {
11486
11486
  const id = ctx.external.registry.get(schema)?.id;
11487
11487
  if (!id)
@@ -11725,7 +11725,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
11725
11725
  if (val === undefined) {
11726
11726
  if (ctx.unrepresentable === "throw") {
11727
11727
  throw new Error("Literal `undefined` cannot be represented in JSON Schema");
11728
- } else {}
11728
+ }
11729
11729
  } else if (typeof val === "bigint") {
11730
11730
  if (ctx.unrepresentable === "throw") {
11731
11731
  throw new Error("BigInt literals cannot be represented in JSON Schema");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supacloud/cli",
3
- "version": "0.3.7",
3
+ "version": "0.4.1",
4
4
  "description": "Project-scoped CLI for SupaCloud users",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",