@honeybadger-io/js 6.7.2 → 6.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/browser/honeybadger.js +3 -3
- package/dist/browser/honeybadger.js.map +1 -1
- package/dist/browser/honeybadger.min.js +1 -1
- package/dist/browser/honeybadger.min.js.map +1 -1
- package/dist/server/check-ins-manager/check-in.d.ts +7 -4
- package/dist/server/check-ins-manager/client.d.ts +6 -8
- package/dist/server/check-ins-manager/types.d.ts +5 -8
- package/dist/server/check-ins-sync-exec.js +122 -106
- package/dist/server/check-ins-sync-exec.js.map +1 -1
- package/dist/server/honeybadger.d.ts +4 -2
- package/dist/server/honeybadger.js +107 -84
- package/dist/server/honeybadger.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -50,6 +50,17 @@ Two more configuration files, `./test/e2e/global-setup.ts` and `./test/e2e/globa
|
|
|
50
50
|
a local browserstack executable, needed to run the tests on Browserstack. This executable will only be executed if you are testing on Browserstack.
|
|
51
51
|
Finally, the `./test/e2e/browserstack.config.ts` file contains the configuration and helper functions to run the tests on Browserstack.
|
|
52
52
|
|
|
53
|
+
##### Troubleshooting
|
|
54
|
+
Playwright recommends that integration tests should run on the latest browser versions.
|
|
55
|
+
But we also use BrowserStack to run these tests on older browsers.
|
|
56
|
+
This setup is a bit fragile and error logs are not always helpful
|
|
57
|
+
|
|
58
|
+
If CI starts failing without clear reason, try the following:
|
|
59
|
+
Sometimes BrowserStack will resolve to a newer playwright version than the one we use in our tests.
|
|
60
|
+
If this happens (compare input capabilities `client.playwrightVersion` and `browserstack.playwrightVersion` on a BrowserStack test session)
|
|
61
|
+
first try to update `@playwright/test` and `browserstack-local` to their latest versions.
|
|
62
|
+
This is necessary because BrowserStack might select a newer playwright version to run the
|
|
63
|
+
tests on and unfortunately we don't have full control over this.
|
|
53
64
|
|
|
54
65
|
## Releasing
|
|
55
66
|
|
|
@@ -1089,7 +1089,7 @@
|
|
|
1089
1089
|
this.__notifier = {
|
|
1090
1090
|
name: '@honeybadger-io/core',
|
|
1091
1091
|
url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/core',
|
|
1092
|
-
version: '6.
|
|
1092
|
+
version: '6.8.1'
|
|
1093
1093
|
};
|
|
1094
1094
|
this.config = __assign(__assign({}, defaults_1.CONFIG), opts);
|
|
1095
1095
|
this.__initStore();
|
|
@@ -2595,10 +2595,10 @@
|
|
|
2595
2595
|
var NOTIFIER = {
|
|
2596
2596
|
name: '@honeybadger-io/js',
|
|
2597
2597
|
url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/js',
|
|
2598
|
-
version: '6.
|
|
2598
|
+
version: '6.8.1'
|
|
2599
2599
|
};
|
|
2600
2600
|
var userAgent = function () {
|
|
2601
|
-
if (typeof navigator !== undefined) {
|
|
2601
|
+
if (typeof navigator !== 'undefined') {
|
|
2602
2602
|
return "Honeybadger JS Browser Client ".concat(NOTIFIER.version, "; ").concat(navigator.userAgent);
|
|
2603
2603
|
}
|
|
2604
2604
|
return "Honeybadger JS Browser Client ".concat(NOTIFIER.version, "; n/a; n/a");
|