Skip to content

Commit

Permalink
[0.72] Integrate 0.72.14 (#13243)
Browse files Browse the repository at this point in the history
* integrate 0.72.14

* Change files

* revert to node-16 tests
  • Loading branch information
TatianaKapos authored May 20, 2024
1 parent 7389e38 commit 64e5b31
Show file tree
Hide file tree
Showing 22 changed files with 289 additions and 324 deletions.
2 changes: 1 addition & 1 deletion .ado/jobs/node-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ parameters:

- name: versions
type: object
default: [18]
default: [16]

jobs:
- ${{ each nodeVersion in parameters.versions }}:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "integrate 0.72.14",
"packageName": "@office-iss/react-native-win32",
"email": "email not defined",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "integrate 0.72.14",
"packageName": "react-native-windows",
"email": "email not defined",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"excludePatterns": [
"src/js/examples-win32/**"
],
"baseVersion": "0.72.6",
"baseVersion": "0.72.14",
"overrides": [
{
"type": "patch",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@types/node": "^16.0.0",
"eslint": "^8.19.0",
"just-scripts": "^1.3.3",
"react-native": "0.72.6",
"react-native": "0.72.14",
"react-native-platform-override": "^1.9.4",
"typescript": "^4.9.5"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/@office-iss/react-native-win32/overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"**/__snapshots__/**",
"src/rntypes/**"
],
"baseVersion": "0.72.6",
"baseVersion": "0.72.14",
"overrides": [
{
"type": "derived",
Expand Down Expand Up @@ -35,7 +35,7 @@
"type": "derived",
"file": "src/Libraries/Animated/NativeAnimatedHelper.win32.js",
"baseFile": "packages/react-native/Libraries/Animated/NativeAnimatedHelper.js",
"baseHash": "e0365ebe34de05757962476b84fb581a3c007a19",
"baseHash": "ae83fb31990e1d572d743909f5bdd36589c86939",
"issue": 11041
},
{
Expand Down
17 changes: 9 additions & 8 deletions packages/@office-iss/react-native-win32/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,30 @@
"dependencies": {
"@babel/runtime": "^7.0.0",
"@jest/create-cache-key-function": "^29.2.1",
"@react-native-community/cli": "11.3.7",
"@react-native-community/cli-platform-android": "11.3.7",
"@react-native-community/cli-platform-ios": "11.3.7",
"@react-native-community/cli": "^11.4.1",
"@react-native-community/cli-platform-android": "^11.4.1",
"@react-native-community/cli-platform-ios": "^11.4.1",
"@react-native/assets": "1.0.0",
"@react-native/assets-registry": "^0.72.0",
"@react-native/codegen": "^0.72.7",
"@react-native/codegen": "^0.72.8",
"@react-native/gradle-plugin": "^0.72.11",
"@react-native/js-polyfills": "^0.72.1",
"@react-native/normalize-colors": "^0.72.0",
"@react-native/virtualized-lists": "^0.72.8",
"abort-controller": "^3.0.0",
"anser": "^1.4.9",
"ansi-regex": "^5.0.0",
"art": "^0.10.0",
"base64-js": "^1.1.2",
"deprecated-react-native-prop-types": "4.1.0",
"deprecated-react-native-prop-types": "^4.2.3",
"event-target-shim": "^5.0.1",
"flow-enums-runtime": "^0.0.5",
"invariant": "^2.2.4",
"jest-environment-node": "^29.2.1",
"jsc-android": "^250231.0.0",
"memoize-one": "^5.0.0",
"metro-runtime": "0.76.8",
"metro-source-map": "0.76.8",
"metro-runtime": "^0.76.9",
"metro-source-map": "^0.76.9",
"mkdirp": "^0.5.1",
"nullthrows": "^1.1.1",
"pretty-format": "^26.5.2",
Expand Down Expand Up @@ -83,7 +84,7 @@
"just-scripts": "^1.3.3",
"prettier": "^2.4.1",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native": "0.72.14",
"react-native-platform-override": "^1.9.4",
"typescript": "^4.9.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -564,10 +564,13 @@ function transformDataType(value: number | string): number | string {
if (typeof value !== 'string') {
return value;
}
if (/deg$/.test(value)) {

// Normalize degrees and radians to a number expressed in radians
if (value.endsWith('deg')) {
const degrees = parseFloat(value) || 0;
const radians = (degrees * Math.PI) / 180.0;
return radians;
return (degrees * Math.PI) / 180.0;
} else if (value.endsWith('rad')) {
return parseFloat(value) || 0;
} else {
return value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"just-scripts": "^1.3.2",
"prettier": "^2.4.1",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native": "0.72.14",
"react-native-windows": "0.72.32",
"typescript": "^4.9.5"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@react-native-windows/tester/overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"excludePatterns": [
"src/js/examples-win/**"
],
"baseVersion": "0.72.6",
"baseVersion": "0.72.14",
"overrides": [
{
"type": "patch",
Expand Down
2 changes: 1 addition & 1 deletion packages/@react-native-windows/tester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@types/node": "^16.0.0",
"eslint": "^8.19.0",
"just-scripts": "^1.3.3",
"react-native": "0.72.6",
"react-native": "0.72.14",
"react-native-platform-override": "^1.9.4",
"react-native-windows": "0.72.32",
"typescript": "^4.9.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/@react-native/monorepo/overrides.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"baseVersion": "0.72.6",
"baseVersion": "0.72.14",
"overrides": [
{
"type": "patch",
"file": "package.json",
"baseFile": "package.json",
"baseHash": "0ee32d7d6f3919e9cf627e6d30e2482eab376171"
"baseHash": "1febec225789ddfd4a2c38ba579e88f14b1060d0"
}
]
}
8 changes: 4 additions & 4 deletions packages/@react-native/monorepo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@babel/plugin-transform-regenerator": "^7.20.0",
"@definitelytyped/dtslint": "^0.0.127",
"@jest/create-cache-key-function": "^29.2.1",
"@react-native/metro-config": "^0.72.11",
"@react-native/metro-config": "^0.72.12",
"@reactions/component": "^2.0.2",
"@types/react": "^18.0.18",
"@typescript-eslint/parser": "^5.30.5",
Expand Down Expand Up @@ -83,9 +83,9 @@
"jest": "^29.2.1",
"jest-junit": "^10.0.0",
"jscodeshift": "^0.14.0",
"metro-babel-register": "0.76.7",
"metro-memory-fs": "0.76.7",
"metro-react-native-babel-transformer": "0.76.7",
"metro-babel-register": "^0.76.9",
"metro-memory-fs": "^0.76.9",
"metro-react-native-babel-transformer": "^0.76.9",
"mkdirp": "^0.5.1",
"mock-fs": "^5.1.4",
"prettier": "^2.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/@react-native/tester/overrides.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"baseVersion": "0.72.6",
"baseVersion": "0.72.14",
"overrides": [
{
"type": "copy",
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-test-app-fabric/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native": "0.72.14",
"react-native-windows": "0.72.32"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native": "0.72.14",
"react-native-windows": "0.72.32",
"react-native-xaml": "^0.0.74"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@typescript-eslint/parser": "^5.21.0",
"chai": "^4.2.0",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native": "0.72.14",
"react-native-windows": "0.72.32"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native": "0.72.14",
"react-native-windows": "0.72.32"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sample-apps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native": "0.72.14",
"react-native-windows": "0.72.32"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion vnext/overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"**/__snapshots__/**",
"src/rntypes/**"
],
"baseVersion": "0.72.6",
"baseVersion": "0.72.14",
"overrides": [
{
"type": "derived",
Expand Down
17 changes: 9 additions & 8 deletions vnext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,30 @@
"dependencies": {
"@babel/runtime": "^7.0.0",
"@jest/create-cache-key-function": "^29.2.1",
"@react-native-community/cli": "11.3.7",
"@react-native-community/cli-platform-android": "11.3.7",
"@react-native-community/cli-platform-ios": "11.3.7",
"@react-native-community/cli": "^11.4.1",
"@react-native-community/cli-platform-android": "^11.4.1",
"@react-native-community/cli-platform-ios": "^11.4.1",
"@react-native-windows/cli": "0.72.5",
"@react-native/assets": "1.0.0",
"@react-native/assets-registry": "^0.72.0",
"@react-native/codegen": "^0.72.7",
"@react-native/codegen": "^0.72.8",
"@react-native/gradle-plugin": "^0.72.11",
"@react-native/js-polyfills": "^0.72.1",
"@react-native/normalize-colors": "^0.72.0",
"@react-native/virtualized-lists": "^0.72.8",
"abort-controller": "^3.0.0",
"anser": "^1.4.9",
"ansi-regex": "^5.0.0",
"base64-js": "^1.1.2",
"deprecated-react-native-prop-types": "4.1.0",
"deprecated-react-native-prop-types": "^4.2.3",
"event-target-shim": "^5.0.1",
"flow-enums-runtime": "^0.0.5",
"invariant": "^2.2.4",
"jest-environment-node": "^29.2.1",
"jsc-android": "^250231.0.0",
"memoize-one": "^5.0.0",
"metro-runtime": "0.76.8",
"metro-source-map": "0.76.8",
"metro-runtime": "^0.76.9",
"metro-source-map": "^0.76.9",
"mkdirp": "^0.5.1",
"nullthrows": "^1.1.1",
"pretty-format": "^26.5.2",
Expand Down Expand Up @@ -80,7 +81,7 @@
"metro-config": "0.76.4",
"prettier": "^2.4.1",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native": "0.72.14",
"react-native-platform-override": "^1.9.4",
"react-refresh": "^0.4.0",
"typescript": "^4.9.5"
Expand Down
Loading

0 comments on commit 64e5b31

Please sign in to comment.