@scalar/cli 0.2.208 → 0.2.210

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.
@@ -34,7 +34,7 @@ function ValidateCommand() {
34
34
  else {
35
35
  console.log(prettyjson.render(result.errors));
36
36
  console.log();
37
- console.error(kleur.red('File doesn’t match the OpenAPI specification.'));
37
+ console.error(kleur.red(`File does not match the OpenAPI ${result.version ? `${result.version} ` : ''}specification.`));
38
38
  console.log();
39
39
  console.error(kleur.red(`${kleur.bold(`${result.errors?.length} error${result.errors && result.errors.length > 1 ? 's' : ''}`)} found.`));
40
40
  console.log();
@@ -1,3 +1,3 @@
1
- var version = "0.2.208";
1
+ var version = "0.2.210";
2
2
 
3
3
  export { version };
@@ -1 +1 @@
1
- {"version":3,"file":"ValidateCommand.d.ts","sourceRoot":"","sources":["../../../../src/commands/validate/ValidateCommand.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAMnC;;GAEG;AACH,wBAAgB,eAAe,YA6D9B"}
1
+ {"version":3,"file":"ValidateCommand.d.ts","sourceRoot":"","sources":["../../../../src/commands/validate/ValidateCommand.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAMnC;;GAEG;AACH,wBAAgB,eAAe,YAiE9B"}
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "swagger",
17
17
  "cli"
18
18
  ],
19
- "version": "0.2.208",
19
+ "version": "0.2.210",
20
20
  "engines": {
21
21
  "node": ">=18"
22
22
  },
@@ -43,13 +43,13 @@
43
43
  "hono": "^4.2.7",
44
44
  "kleur": "^4.1.5",
45
45
  "prettyjson": "^1.2.5",
46
+ "@scalar/api-reference": "1.25.27",
46
47
  "@scalar/config": "0.1.0",
47
- "@scalar/api-reference": "1.25.25",
48
- "@scalar/oas-utils": "0.2.50",
49
- "@scalar/mock-server": "0.2.54",
48
+ "@scalar/mock-server": "0.2.55",
50
49
  "@scalar/openapi-types": "0.1.1",
51
- "@scalar/openapi-parser": "0.8.4",
52
- "@scalar/void-server": "2.0.11"
50
+ "@scalar/oas-utils": "0.2.51",
51
+ "@scalar/void-server": "2.0.11",
52
+ "@scalar/openapi-parser": "0.8.5"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@rollup/plugin-json": "^6.1.0",