Skip to content

refactor: update forwarder module to TS - #1260

Open
jaissica12 wants to merge 9 commits into
developmentfrom
refactor/SDKE-1109-update-forwarders-to-TS
Open

refactor: update forwarder module to TS#1260
jaissica12 wants to merge 9 commits into
developmentfrom
refactor/SDKE-1109-update-forwarders-to-TS

fix failing tests

e820005
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 26, 2026 in 35s

Annotations

Check warning on line 638 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Br&open=AZ4eI-SkVZkBbhtGA0Br&pullRequest=1260

Check failure on line 464 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Bp&open=AZ4eI-SkVZkBbhtGA0Bp&pullRequest=1260

Check warning on line 187 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Bj&open=AZ4eI-SkVZkBbhtGA0Bj&pullRequest=1260

Check warning on line 708 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Bt&open=AZ4eI-SkVZkBbhtGA0Bt&pullRequest=1260

Check warning on line 364 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected a `for-of` loop instead of a `for` loop with this simple iteration.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ5hzCf571zWiw8j-4rk&open=AZ5hzCf571zWiw8j-4rk&pullRequest=1260

Check warning on line 302 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected a `for-of` loop instead of a `for` loop with this simple iteration.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ5IdQBQ6L8k-G6YmWqK&open=AZ5IdQBQ6L8k-G6YmWqK&pullRequest=1260

Check warning on line 539 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Bq&open=AZ4eI-SkVZkBbhtGA0Bq&pullRequest=1260

Check warning on line 414 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Bo&open=AZ4eI-SkVZkBbhtGA0Bo&pullRequest=1260

Check warning on line 667 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Bs&open=AZ4eI-SkVZkBbhtGA0Bs&pullRequest=1260

Check failure on line 224 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Bl&open=AZ4eI-SkVZkBbhtGA0Bl&pullRequest=1260

Check warning on line 145 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Bi&open=AZ4eI-SkVZkBbhtGA0Bi&pullRequest=1260

Check warning on line 29 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'IKitFilterSettings'.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ5hZwwJw3y5Mboytjeh&open=AZ5hZwwJw3y5Mboytjeh&pullRequest=1260

Check warning on line 194 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Bk&open=AZ4eI-SkVZkBbhtGA0Bk&pullRequest=1260

Check warning on line 373 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Bn&open=AZ4eI-SkVZkBbhtGA0Bn&pullRequest=1260

Check failure on line 129 in src/forwarders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=mParticle_mparticle-web-sdk&issues=AZ4eI-SkVZkBbhtGA0Bh&open=AZ4eI-SkVZkBbhtGA0Bh&pullRequest=1260