Skip to content

Commit

Permalink
chore: bump @types/node from 22.10.2 to 22.13.9 (#178)
Browse files Browse the repository at this point in the history
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.10.2 to 22.13.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Mar 6, 2025
1 parent e59691b commit 8f78882
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 146 deletions.
6 changes: 4 additions & 2 deletions packages/compat/src/__tests__/instruction-test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import '@solana/test-matchers/toBeFrozenObject';

import { ImplicitArrayBuffer } from 'node:buffer';

import { address } from '@solana/addresses';
import { AccountRole, IInstruction } from '@solana/instructions';
import { PublicKey, TransactionInstruction } from '@solana/web3.js';
Expand All @@ -8,8 +10,8 @@ import { fromLegacyPublicKey } from '../address';
import { fromLegacyTransactionInstruction } from '../instruction';

function toLegacyByteArrayAppropriateForPlatform<TArrayBuffer extends ArrayBufferLike>(
data: WithImplicitCoercion<TArrayBuffer>,
): Buffer<TArrayBuffer> {
data: ImplicitArrayBuffer<TArrayBuffer>,
) {
if (__NODEJS__) {
return Buffer.from(data);
} else {
Expand Down
Loading

0 comments on commit 8f78882

Please sign in to comment.