`js-yaml` appears to be treating badly-formed mapping keys as if they're well-formed. This was originally raised as a Swagger-Editor issue (https://github.com/swagger-api/swagger-editor/issues/1740). ### Example ```js var jsYaml = require("js-yaml") const str = ` myObj: a: "something" b: "some other thing" c: "third thing" ` jsYaml.safeLoad(str) ``` ### Expected result An error, maybe something along the lines of `bad indentation of a mapping entry at line 4, column 24`? ### Actual result ```js { myObj:{ a:'something', b:'some other thing', c:'third thing' } } ```