Skip to content

Commit 223b616

Browse files
👷 Update all non-major dependencies (#4501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Thomas Lebeau <thomas.lebeau@datadoghq.com>
1 parent 9b071fb commit 223b616

84 files changed

Lines changed: 1214 additions & 1663 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121

2222
- name: Initialize CodeQL
23-
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
23+
uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
2424
with:
2525
languages: javascript
2626
config-file: .github/codeql-config.yml
2727

2828
- name: Perform CodeQL Analysis
29-
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
29+
uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2

‎.github/workflows/deploy-generated-docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fetch-depth: 0
3131

3232
- name: Setup Node.js
33-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
33+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
3434
with:
3535
node-version: '23'
3636
cache: 'yarn'
Lines changed: 288 additions & 288 deletions
Large diffs are not rendered by default.

‎.yarnrc.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
yarnPath: .yarn/releases/yarn-4.13.0.cjs
1+
yarnPath: .yarn/releases/yarn-4.14.1.cjs
22
defaultSemverRangePrefix: ''
33
nodeLinker: node-modules
44

‎developer-extension/package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@
1111
"@types/react": "19.2.14",
1212
"@types/react-dom": "19.2.3",
1313
"@wxt-dev/module-react": "1.2.2",
14-
"typescript": "6.0.2"
14+
"typescript": "6.0.3"
1515
},
1616
"dependencies": {
1717
"@datadog/browser-core": "workspace:*",
1818
"@datadog/browser-logs": "workspace:*",
1919
"@datadog/browser-rum": "workspace:*",
2020
"@datadog/browser-rum-core": "workspace:*",
21-
"@mantine/core": "9.0.2",
22-
"@mantine/hooks": "9.0.2",
21+
"@mantine/core": "9.1.1",
22+
"@mantine/hooks": "9.1.1",
2323
"@tabler/icons-react": "3.41.1",
2424
"clsx": "2.1.1",
2525
"react": "19.2.5",
2626
"react-dom": "19.2.5",
27-
"wxt": "0.20.22"
27+
"wxt": "0.20.25"
2828
},
2929
"volta": {
3030
"extends": "../package.json"

‎developer-extension/src/content-scripts/main.ts‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,11 @@ function restoreFunctions(
152152
typeof resultValue === 'object' &&
153153
!Array.isArray(resultValue)
154154
) {
155-
result[key] = restoreFunctions(
156-
originalValue as SDKInitConfiguration,
157-
resultValue as Partial<SDKInitConfiguration>
158-
)
155+
result[key] = restoreFunctions(originalValue, resultValue)
159156
}
160157
}
161158

162-
return result as Partial<SDKInitConfiguration>
159+
return result
163160
}
164161

165162
function loadSdkScriptFromURL(url: string) {

‎developer-extension/src/panel/components/tabs/eventsTab/copyEvent.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { EndpointBuilder, InitConfiguration } from '@datadog/browser-core'
1+
import type { EndpointBuilder } from '@datadog/browser-core'
22
import { computeTransportConfiguration } from '../../../../../../packages/core/src/domain/configuration'
33
import { copy } from '../../../copy'
44
import type { SdkInfos } from '../../../hooks/useSdkInfos'
@@ -75,7 +75,7 @@ export function getIntakeUrlForEvent(sdkInfos: SdkInfos, event: SdkEvent) {
7575
return
7676
}
7777
version = sdkInfos.rum.version
78-
builder = computeTransportConfiguration(sdkInfos.rum.config as InitConfiguration).rumEndpointBuilder
78+
builder = computeTransportConfiguration(sdkInfos.rum.config).rumEndpointBuilder
7979
break
8080
}
8181

@@ -84,7 +84,7 @@ export function getIntakeUrlForEvent(sdkInfos: SdkInfos, event: SdkEvent) {
8484
return
8585
}
8686
version = sdkInfos.logs.version
87-
builder = computeTransportConfiguration(sdkInfos.logs.config as InitConfiguration).logsEndpointBuilder
87+
builder = computeTransportConfiguration(sdkInfos.logs.config).logsEndpointBuilder
8888
break
8989
}
9090

‎developer-extension/src/panel/components/tabs/settingsTab.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { DevServerStatus, useDevServerStatus } from '../../hooks/useDevServerSta
55
import { useSettings } from '../../hooks/useSettings'
66
import { Columns } from '../columns'
77
import { TabBase } from '../tabBase'
8-
import type { DevBundlesOverride, EventCollectionStrategy } from '../../../common/extension.types'
8+
import type { DevBundlesOverride } from '../../../common/extension.types'
99

1010
export function SettingsTab() {
1111
const sdkDevServerStatus = useDevServerStatus(DEV_LOGS_URL)
@@ -202,7 +202,7 @@ export function SettingsTab() {
202202
{ label: 'SDK', value: 'sdk' },
203203
{ label: 'Requests', value: 'requests' },
204204
]}
205-
onChange={(value) => setSetting('eventCollectionStrategy', value as EventCollectionStrategy)}
205+
onChange={(value) => setSetting('eventCollectionStrategy', value)}
206206
/>
207207
</Group>
208208
}

‎developer-extension/src/panel/formatNumber.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function formatDate(ms: number): string {
3434
// Add milliseconds to the formatted date
3535
value += `.${new Intl.DateTimeFormat(LOCALE, {
3636
fractionalSecondDigits: 3,
37-
} as Intl.DateTimeFormatOptions).format(date)}`
37+
}).format(date)}`
3838
}
3939
return value
4040
})

‎developer-extension/src/panel/hooks/useEvents/eventFilters.spec.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if (!isSafari()) {
2222
expect(
2323
filterFacets(
2424
[RUM_ACTION_EVENT, RUM_ERROR_EVENT, RUM_ERROR_EVENT],
25-
{ type: 'exclude', facetValues: { type: ['error'] } } as FacetValuesFilter,
25+
{ type: 'exclude', facetValues: { type: ['error'] } },
2626
facetRegistry
2727
)
2828
).toEqual([RUM_ACTION_EVENT])
@@ -31,7 +31,7 @@ if (!isSafari()) {
3131
expect(
3232
filterFacets(
3333
[RUM_ACTION_EVENT, RUM_ERROR_EVENT, RUM_ERROR_EVENT],
34-
{ type: 'include', facetValues: { type: ['error'] } } as FacetValuesFilter,
34+
{ type: 'include', facetValues: { type: ['error'] } },
3535
facetRegistry
3636
)
3737
).toEqual([RUM_ERROR_EVENT, RUM_ERROR_EVENT])
@@ -46,7 +46,7 @@ if (!isSafari()) {
4646
type: ['action'],
4747
'resource.type': ['xhr'],
4848
},
49-
} as FacetValuesFilter,
49+
},
5050
facetRegistry
5151
)
5252
).toEqual([RUM_ACTION_EVENT, RUM_XHR_RESOURCE_EVENT])

0 commit comments

Comments
 (0)