On Linux, when the output of the js-yaml CLI is a pipe to another command, the output is truncated to the first 65536 bytes.
Here is how to reproduce (with any big enough YAML file):
$ wget http://static.snoyman.com/entries.yaml # A 190K YAML file
$ js-yaml entries.yaml > entries.json ; wc -c entries.json
245736 entries.json
$ js-yaml entries.yaml | wc -c
65536
Tested with node v6.1.0 (arch: amd64) and js-yaml 3.6.0 with bash 4.3.11(1) on Ubuntu 14.04.
On Linux, when the output of the
js-yamlCLI is a pipe to another command, the output is truncated to the first 65536 bytes.Here is how to reproduce (with any big enough YAML file):
Tested with
nodev6.1.0 (arch: amd64) andjs-yaml3.6.0 with bash 4.3.11(1) on Ubuntu 14.04.