Comparing version 4.1.0 to 5.1.0
# History | ||
## v5.1.0 2018 January 25 | ||
- Revert CSON's use of CoffeeScript v2, as it [broke support for Node 4 and below](https://travis-ci.org/bevry/cson/builds/333130290) | ||
- Use of CoffeeScript v2 is now limited to compilation of this project only | ||
## v5.0.0 2018 January 25 | ||
- Now uses CoffeeScript v2 | ||
- Now uses [editions](https://github.com/bevry/editions) to use the ESNext compiled edition for environments that support it, otherwise use the ES2015 compiled edition | ||
- Updated base files | ||
## v4.1.0 2017 April 10 | ||
- Updated base files | ||
- `cson2json` and `json2cson` will now output the error if the input file is invalid | ||
- Closes [issue #78](https://github.com/bevry/cson/issues/78) | ||
- Updated base files | ||
@@ -8,0 +17,0 @@ ## v4.0.0 2016 October 20 |
{ | ||
"title": "CSON", | ||
"name": "cson", | ||
"version": "4.1.0", | ||
"version": "5.1.0", | ||
"description": "CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects.", | ||
@@ -56,3 +56,3 @@ "homepage": "https://github.com/bevry/cson", | ||
"Linus Gustav Larsson Thiel <linus@hanssonlarsson.se> (http://yesbabyyes.se/)", | ||
"Tushar Kant <nanu.clickity@gmail.com> (https://github.com/nanuclickity)", | ||
"Tushar Kant <nanu.clickity@gmail.com> (http://indiez.io)", | ||
"Claudius Nicolae <claudius.nicolae@gmail.com> (https://github.com/clyfe)", | ||
@@ -78,3 +78,3 @@ "Rob Loach <robloach@gmail.com> (http://robloach.net)", | ||
"directory": "source", | ||
"entry": "index.js", | ||
"entry": "index.coffee", | ||
"syntaxes": [ | ||
@@ -86,10 +86,20 @@ "coffeescript", | ||
{ | ||
"description": "CoffeeScript Compiled + ES5 + Require", | ||
"directory": "es5", | ||
"description": "CoffeeScript Compiled + ESNext + Require", | ||
"directory": "esnext", | ||
"entry": "index.js", | ||
"syntaxes": [ | ||
"javascript", | ||
"es5", | ||
"esnext", | ||
"require" | ||
] | ||
}, | ||
{ | ||
"description": "CoffeeScript Transpiled + ES2015 + Require", | ||
"directory": "es2015", | ||
"entry": "index.js", | ||
"syntaxes": [ | ||
"javascript", | ||
"es2015", | ||
"require" | ||
] | ||
} | ||
@@ -101,6 +111,7 @@ ], | ||
}, | ||
"main": "es5/index.js", | ||
"main": "index.js", | ||
"dependencies": { | ||
"coffee-script": "^1.12.4", | ||
"coffee-script": "^1.12.7", | ||
"cson-parser": "^1.3.4", | ||
"editions": "^1.3.3", | ||
"extract-opts": "^3.3.1", | ||
@@ -112,4 +123,7 @@ "requirefresh": "^2.1.0", | ||
"assert-helpers": "^4.5.0", | ||
"babel-core": "^6.26.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"biscotto": "emmenko/biscotto#v2.4.0", | ||
"coffeelint": "^1.16.0", | ||
"coffeescript": "^2.1.1", | ||
"coffeelint": "^2.0.7", | ||
"joe": "^2.0.2", | ||
@@ -125,7 +139,8 @@ "joe-reporter-console": "^2.0.1", | ||
"our:clean": "rm -Rf ./docs ./es2015 ./es5 ./out", | ||
"our:compile": "npm run our:compile:coffee", | ||
"our:compile:coffee": "coffee -bco ./es5 ./source", | ||
"our:meta": "npm run our:meta:projectz && npm run our:meta:biscotto", | ||
"our:compile": "npm run our:compile:coffee:esnext && npm run our:compile:coffee:es2015", | ||
"our:compile:coffee:esnext": "coffee -bco ./esnext ./source", | ||
"our:compile:coffee:es2015": "coffee -bcto ./es2015 ./source", | ||
"our:meta": "npm run our:meta:biscotto && npm run our:meta:projectz", | ||
"our:meta:biscotto": "biscotto -n \"$npm_package_title\" --title \"$npm_package_title API Documentation\" --readme README.md --output-dir docs source - LICENSE.md HISTORY.md", | ||
"our:meta:projectz": "projectz compile", | ||
"our:meta:biscotto": "biscotto -n \"$npm_package_title\" --title \"$npm_package_title API Documentation\" --readme README.md --output-dir docs source - LICENSE.md HISTORY.md", | ||
"our:verify": "npm run our:verify:coffeelint", | ||
@@ -141,4 +156,4 @@ "our:verify:coffeelint": "coffeelint ./source", | ||
"our:release:push": "git push origin master && git push origin --tags", | ||
"test": "node --harmony es5/test.js --joe-reporter=console" | ||
"test": "node --harmony ./test.js --joe-reporter=console" | ||
} | ||
} |
@@ -51,6 +51,9 @@ <!-- TITLE/ --> | ||
<ul><li><code>cson/source/index.js</code> is Source + CoffeeScript + <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a></li> | ||
<li><code>cson</code> aliases <code>cson/es5/index.js</code></li> | ||
<li><code>cson/es5/index.js</code> is CoffeeScript Compiled + ES5 + <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a></li></ul> | ||
<ul><li><code>cson</code> aliases <code>cson/index.js</code> which uses <a href="https://github.com/bevry/editions" title="Editions are the best way to produce and consume packages you care about.">Editions</a> to automatically select the correct edition for the consumers environment</li> | ||
<li><code>cson/source/index.coffee</code> is Source + CoffeeScript + <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a></li> | ||
<li><code>cson/esnext/index.js</code> is CoffeeScript Compiled + <a href="https://babeljs.io/docs/learn-es2015/" title="ECMAScript Next">ESNext</a> + <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a></li> | ||
<li><code>cson/es2015/index.js</code> is CoffeeScript Transpiled + <a href="http://babeljs.io/docs/plugins/preset-es2015/" title="ECMAScript 2015">ES2015</a> + <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a></li></ul> | ||
<p>Older environments may need <a href="https://babeljs.io/docs/usage/polyfill/" title="A polyfill that emulates missing ECMAScript environment features">Babel's Polyfill</a> or something similar.</p> | ||
<!-- /INSTALL --> | ||
@@ -282,3 +285,3 @@ | ||
<li><a href="http://yesbabyyes.se/">Linus Gustav Larsson Thiel</a> — <a href="https://github.com/bevry/cson/commits?author=linus" title="View the GitHub contributions of Linus Gustav Larsson Thiel on repository bevry/cson">view contributions</a></li> | ||
<li><a href="https://github.com/nanuclickity">Tushar Kant</a> — <a href="https://github.com/bevry/cson/commits?author=nanuclickity" title="View the GitHub contributions of Tushar Kant on repository bevry/cson">view contributions</a></li> | ||
<li><a href="http://indiez.io">Tushar Kant</a> — <a href="https://github.com/bevry/cson/commits?author=nanuclickity" title="View the GitHub contributions of Tushar Kant on repository bevry/cson">view contributions</a></li> | ||
<li><a href="https://github.com/clyfe">Claudius Nicolae</a> — <a href="https://github.com/bevry/cson/commits?author=clyfe" title="View the GitHub contributions of Claudius Nicolae on repository bevry/cson">view contributions</a></li> | ||
@@ -285,0 +288,0 @@ <li><a href="http://robloach.net">Rob Loach</a> — <a href="https://github.com/bevry/cson/commits?author=RobLoach" title="View the GitHub contributions of Rob Loach on repository bevry/cson">view contributions</a></li> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
106228
14
1414
310
6
11
4
+ Addededitions@^1.3.3
+ Addededitions@1.3.4(transitive)
Updatedcoffee-script@^1.12.7