Skip to content
Closed
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
4 changes: 2 additions & 2 deletions .github/workflow-scripts/generateChangelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ function _generateChangelog(previousVersion, version, token) {
run('git checkout main');
run('git fetch');
run('git pull origin main');
const generateChangelogComand = `npx @rnx-kit/rn-changelog-generator --base v${previousVersion} --compare v${version} --repo . --changelog ./CHANGELOG.md --token ${token}`;
run(generateChangelogComand);
const generateChangelogCommand = `npx @rnx-kit/rn-changelog-generator --base v${previousVersion} --compare v${version} --repo . --changelog ./CHANGELOG.md --token ${token}`;
run(generateChangelogCommand);
}

function _pushCommit(version) {
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG-0.6x.md
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ This file contains all changelogs for releases in the 0.60-0.69 range. Please ch
- Fix crash on ReactEditText with AppCompat 1.4.0 ([e21f8ec349](https://github.com/facebook/react-native/commit/e21f8ec34984551f87a306672160cc88e67e4793) by [@cortinico](https://github.com/cortinico))
- Do not .lowerCase the library name when codegenerating TurboModule Specs ([28aeb7b865](https://github.com/facebook/react-native/commit/28aeb7b8659b38ee3a27fae213c4d0800f4d7e31) by [@cortinico](https://github.com/cortinico))
- Enable hitSlop to be set using a single number. ([a96bdb7154](https://github.com/facebook/react-native/commit/a96bdb7154b0d8c7f43977d8a583e8d2cbdcb795) by [@javache](https://github.com/javache))
- Updated TextInput prop types to accomodate for new autoComplete values ([9eb0881c8f](https://github.com/facebook/react-native/commit/9eb0881c8fecd0e974b1cb9f479bad3075854340) by [@TheWirv](https://github.com/TheWirv))
- Updated TextInput prop types to accommodate for new autoComplete values ([9eb0881c8f](https://github.com/facebook/react-native/commit/9eb0881c8fecd0e974b1cb9f479bad3075854340) by [@TheWirv](https://github.com/TheWirv))
- Don't reconstruct app components https://github.com/facebook/react-native/issues/25040 ([fc962c9b6c](https://github.com/facebook/react-native/commit/fc962c9b6c4bf9f88decbe014ab9a9d5c1cf51bc) by [@Somena1](https://github.com/Somena1))
- Do NOT skip the first child view in the scroll view group when measuring the lower and upper bounds for snapping. ([61e1b6f86c](https://github.com/facebook/react-native/commit/61e1b6f86cf98d8a74eeb9353143fe0c624fe6e6) by [@ryancat](https://github.com/ryancat))
- Fix crash when a Switch is initialised with both backgroundColor and thumbColor. ([456cf3db14](https://github.com/facebook/react-native/commit/456cf3db14c443c483d63aa97c88b45ffd25799b) by [@smarki](https://github.com/smarki))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`prepareDebuggerShellFromDotSlashFile fails with the expected error message for a missing dotslash file 1`] = `
Object {
"code": "unexpected_error",
"humanReadableMessage": "An unexpected error occured while installing the latest version of React Native DevTools. Using a fallback version instead.",
"humanReadableMessage": "An unexpected error occurred while installing the latest version of React Native DevTools. Using a fallback version instead.",
"verboseInfo": Any<String>,
}
`;
Expand Down
2 changes: 1 addition & 1 deletion packages/debugger-shell/src/node/private/LaunchUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async function prepareDebuggerShellFromDotSlashFile(
return {
code: 'unexpected_error',
humanReadableMessage:
'An unexpected error occured while installing the latest version of React Native DevTools. ' +
'An unexpected error occurred while installing the latest version of React Native DevTools. ' +
'Using a fallback version instead.',
verboseInfo: stderr,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test('moving box by 100 points', () => {
Fantom.unstable_produceFramesForDuration(500);

// Animation is completed now. C++ Animated will commit the final position to the shadow tree.
// TODO(T232605345): this shouldn't be neccessary once we fix Android's race condition.
// TODO(T232605345): this shouldn't be necessary once we fix Android's race condition.
Fantom.runWorkLoop();
expect(viewElement.getBoundingClientRect().x).toBe(100);
});
Expand Down Expand Up @@ -251,7 +251,7 @@ test('animated opacity', () => {
0,
);

// TODO: this shouldn't be neccessary since animation should be stopped after duration
// TODO: this shouldn't be necessary since animation should be stopped after duration
Fantom.runTask(() => {
_opacityAnimation?.stop();
});
Expand Down Expand Up @@ -559,7 +559,7 @@ test('animate layout props', () => {

Fantom.unstable_produceFramesForDuration(10);

// TODO: this shouldn't be neccessary since animation should be stopped after duration
// TODO: this shouldn't be necessary since animation should be stopped after duration
Fantom.runTask(() => {
_heightAnimation?.stop();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ describe('Animated', () => {
expect(cb).toBeCalledWith({finished: true});
});

it('parellelizes well', () => {
it('parallelizes well', () => {
const anim1 = {start: jest.fn()};
const anim2 = {start: jest.fn()};
const cb = jest.fn();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ test('animated opacity', () => {
0,
);

// TODO: this shouldn't be neccessary since animation should be stopped after duration
// TODO: this shouldn't be necessary since animation should be stopped after duration
Fantom.runTask(() => {
_opacityAnimation?.stop();
});
Expand Down Expand Up @@ -132,7 +132,7 @@ test('animate layout props', () => {

Fantom.unstable_produceFramesForDuration(100);

// TODO: this shouldn't be neccessary since animation should be stopped after duration
// TODO: this shouldn't be necessary since animation should be stopped after duration
Fantom.runTask(() => {
_heightAnimation?.stop();
});
Expand Down Expand Up @@ -199,7 +199,7 @@ test('animate layout props and rerender', () => {

Fantom.unstable_produceFramesForDuration(500);

// TODO: this shouldn't be neccessary since animation should be stopped after duration
// TODO: this shouldn't be necessary since animation should be stopped after duration
Fantom.runTask(() => {
_heightAnimation?.stop();
});
Expand Down Expand Up @@ -290,7 +290,7 @@ test('animate non-layout props and rerender', () => {

Fantom.unstable_produceFramesForDuration(500);

// TODO: this shouldn't be neccessary since animation should be stopped after duration
// TODO: this shouldn't be necessary since animation should be stopped after duration
Fantom.runTask(() => {
_opacityAnimation?.stop();
});
Expand Down Expand Up @@ -394,7 +394,7 @@ test('animate layout props and rerender in many components', () => {
_setWidth(200);
});

// TODO: this shouldn't be neccessary since animation should be stopped after duration
// TODO: this shouldn't be necessary since animation should be stopped after duration
Fantom.runTask(() => {
_heightAnimation?.stop();
});
Expand Down Expand Up @@ -469,7 +469,7 @@ test('animate width, height and opacity at once', () => {

Fantom.unstable_produceFramesForDuration(100);

// TODO: this shouldn't be neccessary since animation should be stopped after duration
// TODO: this shouldn't be necessary since animation should be stopped after duration
Fantom.runTask(() => {
_parallelAnimation?.stop();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<22737380b5e4280ce3563ac009164f56>>
* @generated SignedSource<<a389884f917160390547bb8b67479473>>
*
* This file was sync'd from the facebook/react repository.
* This file is no longer sync'd from the facebook/react repository.
* The version compatibility check is removed. Use at your own risk.
*/

"use strict";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<232209f5a157745637191195f25907c7>>
* @generated SignedSource<<7e40a1e09e8b18f5fde8d400a830ed9a>>
*
* This file was sync'd from the facebook/react repository.
* This file is no longer sync'd from the facebook/react repository.
* The version compatibility check is removed. Use at your own risk.
*/

"use strict";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9b111e8265a6b1d86607277dbe91d200>>
* @generated SignedSource<<3db8390cde71bdefbc682552931ec739>>
*
* This file was sync'd from the facebook/react repository.
* This file is no longer sync'd from the facebook/react repository.
* The version compatibility check is removed. Use at your own risk.
*/

"use strict";
Expand Down
5 changes: 3 additions & 2 deletions packages/react-native/Libraries/Renderer/shims/ReactNative.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
* @noformat
* @nolint
* @flow
* @generated SignedSource<<e2c46705ed927302dbe9332dafba459d>>
* @generated SignedSource<<7a063365bcf9d96b1cd8714d309e5b92>>
*
* This file was sync'd from the facebook/react repository.
* This file is no longer sync'd from the facebook/react repository.
* The version compatibility check is removed. Use at your own risk.
*/
'use strict';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ TEST_F(LayoutTest, overflowInsetTransformScaleTest) {
auto layoutMetricsABC = viewShadowNodeABC_->getLayoutMetrics();

// The frame of box ABC won't actually scale up. The transform matrix is
// purely cosmatic and should apply later in mounting phase.
// purely cosmetic and should apply later in mounting phase.
EXPECT_EQ(layoutMetricsABC.frame.size.width, 110);
EXPECT_EQ(layoutMetricsABC.frame.size.height, 20);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ TEST_P(RuntimeSchedulerTest, normalTaskYieldsToSynchronousAccessAndResumes) {
// the test would be flaky in a multithreaded environment.
stubQueue_->waitForTasks(2);

// Normal priority task immediatelly yield in favour of the sync task.
// Normal priority task immediately yield in favour of the sync task.
stubQueue_->tick();

EXPECT_EQ(stubQueue_->size(), 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function PointerEventPointerCancelTouchTestCase(
) {
const {harness} = props;

const testPointerEvent = harness.useAsyncTest('pointercancel event recieved');
const testPointerEvent = harness.useAsyncTest('pointercancel event received');

const pointerDownEventRef = useRef<PointerEvent | null>(null);
const pointerCancelEventRef = useRef<PointerEvent | null>(null);
Expand All @@ -40,7 +40,7 @@ function PointerEventPointerCancelTouchTestCase(

testPointerEvent.step(({assert_equals, assert_not_equals}) => {
const pointerDownEvent = pointerDownEventRef.current;
assert_not_equals(pointerDownEvent, null, 'pointerdown was recieved: ');
assert_not_equals(pointerDownEvent, null, 'pointerdown was received: ');
if (pointerDownEvent != null) {
assert_equals(
event.nativeEvent.pointerId,
Expand Down Expand Up @@ -87,7 +87,7 @@ function PointerEventPointerCancelTouchTestCase(
assert_not_equals(
pointerCancelEvent,
null,
'pointercancel was recieved: ',
'pointercancel was received: ',
);
if (pointerCancelEvent != null) {
assert_equals(
Expand Down Expand Up @@ -118,7 +118,7 @@ function PointerEventPointerCancelTouchTestCase(
assert_not_equals(
pointerCancelEvent,
null,
'pointercancel was recieved: ',
'pointercancel was received: ',
);
if (pointerCancelEvent != null) {
assert_equals(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function PointerEventPointerOverOutTestCase(
assert_equals(
innerOverRef.current,
innerOutRef.current,
'pointerover is recieved before pointerout',
'pointerover is received before pointerout',
);
switch (innerOverRef.current) {
case 0: {
Expand Down Expand Up @@ -144,7 +144,7 @@ function PointerEventPointerOverOutTestCase(
assert_equals(
outerOwnOverRef.current,
outerOwnOutRef.current,
'outer: pointerover is recieved before pointerout',
'outer: pointerover is received before pointerout',
);
outerOwnOverRef.current++;
} else {
Expand All @@ -167,7 +167,7 @@ function PointerEventPointerOverOutTestCase(
assert_equals(
outerOwnOverRef.current,
outerOwnOutRef.current + 1,
'outer: pointerout is recieved after pointerover',
'outer: pointerout is received after pointerover',
);
if (outerOwnOutRef.current === 1) {
assert_equals(innerOutRef.current, 2, 'inner should be done now');
Expand All @@ -178,7 +178,7 @@ function PointerEventPointerOverOutTestCase(
assert_equals(
outerOutRef.current - outerOwnOutRef.current,
innerOutRef.current - 1,
'pointerout: should only recieve this via bubbling',
'pointerout: should only receive this via bubbling',
);
}
});
Expand Down
2 changes: 1 addition & 1 deletion packages/rn-tester/js/examples/Image/ImageExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ exports.examples = [
{
title: 'Multiple Image Source using the `srcSet` prop.',
description:
('A list of comma seperated uris along with scale are provided in `srcSet`.' +
('A list of comma separated uris along with scale are provided in `srcSet`.' +
'An appropriate value will be used based on the scale of the device.': string),
render: function (): React.Node {
return (
Expand Down