fix(deps): update dependencies (non-major) #73
Merged
+126
−91
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.17.10
->^0.17.11
^2.1.3
->^2.1.5
^4.1.2
->^4.3.0
^3.20.6
->^3.21.0
Release Notes
evanw/esbuild
v0.17.11
Compare Source
Fix the
alias
feature to always prefer the longest match (#2963)It's possible to configure conflicting aliases such as
--alias:a=b
and--alias:a/c=d
, which is ambiguous for the import patha/c/x
(since it could map to eitherb/c/x
ord/x
). Previously esbuild would pick the first matchingalias
, which would non-deterministically pick between one of the possible matches. This release fixes esbuild to always deterministically pick the longest possible match.Minify calls to some global primitive constructors (#2962)
With this release, esbuild's minifier now replaces calls to
Boolean
/Number
/String
/BigInt
with equivalent shorter code when relevant:Adjust some feature compatibility tables for node (#2940)
This release makes the following adjustments to esbuild's internal feature compatibility tables for node, which tell esbuild which versions of node are known to support all aspects of that feature:
class-private-brand-checks
: node v16.9+ => node v16.4+ (a decrease)hashbang
: node v12.0+ => node v12.5+ (an increase)optional-chain
: node v16.9+ => node v16.1+ (a decrease)template-literal
: node v4+ => node v10+ (an increase)Each of these adjustments was identified by comparing against data from the
node-compat-table
package and was manually verified using old node executables downloaded from https://nodejs.org/download/release/.isaacs/node-mkdirp
v2.1.5
Compare Source
v2.1.4
Compare Source
isaacs/rimraf
v4.3.0
Compare Source
v4.2.0
Compare Source
v4.1.4
Compare Source
v4.1.3
Compare Source
colinhacks/zod
v3.21.0
Compare Source
Features
z.string().emoji()
Thanks @joseph-lozano for https://github.com/colinhacks/zod/pull/2045! To validate that all characters in a string are emoji:
...if that's something you want to do for some reason.
z.string().cuid2()
Thanks @joulev for https://github.com/colinhacks/zod/pull/1813! To validate CUIDv2:
z.string().ip()
Thanks @fvckDesa for https://github.com/colinhacks/zod/pull/2066. To validate that a string is a valid IP address:
To specify a particular
version
:z.bigint().{gt|gte|lt|lte}()
Thanks @igalklebanov for
#1711
!ZodBigInt
gets the same set of methods found onZodNumber
:z.enum(...).extract()
andz.enum(...).exclude()
Thanks @santosmarco-caribou for https://github.com/colinhacks/zod/pull/1652! To add or remove elements from a
ZodEnum
:This API is inspired by the
Exclude
andExtract
TypeScript built-ins.Pass a function to
.catch()
Thanks @0xWryth for https://github.com/colinhacks/zod/pull/2087! The
.catch()
method now accepts a function that receives the caught error:Compiler performance
Zod 3.20.2 introduced an accidental type recursion that caused long compilation times for some users. These kinds of bugs are very hard to diagnose. Big shoutout to @gydroperit for some heroic efforts here: https://github.com/colinhacks/zod/pull/2107 Zod 3.21 resolves these issues:
Commits:
3c54461
fix typo in readmec244fb6
feat: z.string().emoji() (#2045)39cbb69
Fix emoji validation, fix lintd8f07bb
Fix emoji9b7dd81
Improve variable name clarity (#2048)5cec187
Add documentation for the param parameter of z.custom654f529
Merge pull request #2057 from trygveaa/add-documentation-for-z-custom-params981af65
Merge pull request #2019 from vbud/patch-1a7c2969
Update error_handling8f3d028
BRAND Record to Non Partial (#2097)5ec98e1
Fix email issues in pull request #1982 (#2058)7d40ba5
feat(#2059): z.string.ip() - add support for IP address (#2066)e559605
feat: add.catch
error (#2087)defdab9
Fix record tests8de36eb
FIX: emoji regex and tests (#2090)16beeb5
lowercase method for ZodString (#2038)75cb9e8
add checks @ZodBigInt
. (#1711)c4d4e49
Update ERROR_HANDLING.md (#2022)d6f0890
added link to deno land4cf1960
Refactoring of ZodFormattedError type to improve tsc check time (#2107)867a921
Bump http-cache-semantics from 4.1.0 to 4.1.1 (#1985)edc3a67
Deprecate deepPartiale59f639
Add custom testsa6b44ed
Remove logginga1fc3fb
commented outtoLowerCase
andtoUpperCase
e71cc52
Update README_ZH.md (#2139)3af38fb
addZodNumber.safe()
&ZodNumber.isSafe
. (#1753)6ef82ee
Add benchmark flags5463593
Support brands in recursive types8074523
Update readmeb6794a4
Add index signature for passthrough3c6cdd2
Make generic optional in objectOutputTypebc43ad1
Fix rollup build6a0545a
3.21.07c07339
Fix brand0aa6021
Clean up testsConfiguration
📅 Schedule: Branch creation - "before 3am on Monday" (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 has been generated by Mend Renovate using a preset from
. View repository job log here