cson-parser icon indicating copy to clipboard operation
cson-parser copied to clipboard

Simple & safe CSON parser

Results 19 cson-parser issues
Sort by recently updated
recently updated
newest added

Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...

dependencies

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Moving https://github.com/bevry/cson/issues/38 over to this project. JSON suffered from being too tied to the JavaScript programming language early on. I suggest a document describing the format being parsed, so that...

Originally posted as https://github.com/bevry/cson/issues/91. Please excuse my unfamiliarity with CSON/Coffee at the time I posted this there. Since then, I have written my own crude CSON generator in PowerShell, https://github.com/msftrncs/PwshOutCSON,...

Parsing this: ~~~cson {foo: 2; @bar: 3} # CSON ~~~ ... quite literally results in "this": ~~~js {a: 2, this: 3} // JS ~~~ It's also possible to use equals...

bug

# Problem When an object has a field that contains '''', `cson-parser.parse` return error message: `error: unexpected identifier` # Release version: v4.0.0 # Code example ```js var cson_parser = require('cson-parser')...

`+1` is valid in both CoffeeScript and JavaScript, but `cson-parser` treats it as an error: ~~~console λ ~: echo '+2' | cson2json /usr/local/lib/node_modules/cson/esnext/cli.js:72 throw result; ^ SyntaxError: Syntax error on...

You cannot tell from the [cson-safe package](https://www.npmjs.com/package/cson-safe) that it was superseded by cson-parser. It would be very helpful if you updated the README on npm to inform users to migrate....

This isn't an issue/bug, but I'd like to ask this to make sure I'm not repeating someone else's work, before dumping time into a project like this. I think this...