pretty-error
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.7.1 | ||
// Generated by CoffeeScript 1.8.0 | ||
module.exports = function() { | ||
@@ -3,0 +3,0 @@ return { |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.7.1 | ||
// Generated by CoffeeScript 1.8.0 | ||
module.exports = ['_debugger.js', '_http_agent.js', '_http_client.js', '_http_common.js', '_http_incoming.js', '_http_outgoing.js', '_http_server.js', '_linklist.js', '_stream_duplex.js', '_stream_passthrough.js', '_stream_readable.js', '_stream_transform.js', '_stream_writable.js', '_tls_legacy.js', '_tls_wrap.js', 'assert.js', 'buffer.js', 'child_process.js', 'cluster.js', 'console.js', 'constants.js', 'crypto.js', 'dgram.js', 'dns.js', 'domain.js', 'events.js', 'freelist.js', 'fs.js', 'http.js', 'https.js', 'module.js', 'net.js', 'os.js', 'path.js', 'punycode.js', 'querystring.js', 'readline.js', 'repl.js', 'smalloc.js', 'stream.js', 'string_decoder.js', 'sys.js', 'timers.js', 'tls.js', 'tty.js', 'url.js', 'util.js', 'vm.js', 'zlib.js', 'node.js']; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.7.1 | ||
// Generated by CoffeeScript 1.8.0 | ||
var ParsedError, prop, sysPath, _fn, _i, _len, _ref; | ||
@@ -236,4 +236,6 @@ | ||
methodName = '_get' + prop[0].toUpperCase() + prop.substr(1, prop.length); | ||
return ParsedError.prototype.__defineGetter__(prop, function() { | ||
return this[methodName](); | ||
return Object.defineProperty(ParsedError.prototype, prop, { | ||
get: function() { | ||
return this[methodName](); | ||
} | ||
}); | ||
@@ -240,0 +242,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.7.1 | ||
// Generated by CoffeeScript 1.8.0 | ||
var ParsedError, PrettyError, RenderKid, array, defaultStyle, instance, nodePaths, object, prop, _fn, _i, _len, _ref, _ref1, | ||
@@ -3,0 +3,0 @@ __slice = [].slice, |
{ | ||
"name": "pretty-error", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "See nodejs errors with less clutter", | ||
"main": "./lib/pretty-error.js", | ||
"scripts": { | ||
"test": "./node_modules/.bin/mocha test/*.coffee", | ||
"pretest": "./node_modules/.bin/coffee --bare --compile --output ./lib ./src/*.coffee" | ||
"test": "mocha \"test/**/*.coffee\"", | ||
"test:watch": "mocha \"test/**/*.coffee\" --watch", | ||
"compile": "coffee --bare --compile --output ./lib ./src", | ||
"compile:watch": "jitter src lib -b", | ||
"watch": "npm run compile:watch & npm run test:watch", | ||
"winwatch": "start/b npm run compile:watch & npm run test:watch", | ||
"prepublish": "npm run compile" | ||
}, | ||
"dependencies": { | ||
"utila": "~0.3", | ||
"renderkid": "~0.2.0-beta.10" | ||
"utila": "~0.4", | ||
"renderkid": "~0.2.0" | ||
}, | ||
"devDependencies": { | ||
"coffee-script": "~1.7.1", | ||
"chai": "~1.9.1", | ||
"mocha": "~1.19.0" | ||
"coffee-script": "~1.8.0", | ||
"chai": "~1.9.2", | ||
"mocha": "~2.0.1", | ||
"jitter": "^1.3.0" | ||
}, | ||
@@ -19,0 +28,0 @@ "author": "Aria Minaei", |
@@ -76,3 +76,3 @@ # PrettyError | ||
// ... which we can then use to customize with css declarations: | ||
pe.adppendStyle({ | ||
pe.appendStyle({ | ||
// this is a simple selector to the element that says 'Error' | ||
@@ -79,0 +79,0 @@ 'pretty-error > header > title > kind': { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50716
731
4
+ Addedutila@0.4.0(transitive)
Updatedrenderkid@~0.2.0
Updatedutila@~0.4