Skip to content

Commit 71b55a4

Browse files
committed
2.0.4
1 parent 9d67dc6 commit 71b55a4

File tree

8 files changed

+25
-22
lines changed

8 files changed

+25
-22
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 2.0.4
4+
* BUGFIX: Fixed bug where Raven.VERSION was not set when required as a CommonJS module.
5+
36
## 2.0.2
47
* BUGFIX: Fixed bug where wrapped requestAnimationFrame didn't return callback ID. See: https://github.com/getsentry/raven-js/pull/460
58

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raven-js",
3-
"version": "2.0.2",
3+
"version": "2.0.4",
44
"dependencies": {},
55
"main": "dist/raven.js",
66
"ignore": [

dist/raven.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Raven = f()}})(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);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.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(require,module,exports){
1+
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Raven = f()}})(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);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.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){
22
'use strict';
33

44
function RavenConfigError(message) {
@@ -10,13 +10,13 @@ RavenConfigError.prototype.constructor = RavenConfigError;
1010

1111
module.exports = RavenConfigError;
1212

13-
},{}],2:[function(require,module,exports){
13+
},{}],2:[function(_dereq_,module,exports){
1414
/*global XDomainRequest:false*/
1515
'use strict';
1616

17-
var TraceKit = require('../vendor/TraceKit/tracekit');
18-
var RavenConfigError = require('./configError');
19-
var utils = require('./utils');
17+
var TraceKit = _dereq_('../vendor/TraceKit/tracekit');
18+
var RavenConfigError = _dereq_('./configError');
19+
var utils = _dereq_('./utils');
2020

2121
var isFunction = utils.isFunction;
2222
var isUndefined = utils.isUndefined;
@@ -81,7 +81,7 @@ function Raven() {
8181
*/
8282

8383
Raven.prototype = {
84-
VERSION: '2.0.2',
84+
VERSION: '2.0.4',
8585

8686
debug: false,
8787

@@ -1031,7 +1031,7 @@ Raven.prototype.setReleaseContext = Raven.prototype.setRelease;
10311031

10321032
module.exports = Raven;
10331033

1034-
},{"../vendor/TraceKit/tracekit":5,"./configError":1,"./utils":4}],3:[function(require,module,exports){
1034+
},{"../vendor/TraceKit/tracekit":5,"./configError":1,"./utils":4}],3:[function(_dereq_,module,exports){
10351035
/**
10361036
* Enforces a single instance of the Raven client, and the
10371037
* main entry point for Raven. If you are a consumer of the
@@ -1040,7 +1040,7 @@ module.exports = Raven;
10401040

10411041
'use strict';
10421042

1043-
var RavenConstructor = require('./raven');
1043+
var RavenConstructor = _dereq_('./raven');
10441044

10451045
var _Raven = window.Raven;
10461046

@@ -1061,7 +1061,7 @@ Raven.afterLoad();
10611061

10621062
module.exports = Raven;
10631063

1064-
},{"./raven":2}],4:[function(require,module,exports){
1064+
},{"./raven":2}],4:[function(_dereq_,module,exports){
10651065
'use strict';
10661066

10671067
var objectPrototype = Object.prototype;
@@ -1218,10 +1218,10 @@ module.exports = {
12181218
uuid4: uuid4
12191219
};
12201220

1221-
},{}],5:[function(require,module,exports){
1221+
},{}],5:[function(_dereq_,module,exports){
12221222
'use strict';
12231223

1224-
var utils = require('../../src/utils');
1224+
var utils = _dereq_('../../src/utils');
12251225

12261226
var hasKey = utils.hasKey;
12271227
var isString = utils.isString;

dist/raven.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/raven.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/sri.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"@dist/raven.js": {
33
"hashes": {
4-
"sha256": "9v4HvO8psg+OyYe+Bdd7IhtV+5aMX7ffTaavihv7o58=",
5-
"sha512": "LySZeaFl/H7nO6lqDoxq4r1ujtx/j+jhZui7DnwC96ZZYfwRUN0dR+pGix+uLrM2oZPLOzLn1KvazNWjUE0uXw=="
4+
"sha256": "UotT5VJFZkWqahsXDipV6o2ZXS86FnCl5v3iqRfagrQ=",
5+
"sha512": "7oBxZlNAzL/OPJVBsT7Hss/vFhuqPWyMwlOjYRHmTS3kA0YEfAfW4tctiq1aoZcilRTdQTEo03SpQK59Lcil0w=="
66
},
77
"type": null,
8-
"integrity": "sha256-9v4HvO8psg+OyYe+Bdd7IhtV+5aMX7ffTaavihv7o58= sha512-LySZeaFl/H7nO6lqDoxq4r1ujtx/j+jhZui7DnwC96ZZYfwRUN0dR+pGix+uLrM2oZPLOzLn1KvazNWjUE0uXw==",
8+
"integrity": "sha256-UotT5VJFZkWqahsXDipV6o2ZXS86FnCl5v3iqRfagrQ= sha512-7oBxZlNAzL/OPJVBsT7Hss/vFhuqPWyMwlOjYRHmTS3kA0YEfAfW4tctiq1aoZcilRTdQTEo03SpQK59Lcil0w==",
99
"path": "dist/raven.js"
1010
},
1111
"@dist/raven.min.js": {
1212
"hashes": {
13-
"sha256": "uOugEF0qS+ijDm1q8KtCFs17bG/+pQ0bucSIpLuT9qo=",
14-
"sha512": "336gL4V/AhVLvUOc2/8EUCCrEfIk5tSPlnYhh5N9nsl4N1BJxds7WIbyfMahpA4wbdrNkE+HdkJ/vIDz5xDaYw=="
13+
"sha256": "5eY6itXKwz59z+UzE8/RkvFttSb0hKtAhOJqRcgMgXE=",
14+
"sha512": "dPleFvik6z/jNuPmqXU1OhvMMAVSbqCRtwFaSDhB9Ach6zrSLxxCYzAJGuCqNEzkbHlOAK44SqQDkVZlLTUD6A=="
1515
},
1616
"type": null,
17-
"integrity": "sha256-uOugEF0qS+ijDm1q8KtCFs17bG/+pQ0bucSIpLuT9qo= sha512-336gL4V/AhVLvUOc2/8EUCCrEfIk5tSPlnYhh5N9nsl4N1BJxds7WIbyfMahpA4wbdrNkE+HdkJ/vIDz5xDaYw==",
17+
"integrity": "sha256-5eY6itXKwz59z+UzE8/RkvFttSb0hKtAhOJqRcgMgXE= sha512-dPleFvik6z/jNuPmqXU1OhvMMAVSbqCRtwFaSDhB9Ach6zrSLxxCYzAJGuCqNEzkbHlOAK44SqQDkVZlLTUD6A==",
1818
"path": "dist/raven.min.js"
1919
}
2020
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raven-js",
3-
"version": "2.0.2",
3+
"version": "2.0.4",
44
"license": "BSD-2-Clause",
55
"homepage": "https://getsentry.com",
66
"scripts": {

test/raven.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ describe('globals', function() {
10371037
extra: {'session:duration': 100},
10381038
});
10391039
assert.deepEqual(opts.auth, {
1040-
sentry_client: 'raven-js/2.0.2',
1040+
sentry_client: 'raven-js/2.0.4',
10411041
sentry_key: 'abc',
10421042
sentry_version: '7'
10431043
});

0 commit comments

Comments
 (0)