From 0feb0221ed17e5f74d0deea0a1e511fc11ab3f53 Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Wed, 3 Apr 2024 16:41:32 +0100 Subject: [PATCH 01/10] add automatic console breadcrumbs to node --- packages/node/package.json | 3 ++- packages/node/src/notifier.js | 4 +++- .../console-breadcrumbs.js | 4 +++- .../test/console-breadcrumbs.test.ts | 11 ++++++++++ test/node/features/contextualize.feature | 6 ++++-- test/node/features/express.feature | 20 +++++++++++++++++++ .../contextualize/scenarios/contextualize.js | 2 ++ .../FirstURLConsoleBreadcrumb.json | 9 +++++++++ .../SecondURLConsoleBreadcrumb.json | 9 +++++++++ .../fixtures/express/scenarios/app.js | 10 ++++++++++ 10 files changed, 73 insertions(+), 5 deletions(-) create mode 100644 test/node/features/fixtures/express/expected_breadcrumbs/FirstURLConsoleBreadcrumb.json create mode 100644 test/node/features/fixtures/express/expected_breadcrumbs/SecondURLConsoleBreadcrumb.json diff --git a/packages/node/package.json b/packages/node/package.json index 225f43064b..2d108411dd 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -35,7 +35,8 @@ "@bugsnag/plugin-node-unhandled-rejection": "^8.0.0-alpha.4", "@bugsnag/plugin-server-session": "^8.0.0-alpha.4", "@bugsnag/plugin-stackframe-path-normaliser": "^8.0.0-alpha.4", - "@bugsnag/plugin-strip-project-root": "^8.0.0-alpha.4" + "@bugsnag/plugin-strip-project-root": "^8.0.0-alpha.4", + "@bugsnag/plugin-console-breadcrumbs": "^8.0.0-alpha.4" }, "dependencies": { "@bugsnag/core": "^8.0.0-alpha.4", diff --git a/packages/node/src/notifier.js b/packages/node/src/notifier.js index 17ee7130d3..5d584bebf7 100644 --- a/packages/node/src/notifier.js +++ b/packages/node/src/notifier.js @@ -27,6 +27,7 @@ const pluginNodeUnhandledRejection = require('@bugsnag/plugin-node-unhandled-rej const pluginIntercept = require('@bugsnag/plugin-intercept') const pluginContextualize = require('@bugsnag/plugin-contextualize') const pluginStackframePathNormaliser = require('@bugsnag/plugin-stackframe-path-normaliser') +const pluginConsoleBreadcrumbs = require('@bugsnag/plugin-console-breadcrumbs') const internalPlugins = [ pluginApp, @@ -39,7 +40,8 @@ const internalPlugins = [ pluginNodeUnhandledRejection, pluginIntercept, pluginContextualize, - pluginStackframePathNormaliser + pluginStackframePathNormaliser, + pluginConsoleBreadcrumbs ] const Bugsnag = { diff --git a/packages/plugin-console-breadcrumbs/console-breadcrumbs.js b/packages/plugin-console-breadcrumbs/console-breadcrumbs.js index f009c48247..41783bfb4f 100644 --- a/packages/plugin-console-breadcrumbs/console-breadcrumbs.js +++ b/packages/plugin-console-breadcrumbs/console-breadcrumbs.js @@ -13,7 +13,9 @@ exports.load = (client) => { map(CONSOLE_LOG_METHODS, method => { const original = console[method] console[method] = (...args) => { - client.leaveBreadcrumb('Console output', reduce(args, (accum, arg, i) => { + // if we are in an async context, use the client from that context + const c = client._clientContext && client._clientContext.getStore() ? client._clientContext.getStore() : client + c.leaveBreadcrumb('Console output', reduce(args, (accum, arg, i) => { // do the best/simplest stringification of each argument let stringified = '[Unknown value]' // this may fail if the input is: diff --git a/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts b/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts index a6f5799b13..9642b0e93e 100644 --- a/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts +++ b/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts @@ -80,4 +80,15 @@ describe('plugin: console breadcrumbs', () => { expect(c._breadcrumbs.length).toBe(0) plugin.destroy() }) + + it('should use the client from the async context if it exists', () => { + const c = new Client({ apiKey: 'aaaa-aaaa-aaaa-aaaa', plugins: [plugin] }) + c._clientContext = { + getStore: () => new Client({ apiKey: 'aaaa-aaaa-aaaa-aaaa', plugins: [plugin] }) + } + console.log(123) + expect(c._breadcrumbs.length).toBe(0) + expect(c._clientContext.getStore()._breadcrumbs.length).toBe(0) + plugin.destroy() + }) }) diff --git a/test/node/features/contextualize.feature b/test/node/features/contextualize.feature index a33569591b..c2e9036b9e 100644 --- a/test/node/features/contextualize.feature +++ b/test/node/features/contextualize.feature @@ -17,9 +17,10 @@ Scenario: using contextualize to add context to an error And the exception "message" equals "manual notify" And the exception "type" equals "nodejs" And the "file" of stack frame 0 equals "scenarios/contextualize.js" - And the "lineNumber" of stack frame 0 equals 15 + And the "lineNumber" of stack frame 0 equals 16 And the event "metaData.subsystem.name" equals "manual notify" And the event has a "manual" breadcrumb named "manual notify" + And the event has a "log" breadcrumb named "Console output" And I discard the oldest error @@ -31,10 +32,11 @@ Scenario: using contextualize to add context to an error And the exception "message" equals "ENOENT: no such file or directory, open 'does not exist'" And the exception "type" equals "nodejs" And the "file" of stack frame 0 equals "scenarios/contextualize.js" - And the "lineNumber" of stack frame 0 equals 20 + And the "lineNumber" of stack frame 0 equals 21 And the event "metaData.subsystem.name" equals "fs reader" And the event has a "manual" breadcrumb named "opening file" And the event does not have a "manual" breadcrumb with message "manual notify" + And the event does not have a "log" breadcrumb @skip_before_node_16 Scenario: using contextualize with an unhandled rejection (with context added) diff --git a/test/node/features/express.feature b/test/node/features/express.feature index e009ea56a5..24038b38b0 100644 --- a/test/node/features/express.feature +++ b/test/node/features/express.feature @@ -180,6 +180,7 @@ Scenario: Breadcrumbs from one request do not appear in another And I wait to receive an error Then the error is valid for the error reporting API version "4" for the "Bugsnag Node" notifier And the event has a "manual" breadcrumb named "For the first URL" + And the event has a "log" breadcrumb with message "For the first URL" And the event "request.url" equals "http://express/breadcrumbs_a" And the event "request.httpMethod" equals "GET" And the event "request.clientIp" is not null @@ -194,6 +195,25 @@ Scenario: Breadcrumbs from one request do not appear in another And the event "request.httpMethod" equals "GET" And the event "request.clientIp" is not null +Scenario: Context-aware console breadcrumbs + When I open the URL "http://express/console_breadcrumbs_a" + And I wait to receive an error + Then the error is valid for the error reporting API version "4" for the "Bugsnag Node" notifier + And the event has 1 breadcrumbs + And the event contains a breadcrumb matching the JSON fixture in "features/fixtures/express/expected_breadcrumbs/FirstURLConsoleBreadcrumb.json" + And the event "request.url" equals "http://express/console_breadcrumbs_a" + And the event "request.httpMethod" equals "GET" + And the event "request.clientIp" is not null + And I discard the oldest error + + And I open the URL "http://express/console_breadcrumbs_b" + And I wait to receive an error + Then the error is valid for the error reporting API version "4" for the "Bugsnag Node" notifier + And the event has 1 breadcrumbs + And the event contains a breadcrumb matching the JSON fixture in "features/fixtures/express/expected_breadcrumbs/SecondURLConsoleBreadcrumb.json" + And the event "request.url" equals "http://express/console_breadcrumbs_b" + And the event "request.httpMethod" equals "GET" + And the event "request.clientIp" is not null Scenario: context loss When I POST the data "some=body_data" to the URL "http://express/context-loss" diff --git a/test/node/features/fixtures/contextualize/scenarios/contextualize.js b/test/node/features/fixtures/contextualize/scenarios/contextualize.js index fe319928a7..3a119ac31e 100644 --- a/test/node/features/fixtures/contextualize/scenarios/contextualize.js +++ b/test/node/features/fixtures/contextualize/scenarios/contextualize.js @@ -11,6 +11,7 @@ Bugsnag.start({ var contextualize = Bugsnag.getPlugin('contextualize') contextualize(function () { + console.log('manual notify') Bugsnag.leaveBreadcrumb('manual notify', { message: 'manual notify' }) Bugsnag.notify(new Error('manual notify')) }, function (event) { @@ -25,3 +26,4 @@ contextualize(function () { }, function (event) { event.addMetadata('subsystem', { name: 'fs reader' }) }) + diff --git a/test/node/features/fixtures/express/expected_breadcrumbs/FirstURLConsoleBreadcrumb.json b/test/node/features/fixtures/express/expected_breadcrumbs/FirstURLConsoleBreadcrumb.json new file mode 100644 index 0000000000..09f3dc11ca --- /dev/null +++ b/test/node/features/fixtures/express/expected_breadcrumbs/FirstURLConsoleBreadcrumb.json @@ -0,0 +1,9 @@ +{ + "type": "log", + "name": "Console output", + "timestamp": "^\\d{4}\\-\\d{2}\\-\\d{2}T\\d{2}:\\d{2}:[\\d\\.]+Z?$", + "metaData": { + "severity": "log", + "[0]": "For the first URL" + } +} \ No newline at end of file diff --git a/test/node/features/fixtures/express/expected_breadcrumbs/SecondURLConsoleBreadcrumb.json b/test/node/features/fixtures/express/expected_breadcrumbs/SecondURLConsoleBreadcrumb.json new file mode 100644 index 0000000000..2ee6ec174b --- /dev/null +++ b/test/node/features/fixtures/express/expected_breadcrumbs/SecondURLConsoleBreadcrumb.json @@ -0,0 +1,9 @@ +{ + "type": "log", + "name": "Console output", + "timestamp": "^\\d{4}\\-\\d{2}\\-\\d{2}T\\d{2}:\\d{2}:[\\d\\.]+Z?$", + "metaData": { + "severity": "log", + "[0]": "For the second URL" + } +} \ No newline at end of file diff --git a/test/node/features/fixtures/express/scenarios/app.js b/test/node/features/fixtures/express/scenarios/app.js index 5878d6df9d..2df11fd208 100644 --- a/test/node/features/fixtures/express/scenarios/app.js +++ b/test/node/features/fixtures/express/scenarios/app.js @@ -179,6 +179,16 @@ app.get('/breadcrumbs_b', function (req, res) { throw new Error('Error in /breadcrumbs_b') }) +app.get('/console_breadcrumbs_a', function (req, res) { + console.log('For the first URL') + throw new Error('Error in /console_breadcrumbs_a') +}) + +app.get('/console_breadcrumbs_b', function (req, res) { + console.log('For the second URL') + throw new Error('Error in /console_breadcrumbs_b') +}) + app.post('/context-loss', (req, res, next) => { // Context is lost in this middleware because next gets From 1af00790690f3be831787aa05f5e24a2c3c0c382 Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Wed, 3 Apr 2024 16:45:27 +0100 Subject: [PATCH 02/10] add automatic console breadcrumbs to node --- .../test/console-breadcrumbs.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts b/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts index 9642b0e93e..4a3ff33810 100644 --- a/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts +++ b/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts @@ -83,12 +83,13 @@ describe('plugin: console breadcrumbs', () => { it('should use the client from the async context if it exists', () => { const c = new Client({ apiKey: 'aaaa-aaaa-aaaa-aaaa', plugins: [plugin] }) + const contextClient = new Client({ apiKey: 'aaaa-aaaa-aaaa-aaaa', plugins: [plugin] }) c._clientContext = { - getStore: () => new Client({ apiKey: 'aaaa-aaaa-aaaa-aaaa', plugins: [plugin] }) + getStore: () => contextClient } console.log(123) expect(c._breadcrumbs.length).toBe(0) - expect(c._clientContext.getStore()._breadcrumbs.length).toBe(0) + expect(c._clientContext.getStore()._breadcrumbs.length).toBe(2) plugin.destroy() }) }) From 9b5fafd2ff4ab56650d1a06dd5a0df119fae8054 Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Wed, 3 Apr 2024 16:32:48 +0000 Subject: [PATCH 03/10] v8.0.0-alpha.7 --- lerna.json | 2 +- packages/browser/package-lock.json | 2 +- packages/browser/package.json | 38 ++++++------ packages/core/package-lock.json | 2 +- packages/core/package.json | 2 +- packages/delivery-electron/package-lock.json | 2 +- packages/delivery-electron/package.json | 8 +-- packages/delivery-fetch/package-lock.json | 2 +- packages/delivery-fetch/package.json | 4 +- packages/delivery-node/package-lock.json | 2 +- packages/delivery-node/package.json | 4 +- .../delivery-react-native/package-lock.json | 2 +- packages/delivery-react-native/package.json | 4 +- .../package-lock.json | 2 +- .../delivery-x-domain-request/package.json | 4 +- .../package-lock.json | 2 +- .../delivery-xml-http-request/package.json | 4 +- packages/electron-network-status/package.json | 6 +- .../electron-test-helpers/package-lock.json | 2 +- packages/electron-test-helpers/package.json | 4 +- packages/electron/package-lock.json | 2 +- packages/electron/package.json | 60 +++++++++---------- packages/in-flight/package-lock.json | 2 +- packages/in-flight/package.json | 4 +- packages/js/package-lock.json | 2 +- packages/js/package.json | 6 +- packages/node/package-lock.json | 2 +- packages/node/package.json | 30 +++++----- packages/plugin-angular/package-lock.json | 2 +- packages/plugin-angular/package.json | 4 +- packages/plugin-app-duration/package.json | 4 +- packages/plugin-aws-lambda/package-lock.json | 2 +- packages/plugin-aws-lambda/package.json | 8 +-- .../plugin-browser-context/package-lock.json | 2 +- packages/plugin-browser-context/package.json | 4 +- .../plugin-browser-device/package-lock.json | 2 +- packages/plugin-browser-device/package.json | 4 +- .../plugin-browser-request/package-lock.json | 2 +- packages/plugin-browser-request/package.json | 4 +- .../plugin-browser-session/package-lock.json | 2 +- packages/plugin-browser-session/package.json | 4 +- packages/plugin-client-ip/package-lock.json | 2 +- packages/plugin-client-ip/package.json | 4 +- .../package-lock.json | 2 +- .../plugin-console-breadcrumbs/package.json | 4 +- .../plugin-contextualize/package-lock.json | 2 +- packages/plugin-contextualize/package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 6 +- .../plugin-electron-app/package-lock.json | 2 +- packages/plugin-electron-app/package.json | 6 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 8 +-- .../package-lock.json | 2 +- .../package.json | 6 +- .../plugin-electron-device/package-lock.json | 2 +- packages/plugin-electron-device/package.json | 6 +- .../plugin-electron-ipc/package-lock.json | 2 +- packages/plugin-electron-ipc/package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 6 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 6 +- .../package-lock.json | 2 +- .../package.json | 6 +- .../package-lock.json | 2 +- .../plugin-electron-process-info/package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 8 +-- .../package-lock.json | 2 +- .../package.json | 6 +- .../package-lock.json | 2 +- .../package.json | 6 +- .../plugin-electron-session/package-lock.json | 2 +- packages/plugin-electron-session/package.json | 8 +-- packages/plugin-express/package-lock.json | 2 +- packages/plugin-express/package.json | 4 +- .../package-lock.json | 2 +- .../plugin-inline-script-content/package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- packages/plugin-intercept/package-lock.json | 2 +- packages/plugin-intercept/package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- packages/plugin-koa/package-lock.json | 2 +- packages/plugin-koa/package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../plugin-network-breadcrumbs/package.json | 4 +- packages/plugin-node-device/package-lock.json | 2 +- packages/plugin-node-device/package.json | 4 +- .../plugin-node-in-project/package-lock.json | 2 +- packages/plugin-node-in-project/package.json | 4 +- .../package-lock.json | 2 +- .../plugin-node-surrounding-code/package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../plugin-react-native-hermes/package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../plugin-react-native-session/package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../plugin-react-navigation/package-lock.json | 2 +- packages/plugin-react-navigation/package.json | 4 +- packages/plugin-react/package-lock.json | 2 +- packages/plugin-react/package.json | 4 +- packages/plugin-restify/package-lock.json | 2 +- packages/plugin-restify/package.json | 4 +- .../plugin-server-session/package-lock.json | 2 +- packages/plugin-server-session/package.json | 4 +- .../plugin-simple-throttle/package-lock.json | 2 +- packages/plugin-simple-throttle/package.json | 4 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../plugin-strip-project-root/package.json | 4 +- .../package-lock.json | 2 +- .../plugin-strip-query-string/package.json | 4 +- packages/plugin-vue/package-lock.json | 2 +- packages/plugin-vue/package.json | 4 +- .../plugin-window-onerror/package-lock.json | 2 +- packages/plugin-window-onerror/package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- packages/react-native-cli/package-lock.json | 2 +- packages/react-native-cli/package.json | 2 +- packages/react-native/package-lock.json | 2 +- packages/react-native/package.json | 24 ++++---- packages/web-worker/package-lock.json | 2 +- packages/web-worker/package.json | 16 ++--- 149 files changed, 318 insertions(+), 318 deletions(-) diff --git a/lerna.json b/lerna.json index 3be1888bda..e49adb5123 100644 --- a/lerna.json +++ b/lerna.json @@ -3,5 +3,5 @@ "packages": [ "packages/*" ], - "version": "8.0.0-alpha.6" + "version": "8.0.0-alpha.7" } diff --git a/packages/browser/package-lock.json b/packages/browser/package-lock.json index 08a9165a34..f083d47b09 100644 --- a/packages/browser/package-lock.json +++ b/packages/browser/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/browser", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/browser/package.json b/packages/browser/package.json index cd5075c891..671a2eb4f5 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/browser", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "dist/bugsnag.js", "types": "types/bugsnag.d.ts", "description": "Bugsnag error reporter for browser JavaScript", @@ -30,25 +30,25 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/delivery-x-domain-request": "^8.0.0-alpha.6", - "@bugsnag/delivery-xml-http-request": "^8.0.0-alpha.6", - "@bugsnag/plugin-app-duration": "^8.0.0-alpha.6", - "@bugsnag/plugin-browser-context": "^8.0.0-alpha.6", - "@bugsnag/plugin-browser-device": "^8.0.0-alpha.6", - "@bugsnag/plugin-browser-request": "^8.0.0-alpha.6", - "@bugsnag/plugin-browser-session": "^8.0.0-alpha.6", - "@bugsnag/plugin-client-ip": "^8.0.0-alpha.6", - "@bugsnag/plugin-console-breadcrumbs": "^8.0.0-alpha.6", - "@bugsnag/plugin-inline-script-content": "^8.0.0-alpha.6", - "@bugsnag/plugin-interaction-breadcrumbs": "^8.0.0-alpha.6", - "@bugsnag/plugin-navigation-breadcrumbs": "^8.0.0-alpha.6", - "@bugsnag/plugin-network-breadcrumbs": "^8.0.0-alpha.6", - "@bugsnag/plugin-simple-throttle": "^8.0.0-alpha.6", - "@bugsnag/plugin-strip-query-string": "^8.0.0-alpha.6", - "@bugsnag/plugin-window-onerror": "^8.0.0-alpha.6", - "@bugsnag/plugin-window-unhandled-rejection": "^8.0.0-alpha.6" + "@bugsnag/delivery-x-domain-request": "^8.0.0-alpha.7", + "@bugsnag/delivery-xml-http-request": "^8.0.0-alpha.7", + "@bugsnag/plugin-app-duration": "^8.0.0-alpha.7", + "@bugsnag/plugin-browser-context": "^8.0.0-alpha.7", + "@bugsnag/plugin-browser-device": "^8.0.0-alpha.7", + "@bugsnag/plugin-browser-request": "^8.0.0-alpha.7", + "@bugsnag/plugin-browser-session": "^8.0.0-alpha.7", + "@bugsnag/plugin-client-ip": "^8.0.0-alpha.7", + "@bugsnag/plugin-console-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-inline-script-content": "^8.0.0-alpha.7", + "@bugsnag/plugin-interaction-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-navigation-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-network-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-simple-throttle": "^8.0.0-alpha.7", + "@bugsnag/plugin-strip-query-string": "^8.0.0-alpha.7", + "@bugsnag/plugin-window-onerror": "^8.0.0-alpha.7", + "@bugsnag/plugin-window-unhandled-rejection": "^8.0.0-alpha.7" }, "dependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" } } diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 3c3492449b..be9c49e45e 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/core", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/core/package.json b/packages/core/package.json index 6609f5cf74..d69b96b361 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@bugsnag/core", "main": "index.js", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "types": "types/index.d.ts", "description": "Core classes and utilities for Bugsnag notifiers", "homepage": "https://www.bugsnag.com/", diff --git a/packages/delivery-electron/package-lock.json b/packages/delivery-electron/package-lock.json index 3fdb81ea51..180c9e2232 100644 --- a/packages/delivery-electron/package-lock.json +++ b/packages/delivery-electron/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/delivery-electron", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/delivery-electron/package.json b/packages/delivery-electron/package.json index 5079bfcb48..9228a1cd0a 100644 --- a/packages/delivery-electron/package.json +++ b/packages/delivery-electron/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/delivery-electron", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "delivery.js", "description": "@bugsnag/electron delivery mechanism to send events, sessions, and crash dumps from Electron apps", "homepage": "https://www.bugsnag.com/", @@ -17,9 +17,9 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-network-status": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-client-state-manager": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-network-status": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-client-state-manager": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1", diff --git a/packages/delivery-fetch/package-lock.json b/packages/delivery-fetch/package-lock.json index e54890e030..46cc779029 100644 --- a/packages/delivery-fetch/package-lock.json +++ b/packages/delivery-fetch/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/delivery-fetch", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/delivery-fetch/package.json b/packages/delivery-fetch/package.json index b4773f844e..fb669d93dc 100644 --- a/packages/delivery-fetch/package.json +++ b/packages/delivery-fetch/package.json @@ -1,7 +1,7 @@ { "name": "@bugsnag/delivery-fetch", "author": "Bugsnag", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "delivery.js", "description": "@bugsnag/js delivery mechanism using the fetch API", "homepage": "https://www.bugsnag.com/", @@ -14,7 +14,7 @@ }, "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/delivery-node/package-lock.json b/packages/delivery-node/package-lock.json index e8fcd88d38..5cf5e851d1 100644 --- a/packages/delivery-node/package-lock.json +++ b/packages/delivery-node/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/delivery-node", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/delivery-node/package.json b/packages/delivery-node/package.json index 69759309f3..2735c69b8d 100644 --- a/packages/delivery-node/package.json +++ b/packages/delivery-node/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/delivery-node", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "delivery.js", "description": "@bugsnag/node delivery mechanism", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/delivery-react-native/package-lock.json b/packages/delivery-react-native/package-lock.json index 64c4f59637..a13e800f99 100644 --- a/packages/delivery-react-native/package-lock.json +++ b/packages/delivery-react-native/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/delivery-react-native", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/delivery-react-native/package.json b/packages/delivery-react-native/package.json index 562c3acfce..07005e6b9d 100644 --- a/packages/delivery-react-native/package.json +++ b/packages/delivery-react-native/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/delivery-react-native", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "delivery.js", "description": "@bugsnag/js delivery mechanism for React Native", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/delivery-x-domain-request/package-lock.json b/packages/delivery-x-domain-request/package-lock.json index 1681044256..a6e108237d 100644 --- a/packages/delivery-x-domain-request/package-lock.json +++ b/packages/delivery-x-domain-request/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/delivery-x-domain-request", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/delivery-x-domain-request/package.json b/packages/delivery-x-domain-request/package.json index 9ec9c7545c..156ba3ff80 100644 --- a/packages/delivery-x-domain-request/package.json +++ b/packages/delivery-x-domain-request/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/delivery-x-domain-request", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "delivery.js", "description": "@bugsnag/js delivery mechanism for IE 8, 9 and 10", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/delivery-xml-http-request/package-lock.json b/packages/delivery-xml-http-request/package-lock.json index a7fe82a23b..852dbd5037 100644 --- a/packages/delivery-xml-http-request/package-lock.json +++ b/packages/delivery-xml-http-request/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/delivery-xml-http-request", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/delivery-xml-http-request/package.json b/packages/delivery-xml-http-request/package.json index 666217f123..546fef11a2 100644 --- a/packages/delivery-xml-http-request/package.json +++ b/packages/delivery-xml-http-request/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/delivery-xml-http-request", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "delivery.js", "description": "@bugsnag/js delivery mechanism for most browsers", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/electron-network-status/package.json b/packages/electron-network-status/package.json index 06156e9dc1..71cb7bd43f 100644 --- a/packages/electron-network-status/package.json +++ b/packages/electron-network-status/package.json @@ -1,14 +1,14 @@ { "name": "@bugsnag/electron-network-status", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "network-status.js", "description": "@bugsnag/electron package for watching network status", "author": "Bugsnag", "license": "MIT", "homepage": "https://www.bugsnag.com/", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-client-state-manager": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-client-state-manager": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/electron-test-helpers/package-lock.json b/packages/electron-test-helpers/package-lock.json index 66a0ab6569..5377efb1ca 100644 --- a/packages/electron-test-helpers/package-lock.json +++ b/packages/electron-test-helpers/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/electron-test-helpers", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/electron-test-helpers/package.json b/packages/electron-test-helpers/package.json index 9f8595eec3..c903a5e221 100644 --- a/packages/electron-test-helpers/package.json +++ b/packages/electron-test-helpers/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/electron-test-helpers", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "helpers.ts", "description": "Test helpers for @bugsnag/electron", "repository": { @@ -15,7 +15,7 @@ "helpers.ts" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/electron/package-lock.json b/packages/electron/package-lock.json index 6082bebcbf..9985ab3df7 100644 --- a/packages/electron/package-lock.json +++ b/packages/electron/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/electron", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/electron/package.json b/packages/electron/package.json index 47dac13e79..5de127ae17 100644 --- a/packages/electron/package.json +++ b/packages/electron/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/electron", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "src/notifier.js", "types": "types/notifier.d.ts", "description": "@bugsnag/electron notifier", @@ -16,35 +16,35 @@ "author": "Bugsnag", "license": "MIT", "dependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/delivery-electron": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/delivery-electron": "^8.0.0-alpha.7", "@bugsnag/electron-filestore": "^7.16.2", - "@bugsnag/electron-network-status": "^8.0.0-alpha.6", - "@bugsnag/plugin-console-breadcrumbs": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-app": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-app-breadcrumbs": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-client-state-manager": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-client-state-persistence": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-deliver-minidumps": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-device": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-ipc": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-net-breadcrumbs": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-network-status": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-preload-error": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-process-info": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-renderer-client-state-updates": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-renderer-event-data": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-renderer-strip-project-root": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-session": "^8.0.0-alpha.6", - "@bugsnag/plugin-interaction-breadcrumbs": "^8.0.0-alpha.6", - "@bugsnag/plugin-internal-callback-marker": "^8.0.0-alpha.6", - "@bugsnag/plugin-network-breadcrumbs": "^8.0.0-alpha.6", - "@bugsnag/plugin-node-surrounding-code": "^8.0.0-alpha.6", - "@bugsnag/plugin-node-uncaught-exception": "^8.0.0-alpha.6", - "@bugsnag/plugin-node-unhandled-rejection": "^8.0.0-alpha.6", - "@bugsnag/plugin-stackframe-path-normaliser": "^8.0.0-alpha.6", - "@bugsnag/plugin-strip-project-root": "^8.0.0-alpha.6", - "@bugsnag/plugin-window-onerror": "^8.0.0-alpha.6", - "@bugsnag/plugin-window-unhandled-rejection": "^8.0.0-alpha.6" + "@bugsnag/electron-network-status": "^8.0.0-alpha.7", + "@bugsnag/plugin-console-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-app": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-app-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-client-state-manager": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-client-state-persistence": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-deliver-minidumps": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-device": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-ipc": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-net-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-network-status": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-preload-error": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-process-info": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-renderer-client-state-updates": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-renderer-event-data": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-renderer-strip-project-root": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-session": "^8.0.0-alpha.7", + "@bugsnag/plugin-interaction-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-internal-callback-marker": "^8.0.0-alpha.7", + "@bugsnag/plugin-network-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-node-surrounding-code": "^8.0.0-alpha.7", + "@bugsnag/plugin-node-uncaught-exception": "^8.0.0-alpha.7", + "@bugsnag/plugin-node-unhandled-rejection": "^8.0.0-alpha.7", + "@bugsnag/plugin-stackframe-path-normaliser": "^8.0.0-alpha.7", + "@bugsnag/plugin-strip-project-root": "^8.0.0-alpha.7", + "@bugsnag/plugin-window-onerror": "^8.0.0-alpha.7", + "@bugsnag/plugin-window-unhandled-rejection": "^8.0.0-alpha.7" } } diff --git a/packages/in-flight/package-lock.json b/packages/in-flight/package-lock.json index e36db283bf..06d8aed729 100644 --- a/packages/in-flight/package-lock.json +++ b/packages/in-flight/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/in-flight", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/in-flight/package.json b/packages/in-flight/package.json index f5d8e2cd14..99a459d1a8 100644 --- a/packages/in-flight/package.json +++ b/packages/in-flight/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/in-flight", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "src/in-flight.js", "types": "types/bugsnag-in-flight.d.ts", "description": "Internal package to keep track of in-flight requests to Bugsnag", @@ -22,7 +22,7 @@ "@bugsnag/cuid": "^3.0.0" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/js/package-lock.json b/packages/js/package-lock.json index 9dd91132ef..ebeeedb6e3 100644 --- a/packages/js/package-lock.json +++ b/packages/js/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/js", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/js/package.json b/packages/js/package.json index 088a7fd47e..1cb0ba59d8 100644 --- a/packages/js/package.json +++ b/packages/js/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/js", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "node/notifier.js", "browser": "browser/notifier.js", "types": "types.d.ts", @@ -33,8 +33,8 @@ "author": "Bugsnag", "license": "MIT", "dependencies": { - "@bugsnag/browser": "^8.0.0-alpha.6", - "@bugsnag/node": "^8.0.0-alpha.6" + "@bugsnag/browser": "^8.0.0-alpha.7", + "@bugsnag/node": "^8.0.0-alpha.7" }, "devDependencies": { "@babel/cli": "^7.0.0" diff --git a/packages/node/package-lock.json b/packages/node/package-lock.json index fff61d0857..441f81286d 100644 --- a/packages/node/package-lock.json +++ b/packages/node/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/node", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/node/package.json b/packages/node/package.json index c9b85d37f9..5927c70153 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/node", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "dist/bugsnag.js", "types": "types/bugsnag.d.ts", "description": "Bugsnag error reporter for Node.js", @@ -24,22 +24,22 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/delivery-node": "^8.0.0-alpha.6", - "@bugsnag/plugin-app-duration": "^8.0.0-alpha.6", - "@bugsnag/plugin-contextualize": "^8.0.0-alpha.6", - "@bugsnag/plugin-intercept": "^8.0.0-alpha.6", - "@bugsnag/plugin-node-device": "^8.0.0-alpha.6", - "@bugsnag/plugin-node-in-project": "^8.0.0-alpha.6", - "@bugsnag/plugin-node-surrounding-code": "^8.0.0-alpha.6", - "@bugsnag/plugin-node-uncaught-exception": "^8.0.0-alpha.6", - "@bugsnag/plugin-node-unhandled-rejection": "^8.0.0-alpha.6", - "@bugsnag/plugin-server-session": "^8.0.0-alpha.6", - "@bugsnag/plugin-stackframe-path-normaliser": "^8.0.0-alpha.6", - "@bugsnag/plugin-strip-project-root": "^8.0.0-alpha.6", - "@bugsnag/plugin-console-breadcrumbs": "^8.0.0-alpha.6" + "@bugsnag/delivery-node": "^8.0.0-alpha.7", + "@bugsnag/plugin-app-duration": "^8.0.0-alpha.7", + "@bugsnag/plugin-console-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-contextualize": "^8.0.0-alpha.7", + "@bugsnag/plugin-intercept": "^8.0.0-alpha.7", + "@bugsnag/plugin-node-device": "^8.0.0-alpha.7", + "@bugsnag/plugin-node-in-project": "^8.0.0-alpha.7", + "@bugsnag/plugin-node-surrounding-code": "^8.0.0-alpha.7", + "@bugsnag/plugin-node-uncaught-exception": "^8.0.0-alpha.7", + "@bugsnag/plugin-node-unhandled-rejection": "^8.0.0-alpha.7", + "@bugsnag/plugin-server-session": "^8.0.0-alpha.7", + "@bugsnag/plugin-stackframe-path-normaliser": "^8.0.0-alpha.7", + "@bugsnag/plugin-strip-project-root": "^8.0.0-alpha.7" }, "dependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", "byline": "^5.0.0", "error-stack-parser": "^2.0.2", "iserror": "^0.0.2", diff --git a/packages/plugin-angular/package-lock.json b/packages/plugin-angular/package-lock.json index 78a99eb917..3b3cf07cb9 100644 --- a/packages/plugin-angular/package-lock.json +++ b/packages/plugin-angular/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-angular", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-angular/package.json b/packages/plugin-angular/package.json index 5f4ae40441..99bd86b6c1 100644 --- a/packages/plugin-angular/package.json +++ b/packages/plugin-angular/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-angular", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "description": "Angular integration for bugsnag-js", "main": "dist/esm5/index.js", "browser": "dist/esm5/index.js", @@ -34,7 +34,7 @@ "@angular/compiler": "^7.2.15", "@angular/compiler-cli": "^7.2.15", "@angular/core": "^7.2.15", - "@bugsnag/js": "^8.0.0-alpha.6", + "@bugsnag/js": "^8.0.0-alpha.7", "rxjs": "^5.5.8", "typescript": "^3.2.4", "zone.js": "^0.8.26" diff --git a/packages/plugin-app-duration/package.json b/packages/plugin-app-duration/package.json index f66dfec41f..39f93e0b12 100644 --- a/packages/plugin-app-duration/package.json +++ b/packages/plugin-app-duration/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-app-duration", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "app.js", "description": "@bugsnag/js plugin to set app duration in browsers and node", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-aws-lambda/package-lock.json b/packages/plugin-aws-lambda/package-lock.json index df99206f8e..9f033d87d5 100644 --- a/packages/plugin-aws-lambda/package-lock.json +++ b/packages/plugin-aws-lambda/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-aws-lambda", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-aws-lambda/package.json b/packages/plugin-aws-lambda/package.json index 8ada9ca632..d441f51237 100644 --- a/packages/plugin-aws-lambda/package.json +++ b/packages/plugin-aws-lambda/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-aws-lambda", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "dist/bugsnag-aws-lambda.js", "types": "types/bugsnag-plugin-aws-lambda.d.ts", "description": "AWS Lambda support for @bugsnag/node", @@ -23,11 +23,11 @@ "author": "Bugsnag", "license": "MIT", "dependencies": { - "@bugsnag/in-flight": "^8.0.0-alpha.6", - "@bugsnag/plugin-browser-session": "^8.0.0-alpha.6" + "@bugsnag/in-flight": "^8.0.0-alpha.7", + "@bugsnag/plugin-browser-session": "^8.0.0-alpha.7" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", "@types/aws-lambda": "^8.10.76", "@vendia/serverless-express": "^4.10.1", "express": "^4.18.2" diff --git a/packages/plugin-browser-context/package-lock.json b/packages/plugin-browser-context/package-lock.json index 523faeb28e..8c733810f0 100644 --- a/packages/plugin-browser-context/package-lock.json +++ b/packages/plugin-browser-context/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-browser-context", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-browser-context/package.json b/packages/plugin-browser-context/package.json index 1d658bfcea..d53771f7f6 100644 --- a/packages/plugin-browser-context/package.json +++ b/packages/plugin-browser-context/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-browser-context", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "context.js", "description": "@bugsnag/js plugin to set event context in browsers", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-browser-device/package-lock.json b/packages/plugin-browser-device/package-lock.json index 7faa9f17ea..7989b68b35 100644 --- a/packages/plugin-browser-device/package-lock.json +++ b/packages/plugin-browser-device/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-browser-device", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-browser-device/package.json b/packages/plugin-browser-device/package.json index 7444939580..8329ea3790 100644 --- a/packages/plugin-browser-device/package.json +++ b/packages/plugin-browser-device/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-browser-device", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "device.js", "description": "@bugsnag/js plugin to set device info in browsers", "homepage": "https://www.bugsnag.com/", @@ -20,7 +20,7 @@ "@bugsnag/cuid": "^3.0.0" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-browser-request/package-lock.json b/packages/plugin-browser-request/package-lock.json index 03c5d56aea..d6b3588dbb 100644 --- a/packages/plugin-browser-request/package-lock.json +++ b/packages/plugin-browser-request/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-browser-request", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-browser-request/package.json b/packages/plugin-browser-request/package.json index 5066b4b705..e513713b39 100644 --- a/packages/plugin-browser-request/package.json +++ b/packages/plugin-browser-request/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-browser-request", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "request.js", "description": "@bugsnag/js plugin to set request info in browsers", "homepage": "https://www.bugsnag.com/", @@ -18,7 +18,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-browser-session/package-lock.json b/packages/plugin-browser-session/package-lock.json index e76156f801..91e482098c 100644 --- a/packages/plugin-browser-session/package-lock.json +++ b/packages/plugin-browser-session/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-browser-session", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-browser-session/package.json b/packages/plugin-browser-session/package.json index 8d3d48e4df..1a5d8a9d21 100644 --- a/packages/plugin-browser-session/package.json +++ b/packages/plugin-browser-session/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-browser-session", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "session.js", "description": "@bugsnag/js plugin to enable session tracking in browsers", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-client-ip/package-lock.json b/packages/plugin-client-ip/package-lock.json index 751a8e61a3..0c07226798 100644 --- a/packages/plugin-client-ip/package-lock.json +++ b/packages/plugin-client-ip/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-client-ip", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-client-ip/package.json b/packages/plugin-client-ip/package.json index ab8afd844c..2b2c7c9086 100644 --- a/packages/plugin-client-ip/package.json +++ b/packages/plugin-client-ip/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-client-ip", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "client-ip.js", "description": "@bugsnag/js plugin to disable client IP from error reports", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-console-breadcrumbs/package-lock.json b/packages/plugin-console-breadcrumbs/package-lock.json index b1575a98a4..6b413e2cb0 100644 --- a/packages/plugin-console-breadcrumbs/package-lock.json +++ b/packages/plugin-console-breadcrumbs/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-console-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-console-breadcrumbs/package.json b/packages/plugin-console-breadcrumbs/package.json index 8a0f2820e4..012c8dbea4 100644 --- a/packages/plugin-console-breadcrumbs/package.json +++ b/packages/plugin-console-breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-console-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "console-breadcrumbs.js", "description": "@bugsnag/js plugin to record console log method calls as breadcrumbs", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-contextualize/package-lock.json b/packages/plugin-contextualize/package-lock.json index e3e83a3abe..a52b851f50 100644 --- a/packages/plugin-contextualize/package-lock.json +++ b/packages/plugin-contextualize/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-contextualize", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-contextualize/package.json b/packages/plugin-contextualize/package.json index 5d878d7493..ff0ec77bb8 100644 --- a/packages/plugin-contextualize/package.json +++ b/packages/plugin-contextualize/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-contextualize", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "contextualize.js", "description": "@bugsnag/js plugin to add context to unhandled events", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-electron-app-breadcrumbs/package-lock.json b/packages/plugin-electron-app-breadcrumbs/package-lock.json index b3064fc9ea..1707f44adf 100644 --- a/packages/plugin-electron-app-breadcrumbs/package-lock.json +++ b/packages/plugin-electron-app-breadcrumbs/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-app-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-app-breadcrumbs/package.json b/packages/plugin-electron-app-breadcrumbs/package.json index 653537e25b..4751d7e496 100644 --- a/packages/plugin-electron-app-breadcrumbs/package.json +++ b/packages/plugin-electron-app-breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-app-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "app-breadcrumbs.js", "description": "@bugsnag/electron plugin to collect breadcrumbs for app lifecycle events", "repository": { @@ -17,8 +17,8 @@ "lodash.debounce": "^4.0.8" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-test-helpers": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-test-helpers": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-electron-app/package-lock.json b/packages/plugin-electron-app/package-lock.json index c7045ebad2..2ee65fe333 100644 --- a/packages/plugin-electron-app/package-lock.json +++ b/packages/plugin-electron-app/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-app", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-app/package.json b/packages/plugin-electron-app/package.json index 73b061bc0e..38fb64647e 100644 --- a/packages/plugin-electron-app/package.json +++ b/packages/plugin-electron-app/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-app", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "app.js", "description": "@bugsnag/electron plugin to collect app information", "repository": { @@ -25,8 +25,8 @@ "generate-compile-commands": "node-gyp configure --release -- -f gyp.generator.compile_commands_json.py; mv Release/compile_commands.json .; rm -rf Debug Release" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-test-helpers": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-test-helpers": "^8.0.0-alpha.7" }, "dependencies": { "bindings": "^1.5.0" diff --git a/packages/plugin-electron-client-state-manager/package-lock.json b/packages/plugin-electron-client-state-manager/package-lock.json index e921b37077..fbe45cac4d 100644 --- a/packages/plugin-electron-client-state-manager/package-lock.json +++ b/packages/plugin-electron-client-state-manager/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-client-state-manager", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-client-state-manager/package.json b/packages/plugin-electron-client-state-manager/package.json index e6bf3a4268..158b661603 100644 --- a/packages/plugin-electron-client-state-manager/package.json +++ b/packages/plugin-electron-client-state-manager/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-client-state-manager", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "client-state-manager.js", "description": "@bugsnag/electron plugin to sync state between various processes", "homepage": "https://www.bugsnag.com/", @@ -19,7 +19,7 @@ "client-state-manager.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-electron-client-state-persistence/package-lock.json b/packages/plugin-electron-client-state-persistence/package-lock.json index 2efeb3a8f6..7c80a30964 100644 --- a/packages/plugin-electron-client-state-persistence/package-lock.json +++ b/packages/plugin-electron-client-state-persistence/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-client-state-persistence", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-client-state-persistence/package.json b/packages/plugin-electron-client-state-persistence/package.json index c8fcffbdd6..01f210b1ad 100644 --- a/packages/plugin-electron-client-state-persistence/package.json +++ b/packages/plugin-electron-client-state-persistence/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-client-state-persistence", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "client-state-persistence.js", "description": "@bugsnag/electron plugin to sync information between JS and native layer", "homepage": "https://www.bugsnag.com/", @@ -39,9 +39,9 @@ "bindings": "^1.5.0" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-test-helpers": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-client-state-manager": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-test-helpers": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-client-state-manager": "^8.0.0-alpha.7", "@types/bindings": "^1.5.0" }, "peerDependencies": { diff --git a/packages/plugin-electron-deliver-minidumps/package-lock.json b/packages/plugin-electron-deliver-minidumps/package-lock.json index c345989b2e..f84e91ca18 100644 --- a/packages/plugin-electron-deliver-minidumps/package-lock.json +++ b/packages/plugin-electron-deliver-minidumps/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-deliver-minidumps", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-deliver-minidumps/package.json b/packages/plugin-electron-deliver-minidumps/package.json index b21001460f..a82acd88f2 100644 --- a/packages/plugin-electron-deliver-minidumps/package.json +++ b/packages/plugin-electron-deliver-minidumps/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-deliver-minidumps", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "deliver-minidumps.js", "description": "@bugsnag/electron plugin to deliver minidumps to Bugsnag", "homepage": "https://www.bugsnag.com/", @@ -22,8 +22,8 @@ "form-data": "^4.0.0" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-network-status": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-network-status": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1", diff --git a/packages/plugin-electron-device/package-lock.json b/packages/plugin-electron-device/package-lock.json index b4371f4b16..d36f54da64 100644 --- a/packages/plugin-electron-device/package-lock.json +++ b/packages/plugin-electron-device/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-device", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-device/package.json b/packages/plugin-electron-device/package.json index 6a68e22fdd..9641dcd3bb 100644 --- a/packages/plugin-electron-device/package.json +++ b/packages/plugin-electron-device/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-device", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "device.js", "description": "@bugsnag/electron plugin to collect device information", "repository": { @@ -14,8 +14,8 @@ "device.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-test-helpers": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-test-helpers": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-electron-ipc/package-lock.json b/packages/plugin-electron-ipc/package-lock.json index 4316217045..5be809ad98 100644 --- a/packages/plugin-electron-ipc/package-lock.json +++ b/packages/plugin-electron-ipc/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-ipc", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-ipc/package.json b/packages/plugin-electron-ipc/package.json index 262a7e7525..16cf0386ed 100644 --- a/packages/plugin-electron-ipc/package.json +++ b/packages/plugin-electron-ipc/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-ipc", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "electron-ipc.js", "description": "@bugsnag/electron plugin to create the IPC layer between main and renderer processes", "repository": { @@ -22,7 +22,7 @@ "@bugsnag/core": "^8.0.0-alpha.1" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", "browserify": "^17.0.0" }, "dependencies": { diff --git a/packages/plugin-electron-net-breadcrumbs/package-lock.json b/packages/plugin-electron-net-breadcrumbs/package-lock.json index 22b1a5c97a..43ac876257 100644 --- a/packages/plugin-electron-net-breadcrumbs/package-lock.json +++ b/packages/plugin-electron-net-breadcrumbs/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-net-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-net-breadcrumbs/package.json b/packages/plugin-electron-net-breadcrumbs/package.json index 414e61c6a2..164acf5a90 100644 --- a/packages/plugin-electron-net-breadcrumbs/package.json +++ b/packages/plugin-electron-net-breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-net-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "net-breadcrumbs.js", "description": "@bugsnag/electron plugin to collect breadcrumbs from requests made with the net module", "repository": { @@ -14,8 +14,8 @@ "net-breadcrumbs.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-test-helpers": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-test-helpers": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-electron-network-status/package-lock.json b/packages/plugin-electron-network-status/package-lock.json index dee4bc36e3..124ce7461d 100644 --- a/packages/plugin-electron-network-status/package-lock.json +++ b/packages/plugin-electron-network-status/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-network-status", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-network-status/package.json b/packages/plugin-electron-network-status/package.json index 55c14f25ca..a512e163b6 100644 --- a/packages/plugin-electron-network-status/package.json +++ b/packages/plugin-electron-network-status/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-network-status", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "network-status.js", "description": "@bugsnag/electron plugin to monitor the network status", "repository": { @@ -14,7 +14,7 @@ "network-status.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-electron-power-monitor-breadcrumbs/package-lock.json b/packages/plugin-electron-power-monitor-breadcrumbs/package-lock.json index c2cd48b104..d9c44bbc40 100644 --- a/packages/plugin-electron-power-monitor-breadcrumbs/package-lock.json +++ b/packages/plugin-electron-power-monitor-breadcrumbs/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-power-monitor-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-power-monitor-breadcrumbs/package.json b/packages/plugin-electron-power-monitor-breadcrumbs/package.json index f1f33578e1..56c5c75682 100644 --- a/packages/plugin-electron-power-monitor-breadcrumbs/package.json +++ b/packages/plugin-electron-power-monitor-breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-power-monitor-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "power-monitor-breadcrumbs.js", "description": "@bugsnag/electron plugin to collect power state breadcrumbs", "repository": { @@ -14,8 +14,8 @@ "power-monitor-breadcrumbs.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-test-helpers": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-test-helpers": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-electron-preload-error/package-lock.json b/packages/plugin-electron-preload-error/package-lock.json index 1c1ad1eb59..c3bec36dfc 100644 --- a/packages/plugin-electron-preload-error/package-lock.json +++ b/packages/plugin-electron-preload-error/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-preload-error", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-preload-error/package.json b/packages/plugin-electron-preload-error/package.json index 995cb93e6d..42db1c9ab3 100644 --- a/packages/plugin-electron-preload-error/package.json +++ b/packages/plugin-electron-preload-error/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-preload-error", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "preload-error.js", "description": "@bugsnag/electron plugin to handle errors in preload scripts", "repository": { @@ -15,8 +15,8 @@ "preload-error.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-test-helpers": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-test-helpers": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-electron-process-info/package-lock.json b/packages/plugin-electron-process-info/package-lock.json index fca1b77b55..8f6d0ab3a2 100644 --- a/packages/plugin-electron-process-info/package-lock.json +++ b/packages/plugin-electron-process-info/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-process-info", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-process-info/package.json b/packages/plugin-electron-process-info/package.json index adf9239afd..a28fdfa884 100644 --- a/packages/plugin-electron-process-info/package.json +++ b/packages/plugin-electron-process-info/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-process-info", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "procinfo.js", "description": "@bugsnag/electron plugin to collect process information for errors", "repository": { @@ -14,7 +14,7 @@ "procinfo.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-electron-renderer-client-state-updates/package-lock.json b/packages/plugin-electron-renderer-client-state-updates/package-lock.json index 946ddb0c45..205609df96 100644 --- a/packages/plugin-electron-renderer-client-state-updates/package-lock.json +++ b/packages/plugin-electron-renderer-client-state-updates/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-renderer-client-state-updates", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-renderer-client-state-updates/package.json b/packages/plugin-electron-renderer-client-state-updates/package.json index 2e0cb9c35e..5bc3402fb3 100644 --- a/packages/plugin-electron-renderer-client-state-updates/package.json +++ b/packages/plugin-electron-renderer-client-state-updates/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-renderer-client-state-updates", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "client-state-updates.js", "description": "@bugsnag/electron plugin to sync information between JS renderers", "homepage": "https://www.bugsnag.com/", @@ -19,7 +19,7 @@ "client-state-updates.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-electron-renderer-event-data/package-lock.json b/packages/plugin-electron-renderer-event-data/package-lock.json index a58429882a..bbb9429435 100644 --- a/packages/plugin-electron-renderer-event-data/package-lock.json +++ b/packages/plugin-electron-renderer-event-data/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-renderer-event-data", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-renderer-event-data/package.json b/packages/plugin-electron-renderer-event-data/package.json index 318104f16e..06ddeebcff 100644 --- a/packages/plugin-electron-renderer-event-data/package.json +++ b/packages/plugin-electron-renderer-event-data/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-renderer-event-data", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "renderer-event-data.js", "description": "@bugsnag/electron plugin to get fully populated event data in renderer callbacks", "homepage": "https://www.bugsnag.com/", @@ -19,9 +19,9 @@ "renderer-event-data.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-test-helpers": "^8.0.0-alpha.6", - "@bugsnag/plugin-electron-renderer-strip-project-root": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-test-helpers": "^8.0.0-alpha.7", + "@bugsnag/plugin-electron-renderer-strip-project-root": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1", diff --git a/packages/plugin-electron-renderer-strip-project-root/package-lock.json b/packages/plugin-electron-renderer-strip-project-root/package-lock.json index 03ac82543e..d2afc1fb80 100644 --- a/packages/plugin-electron-renderer-strip-project-root/package-lock.json +++ b/packages/plugin-electron-renderer-strip-project-root/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-renderer-strip-project-root", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-renderer-strip-project-root/package.json b/packages/plugin-electron-renderer-strip-project-root/package.json index 56c0525da4..1cd19d64d0 100644 --- a/packages/plugin-electron-renderer-strip-project-root/package.json +++ b/packages/plugin-electron-renderer-strip-project-root/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-renderer-strip-project-root", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "strip-project-root.js", "description": "@bugsnag/electron plugin to strip the project root from stack traces", "homepage": "https://www.bugsnag.com/", @@ -15,8 +15,8 @@ "*.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-test-helpers": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-test-helpers": "^8.0.0-alpha.7" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-electron-screen-breadcrumbs/package-lock.json b/packages/plugin-electron-screen-breadcrumbs/package-lock.json index d81d31f23a..b81889c6da 100644 --- a/packages/plugin-electron-screen-breadcrumbs/package-lock.json +++ b/packages/plugin-electron-screen-breadcrumbs/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-screen-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-screen-breadcrumbs/package.json b/packages/plugin-electron-screen-breadcrumbs/package.json index 0c6f56553f..707722b13a 100644 --- a/packages/plugin-electron-screen-breadcrumbs/package.json +++ b/packages/plugin-electron-screen-breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-screen-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "screen-breadcrumbs.js", "description": "@bugsnag/electron plugin to collect screen breadcrumbs", "repository": { @@ -14,8 +14,8 @@ "screen-breadcrumbs.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-test-helpers": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-test-helpers": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-electron-session/package-lock.json b/packages/plugin-electron-session/package-lock.json index c99b20a723..c22b857e68 100644 --- a/packages/plugin-electron-session/package-lock.json +++ b/packages/plugin-electron-session/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-session", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-electron-session/package.json b/packages/plugin-electron-session/package.json index 20faa79aaa..b1cf53fd66 100644 --- a/packages/plugin-electron-session/package.json +++ b/packages/plugin-electron-session/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-electron-session", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "session.js", "description": "@bugsnag/electron plugin for sessions", "repository": { @@ -14,11 +14,11 @@ "session.js" ], "dependencies": { - "@bugsnag/plugin-browser-session": "^8.0.0-alpha.6" + "@bugsnag/plugin-browser-session": "^8.0.0-alpha.7" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/electron-test-helpers": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/electron-test-helpers": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-express/package-lock.json b/packages/plugin-express/package-lock.json index 26e85db314..16a3effddd 100644 --- a/packages/plugin-express/package-lock.json +++ b/packages/plugin-express/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-express", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-express/package.json b/packages/plugin-express/package.json index 0ce8812283..fd9d7caed5 100644 --- a/packages/plugin-express/package.json +++ b/packages/plugin-express/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-express", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "dist/bugsnag-express.js", "types": "types/bugsnag-express.d.ts", "description": "@bugsnag/js error handling middleware for Express (and Connect) web servers", @@ -27,7 +27,7 @@ "@bugsnag/core": "^8.0.0-alpha.1" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", "@types/express": "^4.17.6" }, "dependencies": { diff --git a/packages/plugin-inline-script-content/package-lock.json b/packages/plugin-inline-script-content/package-lock.json index 50cce6a487..c5cb0b1d4c 100644 --- a/packages/plugin-inline-script-content/package-lock.json +++ b/packages/plugin-inline-script-content/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-inline-script-content", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-inline-script-content/package.json b/packages/plugin-inline-script-content/package.json index f35a20f9dc..5d2076fcd1 100644 --- a/packages/plugin-inline-script-content/package.json +++ b/packages/plugin-inline-script-content/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-inline-script-content", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "inline-script-content.js", "description": "@bugsnag/js plugin to attach inline script content to error events", "homepage": "https://www.bugsnag.com/", @@ -18,7 +18,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-interaction-breadcrumbs/package-lock.json b/packages/plugin-interaction-breadcrumbs/package-lock.json index 01bdd44ffe..75fe0b2d9b 100644 --- a/packages/plugin-interaction-breadcrumbs/package-lock.json +++ b/packages/plugin-interaction-breadcrumbs/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-interaction-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-interaction-breadcrumbs/package.json b/packages/plugin-interaction-breadcrumbs/package.json index 053d3b9c5e..dd4b5b6519 100644 --- a/packages/plugin-interaction-breadcrumbs/package.json +++ b/packages/plugin-interaction-breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-interaction-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "interaction-breadcrumbs.js", "description": "@bugsnag/js plugin to record UI click events as breadcrumbs", "homepage": "https://www.bugsnag.com/", @@ -18,7 +18,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-intercept/package-lock.json b/packages/plugin-intercept/package-lock.json index 34d3930753..138e503010 100644 --- a/packages/plugin-intercept/package-lock.json +++ b/packages/plugin-intercept/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-intercept", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-intercept/package.json b/packages/plugin-intercept/package.json index a1cba60e75..1be407a03c 100644 --- a/packages/plugin-intercept/package.json +++ b/packages/plugin-intercept/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-intercept", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "intercept.js", "description": "@bugsnag/js plugin providing convenience functions for intercepting asynchronous errors", "homepage": "https://www.bugsnag.com/", @@ -18,7 +18,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-internal-callback-marker/package-lock.json b/packages/plugin-internal-callback-marker/package-lock.json index 04ba07ee53..48a67b05b2 100644 --- a/packages/plugin-internal-callback-marker/package-lock.json +++ b/packages/plugin-internal-callback-marker/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-internal-callback-marker", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-internal-callback-marker/package.json b/packages/plugin-internal-callback-marker/package.json index bbb72a07a0..98e1a53032 100644 --- a/packages/plugin-internal-callback-marker/package.json +++ b/packages/plugin-internal-callback-marker/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-internal-callback-marker", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "internal-callback-marker.js", "description": "@bugsnag/js plugin to annotate all OnError callbacks added by internal plugins", "homepage": "https://www.bugsnag.com/", @@ -18,7 +18,7 @@ "internal-callback-marker.js" ], "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-koa/package-lock.json b/packages/plugin-koa/package-lock.json index cc0d773762..fbbd70ec09 100644 --- a/packages/plugin-koa/package-lock.json +++ b/packages/plugin-koa/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-koa", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-koa/package.json b/packages/plugin-koa/package.json index c5a33e4118..92c10e7672 100644 --- a/packages/plugin-koa/package.json +++ b/packages/plugin-koa/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-koa", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "dist/bugsnag-koa.js", "types": "types/bugsnag-koa.d.ts", "description": "@bugsnag/js error handling middleware for Koa web servers", @@ -27,7 +27,7 @@ "@bugsnag/core": "^8.0.0-alpha.1" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", "@types/koa": "^2.11.3" }, "dependencies": { diff --git a/packages/plugin-navigation-breadcrumbs/package-lock.json b/packages/plugin-navigation-breadcrumbs/package-lock.json index 2fc1fb04f0..30f4a8cc9f 100644 --- a/packages/plugin-navigation-breadcrumbs/package-lock.json +++ b/packages/plugin-navigation-breadcrumbs/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-navigation-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-navigation-breadcrumbs/package.json b/packages/plugin-navigation-breadcrumbs/package.json index ab8b5864a9..22abc4b05d 100644 --- a/packages/plugin-navigation-breadcrumbs/package.json +++ b/packages/plugin-navigation-breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-navigation-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "navigation-breadcrumbs.js", "description": "@bugsnag/js plugin to record browser navigation as breadcrumbs", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-network-breadcrumbs/package-lock.json b/packages/plugin-network-breadcrumbs/package-lock.json index 395ffab799..31d6f22dcc 100644 --- a/packages/plugin-network-breadcrumbs/package-lock.json +++ b/packages/plugin-network-breadcrumbs/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-network-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-network-breadcrumbs/package.json b/packages/plugin-network-breadcrumbs/package.json index 4422039f21..e18bc2b3e9 100644 --- a/packages/plugin-network-breadcrumbs/package.json +++ b/packages/plugin-network-breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-network-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "network-breadcrumbs.js", "description": "@bugsnag/js plugin to record browser requests as breadcrumbs", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-node-device/package-lock.json b/packages/plugin-node-device/package-lock.json index fbaa13c4c4..ad57ca9d55 100644 --- a/packages/plugin-node-device/package-lock.json +++ b/packages/plugin-node-device/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-node-device", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-node-device/package.json b/packages/plugin-node-device/package.json index 9c305e4808..e40dd17eca 100644 --- a/packages/plugin-node-device/package.json +++ b/packages/plugin-node-device/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-node-device", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "device.js", "description": "@bugsnag/js plugin to set device info in node", "homepage": "https://www.bugsnag.com/", @@ -18,7 +18,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-node-in-project/package-lock.json b/packages/plugin-node-in-project/package-lock.json index 9479dce4b4..b1358b16de 100644 --- a/packages/plugin-node-in-project/package-lock.json +++ b/packages/plugin-node-in-project/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-node-in-project", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-node-in-project/package.json b/packages/plugin-node-in-project/package.json index a25c09a8df..90d507d6cc 100644 --- a/packages/plugin-node-in-project/package.json +++ b/packages/plugin-node-in-project/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-node-in-project", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "in-project.js", "description": "@bugsnag/js plugin to mark whether stackframes are 'in-project'", "homepage": "https://www.bugsnag.com/", @@ -18,7 +18,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-node-surrounding-code/package-lock.json b/packages/plugin-node-surrounding-code/package-lock.json index d9969f6d1a..08b0b2f9b4 100644 --- a/packages/plugin-node-surrounding-code/package-lock.json +++ b/packages/plugin-node-surrounding-code/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-node-surrounding-code", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-node-surrounding-code/package.json b/packages/plugin-node-surrounding-code/package.json index 41127b27ba..314af755ac 100644 --- a/packages/plugin-node-surrounding-code/package.json +++ b/packages/plugin-node-surrounding-code/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-node-surrounding-code", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "surrounding-code.js", "description": "@bugsnag/js plugin to load surrounding code in Node stacktraces", "homepage": "https://www.bugsnag.com/", @@ -22,7 +22,7 @@ "pump": "^3.0.0" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-node-uncaught-exception/package-lock.json b/packages/plugin-node-uncaught-exception/package-lock.json index 4822e3f961..73d679d7b0 100644 --- a/packages/plugin-node-uncaught-exception/package-lock.json +++ b/packages/plugin-node-uncaught-exception/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-node-uncaught-exception", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-node-uncaught-exception/package.json b/packages/plugin-node-uncaught-exception/package.json index dc4b7e5161..ab6de60dc5 100644 --- a/packages/plugin-node-uncaught-exception/package.json +++ b/packages/plugin-node-uncaught-exception/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-node-uncaught-exception", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "uncaught-exception.js", "description": "@bugsnag/js plugin to capture and report uncaught exceptions", "homepage": "https://www.bugsnag.com/", @@ -18,7 +18,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-node-unhandled-rejection/package-lock.json b/packages/plugin-node-unhandled-rejection/package-lock.json index 7e19f82659..8f16f3d9fb 100644 --- a/packages/plugin-node-unhandled-rejection/package-lock.json +++ b/packages/plugin-node-unhandled-rejection/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-node-unhandled-rejection", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-node-unhandled-rejection/package.json b/packages/plugin-node-unhandled-rejection/package.json index a56b017ea2..e1bbcb99fb 100644 --- a/packages/plugin-node-unhandled-rejection/package.json +++ b/packages/plugin-node-unhandled-rejection/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-node-unhandled-rejection", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "unhandled-rejection.js", "description": "@bugsnag/js plugin to capture and report unhandled rejections", "homepage": "https://www.bugsnag.com/", @@ -18,7 +18,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-react-native-client-sync/package-lock.json b/packages/plugin-react-native-client-sync/package-lock.json index f7bb89ca61..270192bc4f 100644 --- a/packages/plugin-react-native-client-sync/package-lock.json +++ b/packages/plugin-react-native-client-sync/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-client-sync", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-react-native-client-sync/package.json b/packages/plugin-react-native-client-sync/package.json index 734a9903ca..77f05e6d91 100644 --- a/packages/plugin-react-native-client-sync/package.json +++ b/packages/plugin-react-native-client-sync/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-client-sync", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "client-sync.js", "description": "@bugsnag/react-native plugin to sync information between JS and native layer", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-react-native-event-sync/package-lock.json b/packages/plugin-react-native-event-sync/package-lock.json index efe24d3bda..43e9755550 100644 --- a/packages/plugin-react-native-event-sync/package-lock.json +++ b/packages/plugin-react-native-event-sync/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-event-sync", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-react-native-event-sync/package.json b/packages/plugin-react-native-event-sync/package.json index 94a4a3b578..f804c74980 100644 --- a/packages/plugin-react-native-event-sync/package.json +++ b/packages/plugin-react-native-event-sync/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-event-sync", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "event-sync.js", "description": "@bugsnag/react-native plugin to sync native event information in an onError callbacks", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-react-native-global-error-handler/package-lock.json b/packages/plugin-react-native-global-error-handler/package-lock.json index 2d9ed9a7a1..738512c450 100644 --- a/packages/plugin-react-native-global-error-handler/package-lock.json +++ b/packages/plugin-react-native-global-error-handler/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-global-error-handler", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-react-native-global-error-handler/package.json b/packages/plugin-react-native-global-error-handler/package.json index a48c29245e..9b2af6ce2c 100644 --- a/packages/plugin-react-native-global-error-handler/package.json +++ b/packages/plugin-react-native-global-error-handler/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-global-error-handler", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "error-handler.js", "description": "@bugsnag/js plugin to report unhandled exceptions in React Native", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-react-native-hermes/package.json b/packages/plugin-react-native-hermes/package.json index 17b7dc542d..705f7f9e63 100644 --- a/packages/plugin-react-native-hermes/package.json +++ b/packages/plugin-react-native-hermes/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-hermes", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "hermes.js", "description": "@bugsnag/react-native plugin to support Hermes", "homepage": "https://www.bugsnag.com/", @@ -18,7 +18,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-react-native-navigation/package-lock.json b/packages/plugin-react-native-navigation/package-lock.json index f65847b6d0..51cff35431 100644 --- a/packages/plugin-react-native-navigation/package-lock.json +++ b/packages/plugin-react-native-navigation/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-navigation", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-react-native-navigation/package.json b/packages/plugin-react-native-navigation/package.json index d2fb2c7452..ecb12ded70 100644 --- a/packages/plugin-react-native-navigation/package.json +++ b/packages/plugin-react-native-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-navigation", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "react-native-navigation.js", "types": "types/react-native-navigation.d.ts", "description": "@bugsnag/react-native plugin for integration with react-native-navigation", @@ -19,7 +19,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", "@types/react-native": "^0.63.20", "react-native-navigation": "^7.0.0" }, diff --git a/packages/plugin-react-native-orientation-breadcrumbs/package-lock.json b/packages/plugin-react-native-orientation-breadcrumbs/package-lock.json index 89ff4e7473..47ad23047e 100644 --- a/packages/plugin-react-native-orientation-breadcrumbs/package-lock.json +++ b/packages/plugin-react-native-orientation-breadcrumbs/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-orientation-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-react-native-orientation-breadcrumbs/package.json b/packages/plugin-react-native-orientation-breadcrumbs/package.json index 3122b7e2d0..97e9da4910 100644 --- a/packages/plugin-react-native-orientation-breadcrumbs/package.json +++ b/packages/plugin-react-native-orientation-breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-orientation-breadcrumbs", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "orientation.js", "description": "@bugsnag/js plugin to create breadcrumbs when the device orientation changes in a React Native app", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-react-native-session/package-lock.json b/packages/plugin-react-native-session/package-lock.json index 4ab34cac1a..97d11443c8 100644 --- a/packages/plugin-react-native-session/package-lock.json +++ b/packages/plugin-react-native-session/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-session", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-react-native-session/package.json b/packages/plugin-react-native-session/package.json index 251edb3842..0b9b1b0e96 100644 --- a/packages/plugin-react-native-session/package.json +++ b/packages/plugin-react-native-session/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-session", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "session.js", "description": "@bugsnag/react-native session implementation (which delegates all functionality to the native client)", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-react-native-unhandled-rejection/package-lock.json b/packages/plugin-react-native-unhandled-rejection/package-lock.json index fa8c9c4174..6ac6c7c442 100644 --- a/packages/plugin-react-native-unhandled-rejection/package-lock.json +++ b/packages/plugin-react-native-unhandled-rejection/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-unhandled-rejection", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-react-native-unhandled-rejection/package.json b/packages/plugin-react-native-unhandled-rejection/package.json index c536099a3c..90f57a2768 100644 --- a/packages/plugin-react-native-unhandled-rejection/package.json +++ b/packages/plugin-react-native-unhandled-rejection/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-native-unhandled-rejection", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "rejection-handler.js", "description": "@bugsnag/js plugin to report unhandled promise rejections in React Native", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", "promise": "^8.0.2" }, "peerDependencies": { diff --git a/packages/plugin-react-navigation/package-lock.json b/packages/plugin-react-navigation/package-lock.json index 099e4daedf..8f64ba8550 100644 --- a/packages/plugin-react-navigation/package-lock.json +++ b/packages/plugin-react-navigation/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-navigation", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-react-navigation/package.json b/packages/plugin-react-navigation/package.json index 545414f841..35e9ca9a5e 100644 --- a/packages/plugin-react-navigation/package.json +++ b/packages/plugin-react-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react-navigation", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "react-navigation.js", "description": "@bugsnag/react-native plugin to update context and leave breadcrumb when the screen changes", "homepage": "https://www.bugsnag.com/", @@ -22,7 +22,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", "@react-navigation/native": "^5.7.3", "@types/react": "^16.9.49", "@types/react-native": "^0.63.20", diff --git a/packages/plugin-react/package-lock.json b/packages/plugin-react/package-lock.json index 1a60bfecbf..f7115b7072 100644 --- a/packages/plugin-react/package-lock.json +++ b/packages/plugin-react/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-react/package.json b/packages/plugin-react/package.json index a0d7ed1a99..bee9617efd 100644 --- a/packages/plugin-react/package.json +++ b/packages/plugin-react/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-react", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "dist/bugsnag-react.js", "description": "React integration for @bugsnag/js", "browser": "dist/bugsnag-react.js", @@ -24,7 +24,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-restify/package-lock.json b/packages/plugin-restify/package-lock.json index 60af174b10..eb47e87321 100644 --- a/packages/plugin-restify/package-lock.json +++ b/packages/plugin-restify/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-restify", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-restify/package.json b/packages/plugin-restify/package.json index bc1a7e73b6..a56bc35694 100644 --- a/packages/plugin-restify/package.json +++ b/packages/plugin-restify/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-restify", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "dist/bugsnag-restify.js", "types": "types/bugsnag-restify.d.ts", "description": "@bugsnag/js error handling middleware for Restify web servers", @@ -27,7 +27,7 @@ "@bugsnag/core": "^8.0.0-alpha.1" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", "@types/restify": "^8.4.2" }, "dependencies": { diff --git a/packages/plugin-server-session/package-lock.json b/packages/plugin-server-session/package-lock.json index 511f117a08..f4ce73dc33 100644 --- a/packages/plugin-server-session/package-lock.json +++ b/packages/plugin-server-session/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-server-session", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/plugin-server-session/package.json b/packages/plugin-server-session/package.json index e444328c58..5afca2cc1e 100644 --- a/packages/plugin-server-session/package.json +++ b/packages/plugin-server-session/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-server-session", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "session.js", "description": "@bugsnag/js plugin to enable session tracking in server applications", "homepage": "https://www.bugsnag.com/", @@ -20,7 +20,7 @@ "backo": "^1.1.0" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-simple-throttle/package-lock.json b/packages/plugin-simple-throttle/package-lock.json index d594a7acfc..025f7b3710 100644 --- a/packages/plugin-simple-throttle/package-lock.json +++ b/packages/plugin-simple-throttle/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-simple-throttle", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "packages": { diff --git a/packages/plugin-simple-throttle/package.json b/packages/plugin-simple-throttle/package.json index 673035800e..a83dc09f9e 100644 --- a/packages/plugin-simple-throttle/package.json +++ b/packages/plugin-simple-throttle/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-simple-throttle", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "throttle.js", "description": "@bugsnag/js plugin to prevent too many events from being sent", "homepage": "https://www.bugsnag.com/", @@ -18,7 +18,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-stackframe-path-normaliser/package.json b/packages/plugin-stackframe-path-normaliser/package.json index c2d4512b8d..2c5af023fa 100644 --- a/packages/plugin-stackframe-path-normaliser/package.json +++ b/packages/plugin-stackframe-path-normaliser/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-stackframe-path-normaliser", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "path-normaliser.js", "description": "@bugsnag/js plugin to normalise file paths in stackframes", "homepage": "https://www.bugsnag.com/", @@ -17,6 +17,6 @@ "@bugsnag/core": "^8.0.0-alpha.1" }, "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" } } diff --git a/packages/plugin-strip-project-root/package-lock.json b/packages/plugin-strip-project-root/package-lock.json index dd9fb6ddab..3d2ba742b0 100644 --- a/packages/plugin-strip-project-root/package-lock.json +++ b/packages/plugin-strip-project-root/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-strip-project-root", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-strip-project-root/package.json b/packages/plugin-strip-project-root/package.json index d49370ac53..f101d3703c 100644 --- a/packages/plugin-strip-project-root/package.json +++ b/packages/plugin-strip-project-root/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-strip-project-root", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "strip-project-root.js", "description": "@bugsnag/js plugin to remove common project root paths from stacktraces", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-strip-query-string/package-lock.json b/packages/plugin-strip-query-string/package-lock.json index f4f1db6620..efe51eac6a 100644 --- a/packages/plugin-strip-query-string/package-lock.json +++ b/packages/plugin-strip-query-string/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-strip-query-string", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-strip-query-string/package.json b/packages/plugin-strip-query-string/package.json index 4d21adb773..41c5f102d5 100644 --- a/packages/plugin-strip-query-string/package.json +++ b/packages/plugin-strip-query-string/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-strip-query-string", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "strip-query-string.js", "description": "@bugsnag/js plugin to strip query string and document fragment from stackframe filenames", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-vue/package-lock.json b/packages/plugin-vue/package-lock.json index 6ae95f26af..4361cf806d 100644 --- a/packages/plugin-vue/package-lock.json +++ b/packages/plugin-vue/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-vue", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-vue/package.json b/packages/plugin-vue/package.json index b64da6671c..282b755f5c 100644 --- a/packages/plugin-vue/package.json +++ b/packages/plugin-vue/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-vue", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "description": "Vue.js integration for bugsnag-js", "main": "dist/bugsnag-vue.js", "browser": "dist/bugsnag-vue.js", @@ -24,7 +24,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-window-onerror/package-lock.json b/packages/plugin-window-onerror/package-lock.json index 932e4dc44d..beeb48ebf7 100644 --- a/packages/plugin-window-onerror/package-lock.json +++ b/packages/plugin-window-onerror/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-window-onerror", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-window-onerror/package.json b/packages/plugin-window-onerror/package.json index e591f1df5e..fe35c8ffa5 100644 --- a/packages/plugin-window-onerror/package.json +++ b/packages/plugin-window-onerror/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-window-onerror", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "onerror.js", "description": "@bugsnag/js plugin to report unhandled exceptions in browsers", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/plugin-window-unhandled-rejection/package-lock.json b/packages/plugin-window-unhandled-rejection/package-lock.json index 87c3e079d1..e797567fbc 100644 --- a/packages/plugin-window-unhandled-rejection/package-lock.json +++ b/packages/plugin-window-unhandled-rejection/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-window-unhandled-rejection", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/plugin-window-unhandled-rejection/package.json b/packages/plugin-window-unhandled-rejection/package.json index e9b3989155..de71444000 100644 --- a/packages/plugin-window-unhandled-rejection/package.json +++ b/packages/plugin-window-unhandled-rejection/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/plugin-window-unhandled-rejection", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "unhandled-rejection.js", "description": "@bugsnag/js plugin to report unhandled promise rejections in browsers", "homepage": "https://www.bugsnag.com/", @@ -17,7 +17,7 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6" + "@bugsnag/core": "^8.0.0-alpha.7" }, "peerDependencies": { "@bugsnag/core": "^8.0.0-alpha.1" diff --git a/packages/react-native-cli/package-lock.json b/packages/react-native-cli/package-lock.json index 40701644dc..60e8df7434 100644 --- a/packages/react-native-cli/package-lock.json +++ b/packages/react-native-cli/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/react-native-cli", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/react-native-cli/package.json b/packages/react-native-cli/package.json index 170f15d40d..2166976aab 100644 --- a/packages/react-native-cli/package.json +++ b/packages/react-native-cli/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/react-native-cli", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "description": "A tool to help integrate Bugsnag with a React Native app", "bin": { "bugsnag-react-native-cli": "bin/cli" diff --git a/packages/react-native/package-lock.json b/packages/react-native/package-lock.json index f0008802c4..bb871f2e3a 100644 --- a/packages/react-native/package-lock.json +++ b/packages/react-native/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/react-native", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 1513cc837f..2cd8c9a054 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/react-native", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "main": "src/notifier.js", "types": "types/bugsnag.d.ts", "description": "Bugsnag error reporter for React Native applications", @@ -52,17 +52,17 @@ "typescript": "^3.3.3" }, "dependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/delivery-react-native": "^8.0.0-alpha.6", - "@bugsnag/plugin-console-breadcrumbs": "^8.0.0-alpha.6", - "@bugsnag/plugin-network-breadcrumbs": "^8.0.0-alpha.6", - "@bugsnag/plugin-react": "^8.0.0-alpha.6", - "@bugsnag/plugin-react-native-client-sync": "^8.0.0-alpha.6", - "@bugsnag/plugin-react-native-event-sync": "^8.0.0-alpha.6", - "@bugsnag/plugin-react-native-global-error-handler": "^8.0.0-alpha.6", - "@bugsnag/plugin-react-native-hermes": "^8.0.0-alpha.6", - "@bugsnag/plugin-react-native-session": "^8.0.0-alpha.6", - "@bugsnag/plugin-react-native-unhandled-rejection": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/delivery-react-native": "^8.0.0-alpha.7", + "@bugsnag/plugin-console-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-network-breadcrumbs": "^8.0.0-alpha.7", + "@bugsnag/plugin-react": "^8.0.0-alpha.7", + "@bugsnag/plugin-react-native-client-sync": "^8.0.0-alpha.7", + "@bugsnag/plugin-react-native-event-sync": "^8.0.0-alpha.7", + "@bugsnag/plugin-react-native-global-error-handler": "^8.0.0-alpha.7", + "@bugsnag/plugin-react-native-hermes": "^8.0.0-alpha.7", + "@bugsnag/plugin-react-native-session": "^8.0.0-alpha.7", + "@bugsnag/plugin-react-native-unhandled-rejection": "^8.0.0-alpha.7", "iserror": "^0.0.2" }, "scripts": { diff --git a/packages/web-worker/package-lock.json b/packages/web-worker/package-lock.json index f6215485b9..b97542bd77 100644 --- a/packages/web-worker/package-lock.json +++ b/packages/web-worker/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/web-worker", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/web-worker/package.json b/packages/web-worker/package.json index 4744558a1c..fceb9207d8 100644 --- a/packages/web-worker/package.json +++ b/packages/web-worker/package.json @@ -1,6 +1,6 @@ { "name": "@bugsnag/web-worker", - "version": "8.0.0-alpha.6", + "version": "8.0.0-alpha.7", "description": "BugSnag error reporter for JavaScript web workers and service workers", "homepage": "https://www.bugsnag.com/", "main": "dist/bugsnag.web-worker.js", @@ -39,13 +39,13 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^8.0.0-alpha.6", - "@bugsnag/delivery-fetch": "^8.0.0-alpha.6", - "@bugsnag/plugin-browser-device": "^8.0.0-alpha.6", - "@bugsnag/plugin-browser-session": "^8.0.0-alpha.6", - "@bugsnag/plugin-client-ip": "^8.0.0-alpha.6", - "@bugsnag/plugin-window-onerror": "^8.0.0-alpha.6", - "@bugsnag/plugin-window-unhandled-rejection": "^8.0.0-alpha.6", + "@bugsnag/core": "^8.0.0-alpha.7", + "@bugsnag/delivery-fetch": "^8.0.0-alpha.7", + "@bugsnag/plugin-browser-device": "^8.0.0-alpha.7", + "@bugsnag/plugin-browser-session": "^8.0.0-alpha.7", + "@bugsnag/plugin-client-ip": "^8.0.0-alpha.7", + "@bugsnag/plugin-window-onerror": "^8.0.0-alpha.7", + "@bugsnag/plugin-window-unhandled-rejection": "^8.0.0-alpha.7", "ts-loader": "^9.4.1", "typescript": "^4.9.3", "webpack": "^5.75.0", From cf082911eb60b678911744d80411bf5b5cb3abe7 Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Wed, 17 Apr 2024 15:53:31 +0100 Subject: [PATCH 04/10] fix bad merge --- packages/plugin-aws-lambda/package.json | 2 +- packages/plugin-express/package.json | 2 +- packages/plugin-koa/package.json | 2 +- packages/plugin-restify/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/plugin-aws-lambda/package.json b/packages/plugin-aws-lambda/package.json index 8272f845c6..6a1a6e6b9d 100644 --- a/packages/plugin-aws-lambda/package.json +++ b/packages/plugin-aws-lambda/package.json @@ -1,7 +1,7 @@ { "name": "@bugsnag/plugin-aws-lambda", "version": "8.0.0-alpha.7", - "main": "dist/bugsnag-aws-lambda.js", + "main": "src/index.js", "types": "types/bugsnag-plugin-aws-lambda.d.ts", "description": "AWS Lambda support for @bugsnag/node", "homepage": "https://www.bugsnag.com/", diff --git a/packages/plugin-express/package.json b/packages/plugin-express/package.json index ee30c3ff3f..cff277dd0e 100644 --- a/packages/plugin-express/package.json +++ b/packages/plugin-express/package.json @@ -1,7 +1,7 @@ { "name": "@bugsnag/plugin-express", "version": "8.0.0-alpha.7", - "main": "dist/bugsnag-express.js", + "main": "src/express.js", "types": "types/bugsnag-express.d.ts", "description": "@bugsnag/js error handling middleware for Express (and Connect) web servers", "homepage": "https://www.bugsnag.com/", diff --git a/packages/plugin-koa/package.json b/packages/plugin-koa/package.json index 779cd62e16..c582e5f916 100644 --- a/packages/plugin-koa/package.json +++ b/packages/plugin-koa/package.json @@ -1,7 +1,7 @@ { "name": "@bugsnag/plugin-koa", "version": "8.0.0-alpha.7", - "main": "dist/bugsnag-koa.js", + "main": "src/koa.js", "types": "types/bugsnag-koa.d.ts", "description": "@bugsnag/js error handling middleware for Koa web servers", "homepage": "https://www.bugsnag.com/", diff --git a/packages/plugin-restify/package.json b/packages/plugin-restify/package.json index 2d9c62292b..137e9c05cc 100644 --- a/packages/plugin-restify/package.json +++ b/packages/plugin-restify/package.json @@ -1,7 +1,7 @@ { "name": "@bugsnag/plugin-restify", "version": "8.0.0-alpha.7", - "main": "dist/bugsnag-restify.js", + "main": "src/restify.js", "types": "types/bugsnag-restify.d.ts", "description": "@bugsnag/js error handling middleware for Restify web servers", "homepage": "https://www.bugsnag.com/", From 53e81660293213f5cffdec1850011406fbe1fcd5 Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Wed, 17 Apr 2024 16:12:40 +0100 Subject: [PATCH 05/10] remove bad cucumber step --- test/node/features/express.feature | 1 - 1 file changed, 1 deletion(-) diff --git a/test/node/features/express.feature b/test/node/features/express.feature index 24038b38b0..40b3732755 100644 --- a/test/node/features/express.feature +++ b/test/node/features/express.feature @@ -180,7 +180,6 @@ Scenario: Breadcrumbs from one request do not appear in another And I wait to receive an error Then the error is valid for the error reporting API version "4" for the "Bugsnag Node" notifier And the event has a "manual" breadcrumb named "For the first URL" - And the event has a "log" breadcrumb with message "For the first URL" And the event "request.url" equals "http://express/breadcrumbs_a" And the event "request.httpMethod" equals "GET" And the event "request.clientIp" is not null From b7858fb702b40002db822c293912f632387a0cbd Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Wed, 17 Apr 2024 16:42:22 +0100 Subject: [PATCH 06/10] automatically handle using the context client in node --- packages/core/client.js | 1 - packages/node/src/notifier.js | 16 +++++++ packages/node/test/notifier.test.ts | 45 ++++++++++++++----- .../console-breadcrumbs.js | 4 +- .../test/console-breadcrumbs.test.ts | 12 ----- 5 files changed, 52 insertions(+), 26 deletions(-) diff --git a/packages/core/client.js b/packages/core/client.js index af7ef21cfb..5e8a6988e5 100644 --- a/packages/core/client.js +++ b/packages/core/client.js @@ -186,7 +186,6 @@ class Client { // stuff like __proto__ etc. (only store the result if the plugin had a // name) if (plugin.name) this._plugins[`~${plugin.name}~`] = result - return this } getPlugin (name) { diff --git a/packages/node/src/notifier.js b/packages/node/src/notifier.js index 4a1d7b3dfe..485392896b 100644 --- a/packages/node/src/notifier.js +++ b/packages/node/src/notifier.js @@ -53,6 +53,22 @@ const Bugsnag = { const bugsnag = new Client(opts, schema, internalPlugins, { name, version, url }) + Object.keys(Client.prototype).forEach((m) => { + if (/^_/.test(m)) return + const original = bugsnag[m] + bugsnag[m] = function () { + // if we are in an async context, use the client from that context + const contextClient = bugsnag._clientContext && bugsnag._clientContext.getStore() ? bugsnag._clientContext.getStore() : null + const client = contextClient || bugsnag + const originalMethod = contextClient ? contextClient[m] : original + + client._depth += 1 + const ret = originalMethod.apply(client, arguments) + client._depth -= 1 + return ret + } + }) + // Used to store and retrieve the request-scoped client which makes it easy to obtain the request-scoped client // from anywhere in the codebase e.g. when calling Bugsnag.leaveBreadcrumb() or even within the global unhandled // promise rejection handler. diff --git a/packages/node/test/notifier.test.ts b/packages/node/test/notifier.test.ts index e7189929a7..aa5248dde4 100644 --- a/packages/node/test/notifier.test.ts +++ b/packages/node/test/notifier.test.ts @@ -40,7 +40,7 @@ describe('node notifier', () => { }) describe('when in an async context', () => { - it('adds meta data to the cloned client not not the base client', () => { + it('adds meta data to the cloned client not the base client', () => { Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') const contextualize = Bugsnag.getPlugin('contextualize') @@ -67,7 +67,7 @@ describe('node notifier', () => { }) describe('when in an async context', () => { - it('retrieves metadata previously set on the cloned client not not the base client', () => { + it('retrieves metadata previously set on the cloned client not the base client', () => { Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') const contextualize = Bugsnag.getPlugin('contextualize') @@ -97,7 +97,7 @@ describe('node notifier', () => { }) describe('when in an async context', () => { - it('clears metadata previously set on the cloned client not not the base client', () => { + it('clears metadata previously set on the cloned client not the base client', () => { Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') Bugsnag.addMetadata('test', { meta: 'data' }) const contextualize = Bugsnag.getPlugin('contextualize') @@ -124,7 +124,7 @@ describe('node notifier', () => { }) describe('when in an async context', () => { - it('adds a feature flag to the cloned client not not the base client', () => { + it('adds a feature flag to the cloned client not the base client', () => { Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') const contextualize = Bugsnag.getPlugin('contextualize') @@ -152,7 +152,7 @@ describe('node notifier', () => { }) describe('when in an async context', () => { - it('adds feature flags to the cloned client not not the base client', () => { + it('adds feature flags to the cloned client not the base client', () => { Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') const contextualize = Bugsnag.getPlugin('contextualize') @@ -184,7 +184,7 @@ describe('node notifier', () => { }) describe('when in an async context', () => { - it('clears a feature flag previously set on the cloned client not not the base client', () => { + it('clears a feature flag previously set on the cloned client not the base client', () => { Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') Bugsnag.addFeatureFlags([{ name: 'test' }, { name: 'other' }]) const contextualize = Bugsnag.getPlugin('contextualize') @@ -218,7 +218,7 @@ describe('node notifier', () => { }) describe('when in an async context', () => { - it('clears feature flags previously set on the cloned client not not the base client', () => { + it('clears feature flags previously set on the cloned client not the base client', () => { Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') Bugsnag.addFeatureFlags([{ name: 'test' }, { name: 'other' }]) const contextualize = Bugsnag.getPlugin('contextualize') @@ -248,7 +248,7 @@ describe('node notifier', () => { }) describe('when in an async context', () => { - it('sets the context on the cloned client not not the base client', () => { + it('sets the context on the cloned client not the base client', () => { Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') const contextualize = Bugsnag.getPlugin('contextualize') @@ -271,7 +271,7 @@ describe('node notifier', () => { }) describe('when in an async context', () => { - it('sets the context on the cloned client not not the base client', () => { + it('sets the context on the cloned client not the base client', () => { Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') const contextualize = Bugsnag.getPlugin('contextualize') @@ -294,7 +294,7 @@ describe('node notifier', () => { }) describe('when in an async context', () => { - it('adds a breadcrumb to the cloned client not not the base client', () => { + it('adds a breadcrumb to the cloned client not the base client', () => { Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') const contextualize = Bugsnag.getPlugin('contextualize') @@ -309,4 +309,29 @@ describe('node notifier', () => { }) }) }) + + describe('console breadcrumbs', () => { + it('adds a breadcrumb to the client on console.log', () => { + Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') + console.log('test') + // @ts-ignore + expect(Bugsnag._client._breadcrumbs[0].message).toBe('Console output') + }) + + describe('when in an async context', () => { + it('adds a breadcrumb to the cloned client on console.log, not the base client', () => { + Bugsnag.start('abcd12abcd12abcd12abcd12abcd12abcd') + const contextualize = Bugsnag.getPlugin('contextualize') + + contextualize(() => { + console.log('test') + // @ts-ignore + expect(Bugsnag._client._clientContext.getStore()._breadcrumbs[0].message).toBe('Console output') + }) + + // @ts-ignore + expect(Bugsnag._client._breadcrumbs.length).toBe(0) + }) + }) + }) }) diff --git a/packages/plugin-console-breadcrumbs/console-breadcrumbs.js b/packages/plugin-console-breadcrumbs/console-breadcrumbs.js index 41783bfb4f..f009c48247 100644 --- a/packages/plugin-console-breadcrumbs/console-breadcrumbs.js +++ b/packages/plugin-console-breadcrumbs/console-breadcrumbs.js @@ -13,9 +13,7 @@ exports.load = (client) => { map(CONSOLE_LOG_METHODS, method => { const original = console[method] console[method] = (...args) => { - // if we are in an async context, use the client from that context - const c = client._clientContext && client._clientContext.getStore() ? client._clientContext.getStore() : client - c.leaveBreadcrumb('Console output', reduce(args, (accum, arg, i) => { + client.leaveBreadcrumb('Console output', reduce(args, (accum, arg, i) => { // do the best/simplest stringification of each argument let stringified = '[Unknown value]' // this may fail if the input is: diff --git a/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts b/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts index 4a3ff33810..a6f5799b13 100644 --- a/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts +++ b/packages/plugin-console-breadcrumbs/test/console-breadcrumbs.test.ts @@ -80,16 +80,4 @@ describe('plugin: console breadcrumbs', () => { expect(c._breadcrumbs.length).toBe(0) plugin.destroy() }) - - it('should use the client from the async context if it exists', () => { - const c = new Client({ apiKey: 'aaaa-aaaa-aaaa-aaaa', plugins: [plugin] }) - const contextClient = new Client({ apiKey: 'aaaa-aaaa-aaaa-aaaa', plugins: [plugin] }) - c._clientContext = { - getStore: () => contextClient - } - console.log(123) - expect(c._breadcrumbs.length).toBe(0) - expect(c._clientContext.getStore()._breadcrumbs.length).toBe(2) - plugin.destroy() - }) }) From a19ac9d4b8747671707e6082ff859b880861df4e Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Thu, 18 Apr 2024 07:49:45 +0100 Subject: [PATCH 07/10] automatically handle using the context client in node --- packages/node/src/notifier.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/node/src/notifier.js b/packages/node/src/notifier.js index 485392896b..c68a5d45ec 100644 --- a/packages/node/src/notifier.js +++ b/packages/node/src/notifier.js @@ -53,6 +53,12 @@ const Bugsnag = { const bugsnag = new Client(opts, schema, internalPlugins, { name, version, url }) + /** + * Patch all calls to the client in order to forwards them to the context client if it exists + * + * This is useful for when client methods are called later, such as in the console breadcrumbs + * plugin where we want to call `leaveBreadcrumb` on the request-scoped client, if it exists. + */ Object.keys(Client.prototype).forEach((m) => { if (/^_/.test(m)) return const original = bugsnag[m] From 07354cc78c5ab3229afc0268e98ed1cbb11f7c87 Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Thu, 18 Apr 2024 08:44:49 +0100 Subject: [PATCH 08/10] fix lint --- packages/node/src/notifier.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node/src/notifier.js b/packages/node/src/notifier.js index c68a5d45ec..f341a36d19 100644 --- a/packages/node/src/notifier.js +++ b/packages/node/src/notifier.js @@ -55,7 +55,7 @@ const Bugsnag = { /** * Patch all calls to the client in order to forwards them to the context client if it exists - * + * * This is useful for when client methods are called later, such as in the console breadcrumbs * plugin where we want to call `leaveBreadcrumb` on the request-scoped client, if it exists. */ From 5902027c51cfd33ffbd9faad87955205c54de986 Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Fri, 19 Apr 2024 07:52:21 +0100 Subject: [PATCH 09/10] ensure private method calls are also forward to the correct client --- packages/node/src/notifier.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/node/src/notifier.js b/packages/node/src/notifier.js index f341a36d19..5a0e21dc11 100644 --- a/packages/node/src/notifier.js +++ b/packages/node/src/notifier.js @@ -60,7 +60,6 @@ const Bugsnag = { * plugin where we want to call `leaveBreadcrumb` on the request-scoped client, if it exists. */ Object.keys(Client.prototype).forEach((m) => { - if (/^_/.test(m)) return const original = bugsnag[m] bugsnag[m] = function () { // if we are in an async context, use the client from that context From f79fb47e13aff9163637fb23890a3a17b3f6ab47 Mon Sep 17 00:00:00 2001 From: djskinner Date: Mon, 22 Apr 2024 10:39:40 +0100 Subject: [PATCH 10/10] Update packages/node/test/notifier.test.ts Co-authored-by: Joe Haines --- packages/node/test/notifier.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node/test/notifier.test.ts b/packages/node/test/notifier.test.ts index aa5248dde4..1fa7cc4fed 100644 --- a/packages/node/test/notifier.test.ts +++ b/packages/node/test/notifier.test.ts @@ -330,7 +330,7 @@ describe('node notifier', () => { }) // @ts-ignore - expect(Bugsnag._client._breadcrumbs.length).toBe(0) + expect(Bugsnag._client._breadcrumbs).toHaveLength(0) }) }) })