Skip to content

Commit

Permalink
3.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek committed Nov 17, 2017
1 parent 42adaf5 commit f9b49e4
Show file tree
Hide file tree
Showing 21 changed files with 52 additions and 37 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 3.20.1

* BUGFIX: Prevent Raven throwing during installation when `Function.prototype.toString` is called in Angular projects with `zone.js` and `core.js` wrapped functions https://github.com/getsentry/raven-js/pull/1135
* BUGFIX: Add isArray util to prevent undefined `stack.stack` during `captureMessage` with synthetic stack traces enabled https://github.com/getsentry/raven-js/pull/1140

## 3.20.0

* NEW: `autoBreadcrumbs` can now disable sentry breadcrumbs and configure them on demand https://github.com/getsentry/raven-js/pull/1099
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "raven-js",
"version": "3.20.0",
"version": "3.20.1",
"dependencies": {},
"main": "dist/raven.js",
"ignore": [
Expand Down
9 changes: 7 additions & 2 deletions dist/plugins/angular.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.20.0 (e6baafa) | github.com/getsentry/raven-js */
/*! Raven.js 3.20.1 (42adaf5) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down Expand Up @@ -128,6 +128,10 @@ function isString(what) {
return Object.prototype.toString.call(what) === '[object String]';
}

function isArray(what) {
return Object.prototype.toString.call(what) === '[object Array]';
}

function isEmptyObject(what) {
for (var _ in what) {
if (what.hasOwnProperty(_)) {
Expand Down Expand Up @@ -448,7 +452,7 @@ function fill(obj, name, replacement, track) {
var orig = obj[name];
obj[name] = replacement(orig);
obj[name].__raven__ = true;
obj[name].__orig_method__ = orig;
obj[name].__orig__ = orig;
if (track) {
track.push([obj, name, orig]);
}
Expand All @@ -461,6 +465,7 @@ module.exports = {
isUndefined: isUndefined,
isFunction: isFunction,
isString: isString,
isArray: isArray,
isEmptyObject: isEmptyObject,
supportsErrorEvent: supportsErrorEvent,
wrappedCallback: wrappedCallback,
Expand Down
4 changes: 2 additions & 2 deletions dist/plugins/angular.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/angular.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plugins/console.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.20.0 (e6baafa) | github.com/getsentry/raven-js */
/*! Raven.js 3.20.1 (42adaf5) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/console.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/ember.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.20.0 (e6baafa) | github.com/getsentry/raven-js */
/*! Raven.js 3.20.1 (42adaf5) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/ember.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/require.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.20.0 (e6baafa) | github.com/getsentry/raven-js */
/*! Raven.js 3.20.1 (42adaf5) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/require.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/vue.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.20.0 (e6baafa) | github.com/getsentry/raven-js */
/*! Raven.js 3.20.1 (42adaf5) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/vue.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f9b49e4

Please sign in to comment.