@office-iss/react-native-win32 0.0.0-canary.279 → 0.0.0-canary.280

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.json CHANGED
@@ -2,7 +2,46 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 10 Jan 2025 06:21:26 GMT",
5
+ "date": "Sat, 11 Jan 2025 06:28:50 GMT",
6
+ "version": "0.0.0-canary.280",
7
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.280",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "34109996+chiaramooney@users.noreply.github.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "a279e3762d4daae0b5bb22dea770a61c25edefcd",
14
+ "comment": "Integrate 12/31"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@office-iss/react-native-win32",
19
+ "comment": "Bump @rnw-scripts/eslint-config to v1.2.32",
20
+ "commit": "not available"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@office-iss/react-native-win32",
25
+ "comment": "Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.36",
26
+ "commit": "not available"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@office-iss/react-native-win32",
31
+ "comment": "Bump @rnw-scripts/just-task to v2.3.49",
32
+ "commit": "not available"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@office-iss/react-native-win32",
37
+ "comment": "Bump react-native-platform-override to v1.9.51",
38
+ "commit": "not available"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ {
44
+ "date": "Fri, 10 Jan 2025 06:23:18 GMT",
6
45
  "version": "0.0.0-canary.279",
7
46
  "tag": "@office-iss/react-native-win32_v0.0.0-canary.279",
8
47
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,21 +1,33 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- <!-- This log was last generated on Fri, 10 Jan 2025 06:21:26 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Sat, 11 Jan 2025 06:28:50 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.0.0-canary.279
7
+ ## 0.0.0-canary.280
8
8
 
9
- Fri, 10 Jan 2025 06:21:26 GMT
9
+ Sat, 11 Jan 2025 06:28:50 GMT
10
10
 
11
11
  ### Changes
12
12
 
13
- - Integrate 12/20 (34109996+chiaramooney@users.noreply.github.com)
14
- - Bump @rnw-scripts/eslint-config to v1.2.31
15
- - Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.35
16
- - Bump @rnw-scripts/just-task to v2.3.48
17
- - Bump react-native-platform-override to v1.9.50
13
+ - Integrate 12/31 (34109996+chiaramooney@users.noreply.github.com)
14
+ - Bump @rnw-scripts/eslint-config to v1.2.32
15
+ - Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.36
16
+ - Bump @rnw-scripts/just-task to v2.3.49
17
+ - Bump react-native-platform-override to v1.9.51
18
18
 
19
+ ## 0.0.0-canary.279
20
+
21
+ Fri, 10 Jan 2025 06:23:18 GMT
22
+
23
+ ### Changes
24
+
25
+ - Integrate 12/20 (34109996+chiaramooney@users.noreply.github.com)
26
+ - Bump @rnw-scripts/eslint-config to v1.2.31
27
+ - Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.35
28
+ - Bump @rnw-scripts/just-task to v2.3.48
29
+ - Bump react-native-platform-override to v1.9.50
30
+
19
31
  ## 0.0.0-canary.278
20
32
 
21
33
  Wed, 08 Jan 2025 06:31:13 GMT
@@ -17,7 +17,7 @@ const version: $ReadOnly<{
17
17
  major: 0,
18
18
  minor: 78,
19
19
  patch: 0,
20
- prerelease: 'nightly-20241221-66342d3cc',
20
+ prerelease: 'nightly-20241231-a3c8e2137',
21
21
  };
22
22
 
23
23
  module.exports = {version};
@@ -14,12 +14,13 @@ import RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';
14
14
  const DEVICE_BACK_EVENT = 'hardwareBackPress';
15
15
 
16
16
  type BackPressEventName = 'backPress' | 'hardwareBackPress';
17
+ type BackPressHandler = () => ?boolean;
17
18
 
18
- const _backPressSubscriptions = [];
19
+ const _backPressSubscriptions: Array<BackPressHandler> = [];
19
20
 
20
21
  RCTDeviceEventEmitter.addListener(DEVICE_BACK_EVENT, function () {
21
22
  for (let i = _backPressSubscriptions.length - 1; i >= 0; i--) {
22
- if (_backPressSubscriptions[i]()) {
23
+ if (_backPressSubscriptions[i]?.()) {
23
24
  return;
24
25
  }
25
26
  }
@@ -57,7 +58,7 @@ type TBackHandler = {|
57
58
  +exitApp: () => void,
58
59
  +addEventListener: (
59
60
  eventName: BackPressEventName,
60
- handler: () => ?boolean,
61
+ handler: BackPressHandler,
61
62
  ) => {remove: () => void, ...},
62
63
  |};
63
64
  const BackHandler: TBackHandler = {
@@ -76,7 +77,7 @@ const BackHandler: TBackHandler = {
76
77
  */
77
78
  addEventListener: function (
78
79
  eventName: BackPressEventName,
79
- handler: () => ?boolean,
80
+ handler: BackPressHandler,
80
81
  ): {remove: () => void, ...} {
81
82
  if (_backPressSubscriptions.indexOf(handler) === -1) {
82
83
  _backPressSubscriptions.push(handler);
@@ -4,13 +4,12 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
+ * @flow strict-local
7
8
  * @format
8
- * @flow
9
9
  */
10
10
 
11
- 'use strict';
12
-
13
11
  type BackPressEventName = 'backPress' | 'hardwareBackPress';
12
+ type BackPressHandler = () => ?boolean;
14
13
 
15
14
  function emptyFunction(): void {}
16
15
 
@@ -18,13 +17,13 @@ type TBackHandler = {|
18
17
  +exitApp: () => void,
19
18
  +addEventListener: (
20
19
  eventName: BackPressEventName,
21
- handler: () => ?boolean,
20
+ handler: BackPressHandler,
22
21
  ) => {remove: () => void, ...},
23
22
  |};
24
23
 
25
24
  let BackHandler: TBackHandler = {
26
25
  exitApp: emptyFunction,
27
- addEventListener(_eventName: BackPressEventName, _handler: Function) {
26
+ addEventListener(_eventName: BackPressEventName, _handler: BackPressHandler) {
28
27
  return {
29
28
  remove: emptyFunction,
30
29
  };
@@ -14,12 +14,13 @@ import RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';
14
14
  const DEVICE_BACK_EVENT = 'hardwareBackPress';
15
15
 
16
16
  type BackPressEventName = 'backPress' | 'hardwareBackPress';
17
+ type BackPressHandler = () => ?boolean;
17
18
 
18
- const _backPressSubscriptions = [];
19
+ const _backPressSubscriptions: Array<BackPressHandler> = [];
19
20
 
20
21
  RCTDeviceEventEmitter.addListener(DEVICE_BACK_EVENT, function () {
21
22
  for (let i = _backPressSubscriptions.length - 1; i >= 0; i--) {
22
- if (_backPressSubscriptions[i]()) {
23
+ if (_backPressSubscriptions[i]?.()) {
23
24
  return;
24
25
  }
25
26
  }
@@ -57,7 +58,7 @@ type TBackHandler = {|
57
58
  +exitApp: () => void,
58
59
  +addEventListener: (
59
60
  eventName: BackPressEventName,
60
- handler: () => ?boolean,
61
+ handler: BackPressHandler,
61
62
  ) => {remove: () => void, ...},
62
63
  |};
63
64
  const BackHandler: TBackHandler = {
@@ -76,7 +77,7 @@ const BackHandler: TBackHandler = {
76
77
  */
77
78
  addEventListener: function (
78
79
  eventName: BackPressEventName,
79
- handler: () => ?boolean,
80
+ handler: BackPressHandler,
80
81
  ): {remove: () => void, ...} {
81
82
  if (_backPressSubscriptions.indexOf(handler) === -1) {
82
83
  _backPressSubscriptions.push(handler);
package/overrides.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "**/__snapshots__/**",
8
8
  "src-win/rntypes/**"
9
9
  ],
10
- "baseVersion": "0.78.0-nightly-20241221-66342d3cc",
10
+ "baseVersion": "0.78.0-nightly-20241231-a3c8e2137",
11
11
  "overrides": [
12
12
  {
13
13
  "type": "derived",
@@ -452,7 +452,7 @@
452
452
  "type": "copy",
453
453
  "file": "src-win/Libraries/Utilities/BackHandler.win32.js",
454
454
  "baseFile": "packages/react-native/Libraries/Utilities/BackHandler.android.js",
455
- "baseHash": "b5972a6f2b9da718f57eb7dd9f20b4d67164c980",
455
+ "baseHash": "c939a47e01b9b06d28d8c34a386abd024b1c0e5e",
456
456
  "issue": 4629
457
457
  },
458
458
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
- "version": "0.0.0-canary.279",
3
+ "version": "0.0.0-canary.280",
4
4
  "description": "Implementation of react native on top of Office's Win32 platform.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,13 +30,13 @@
30
30
  "@react-native-community/cli-platform-android": "15.0.0-alpha.2",
31
31
  "@react-native-community/cli-platform-ios": "15.0.0-alpha.2",
32
32
  "@react-native/assets": "1.0.0",
33
- "@react-native/assets-registry": "0.78.0-nightly-20241221-66342d3cc",
34
- "@react-native/codegen": "0.78.0-nightly-20241221-66342d3cc",
35
- "@react-native/community-cli-plugin": "0.78.0-nightly-20241221-66342d3cc",
36
- "@react-native/gradle-plugin": "0.78.0-nightly-20241221-66342d3cc",
37
- "@react-native/js-polyfills": "0.78.0-nightly-20241221-66342d3cc",
38
- "@react-native/normalize-colors": "0.78.0-nightly-20241221-66342d3cc",
39
- "@react-native/virtualized-lists": "0.78.0-nightly-20241221-66342d3cc",
33
+ "@react-native/assets-registry": "0.78.0-nightly-20241231-a3c8e2137",
34
+ "@react-native/codegen": "0.78.0-nightly-20241231-a3c8e2137",
35
+ "@react-native/community-cli-plugin": "0.78.0-nightly-20241231-a3c8e2137",
36
+ "@react-native/gradle-plugin": "0.78.0-nightly-20241231-a3c8e2137",
37
+ "@react-native/js-polyfills": "0.78.0-nightly-20241231-a3c8e2137",
38
+ "@react-native/normalize-colors": "0.78.0-nightly-20241231-a3c8e2137",
39
+ "@react-native/virtualized-lists": "0.78.0-nightly-20241231-a3c8e2137",
40
40
  "abort-controller": "^3.0.0",
41
41
  "anser": "^1.4.9",
42
42
  "ansi-regex": "^5.0.0",
@@ -63,7 +63,7 @@
63
63
  "react-refresh": "^0.14.0",
64
64
  "react-shallow-renderer": "^16.15.0",
65
65
  "regenerator-runtime": "^0.13.2",
66
- "scheduler": "0.24.0-canary-efb381bbf-20230505",
66
+ "scheduler": "0.25.0",
67
67
  "semver": "^7.1.3",
68
68
  "stacktrace-parser": "^0.1.10",
69
69
  "whatwg-fetch": "^3.0.0",
@@ -75,9 +75,9 @@
75
75
  "@babel/eslint-parser": "^7.25.1",
76
76
  "@react-native/metro-config": "0.77.0-nightly-20241001-223e98cc4",
77
77
  "@rnw-scripts/babel-react-native-config": "0.0.0",
78
- "@rnw-scripts/eslint-config": "1.2.31",
79
- "@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.35",
80
- "@rnw-scripts/just-task": "2.3.48",
78
+ "@rnw-scripts/eslint-config": "1.2.32",
79
+ "@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.36",
80
+ "@rnw-scripts/just-task": "2.3.49",
81
81
  "@rnw-scripts/metro-dev-config": "0.0.0",
82
82
  "@rnx-kit/jest-preset": "^0.1.17",
83
83
  "@types/node": "^18.0.0",
@@ -89,14 +89,14 @@
89
89
  "just-scripts": "^1.3.3",
90
90
  "prettier": "2.8.8",
91
91
  "react": "19.0.0",
92
- "react-native": "0.78.0-nightly-20241221-66342d3cc",
93
- "react-native-platform-override": "^1.9.50",
92
+ "react-native": "0.78.0-nightly-20241231-a3c8e2137",
93
+ "react-native-platform-override": "^1.9.51",
94
94
  "typescript": "5.0.4"
95
95
  },
96
96
  "peerDependencies": {
97
97
  "@types/react": "^19.0.0",
98
98
  "react": "^19.0.0",
99
- "react-native": "0.78.0-nightly-20241221-66342d3cc"
99
+ "react-native": "0.78.0-nightly-20241231-a3c8e2137"
100
100
  },
101
101
  "beachball": {
102
102
  "defaultNpmTag": "canary",
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<a35c5b22c0f20cb50ceaf56a856c9c8f>>
7
+ * @generated SignedSource<<fb2e049d649b9bf7ef6bd0e26523b4ef>>
8
8
  * @flow strict
9
9
  */
10
10
 
@@ -337,7 +337,7 @@ export const lazyAnimationCallbacks: Getter<boolean> = createNativeFlagGetter('l
337
337
  /**
338
338
  * Adds support for loading vector drawable assets in the Image component (only on Android)
339
339
  */
340
- export const loadVectorDrawablesOnImages: Getter<boolean> = createNativeFlagGetter('loadVectorDrawablesOnImages', false);
340
+ export const loadVectorDrawablesOnImages: Getter<boolean> = createNativeFlagGetter('loadVectorDrawablesOnImages', true);
341
341
  /**
342
342
  * Enables storing js caller stack when creating promise in native module. This is useful in case of Promise rejection and tracing the cause.
343
343
  */