Skip to content

Commit f9b49e4

Browse files
committed
3.20.1
1 parent 42adaf5 commit f9b49e4

21 files changed

+52
-37
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 3.20.1
4+
5+
* 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
6+
* BUGFIX: Add isArray util to prevent undefined `stack.stack` during `captureMessage` with synthetic stack traces enabled https://github.com/getsentry/raven-js/pull/1140
7+
38
## 3.20.0
49

510
* NEW: `autoBreadcrumbs` can now disable sentry breadcrumbs and configure them on demand https://github.com/getsentry/raven-js/pull/1099

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raven-js",
3-
"version": "3.20.0",
3+
"version": "3.20.1",
44
"dependencies": {},
55
"main": "dist/raven.js",
66
"ignore": [

dist/plugins/angular.js

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.20.0 (e6baafa) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.20.1 (42adaf5) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -128,6 +128,10 @@ function isString(what) {
128128
return Object.prototype.toString.call(what) === '[object String]';
129129
}
130130

131+
function isArray(what) {
132+
return Object.prototype.toString.call(what) === '[object Array]';
133+
}
134+
131135
function isEmptyObject(what) {
132136
for (var _ in what) {
133137
if (what.hasOwnProperty(_)) {
@@ -448,7 +452,7 @@ function fill(obj, name, replacement, track) {
448452
var orig = obj[name];
449453
obj[name] = replacement(orig);
450454
obj[name].__raven__ = true;
451-
obj[name].__orig_method__ = orig;
455+
obj[name].__orig__ = orig;
452456
if (track) {
453457
track.push([obj, name, orig]);
454458
}
@@ -461,6 +465,7 @@ module.exports = {
461465
isUndefined: isUndefined,
462466
isFunction: isFunction,
463467
isString: isString,
468+
isArray: isArray,
464469
isEmptyObject: isEmptyObject,
465470
supportsErrorEvent: supportsErrorEvent,
466471
wrappedCallback: wrappedCallback,

dist/plugins/angular.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/angular.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/console.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.20.0 (e6baafa) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.20.1 (42adaf5) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit

dist/plugins/console.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/ember.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.20.0 (e6baafa) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.20.1 (42adaf5) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit

dist/plugins/ember.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/require.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.20.0 (e6baafa) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.20.1 (42adaf5) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit

dist/plugins/require.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/vue.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.20.0 (e6baafa) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.20.1 (42adaf5) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit

dist/plugins/vue.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)