Comparing version 1.0.4 to 1.0.6
@@ -573,2 +573,4 @@ !function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.stackinfo=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | ||
module.exports.mode = mode | ||
module.exports.sourceCache = printStackTrace.implementation.prototype.sourceCache // expose this so you can consolidate caches together from different libraries | ||
},{"./exceptionMode":1,"./tracelineParser":4,"stacktrace-js":2}],4:[function(_dereq_,module,exports){ | ||
@@ -575,0 +577,0 @@ |
{"name":"stackinfo", | ||
"version":"1.0.4", | ||
"version":"1.0.6", | ||
"main":"stackinfo.js", | ||
@@ -4,0 +4,0 @@ "description": "Gets an object containing normalized stacktrace information across browsers.", |
@@ -55,3 +55,3 @@ `stackinfo` | ||
Note that stackinfo doesn't work in node.js, but if you need that check out [node-stack-trace](https://github.com/felixge/node-stack-trace) | ||
Note that stackinfo doesn't work in node.js, but if you need that, check out [node-stack-trace](https://github.com/felixge/node-stack-trace) | ||
@@ -66,3 +66,2 @@ Todo | ||
* Possibly also use this for chrome, since it works in chrome too | ||
* Instead of returning an array of static objects, parse the stacktrace on the fly using accessors (for performance reasons - so you only do the parsing you need to) | ||
@@ -93,2 +92,3 @@ How to Contribute! | ||
* 1.0.6 - exposing stacktrace.js's sourceCache so it can be consolidated with source caches from other modules | ||
* 1.0.4 - adding a firefox trace pattern | ||
@@ -95,0 +95,0 @@ * 1.0.3 - adding another chrome trace pattern (event handlers) |
@@ -57,2 +57,3 @@ var printStackTrace = require('stacktrace-js') | ||
module.exports.parsers = parsers | ||
module.exports.mode = mode | ||
module.exports.mode = mode | ||
module.exports.sourceCache = printStackTrace.implementation.prototype.sourceCache // expose this so you can consolidate caches together from different libraries |
42664
806