Skip to content

Commit

Permalink
fix(deps): update dependency @react-native-clipboard/clipboard to ^1.…
Browse files Browse the repository at this point in the history
…13.0 (#4648)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@react-native-clipboard/clipboard](https://togithub.com/react-native-clipboard/clipboard)
| [`^1.12.1` ->
`^1.13.0`](https://renovatebot.com/diffs/npm/@react-native-clipboard%2fclipboard/1.12.1/1.13.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@react-native-clipboard%2fclipboard/1.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@react-native-clipboard%2fclipboard/1.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@react-native-clipboard%2fclipboard/1.12.1/1.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@react-native-clipboard%2fclipboard/1.12.1/1.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>react-native-clipboard/clipboard
(@&#8203;react-native-clipboard/clipboard)</summary>

###
[`v1.13.0`](https://togithub.com/react-native-clipboard/clipboard/releases/tag/v1.13.0)

[Compare
Source](https://togithub.com/react-native-clipboard/clipboard/compare/v1.12.1...v1.13.0)

#### What's Changed

- Fix warnings: new NativeEventEmitter() was called with a non-null
argument by [@&#8203;espipj](https://togithub.com/espipj) in
[https://github.com/react-native-clipboard/clipboard/pull/207](https://togithub.com/react-native-clipboard/clipboard/pull/207)
- Android RN 72 Support - Update build.gradle w/ Namespace by
[@&#8203;alexhernandez](https://togithub.com/alexhernandez) in
[https://github.com/react-native-clipboard/clipboard/pull/192](https://togithub.com/react-native-clipboard/clipboard/pull/192)
- Add new architecture support - convert library to turbomodule by
[@&#8203;j-piasecki](https://togithub.com/j-piasecki) in
[https://github.com/react-native-clipboard/clipboard/pull/169](https://togithub.com/react-native-clipboard/clipboard/pull/169)
- chore(deps): bump semver from 5.7.1 to 5.7.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/react-native-clipboard/clipboard/pull/191](https://togithub.com/react-native-clipboard/clipboard/pull/191)
- chore(deps): bump word-wrap from 1.2.3 to 1.2.5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/react-native-clipboard/clipboard/pull/203](https://togithub.com/react-native-clipboard/clipboard/pull/203)
- chore(deps): bump react-devtools-core from 4.8.2 to 4.28.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/react-native-clipboard/clipboard/pull/211](https://togithub.com/react-native-clipboard/clipboard/pull/211)

#### New Contributors

- [@&#8203;espipj](https://togithub.com/espipj) made their first
contribution in
[https://github.com/react-native-clipboard/clipboard/pull/207](https://togithub.com/react-native-clipboard/clipboard/pull/207)
- [@&#8203;alexhernandez](https://togithub.com/alexhernandez) made their
first contribution in
[https://github.com/react-native-clipboard/clipboard/pull/192](https://togithub.com/react-native-clipboard/clipboard/pull/192)
- [@&#8203;j-piasecki](https://togithub.com/j-piasecki) made their first
contribution in
[https://github.com/react-native-clipboard/clipboard/pull/169](https://togithub.com/react-native-clipboard/clipboard/pull/169)

**Full Changelog**:
react-native-clipboard/clipboard@v1.12.1...v1.13.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: valora-bot <[email protected]>
Co-authored-by: Tom McGuire <[email protected]>
  • Loading branch information
3 people authored Jan 5, 2024
1 parent 75cb445 commit c38b811
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 26 deletions.
4 changes: 2 additions & 2 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ PODS:
- React-perflogger (= 0.71.12)
- RNCAsyncStorage (1.21.0):
- React-Core
- RNCClipboard (1.12.1):
- RNCClipboard (1.13.0):
- React-Core
- RNCMaskedView (0.3.1):
- React-Core
Expand Down Expand Up @@ -1203,7 +1203,7 @@ SPEC CHECKSUMS:
React-runtimeexecutor: 7902246857a4ead4166869e6c42d4df329ff721d
ReactCommon: a023fdfe1c3bd4d465153915a45d8eda51172a45
RNCAsyncStorage: 618d03a5f52fbccb3d7010076bc54712844c18ef
RNCClipboard: d77213bfa269013bf4b857b7a9ca37ee062d8ef1
RNCClipboard: 204b94473a99932e314b730a81363e0bf795a60d
RNCMaskedView: 090213d32d8b3bb83a4dcb7d12c18f0152591906
RNCPicker: b18aaf30df596e9b1738e7c1f9ee55402a229dca
RNDeviceInfo: bf8a32acbcb875f568217285d1793b0e8588c974
Expand Down
6 changes: 6 additions & 0 deletions jest_setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,11 @@ jest.mock('react-native-shake', () => ({
removeAllListeners: jest.fn(),
}))

jest.mock('@react-native-clipboard/clipboard', () => ({
setString: jest.fn(),
getString: jest.fn(),
hasString: jest.fn(),
}))

// @ts-ignore
global.__reanimatedWorkletInit = jest.fn()
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"@json-rpc-tools/utils": "^1.7.6",
"@noble/secp256k1": "^1.7.1",
"@react-native-async-storage/async-storage": "^1.21.0",
"@react-native-clipboard/clipboard": "^1.12.1",
"@react-native-clipboard/clipboard": "^1.13.0",
"@react-native-community/netinfo": "^9.5.0",
"@react-native-cookies/cookies": "^6.2.1",
"@react-native-firebase/analytics": "^17.5.0",
Expand Down
4 changes: 0 additions & 4 deletions src/components/AccountNumber.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ import 'react-native'
import AccountNumber from 'src/components/AccountNumber'
import { mockAccount } from 'test/values'

jest.mock('@react-native-clipboard/clipboard', () => ({
setString: jest.fn(),
}))

describe('AccountNumber', () => {
it('renders correctly when touch disabled', async () => {
const tree = render(<AccountNumber address={mockAccount} touchDisabled={true} />)
Expand Down
4 changes: 0 additions & 4 deletions src/fiatExchanges/ExchangeQR.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ import { navigate } from 'src/navigator/NavigationService'
import { Screens } from 'src/navigator/Screens'
import { createMockStore, getMockStackScreenProps } from 'test/utils'

jest.mock('@react-native-clipboard/clipboard', () => ({
setString: jest.fn(),
}))

const mockStore = createMockStore({
web3: {
account: '0x0000',
Expand Down
3 changes: 0 additions & 3 deletions src/onboarding/registration/OnboardingRecoveryPhrase.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ jest.mock('src/onboarding/steps', () => ({
getOnboardingStepValues: () => ({ step: 3, totalSteps: 3 }),
onboardingPropsSelector: () => mockOnboardingPropsSelector(),
}))
jest.mock('@react-native-clipboard/clipboard', () => ({
setString: jest.fn(),
}))

const mockScreenProps = getMockStackScreenProps(Screens.OnboardingRecoveryPhrase)

Expand Down
4 changes: 0 additions & 4 deletions src/qrcode/QRCode.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ import QRCode from 'src/qrcode/QRCode'
import { createMockStore } from 'test/utils'
import { mockExchanges } from 'test/values'

jest.mock('@react-native-clipboard/clipboard', () => ({
setString: jest.fn(),
}))

const mockStore = createMockStore({
web3: {
account: '0x0000',
Expand Down
4 changes: 0 additions & 4 deletions src/walletConnect/screens/ActionRequest.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ import { Address } from 'viem'

jest.mock('src/statsig')

jest.mock('@react-native-clipboard/clipboard', () => ({
setString: jest.fn(),
}))

describe('ActionRequest with WalletConnect V2', () => {
const v2Session: SessionTypes.Struct = {
expiry: 1670411909,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2647,10 +2647,10 @@
dependencies:
merge-options "^3.0.4"

"@react-native-clipboard/clipboard@^1.12.1":
version "1.12.1"
resolved "https://registry.yarnpkg.com/@react-native-clipboard/clipboard/-/clipboard-1.12.1.tgz#a23f9defb732077afa860d0598baa95f5ee9f54b"
integrity sha512-+PNk8kflpGte0W1Nz61/Dp8gHTxyuRjkVyRYBawymSIGTDHCC/zOJSbig6kGIkD8MeaGHC2vGYQJyUyCrgVPBQ==
"@react-native-clipboard/clipboard@^1.13.0":
version "1.13.0"
resolved "https://registry.yarnpkg.com/@react-native-clipboard/clipboard/-/clipboard-1.13.0.tgz#0c9b6c427c71bb6403a1e149d93f3da8ef59e0ca"
integrity sha512-SKImS8uTnOKQVFyoCoSmgpMQtdy+oQzwhRmpQL38Ecf3MqsBxyjWTUf5PFPryB40BXShpDuRx4fP+v4yidvNsg==

"@react-native-community/cli-clean@^10.1.1":
version "10.1.1"
Expand Down

0 comments on commit c38b811

Please sign in to comment.