Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

gulp-cson

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-cson - npm Package Compare versions

Comparing version
0.1.0
to
0.2.0
+3
-1
.travis.yml
sudo: false
language: node_js
node_js:
- 0.11
- "iojs"
- "0.10"
- "0.12"

@@ -10,9 +10,9 @@ map = require 'map-stream'

gcson = (file, cb) ->
cson.parse file.contents.toString(), options, (err, data) ->
return cb err if err?
file.contents = new Buffer JSON.stringify data
file.path = rext file.path, '.json'
json = cson.parse file.contents.toString(), options
return cb err if json instanceof Error
file.contents = new Buffer JSON.stringify json
file.path = rext file.path, '.json'
cb null, file
cb null, file
return map gcson
{
"name": "gulp-cson",
"description": "Parse cson with gulp",
"version": "0.1.0",
"version": "0.2.0",
"homepage": "http://github.com/stevelacy/gulp-cson",

@@ -14,3 +14,3 @@ "repository": {

"coffee-script": "^1.9.0",
"cson": "^1.6.2",
"cson": "^2.0.0",
"map-stream": "^0.1.0",

@@ -17,0 +17,0 @@ "replace-ext": "0.0.1"

@@ -21,2 +21,3 @@ fs = require "fs"

should.exist newFile.contents
should.equal newFile.path, 'test/fixtures/normal.json'
String(newFile.contents).should.equal String fs.readFileSync path.join __dirname, "/expected/normal.json"

@@ -23,0 +24,0 @@ done()