brave-intl / bat-ledger

A BAT-based micropayments system for users and publishers
Mozilla Public License 2.0
73 stars 24 forks source link

fix(deps): update hapijs monorepo #1211

Open renovate[bot] opened 11 hours ago

renovate[bot] commented 11 hours ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@hapi/hapi (source) 21.3.6 -> 21.3.12 age adoption passing confidence
@hapi/wreck 18.0.1 -> 18.1.0 age adoption passing confidence
joi 17.12.2 -> 17.13.3 age adoption passing confidence

Release Notes

hapijs/hapi (@​hapi/hapi) ### [`v21.3.12`](https://redirect.github.com/hapijs/hapi/compare/v21.3.11...v21.3.12) [Compare Source](https://redirect.github.com/hapijs/hapi/compare/v21.3.11...v21.3.12) ### [`v21.3.11`](https://redirect.github.com/hapijs/hapi/compare/v21.3.10...v21.3.11) [Compare Source](https://redirect.github.com/hapijs/hapi/compare/v21.3.10...v21.3.11) ### [`v21.3.10`](https://redirect.github.com/hapijs/hapi/compare/v21.3.9...v21.3.10) [Compare Source](https://redirect.github.com/hapijs/hapi/compare/v21.3.9...v21.3.10) ### [`v21.3.9`](https://redirect.github.com/hapijs/hapi/compare/v21.3.8...v21.3.9) [Compare Source](https://redirect.github.com/hapijs/hapi/compare/v21.3.8...v21.3.9) ### [`v21.3.8`](https://redirect.github.com/hapijs/hapi/compare/v21.3.7...v21.3.8) [Compare Source](https://redirect.github.com/hapijs/hapi/compare/v21.3.7...v21.3.8) ### [`v21.3.7`](https://redirect.github.com/hapijs/hapi/compare/v21.3.6...v21.3.7) [Compare Source](https://redirect.github.com/hapijs/hapi/compare/v21.3.6...v21.3.7)
hapijs/wreck (@​hapi/wreck) ### [`v18.1.0`](https://redirect.github.com/hapijs/wreck/compare/v18.0.2...v18.1.0) [Compare Source](https://redirect.github.com/hapijs/wreck/compare/v18.0.2...v18.1.0) ### [`v18.0.2`](https://redirect.github.com/hapijs/wreck/compare/v18.0.1...v18.0.2) [Compare Source](https://redirect.github.com/hapijs/wreck/compare/v18.0.1...v18.0.2)
hapijs/joi (joi) ### [`v17.13.3`](https://redirect.github.com/hapijs/joi/compare/v17.13.2...3cb73d6cded39fa49a46069b64d638a0ba0f7d14) [Compare Source](https://redirect.github.com/hapijs/joi/compare/v17.13.2...v17.13.3) ### [`v17.13.2`](https://redirect.github.com/hapijs/joi/compare/v17.13.1...7373136d149be0cc727096325f22f748d22aef46) [Compare Source](https://redirect.github.com/hapijs/joi/compare/v17.13.1...v17.13.2) ### [`v17.13.1`](https://redirect.github.com/hapijs/joi/compare/v17.13.0...0066a4ef16706b722b81818a8608aea1129f4cc7) [Compare Source](https://redirect.github.com/hapijs/joi/compare/v17.13.0...v17.13.1) ### [`v17.13.0`](https://redirect.github.com/hapijs/joi/compare/v17.12.3...v17.13.0) [Compare Source](https://redirect.github.com/hapijs/joi/compare/v17.12.3...v17.13.0) ### [`v17.12.3`](https://redirect.github.com/hapijs/joi/compare/v17.12.2...554a437a5569015479887f69033bcd1357fb55d6) [Compare Source](https://redirect.github.com/hapijs/joi/compare/v17.12.2...v17.12.3)

Configuration

📅 Schedule: Branch creation - " 0-4 * 3" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 11 hours ago

[puLL-Merge] - hapijs/hapi@v21.3.6..v21.3.12

Description

This PR includes various updates and improvements to the Hapi framework, including type definition updates, bug fixes, and package version updates. The changes span across multiple files and introduce new features while refining existing functionality.

Changes ### Changes 1. `.labrc.js`: - Removed the file containing lab configuration. 2. `README.md`: - Removed Jonas Pauthier from the Technical Steering Committee list. 3. `lib/core.js`: - Removed code that destroyed requests during the stopping phase. 4. `lib/route.js`: - Modified the handling of 'Expect: 100-continue' headers and payload processing. 5. `lib/types/*.d.ts`: - Updated and refined TypeScript type definitions across multiple files. - Added new type definitions for content encoders and decoders. - Updated HTTP method type definitions. 6. `package.json`: - Updated version to 21.3.12. - Updated various dependency versions. 7. `test/*.js`: - Added new tests for payload handling, error logging, and request processing. - Modified existing tests to reflect changes in core functionality. 8. `test/types/index.ts`: - Updated TypeScript tests to reflect changes in type definitions.

Possible Issues

Security Hotspots

No significant security issues were identified in this change.

graph TD
    A[Hapi Server] --> B[Core]
    A --> C[Route]
    A --> D[Payload Processing]
    A --> E[Type Definitions]
    B --> F[Request Handling]
    C --> G[HTTP Methods]
    D --> H[Expect: 100-continue]
    E --> I[TypeScript Types]
sequenceDiagram
    participant Client
    participant Server
    participant Route
    participant Payload

    Client->>Server: Send Request
    Server->>Route: Match Route
    Route->>Payload: Process Payload
    alt Expect: 100-continue
        Payload->>Client: Send 100 Continue
        Client->>Payload: Send Payload
    end
    Payload->>Route: Provide Processed Payload
    Route->>Server: Handle Request
    Server->>Client: Send Response