yaml 3.0.0-0 → 3.0.0-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/dist/cli.js CHANGED
@@ -1,8 +1,7 @@
1
- import { n as visit } from "./directives-CG6n4xSM.js";
2
- import { i as lex, n as Composer, o as prettyToken, r as Parser, t as LineCounter, u as prettifyError } from "./line-counter-TFl552k_.js";
1
+ import { n as visit } from "./directives-DqP9ea45.js";
2
+ import { i as lex, n as Composer, o as prettyToken, r as Parser, t as LineCounter, u as prettifyError } from "./line-counter-B2FjSv3E.js";
3
3
  import { resolve } from "node:path";
4
4
  import { parseArgs } from "node:util";
5
-
6
5
  //#region src/cli.ts
7
6
  const help = `\
8
7
  yaml: A command-line YAML processor and inspector
@@ -88,6 +87,7 @@ async function cli(stdin, done, argv) {
88
87
  let indent = Number(opt.indent);
89
88
  stdin.setEncoding("utf-8");
90
89
  switch (opt.help || mode) {
90
+ /* istanbul ignore next */
91
91
  case true:
92
92
  console.log(help);
93
93
  break;
@@ -176,6 +176,5 @@ async function cli(stdin, done, argv) {
176
176
  }
177
177
  }
178
178
  }
179
-
180
179
  //#endregion
181
- export { UserError, cli, help };
180
+ export { UserError, cli, help };