@skriptfabrik/json-schema-bundler 0.4.9 → 0.5.0

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/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:24.3.0-alpine
1
+ FROM node:24.4.0-alpine
2
2
 
3
3
  LABEL maintainer="Daniel Schröder <daniel.schroeder@skriptfabrik.com>"
4
4
 
@@ -6,7 +6,7 @@ import { readFile } from 'fs/promises';
6
6
  import minimist from 'minimist';
7
7
  import path from 'path';
8
8
  import { fileURLToPath } from 'url';
9
- import YAML from 'js-yaml';
9
+ import YAML from 'yaml';
10
10
 
11
11
  const __filename = fileURLToPath(import.meta.url);
12
12
  const __dirname = path.dirname(__filename);
@@ -74,7 +74,7 @@ try {
74
74
  }
75
75
 
76
76
  if (argv.y) {
77
- console.log(YAML.dump(schema, argv.p ? undefined : { flowLevel: 3 }));
77
+ console.log(YAML.stringify(schema));
78
78
  } else {
79
79
  console.log(JSON.stringify(schema, undefined, argv.p ? 2 : undefined));
80
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skriptfabrik/json-schema-bundler",
3
- "version": "0.4.9",
3
+ "version": "0.5.0",
4
4
  "description": "The missing CLI for the JSON Schema $Ref Parser",
5
5
  "keywords": [
6
6
  "json",
@@ -24,12 +24,9 @@
24
24
  "dependencies": {
25
25
  "@apidevtools/json-schema-ref-parser": "^14.0.2",
26
26
  "chalk": "^5.2.0",
27
- "js-yaml": "^4.1.0",
27
+ "yaml": "^2.8.0",
28
28
  "minimist": "^1.2.8"
29
29
  },
30
- "devDependencies": {
31
- "@types/js-yaml": "~4.0.0"
32
- },
33
30
  "bin": {
34
31
  "json-schema-bundler": "./json-schema-bundler-cli.mjs"
35
32
  }