Skip to content

chore(deps): bump ox from 0.14.45 to 1.8.16 - #63

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/ox-1.8.16
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/ox-1.8.16

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Bumps ox from 0.14.45 to 1.8.16.

Release notes

Sourced from ox's releases.

ox@1.8.16

Patch Changes

  • #611 27bac43 Thanks @​jxom! - Fixed AbiParameters.decode to limit the total number of bytes read to 32 times the size of the data plus the repeated-read allowance, and to throw when dynamic values with overlapping data exceed it.

  • #613 af4199b Thanks @​jxom! - Fixed AbiFunction.decodeData and AbiError.decode to throw SelectorMismatchError when the selector in data does not match the item or one of its overloads.

  • #615 a45444a Thanks @​jxom! - Fixed AbiParameters.decode to throw when the 32-byte slot of a fixed-size bytesN value is cut short, as it does for other static types.

  • #617 8f4da51 Thanks @​jxom! - Fixed AbiParameters.encode to reject bytes and bytesN values with an odd number of hex digits, and TypedData.assert to reject such bytesN values, instead of encoding them with a trailing zero nibble.

  • #619 2f8ee9c Thanks @​jxom! - Fixed AbiEvent.decode to resolve overloaded events by the selector in topics[0] instead of always decoding with the overload picked by name.

  • #621 32f10f7 Thanks @​jxom! - Fixed AbiEvent.extractLogs to return keyed args for events with both named and unnamed inputs, matching AbiEvent.decode, and fixed AbiEvent.assertArgs and the args filter to reject positional arguments compared against keyed arguments.

  • #623 9b5aefe Thanks @​jxom! - Fixed AbiEvent.decode, AbiEvent.decodeLog and AbiEvent.extractLogs to reject indexed address, bool, intN and uintN topics that are not canonical 32-byte ABI words, as AbiParameters.decode does.

  • #624 9e7197b Thanks @​jxom! - Fixed Address.fromPublicKey to throw PublicKey.InvalidError for a compressed public key instead of deriving an address from the x coordinate alone.

  • #626 8fd15ed Thanks @​jxom! - Fixed Authorization.fromTuple and Authorization.fromRpc to throw Hex.IntegerOutOfRangeError for a chain ID that is not a safe integer instead of returning a rounded or NaN chain ID.

  • #628 ac62b90 Thanks @​jxom! - Fixed Authorization.fromTuple to throw Authorization.InvalidError unless the tuple has three or six elements, and TxEnvelopeEip7702.deserialize to require six-element authorization tuples.

  • #630 d472e23 Thanks @​jxom! - Fixed UserOperation.hash for EntryPoint 0.7 in ox/erc4337 to hash the same initCode as UserOperation.toPacked, so a factory without factoryData is included in the hash.

  • #632 3627f73 Thanks @​jxom! - Fixed Execute.decodeData and Execute.decodeBatchOfBatchesData in ox/erc7821 to decode only calldata in their own execution modes and throw Execute.UnsupportedModeError for any other mode.

  • #634 24fb8d1 Thanks @​jxom! - Fixed Keystore.encrypt and Keystore.decrypt to throw Keystore.InvalidKeySizeError when the key is shorter than 32 bytes.

  • #636 89c70df Thanks @​jxom! - Fixed Secp256k1.verify to hash the payload with sha256 when hash: true is used with address, matching the publicKey form.

  • #638 19c3335 Thanks @​jxom! - Fixed Signature.assert to reject a yParity that is not exactly 0 or 1, and Signature.toTuple to throw on an invalid or missing yParity instead of encoding it by truthiness.

  • #640 7a1a915 Thanks @​jxom! - Fixed Siwe.parseMessage to return an empty object when a message has text that is not part of the EIP-4361 prefix or suffix, such as Expiration Time and Not Before lines that are out of order, and to parse in linear time.

  • #642 f620088 Thanks @​jxom! - Fixed Siwe.createMessage to throw InvalidMessageFieldError when requestId contains a line feed or carriage return.

  • #644 f3a6299 Thanks @​jxom! - Fixed TxEnvelopeTempo.assert, TxEnvelopeTempo.serialize, and Tempo TransactionRequest.fromRpc to throw for a fee payer signature whose yParity is not 0 or 1, instead of encoding it as 1.

  • #646 1081276 Thanks @​jxom! - Fixed KeyAuthorization.from, toTuple, and toRpc (and the ox/zod/tempo Scope schema) to reject a scope with recipients and no selector.

  • #648 3417895 Thanks @​jxom! - Fixed SignatureEnvelope.assert, deserialize, fromRpc, and toRpc to reject a keychain signature whose inner signature is itself a keychain signature.

  • #650 2b48062 Thanks @​jxom! - Fixed SignatureEnvelope.assert and SignatureEnvelope.validate to reject an envelope with an unsupported type.

  • #652 a15cab8 Thanks @​jxom! - Fixed TxEnvelopeTempo.assert to throw InvalidValidityBoundError when validBefore or validAfter is not a non-negative safe integer number, instead of serializing a bigint or hex bound as unset.

  • #654 40f9fac Thanks @​jxom! - Fixed SignatureEnvelope.deserialize and SignatureEnvelope.fromRpc to reject WebAuthn signatures larger than the 2048-byte protocol maximum.

  • #656 f14c9be Thanks @​jxom! - Fixed TxEnvelopeLegacy.assert, TxEnvelopeEip2930.assert, TxEnvelopeEip1559.assert and TxEnvelopeTempo.assert to throw InvalidChainIdError for a chainId that is not a positive safe integer.

... (truncated)

Changelog

Sourced from ox's changelog.

1.8.16

Patch Changes

  • #611 27bac43 Thanks @​jxom! - Fixed AbiParameters.decode to limit the total number of bytes read to 32 times the size of the data plus the repeated-read allowance, and to throw when dynamic values with overlapping data exceed it.

  • #613 af4199b Thanks @​jxom! - Fixed AbiFunction.decodeData and AbiError.decode to throw SelectorMismatchError when the selector in data does not match the item or one of its overloads.

  • #615 a45444a Thanks @​jxom! - Fixed AbiParameters.decode to throw when the 32-byte slot of a fixed-size bytesN value is cut short, as it does for other static types.

  • #617 8f4da51 Thanks @​jxom! - Fixed AbiParameters.encode to reject bytes and bytesN values with an odd number of hex digits, and TypedData.assert to reject such bytesN values, instead of encoding them with a trailing zero nibble.

  • #619 2f8ee9c Thanks @​jxom! - Fixed AbiEvent.decode to resolve overloaded events by the selector in topics[0] instead of always decoding with the overload picked by name.

  • #621 32f10f7 Thanks @​jxom! - Fixed AbiEvent.extractLogs to return keyed args for events with both named and unnamed inputs, matching AbiEvent.decode, and fixed AbiEvent.assertArgs and the args filter to reject positional arguments compared against keyed arguments.

  • #623 9b5aefe Thanks @​jxom! - Fixed AbiEvent.decode, AbiEvent.decodeLog and AbiEvent.extractLogs to reject indexed address, bool, intN and uintN topics that are not canonical 32-byte ABI words, as AbiParameters.decode does.

  • #624 9e7197b Thanks @​jxom! - Fixed Address.fromPublicKey to throw PublicKey.InvalidError for a compressed public key instead of deriving an address from the x coordinate alone.

  • #626 8fd15ed Thanks @​jxom! - Fixed Authorization.fromTuple and Authorization.fromRpc to throw Hex.IntegerOutOfRangeError for a chain ID that is not a safe integer instead of returning a rounded or NaN chain ID.

  • #628 ac62b90 Thanks @​jxom! - Fixed Authorization.fromTuple to throw Authorization.InvalidError unless the tuple has three or six elements, and TxEnvelopeEip7702.deserialize to require six-element authorization tuples.

  • #630 d472e23 Thanks @​jxom! - Fixed UserOperation.hash for EntryPoint 0.7 in ox/erc4337 to hash the same initCode as UserOperation.toPacked, so a factory without factoryData is included in the hash.

  • #632 3627f73 Thanks @​jxom! - Fixed Execute.decodeData and Execute.decodeBatchOfBatchesData in ox/erc7821 to decode only calldata in their own execution modes and throw Execute.UnsupportedModeError for any other mode.

  • #634 24fb8d1 Thanks @​jxom! - Fixed Keystore.encrypt and Keystore.decrypt to throw Keystore.InvalidKeySizeError when the key is shorter than 32 bytes.

  • #636 89c70df Thanks @​jxom! - Fixed Secp256k1.verify to hash the payload with sha256 when hash: true is used with address, matching the publicKey form.

  • #638 19c3335 Thanks @​jxom! - Fixed Signature.assert to reject a yParity that is not exactly 0 or 1, and Signature.toTuple to throw on an invalid or missing yParity instead of encoding it by truthiness.

  • #640 7a1a915 Thanks @​jxom! - Fixed Siwe.parseMessage to return an empty object when a message has text that is not part of the EIP-4361 prefix or suffix, such as Expiration Time and Not Before lines that are out of order, and to parse in linear time.

  • #642 f620088 Thanks @​jxom! - Fixed Siwe.createMessage to throw InvalidMessageFieldError when requestId contains a line feed or carriage return.

  • #644 f3a6299 Thanks @​jxom! - Fixed TxEnvelopeTempo.assert, TxEnvelopeTempo.serialize, and Tempo TransactionRequest.fromRpc to throw for a fee payer signature whose yParity is not 0 or 1, instead of encoding it as 1.

  • #646 1081276 Thanks @​jxom! - Fixed KeyAuthorization.from, toTuple, and toRpc (and the ox/zod/tempo Scope schema) to reject a scope with recipients and no selector.

  • #648 3417895 Thanks @​jxom! - Fixed SignatureEnvelope.assert, deserialize, fromRpc, and toRpc to reject a keychain signature whose inner signature is itself a keychain signature.

  • #650 2b48062 Thanks @​jxom! - Fixed SignatureEnvelope.assert and SignatureEnvelope.validate to reject an envelope with an unsupported type.

  • #652 a15cab8 Thanks @​jxom! - Fixed TxEnvelopeTempo.assert to throw InvalidValidityBoundError when validBefore or validAfter is not a non-negative safe integer number, instead of serializing a bigint or hex bound as unset.

  • #654 40f9fac Thanks @​jxom! - Fixed SignatureEnvelope.deserialize and SignatureEnvelope.fromRpc to reject WebAuthn signatures larger than the 2048-byte protocol maximum.

... (truncated)

Commits
  • 21cf618 chore: version packages (#673)
  • c602588 docs: fix Execute error references (#674)
  • f14c9be fix: reject chainId values that are not positive safe integers in transacti...
  • 3627f73 fix: reject unsupported modes in ERC-7821 Execute decoders (#632)
  • 90af78b fix: derive Tempo zod signature yParity from large v values (#670)
  • fa5a1f1 fix: derive WebAuthn Registration.verify deviceType from the BE flag (#668)
  • b1cb7ba fix: include present domain fields in the derived EIP-712 domain type (#664)
  • bf4a8da fix: check v against chainId in TxEnvelopeLegacy.serialize (#662)
  • f6d2f2b fix: derive chain ID from v in TxEnvelopeLegacy presign hash (#660)
  • b06a125 fix: validate fields in TxEnvelopeLegacy.deserialize (#658)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 20, 2026

@justalab-agents justalab-agents Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR upgrades the ox dependency from ^0.14.45 to ^1.8.16, a major version bump. The lockfile reflects the updated transitive dependency tree, including newer versions of @noble/ciphers, @noble/curves, @noble/hashes, and @scure/bip32/bip39, plus two new additions: @noble/post-quantum and zod. Note that viem still pins to the old ox@0.14.45 internally, so both versions are now present in the lockfile simultaneously.

Findings outside the diff

These sit on lines this PR did not change, but this PR is what makes them wrong. They cannot be posted as inline comments.

  • [WARNING] package.json — package.json has dependency changes but no pnpm-lock.yaml update was found in this PR. Commit the lockfile together with manifest changes.

@justalab-agents justalab-agents Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings outside the diff

These sit on lines this PR did not change, but this PR is what makes them wrong. They cannot be posted as inline comments.

  • [CRITICAL] src/p256.ts:43 — Property 'ProjectivePoint' does not exist on type 'ECDSA'.
  • [CRITICAL] src/p256.ts:69 — Property 'x' does not exist on type 'ReturnType<"Hex" | "Bytes" | "Object">'.
  • [CRITICAL] src/p256.ts:70 — Property 'y' does not exist on type 'ReturnType<"Hex" | "Bytes" | "Object">'.
  • [CRITICAL] src/p256.ts:87 — Argument of type '0x${string}' is not assignable to parameter of type 'number | bigint'.
  • [CRITICAL] src/p256.ts:88 — Argument of type '0x${string}' is not assignable to parameter of type 'number | bigint'.
  • [CRITICAL] src/signatures.ts:230 — Type 'bigint' is not assignable to type '0x${string}'.
  • [CRITICAL] src/signatures.ts:230 — Type 'bigint' is not assignable to type '0x${string}'.
  • [CRITICAL] src/signatures.ts:230 — Type '{ prefix: 4; x: bigint; y: bigint; }' is not assignable to type '0x${string} | Bytes | { prefix: number; x: 0x${string}; y: 0x${string}; } | { prefix: number; x: 0x${string}; y?: undefined; }'.
  • [CRITICAL] test/p256.test.ts:95 — Type '{ r: bigint; s: bigint; }' is not assignable to type '0x${string} | Bytes | { r: 0x${string}; s: 0x${string}; yParity: number; } | { r: 0x${string}; s: 0x${string}; yParity?: number | undefined; }'.
  • [CRITICAL] test/p256.test.ts:95 — Type '{ prefix: 4; x: bigint; y: bigint; }' is not assignable to type '0x${string} | Bytes | { prefix: number; x: 0x${string}; y: 0x${string}; } | { prefix: number; x: 0x${string}; y?: undefined; }'.

Bumps [ox](https://github.com/wevm/ox) from 0.14.45 to 1.8.16.
- [Release notes](https://github.com/wevm/ox/releases)
- [Changelog](https://github.com/wevm/ox/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wevm/ox/compare/ox@0.14.45...ox@1.8.16)

---
updated-dependencies:
- dependency-name: ox
  dependency-version: 1.8.16
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bun/ox-1.8.16 branch from 503e186 to 0d51198 Compare November 23, 2026 17:50
Comment thread package.json
},
"dependencies": {
"ox": "^0.14.45"
"ox": "^1.8.16"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must: ox 1.x changes the P-256 API this package uses, so this bump alone fails CI: typecheck reports 12 errors starting with ProjectivePoint no longer existing on P256.noble (src/p256.ts:43), 12 P-256 tests fail, and the type build breaks, while main is green (373/373). #62 makes the same ox ^1.8.16 bump together with the P-256 migration and the Node engines change, so could we merge #62 and close this one?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant