Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmarks/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2109,7 +2109,7 @@ SPEC CHECKSUMS:
KSCrash: 80e1e24eaefbe5134934ae11ca8d7746586bc2ed
OpenTelemetry-Swift-Api: 3d77582ab6837a63b65bf7d2eacc57d8f2595edd
OpenTelemetry-Swift-Sdk: 69d60f0242e830366e359481edd575d6776eb983
RCT-Folly: 36fe2295e44b10d831836cc0d1daec5f8abcf809
RCT-Folly: e78785aa9ba2ed998ea4151e314036f6c49e6d82
RCTDeprecation: be794de7dc6ed8f9f7fbf525f86e7651b8b68746
RCTRequired: a83787b092ec554c2eb6019ff3f5b8d125472b3b
RCTTypeSafety: 48ad3c858926b1c46f46a81a58822b476e178e2c
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/src/scenario/RUM/Auto/service/rickMorty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class RickMortyService {
return match ? match[1] : null;
}

private async fetchByIds(endpoint: string, urls: string[], resourceType: string): Promise<any[]> {
private async fetchByIds(endpoint: string, urls: string[], _resourceType: string): Promise<any[]> {
const ids = urls.map(url => this.extractIdFromUrl(url)).filter(Boolean);
if (ids.length === 0) return [];

Expand Down
2 changes: 1 addition & 1 deletion example-new-architecture/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,7 @@ SPEC CHECKSUMS:
hermes-engine: 9e868dc7be781364296d6ee2f56d0c1a9ef0bb11
KSCrash: 80e1e24eaefbe5134934ae11ca8d7746586bc2ed
OpenTelemetry-Swift-Api: 3d77582ab6837a63b65bf7d2eacc57d8f2595edd
RCT-Folly: 7b4f73a92ad9571b9dbdb05bb30fad927fa971e1
RCT-Folly: ea9d9256ba7f9322ef911169a9f696e5857b9e17
RCTDeprecation: ebe712bb05077934b16c6bf25228bdec34b64f83
RCTRequired: ca91e5dd26b64f577b528044c962baf171c6b716
RCTTypeSafety: e7678bd60850ca5a41df9b8dc7154638cb66871f
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1987,7 +1987,7 @@ SPEC CHECKSUMS:
HMSegmentedControl: 34c1f54d822d8308e7b24f5d901ec674dfa31352
KSCrash: 80e1e24eaefbe5134934ae11ca8d7746586bc2ed
OpenTelemetry-Swift-Api: 3d77582ab6837a63b65bf7d2eacc57d8f2595edd
RCT-Folly: 7b4f73a92ad9571b9dbdb05bb30fad927fa971e1
RCT-Folly: ea9d9256ba7f9322ef911169a9f696e5857b9e17
RCTDeprecation: ebe712bb05077934b16c6bf25228bdec34b64f83
RCTRequired: ca91e5dd26b64f577b528044c962baf171c6b716
RCTTypeSafety: e7678bd60850ca5a41df9b8dc7154638cb66871f
Expand Down
14 changes: 7 additions & 7 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
"@datadog/mobile-react-native-session-replay": "workspace:packages/react-native-session-replay",
"@datadog/mobile-react-native-webview": "workspace:packages/react-native-webview",
"@datadog/mobile-react-navigation": "workspace:packages/react-navigation",
"@openfeature/react-sdk": "^1.2.0",
"@openfeature/react-sdk": "^1.2.1",
"@react-native-async-storage/async-storage": "^2.1.2",
"@react-native-community/cli": "15.0.1",
"@react-native-community/cli-platform-android": "15.0.1",
"@react-native-community/cli-platform-ios": "15.0.1",
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/native": "^6.1.18",
"@react-navigation/stack": "^6.2.1",
"axios": "1.13.5",
"axios": "1.15.1",
"react": "18.3.1",
"react-native": "0.76.9",
"react-native-crash-tester": "0.2.3",
Expand All @@ -35,17 +35,17 @@
"react-native-webview": "13.14.2"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.26.10",
"@datadog/datadog-ci": "5.11.0",
"@babel/core": "^7.25.9",
"@babel/preset-env": "^7.25.9",
"@babel/runtime": "^7.29.2",
"@datadog/datadog-ci": "5.13.1",
"@react-native/babel-preset": "0.76.9",
"@react-native/eslint-config": "0.76.9",
"@react-native/metro-config": "0.76.9",
"@react-native/typescript-config": "0.76.9",
"@rnx-kit/metro-resolver-symlinks": "^0.1.36",
"babel-plugin-module-resolver": "^4.0.0",
"patch-package": "^8.0.0",
"patch-package": "^8.0.1",
"postinstall-postinstall": "^2.1.0"
},
"engines": {
Expand Down
246 changes: 118 additions & 128 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,130 +1,120 @@
{
"name": "dd-sdk-reactnative",
"description": "A client-side React Native module to interact with Datadog",
"keywords": [
"datadog",
"react-native",
"ios",
"android"
],
"author": "Datadog (https://github.com/DataDog)",
"homepage": "https://github.com/DataDog/dd-sdk-reactnative#readme",
"repository": "https://github.com/DataDog/dd-sdk-reactnative",
"bugs": {
"url": "https://github.com/DataDog/dd-sdk-reactnative/issues"
},
"license": "Apache-2.0",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"example",
"example-new-architecture",
"benchmarks"
]
},
"scripts": {
"prepare": "genversion --es6 --semi packages/core/src/version.ts && lerna run prepare",
"test": "genversion --es6 --semi packages/core/src/version.ts && jest",
"lint": "genversion --es6 --semi packages/core/src/version.ts && eslint .",
"example": "yarn --cwd example",
"postinstall": "./packages/react-navigation/fix-react-navigation-import-in-dependencies.sh"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-runtime": "^7.25.0",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.26.10",
"@react-native/babel-preset": "0.76.9",
"@react-native/eslint-config": "0.76.9",
"@react-native/metro-config": "0.76.9",
"@react-native/typescript-config": "0.76.9",
"@testing-library/react-native": "7.0.2",
"@types/jest": "^29.5.0",
"@types/react": "^18.2.6",
"@types/react-native": "0.71.0",
"@types/react-test-renderer": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.61.0",
"@typescript-eslint/parser": "5.61.0",
"dd-trace": "^5.28.0",
"eslint": "^8.19.0",
"eslint-config-prettier": "6.0.0",
"eslint-plugin-arca": "0.15.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-react-native": "3.10.0",
"genversion": "3.0.2",
"jest": "^29.7.0",
"lerna": "9.0.7",
"metro": "^0.83.1",
"pod-install": "0.1.14",
"prettier": "2.2.0",
"react": "18.3.1",
"react-native": "0.76.9",
"react-native-builder-bob": "0.26.0",
"react-native-gradle-plugin": "^0.71.19",
"react-native-webview": "13.12.2",
"react-test-renderer": "18.3.1",
"typescript": "5.0.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"engines": {
"node": ">=18"
},
"jest": {
"projects": [
"<rootDir>/packages/*"
]
},
"packageManager": "yarn@3.4.1",
"resolutions": {
"@istanbuljs/load-nyc-config/js-yaml": "3.14.2",
"@yarnpkg/parsers/js-yaml": "3.14.2",
"cosmiconfig@npm:5.2.1/js-yaml": "3.14.2",
"front-matter@npm:4.0.2/js-yaml": "3.14.2",
"node-forge": "^1.4.0",
"cacache/glob": "^10.5.0",
"@npmcli/arborist": "^9.1.8",
"ejs": "3.1.10",
"shell-quote": "^1.7.3",
"cross-spawn": "7.0.5",
"fast-xml-parser": "4.5.5",
"axios": "1.15.0",
"basic-ftp": ">=5.2.2",
"tar": ">=7.5.8",
"ajv@^8.12.0": "8.18.0",
"minimatch@9.0.3": "9.0.7",
"minimatch@^3.0.2": "3.1.3",
"minimatch@^3.0.4": "3.1.3",
"minimatch@^3.0.5": "3.1.3",
"minimatch@^3.1.1": "3.1.3",
"minimatch@^3.1.2": "3.1.3",
"minimatch@^5.0.1": "5.1.8",
"minimatch@^9.0.4": "9.0.7",
"minimatch@^9.0.5": "9.0.7",
"minimatch@^10.0.3": "10.2.3",
"minimatch@^10.1.1": "10.2.3",
"lodash": "4.18.0",
"qs": ">=6.14.2",
"nanoid": "3.3.8",
"send": "0.19.0",
"serve-static": "1.16.0",
"formidable": "3.5.3",
"snyk": "^1.1298.3",
"form-data": "4.0.4",
"on-headers": "1.1.0",
"tmp": "0.2.4",
"jws": "^4.0.1",
"handlebars": ">=4.7.9",
"@xmldom/xmldom": ">=0.8.12",
"yaml": ">=2.8.3",
"brace-expansion@^2.0.1": "2.0.3",
"brace-expansion@^5.0.2": "5.0.5",
"brace-expansion@^5.0.5": "5.0.5"
}
"name": "dd-sdk-reactnative",
"description": "A client-side React Native module to interact with Datadog",
"keywords": [
"datadog",
"react-native",
"ios",
"android"
],
"author": "Datadog (https://github.com/DataDog)",
"homepage": "https://github.com/DataDog/dd-sdk-reactnative#readme",
"repository": "https://github.com/DataDog/dd-sdk-reactnative",
"bugs": {
"url": "https://github.com/DataDog/dd-sdk-reactnative/issues"
},
"license": "Apache-2.0",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"example",
"example-new-architecture",
"benchmarks"
]
},
"scripts": {
"prepare": "genversion --es6 --semi packages/core/src/version.ts && lerna run prepare",
"test": "genversion --es6 --semi packages/core/src/version.ts && jest",
"lint": "genversion --es6 --semi packages/core/src/version.ts && eslint .",
"example": "yarn --cwd example",
"postinstall": "./packages/react-navigation/fix-react-navigation-import-in-dependencies.sh"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-runtime": "^7.25.0",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.26.10",
"@react-native/babel-preset": "0.76.9",
"@react-native/eslint-config": "0.76.9",
"@react-native/metro-config": "0.76.9",
"@react-native/typescript-config": "0.76.9",
"@testing-library/react-native": "7.0.2",
"@types/jest": "^29.5.0",
"@types/react": "^18.2.6",
"@types/react-native": "0.71.0",
"@types/react-test-renderer": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.61.0",
"@typescript-eslint/parser": "5.61.0",
"dd-trace": "^5.28.0",
"eslint": "^8.19.0",
"eslint-config-prettier": "6.0.0",
"eslint-plugin-arca": "0.15.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-react-native": "3.10.0",
"genversion": "3.0.2",
"jest": "^29.7.0",
"lerna": "9.0.7",
"metro": "^0.83.1",
"pod-install": "0.1.14",
"prettier": "2.2.0",
"react": "18.3.1",
"react-native": "0.76.9",
"react-native-builder-bob": "0.26.0",
"react-native-gradle-plugin": "^0.71.19",
"react-native-webview": "13.12.2",
"react-test-renderer": "18.3.1",
"typescript": "5.0.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"engines": {
"node": ">=18"
},
"jest": {
"projects": [
"<rootDir>/packages/*"
]
},
"packageManager": "yarn@3.4.1",
"resolutions": {
"cosmiconfig@npm:5.2.1/js-yaml": "3.14.2",
"front-matter@npm:4.0.2/js-yaml": "3.14.2",
"cacache/glob": "^10.5.0",
"@npmcli/arborist": "^9.1.8",
"ejs": "3.1.10",
"cross-spawn": "7.0.5",
"fast-xml-parser": "4.5.5",
"axios": "1.15.0",
"ajv@^8.12.0": "8.18.0",
Comment on lines +85 to +94
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The root resolutions still pins axios to 1.15.0, but the example app was bumped to axios: 1.15.1 and the lockfile shows axios 1.15.1. This can cause Yarn to force-install 1.15.0 unexpectedly (or produce churn in yarn.lock depending on install order). Consider either updating the resolution to 1.15.1 or removing the axios resolution entirely if it’s no longer required.

Copilot uses AI. Check for mistakes.
"minimatch@9.0.3": "9.0.7",
"minimatch@^3.0.2": "3.1.3",
"minimatch@^3.0.4": "3.1.3",
"minimatch@^3.0.5": "3.1.3",
"minimatch@^3.1.1": "3.1.3",
"minimatch@^3.1.2": "3.1.3",
"minimatch@^5.0.1": "5.1.8",
"minimatch@^9.0.4": "9.0.7",
"minimatch@^9.0.5": "9.0.7",
"minimatch@^10.0.3": "10.2.3",
"minimatch@^10.1.1": "10.2.3",
"lodash": "4.18.0",
"nanoid": "3.3.8",
"send": "0.19.0",
"serve-static": "1.16.0",
"formidable": "3.5.3",
"form-data": "4.0.4",
"on-headers": "1.1.0",
"tmp": "0.2.4",
"brace-expansion@^2.0.1": "2.0.3",
"brace-expansion@^5.0.2": "5.0.5",
"brace-expansion@^5.0.5": "5.0.5",
"@babel/types": "^7.29.0",
"@babel/core": "^7.29.0"
}
}
8 changes: 4 additions & 4 deletions packages/react-native-apollo-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
"prepare": "rm -rf lib && yarn bob build"
},
"devDependencies": {
"@apollo/client": "^3.8.3",
"@apollo/client": "^3.13.9",
"@testing-library/react-native": "7.0.2",
"graphql": "^16.8.0",
"graphql": "^16.13.2",
"react-native-builder-bob": "0.26.0"
},
"peerDependencies": {
"@apollo/client": ">=3.0",
"@apollo/client": ">=3.13.9",
"@datadog/mobile-react-native": "^3.0.0",
"graphql": ">=15.0.0",
"graphql": ">=16.13.2",
"react": ">=16.13.1",
"react-native": ">=0.63.4 <1.0"
},
Comment on lines 46 to 52
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The peer dependency minimums were raised from @apollo/client >=3.0 to >=3.13.9 and from graphql >=15.0.0 to >=16.13.2. For published libraries, raising peer minimums is a breaking change for consumers pinned to older versions. If this package follows semver, this should usually be accompanied by a major version bump; alternatively, consider keeping broader peer ranges (while still using newer versions in devDependencies) unless there’s a hard requirement for the newer APIs.

Copilot uses AI. Check for mistakes.
Expand Down
26 changes: 13 additions & 13 deletions packages/react-native-babel-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,29 +41,29 @@
"react-native": ">=0.63.4 <1.0"
},
"dependencies": {
"@babel/core": "^7.27.1",
"@babel/generator": "^7.28.0",
"@babel/core": "^7.27.7",
"@babel/generator": "^7.28.6",
"@babel/helper-module-imports": "^7.27.1",
"@babel/helper-plugin-utils": "^7.27.1",
"@babel/parser": "^7.28.4",
"@babel/traverse": "^7.28.4",
"@babel/types": "^7.27.1",
"@babel/parser": "^7.28.6",
"@babel/traverse": "^7.28.6",
"@babel/types": "^7.27.7",
"fast-glob": "^3.3.3",
"svgo": "^4.0.0",
"svgo": "^4.0.1",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/cli": "^7.27.2",
"@babel/preset-env": "^7.27.2",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@swc/core": "^1.11.31",
"@babel/cli": "^7.28.6",
"@babel/preset-env": "^7.29.2",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@swc/core": "^1.13.21",
"@swc/jest": "^0.2.38",
"@types/jest": "^29.5.14",
"@types/jest": "^30.0.0",
"jest": "^29.7.0",
Comment on lines 61 to 63
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@types/jest is bumped to ^30.0.0 while jest remains on ^29.7.0. This mismatch can introduce incorrect typings and also pulls Jest 30 runtime packages (e.g., expect@30.x) into the dependency graph via the typings package. Align the major versions by either keeping @types/jest on ^29.x or upgrading jest to ^30.x (and validating config/transform compatibility).

Copilot uses AI. Check for mistakes.
"react-native-builder-bob": "0.26.0",
"tsc-alias": "^1.8.16",
"typescript": "5.0.4"
"typescript": "5.9.3"
Comment on lines +60 to +66
Comment on lines 64 to +66
},
"react-native-builder-bob": {
"source": "src",
Expand Down
7 changes: 7 additions & 0 deletions packages/react-native-babel-plugin/types/babel-core.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export {};

declare module '@babel/core' {
interface TransformCaller {
platform?: string;
}
}
Loading
Loading