Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

Commit

Permalink
updated dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Nov 20, 2015
1 parent 2e9dc8e commit 078ee47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var promise = require('cb2promise');
var Errorifier = require('errorifier');
var promise = require('cb2promise');
var Whoops = require('whoops');

var parseAsync = function(data, cb) {
var content;
Expand All @@ -11,7 +11,7 @@ var parseAsync = function(data, cb) {
content = JSON.parse(data);
} catch (err) {
content = {};
error = new Errorifier({
error = new Whoops({
code: 'ENOVALIDJSON',
message: err.message
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"dependencies": {
"cb2promise": "~1.0.0",
"errorifier": "~0.1.3"
"whoops": "~1.0.0"
},
"devDependencies": {
"browserify": "*",
Expand Down

0 comments on commit 078ee47

Please sign in to comment.