Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update npm packages #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

chore(deps): update npm packages #4

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 16, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/node (source) ^18 -> ^18.19.33 age adoption passing confidence
@vinejs/vine ^1.4.0 -> ^1.8.0 age adoption passing confidence
bumpp ^9.1.1 -> ^9.4.1 age adoption passing confidence
changelogen ^0.5.3 -> ^0.5.5 age adoption passing confidence
defu ^6.1.2 -> ^6.1.4 age adoption passing confidence
h3 ^1.6.6 -> ^1.11.1 age adoption passing confidence
vitest (source) ^0.31.4 -> ^0.34.6 age adoption passing confidence

Release Notes

vinejs/vine (@​vinejs/vine)

v1.8.0: Add requiredIf rules

Compare Source

Please check docs to learn how requiredIf rules work. And check this PR to understand the difference between vine.union and requiredIf rules.

Commits

  • feat: implement requiredIf rules (#​42) 893d378
  • chore: update dependencies 81beff7
  • docs: update benchmarks (#​40) 21ac492
  • fix: typo on 'Symbol.for('schema_nme') (#​36) d2a03a3
  • Merge pull request #​39 from nakrovati/fix-lolo32-pr ef50170
  • fix: add joi & ajv to devDeps 200bb39
  • Merge branch 'develop' into fix-lolo32-pr 63c49e2
  • Merge pull request #​33 from nakrovati/develop f94d274
  • chore(benchmarks): add valibot 02ff0a5
  • fix(benchmark): use namespace to import yup d6f5589
  • chore(benchmarks): add ajv and joi benchmark libraries ffb2a4e

What's Changed

New Contributors

Full Changelog: vinejs/vine@v1.7.1...v1.8.0

v1.7.1: Bug fix and performance improvements

Compare Source

  • fix: unix timetamp validation with x format bcebea5
  • style: format source code 9dd9d85
  • chore: update dependencies 6e412b2
  • refactor: performance optimizations 3e35b83
  • chore: update dependencies 4c88fa1
  • refactor: dynamic import node:dns 92a48c8
What's Changed

Full Changelog: vinejs/vine@v1.7.0...v1.7.1

v1.7.0: Support for validating dates

Compare Source

This release adds support for validating dates in VineJS. You may check the documentation here. https://vinejs.dev/docs/types/date

The vine.date schema type accepts a string value formatted as a date and returns an instance of the JavaScript Date object. The reason we accept a string is because the data submitted over an HTTP request will always represent date/datetime as a string.

Once you have a date, you may validate it further by comparing it against a fixed value or compare it against values from other fields. You may refer the documentation to view all the available validation rules.

Commits

  • refactor: changes to vine validator options normalization e85356b
  • chore: update list of files to publish e07cb69
  • docs(README): remove snyk badge 1b5c497
  • docs: update github workflow badge url b39b00c
  • chore: pin typescript to 5.2 02c2945
  • feat: add weekday and weekend rules 223bb93
  • feat: add first set of date validation rules c893f10
  • feat: add support for comparing nested values in sameAs and notSameAs rules 628b4c7
  • chore: update dependencies and generate types using tsc ce6c52c
  • chore: update dependencies cf08e2a
  • feat: Serialize messages and fields when converting toJSON 72d098d
  • refactor(SimpleMessagesProperty): make fields property optional (#​18) 16bd6e8
  • Merge pull request #​16 from vinejs/snyk-upgrade-ee4daf504d32e111676c4eb19cecf239 5d2a97a
  • feat: upgrade camelcase from 7.0.1 to 8.0.0 f98e099

v1.6.0: Bundling with tsup

Compare Source

v1.5.3: Use validator.js specific imports

Compare Source

v1.5.2: Export VineValidator class

Compare Source

  • refactor: export VineValidator class cfaeeff
  • style: format source code 74ca7e0
  • chore: update dependencies 9b7bc07

Full Changelog: vinejs/vine@v1.5.1...v1.5.2

v1.5.1: Fix: Make schema classes Macroable to be extensible

Compare Source

  • ci: fix failing tests 2f5258c
  • ci: remove test.yml workflow file 89efc20
  • test: fix failing tests d04800c
  • test: add test for extending Vine class a417418
  • fix: make schema classes Macroable 41bd3d5

Full Changelog: vinejs/vine@v1.5.0...v1.5.1

v1.5.0: Add API to make validation metadata type-safe

Compare Source

In VineJS, you can pass runtime metadata to the validation pipeline, which you can access from the validation rules, union predicates, etc. The metadata API was not type-safe until now. However, this release allows you to define the static metadata types and a validation function to validate them at runtime.

Note: The metadata API is kept very simple because only a few schemas might need runtime metadata with a few properties to be functional.

One example is the unique validation rule. You might want the unique validation rule to check all the database rows except the one for the currently logged-in user. In that case, you will pass the currently logged-in userId to the statically compiled validation schema using metadata as follows.

const updateUserValidator = vine.compile(
  vine.object({
    email: vine.string().email().unique((field) => {
      console.log(field.meta.userId)
    }),
  })
)
await updateUserValidator.validate(data, {
  meta: { userId: request.auth.user.id }
})

However, there is no way to know that updateUserValidator needs the currently logged-in user id to be functional.

From @vinejs/vine@1.5.0, you can use the withMetaData method to define static types for the metadata a validator accepts. The schema will look as follows.

const updateUserValidator = vine
  .withMetaData<{ userId: number }>()
  .compile(
    vine.object({
      email: vine.string().email().unique((field) => {
        console.log(field.meta.userId)
      }),
    })
  )

You can pass a callback to withMetaData to validate the metadata at runtime if needed.

vine
  .withMetaData<{ userId: number }>((meta) => {
    // validate id and throw an error
 })

Commits

  • feat: add support for defining static metadata types and validator function 09c4097
  • chore: use @​adonisjs/tooling presets for tooling config a02908d
  • chore: upgrade japa to v3 4181ee4
  • chore: update dependencies f24ebb8
  • chore: add labels to exempt from stale and lock bot 92697c4
  • docs: fix contributing link fcad2fb

Full Changelog: vinejs/vine@v1.4.1...v1.5.0

v1.4.1: Export testing factories

Compare Source

  • fix: export testing factories ffe8279

Full Changelog: vinejs/vine@v1.4.0...v1.4.1

antfu/bumpp (bumpp)

v9.4.1

Compare Source

v9.4.0

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v9.3.1

Compare Source

   🚀 Features
    View changes on GitHub

v9.3.0

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v9.2.1

Compare Source

   🚀 Features
    View changes on GitHub

v9.2.0

Compare Source

   🚀 Features
    View changes on GitHub
unjs/changelogen (changelogen)

v0.5.5

Compare Source

compare changes

🚀 Enhancements
🩹 Fixes
  • Extra spaces in contributors and breaking changes (#​134)
  • Repo name with - or . (#​127)
🏡 Chore
❤️ Contributors

v0.5.4

Compare Source

compare changes

🚀 Enhancements
  • Support --publish and --canary (#​123)
🩹 Fixes
  • markdown: Remove unnecessary spaces (#​106)
  • Add missing type export to package.json (#​113)
📖 Documentation
  • Add documentation about --push flag (#​114)
❤️ Contributors
unjs/defu (defu)

v6.1.4

Compare Source

compare changes

🩹 Fixes
  • Merge objects with Module type (#​121)
💅 Refactors
  • Move isPlainObject to _utils to allow testing (e922a16)
  • Make isPlainObject logic more readable (e458b63)
📖 Documentation
🏡 Chore
✅ Tests
  • Improve tests for isPlainObject (b24a213)
❤️ Contributors

v6.1.3

Compare Source

compare changes

🩹 Fixes
  • Only merge plain objects (#​111)
📖 Documentation
📦 Build
  • Backward compatible cjs entry (#​110)
🏡 Chore
🎨 Styles
  • Format with prettier v3 (32650f1)
❤️ Contributors
unjs/h3 (h3)

v1.11.1

Compare Source

compare changes

🩹 Fixes
  • ws: Resolve pathname for matching (4f211f8)
📖 Documentation
🏡 Chore
❤️ Contributors

v1.11.0

Compare Source

compare changes

🚀 Enhancements
  • Add utilities for server sent events (#​586)
  • response: Add sendIterable util (#​655)
  • Handler resolver (#​669)
  • Websocket support (#​671)
🩹 Fixes
  • serveStatic: Ensure etag header is set before sending 304 response (#​653)
📖 Documentation
🏡 Chore
❤️ Contributors

v1.10.2

Compare Source

compare changes

🩹 Fixes
  • proxy: Ignore incoming accept header (#​646)
❤️ Contributors

v1.10.1

Compare Source

compare changes

🩹 Fixes
  • setResponseHeaders: Fix types to allow partial header names (#​607)
  • setCookie: Allow cookies with the same name but different options (#​606)
  • getRequestWebStream: Reuse buffered body if available (#​616)
  • getSession: Use semaphore lock for unseal operation (#​612)
  • getRequestIP: Use first address of x-forwarded-for header (#​618)
  • Avoid setting default content-type for responses with 304 status (#​641)
💅 Refactors
  • Use H3Event.node.res for internal types (#​626)
📖 Documentation
  • Fix getRequestHeaders signuture (#​613)
  • Fix typo in examples (#​631)
🏡 Chore
✅ Tests
❤️ Contributors

v1.10.0

Compare Source

compare changes

🚀 Enhancements
  • validate: Provide validate error in data (#​594)
🩹 Fixes
  • readRawBody: Check req.rawBody before req.body (#​604)
📖 Documentation
  • Add h3-compression to community packages (#​524)
  • Add examples (#​539)
🌊 Types
  • Add generics to isError and update DataT default generic param (#​582)
  • setResponseHeaders: Add autocompletion for header names (#​601)
🏡 Chore
🤖 CI
  • Fix nightly release job conditional (#​587)
❤️ Contributors

v1.9.0

Compare Source

compare changes

🚀 Enhancements
  • Support auto complete for http header names (#​542)
  • Add getValidatedRouterParams util (#​573)
  • decode option for getRouterParam (#​556)
  • Add getRequestFingerprint util (#​564)
🩹 Fixes
  • sendNoContent: Preserve custom status code if already set (#​577)
📖 Documentation
  • Add @intlify/h3 to community packages (#​559)
  • Improve jsdocs (#​574)
  • Add package pronunciation (#​569)
🌊 Types
  • Add generics to H3Error data and createError (#​566)
🏡 Chore
❤️ Contributors
  • Pooya Parsa (@​pi0)
  • Nandi95
  • Horu
  • Damian Głowala (@​DamianGlowala)
  • Nozomu Ikuta
  • Alexander Lichter (@​manniL)
  • Łukasz Wołodkiewicz
  • Kazuya Kawaguchi <kawakazu80@​gmail.com>
  • Michael Brevard <yonshi29@​gmail.com>

v1.8.2

Compare Source

compare changes

🩹 Fixes
  • getRequestProtocol: Conditionaly check connection?.encrypted (#​532)
🏡 Chore
❤️ Contributors
  • Pooya Parsa (@​pi0)
  • Michael J. Roberts

v1.8.1

Compare Source

compare changes

🩹 Fixes
  • Use safe property checks (#​521)
💅 Refactors
  • Use native Headers and Response for legacy polyfills (#​523)
📖 Documentation
  • Typo for getValidatedQuery (164f68e)
🏡 Chore
✅ Tests
  • proxy: Add additional test to make sure json response is sent as is (#​512)
❤️ Contributors

v1.8.0

Compare Source

compare changes

🚀 Enhancements
  • router: Expose event.context.matchedRoute (#​500)
  • web: Add fromWebHandler (#​490)
  • Support fromPlainHandler (bc2ca33)
  • Util getRequestIP (#​503)
  • defineRequestMidleware, defineResponseMiddleware and rename object synctax hooks (#​507)
🩹 Fixes
  • sanitizeStatusCode: Input is optional (67a4132)
  • sendNoContent: Avoid overriding status code if event is already handled (3f6d99e)
  • router: Use default behavior for no-content handling (e3c9f96)
💅 Refactors
  • app: Use sendNoContent for null handling (a72a4b8)
  • event: Rename event.body to event.rawBody (563313d)
  • Cleanup event interface (#​506)
  • Rename beforeResponse to onBeforeResponse (7cebec2)
🏡 Chore
🎨 Styles
  • Format all repo with prettier (ffab809)
❤️ Contributors

v1.7.1

Compare Source

compare changes

🩹 Fixes
  • fetchWithEvent: Allow customizing fetch impl type (#​414)
💅 Refactors
📖 Documentation
  • Update link to how it works (3dd2376)
🏡 Chore
❤️ Contributors

v1.7.0

Compare Source

compare changes

🚀 Enhancements
  • proxy: Support onResponse callback (#​368)
  • useSession: Support custom session id generator (#​390)
  • event.handled flag (#​410)
🩹 Fixes
  • types: Type for get router parameter utils (#​400)
  • proxy: Split cookie headers properly with native node fetch (#​408)
  • readRawBody: Handle body as object (#​403)
  • router: Send 204 with empty string in preemptive mode instead of 404 (#​409)
  • cache, proxy, response: Avoid sending handled events (#​411)
📖 Documentation
  • Add event as first arg for proxyRequest (3e5f427)
🏡 Chore
❤️ Contributors
vitest-dev/vitest (vitest)

v0.34.6

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.34.5

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.34.4

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.34.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.34.2

Compare Source

   🚀 Features
  • Allow importing CSS and

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/npm branch 4 times, most recently from 864ee0c to b83a06f Compare August 23, 2023 02:48
@renovate renovate bot force-pushed the renovate/npm branch 5 times, most recently from d6a5a92 to abdc51c Compare September 1, 2023 04:52
@renovate renovate bot force-pushed the renovate/npm branch 3 times, most recently from 9201409 to 0db6d96 Compare September 5, 2023 20:32
@renovate renovate bot force-pushed the renovate/npm branch 4 times, most recently from 156df04 to 82718d6 Compare September 16, 2023 02:56
@renovate renovate bot force-pushed the renovate/npm branch 6 times, most recently from 67a6b67 to f60fa8c Compare September 24, 2023 05:19
@renovate renovate bot force-pushed the renovate/npm branch 3 times, most recently from 62dae85 to fbd618c Compare September 29, 2023 20:41
@renovate renovate bot force-pushed the renovate/npm branch 2 times, most recently from d965648 to 0f2a7fc Compare October 7, 2023 05:41
@renovate renovate bot force-pushed the renovate/npm branch 3 times, most recently from 3ca02b8 to 049ea58 Compare October 19, 2023 23:19
@renovate renovate bot force-pushed the renovate/npm branch 2 times, most recently from b97df34 to d51074c Compare January 9, 2024 20:52
@renovate renovate bot force-pushed the renovate/npm branch 2 times, most recently from 675fa14 to 8d93076 Compare January 18, 2024 02:54
@renovate renovate bot force-pushed the renovate/npm branch 3 times, most recently from c9b1bbc to c1cc053 Compare January 31, 2024 05:38
@renovate renovate bot force-pushed the renovate/npm branch 2 times, most recently from 571ef58 to c62a808 Compare February 2, 2024 05:22
@renovate renovate bot force-pushed the renovate/npm branch 2 times, most recently from b1ddfef to bf4d8c0 Compare February 16, 2024 02:45
@renovate renovate bot force-pushed the renovate/npm branch 3 times, most recently from a4941a4 to 8575e03 Compare February 26, 2024 05:43
@renovate renovate bot force-pushed the renovate/npm branch 4 times, most recently from 983c2fd to 59bb0c0 Compare March 5, 2024 02:03
@renovate renovate bot force-pushed the renovate/npm branch 2 times, most recently from 92f0cf1 to d483924 Compare March 13, 2024 02:58
@renovate renovate bot force-pushed the renovate/npm branch 3 times, most recently from 205d2ed to 4f27a74 Compare March 20, 2024 08:30
@renovate renovate bot force-pushed the renovate/npm branch 3 times, most recently from 8fe287c to 3dabb63 Compare April 6, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants