-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): pull hotfix-release/3.51.0-SDK-2664 into main (#1925)
- Loading branch information
Showing
54 changed files
with
550 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,7 +138,8 @@ | |
} | ||
] | ||
} | ||
] | ||
], | ||
"sonarjs/todo-tag": "warn" | ||
} | ||
}, | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
* @rudderlabs/js-sdk | ||
|
||
/packages/analytics-js-integrations/src/ @rudderlabs/js-sdk-dm-intg-eng | ||
/packages/analytics-js-integrations/__fixtures__/ @rudderlabs/js-sdk-dm-intg-eng | ||
/packages/analytics-js-integrations/__tests__/ @rudderlabs/js-sdk-dm-intg-eng | ||
/packages/analytics-js-integrations/__mocks__/ @rudderlabs/js-sdk-dm-intg-eng | ||
/packages/analytics-js-integrations/README.md @rudderlabs/js-sdk-dm-intg-eng | ||
/packages/analytics-js-integrations/.size-limit.js @rudderlabs/js-sdk-dm-intg-eng | ||
/packages/analytics-js-integrations/src/ @rudderlabs/integrations | ||
/packages/analytics-js-integrations/__fixtures__/ @rudderlabs/integrations | ||
/packages/analytics-js-integrations/__tests__/ @rudderlabs/integrations | ||
/packages/analytics-js-integrations/__mocks__/ @rudderlabs/integrations | ||
/packages/analytics-js-integrations/README.md @rudderlabs/integrations | ||
/packages/analytics-js-integrations/.size-limit.js @rudderlabs/integrations | ||
|
||
/packages/analytics-js-common/src/constants/integrations/ @rudderlabs/js-sdk-dm-intg-eng | ||
/assets/integrations/AdobeAnalytics/ @rudderlabs/js-sdk-dm-intg-eng | ||
/examples/integrations/ @rudderlabs/js-sdk-dm-intg-eng | ||
/packages/analytics-js-common/src/constants/integrations/ @rudderlabs/integrations | ||
/assets/integrations/AdobeAnalytics/ @rudderlabs/integrations | ||
/examples/integrations/ @rudderlabs/integrations |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,13 @@ | |
|
||
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). | ||
|
||
## [3.13.0](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-11-18) | ||
|
||
|
||
### Features | ||
|
||
* add more utilities ([7bd0cc9](https://github.com/rudderlabs/rudder-sdk-js/commit/7bd0cc98d5de1e9c20aaee4400263da12f2943d1)) | ||
|
||
## [3.12.1](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-11-12) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
## [3.12.1](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].0...@rudderstack/analytics-js-common@3.12.1) (2024-11-12) | ||
## [3.13.0](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].1...@rudderstack/analytics-js-common@3.13.0) (2024-11-18) | ||
|
||
|
||
### Bug Fixes | ||
### Features | ||
|
||
* revert sanitization changes ([#1916](https://github.com/rudderlabs/rudder-sdk-js/issues/1916)) ([890fb7b](https://github.com/rudderlabs/rudder-sdk-js/commit/890fb7b615535992290f5008b93d77b540c03955)), closes [#1907](https://github.com/rudderlabs/rudder-sdk-js/issues/1907) [#1902](https://github.com/rudderlabs/rudder-sdk-js/issues/1902) | ||
* add more utilities ([7bd0cc9](https://github.com/rudderlabs/rudder-sdk-js/commit/7bd0cc98d5de1e9c20aaee4400263da12f2943d1)) | ||
|
18 changes: 18 additions & 0 deletions
18
packages/analytics-js-common/__tests__/utilities/errors.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { dispatchErrorEvent } from '../../src/utilities/errors'; | ||
|
||
describe('Errors - utilities', () => { | ||
describe('dispatchErrorEvent', () => { | ||
it('should dispatch an error event', () => { | ||
const dispatchEvent = jest.fn(); | ||
const originalDispatchEvent = globalThis.dispatchEvent; | ||
|
||
globalThis.dispatchEvent = dispatchEvent; | ||
const error = new Error('Test error'); | ||
dispatchErrorEvent(error); | ||
expect(dispatchEvent).toHaveBeenCalledWith(new ErrorEvent('error', { error })); | ||
|
||
// Cleanup | ||
globalThis.dispatchEvent = originalDispatchEvent; | ||
}); | ||
}); | ||
}); |
Oops, something went wrong.