Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cson

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cson - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

5

History.md
## History
- v1.4.0 October 25, 2012
- Updated CoffeeScript from v1.3.x to v1.4.x
- Dropped require extensions following [CoffeeScript's lead](https://github.com/jashkenas/coffee-script/issues/2441)
- If you still want them, add them to your application manually
- v1.3.0 September 1, 2012

@@ -4,0 +9,0 @@ - You can now use `require` to require CSON files

2

out/bin/cson2json.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.3.3
// Generated by CoffeeScript 1.4.0
(function() {

@@ -3,0 +3,0 @@ var CSON, argv, filePath, fs, path, result;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.3.3
// Generated by CoffeeScript 1.4.0
(function() {

@@ -3,0 +3,0 @@ var CSON, argv, filePath, fs, path, result;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.3.3
// Generated by CoffeeScript 1.4.0
(function() {

@@ -145,10 +145,4 @@ var CSON, coffee, fsUtil, js2coffee, pathUtil, wait;

if (require.extensions) {
require.extensions['.cson'] = function(module, filename) {
return module.exports = CSON.parseFileSync(filename);
};
}
module.exports = CSON;
}).call(this);
{
"name": "cson",
"version": "1.3.0",
"version": "1.4.0",
"description": "CoffeeScript-Object-Notation Parser. Same as JSON but for CoffeeScript objects",

@@ -21,3 +21,3 @@ "homepage": "https://github.com/bevry/cson",

"Ryan LeFevre <meltingice8917@gmail.com> (http://meltingice.net)",
"Linus G Thiel <inus@hanssonlarsson.se> (https://github.com/linus)",
"Linus G Thiel <linus@hanssonlarsson.se> (https://github.com/linus)",
"Zhang Cheng <czhang.oss@gmail.com> (https://github.com/zhangcheng)"

@@ -36,3 +36,3 @@ ],

"dependencies": {
"coffee-script": "1.3.x",
"coffee-script": "1.4.x",
"js2coffee": "0.1.x"

@@ -39,0 +39,0 @@ },

@@ -64,3 +64,4 @@ # CSON [![Build Status](https://secure.travis-ci.org/bevry/cson.png?branch=master)](http://travis-ci.org/bevry/cson)

CSON.parseFile('data.cson', function(err,obj){}); // async
result = CSON.parseFileSync('data.cson') // sync
result = CSON.parseFileSync('data.cson'); // sync
result = require('data.cson'); // sync using require

@@ -86,2 +87,3 @@ // Parse a String

result = CSON.parseFile('data.cson') # sync
result = require('data.cson') # sync using require

@@ -88,0 +90,0 @@ # Parse a string

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc