-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes changes introduced in 8c60b1e. Global string replacement was too eager and broke things in raven-node (although development head is actually in the 4.x branch). Other than that, this commit fixes doc comments and an entry in packages/typescript/package.json.
- Loading branch information
1 parent
3627fe0
commit f2a3c28
Showing
21 changed files
with
36 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
2 changes: 1 addition & 1 deletion
2
packages/raven-node/test/exit/capture_with_second_domain_error.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
2 changes: 1 addition & 1 deletion
2
packages/raven-node/test/exit/domain_capture_with_second_error.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
Raven.config(dsn).install(function(err, sendErr) { | ||
assert.ok(err instanceof Error); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
Raven.config(dsn).install(function(err, sendErr) { | ||
assert.ok(err instanceof Error); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
Raven.config('https://public:private _@app.getsentry.com/12345').install(); | ||
Raven.config('https://public:[email protected]/12345').install(); | ||
|
||
// We create a bunch of contexts, capture some breadcrumb data in all of them, | ||
// then watch memory usage. It'll go up to ~40 megs then after 10 or 20 seconds | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ console.log = function () {}; | |
|
||
var Raven = require('../../'); | ||
|
||
var sentryDsn = 'https://public:private _@app.getsentry.com/269'; | ||
var sentryDsn = 'https://public:[email protected]/269'; | ||
Raven.config(sentryDsn, { | ||
autoBreadcrumbs: true | ||
}).install(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ var raven = require('../'), | |
zlib = require('zlib'), | ||
child_process = require('child_process'); | ||
|
||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var _oldConsoleWarn = console.warn; | ||
|
||
|
@@ -53,7 +53,7 @@ describe('raven.Client', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: 'public', | ||
private __key: 'private _', | ||
private_key: 'private', | ||
host: 'app.getsentry.com', | ||
path: '/', | ||
project_id: '269', | ||
|
@@ -70,7 +70,7 @@ describe('raven.Client', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: 'abc', | ||
private __key: '123', | ||
private_key: '123', | ||
host: 'app.getsentry.com', | ||
path: '/', | ||
project_id: '1', | ||
|
@@ -86,7 +86,7 @@ describe('raven.Client', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: 'abc', | ||
private __key: '123', | ||
private_key: '123', | ||
host: 'app.getsentry.com', | ||
path: '/', | ||
project_id: '1', | ||
|
@@ -208,7 +208,7 @@ describe('raven.Client', function() { | |
}); | ||
|
||
it('should allow for attaching stacktrace', function(done) { | ||
var dsn = 'https://public:private _@app.getsentry.com:8443/269'; | ||
var dsn = 'https://public:[email protected]:8443/269'; | ||
var client = new raven.Client(dsn, { | ||
stacktrace: true | ||
}); | ||
|
@@ -317,7 +317,7 @@ describe('raven.Client', function() { | |
.post('/api/269/store/', '*') | ||
.reply(200, 'OK'); | ||
|
||
var dsn = 'https://public:private _@app.getsentry.com:8443/269'; | ||
var dsn = 'https://public:[email protected]:8443/269'; | ||
var client = new raven.Client(dsn); | ||
client.on('logged', function() { | ||
scope.done(); | ||
|
@@ -364,7 +364,7 @@ describe('raven.Client', function() { | |
return 'OK'; | ||
}); | ||
|
||
var dsn = 'https://public:private _@app.getsentry.com:8443/269'; | ||
var dsn = 'https://public:[email protected]:8443/269'; | ||
var client = new raven.Client(dsn); | ||
client.on('logged', function() { | ||
scope.done(); | ||
|
@@ -998,13 +998,13 @@ describe('raven.Client', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: 'public', | ||
private __key: 'private _', | ||
private_key: 'private', | ||
host: 'app.getsentry.com', | ||
path: '/', | ||
project_id: '269', | ||
port: 443 | ||
}; | ||
var dsn = 'heka+https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'heka+https://public:[email protected]/269'; | ||
var client = new raven.Client(dsn, { | ||
transport: 'some_heka_instance' | ||
}); | ||
|
@@ -1013,7 +1013,7 @@ describe('raven.Client', function() { | |
}); | ||
|
||
it('should use a DSN subpath when sending requests', function(done) { | ||
var dsn = 'https://public:private _@app.getsentry.com/some/path/269'; | ||
var dsn = 'https://public:[email protected]/some/path/269'; | ||
var client = new raven.Client(dsn); | ||
|
||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ describe('raven.utils', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: '8769c40cf49c4cc58b51fa45d8e2d166', | ||
private __key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
private_key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
host: 'app.getsentry.com', | ||
path: '/', | ||
project_id: '269', | ||
|
@@ -46,7 +46,7 @@ describe('raven.utils', function() { | |
var expected = { | ||
protocol: 'http', | ||
public_key: '8769c40cf49c4cc58b51fa45d8e2d166', | ||
private __key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
private_key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
host: 'mysentry.com', | ||
path: '/some/other/path/', | ||
project_id: '269', | ||
|
@@ -62,7 +62,7 @@ describe('raven.utils', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: '8769c40cf49c4cc58b51fa45d8e2d166', | ||
private __key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
private_key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
host: 'mysentry.com', | ||
path: '/some/other/path/', | ||
project_id: '269', | ||
|
@@ -91,7 +91,7 @@ describe('raven.utils', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: '8769c40cf49c4cc58b51fa45d8e2d166', | ||
private __key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
private_key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
host: 'mysentry.com', | ||
path: '/some/other/path/', | ||
project_id: '269', | ||
|
@@ -100,7 +100,7 @@ describe('raven.utils', function() { | |
dsn.should.eql(expected); | ||
}); | ||
|
||
it('should parse DSN without private _key', function() { | ||
it('should parse DSN without private key', function() { | ||
var dsn = raven.utils.parseDSN( | ||
'https://[email protected]:8443/some/other/path/269' | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters