-
Notifications
You must be signed in to change notification settings - Fork 4
chore(deps): update babel monorepo #1429
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
base: main
Are you sure you want to change the base?
Conversation
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
2b2550e
to
08900b8
Compare
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
e6ef4ec
to
6031bf4
Compare
629d073
to
6256687
Compare
6f75a80
to
4281bba
Compare
4a8a05b
to
040d1c0
Compare
040d1c0
to
7aa1546
Compare
7aa1546
to
989e238
Compare
This PR contains the following updates:
^7.26.10
->^7.27.1
^7.25.9
->^7.27.2
^19.0.12
->^19.1.3
^5.5.6
->^5.7.12
^15.2.4
->^15.3.2
Release Notes
babel/babel (@babel/core)
v7.27.1
Compare Source
👓 Spec Compliance
babel-parser
using of
as lexical declaration within for (@JLHwung)babel-parser
,babel-types
🐛 Bug Fix
babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-do-expressions
,babel-traverse
babel-helper-wrap-function
,babel-plugin-transform-async-to-generator
babel-helper-remap-async-to-generator
,babel-plugin-transform-async-to-generator
babel-helper-fixtures
,babel-parser
babel-generator
,babel-parser
babel-parser
babel-compat-data
,babel-preset-env
babel-traverse
babel-generator
💅 Polish
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-proposal-decorators
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-class-properties
,babel-plugin-transform-destructuring
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-optional-chaining
,babel-plugin-transform-parameters
,babel-traverse
🏠 Internal
babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
regenerator-runtime
dep in@babel/runtime
(@nicolo-ribaudo)babel-compat-data
,babel-preset-env
babel-compat-data
,babel-standalone
babel-register
@babel/register
to cts (@liuxingbaoyu)babel-cli
,babel-compat-data
,babel-core
,babel-generator
,babel-helper-compilation-targets
,babel-helper-fixtures
,babel-helper-module-imports
,babel-helper-module-transforms
,babel-helper-plugin-test-runner
,babel-helper-transform-fixture-test-runner
,babel-helpers
,babel-node
,babel-parser
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-modules-umd
,babel-plugin-transform-react-display-name
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-plugin-transform-typeof-symbol
,babel-plugin-transform-typescript
,babel-preset-env
,babel-register
,babel-standalone
,babel-types
babel-plugin-transform-regenerator
babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-regenerator
,babel-preset-env
,babel-runtime-corejs3
babel-helpers
,babel-plugin-transform-regenerator
babel-helpers
🔬 Output optimization
babel-helpers
,babel-plugin-transform-modules-commonjs
,babel-runtime-corejs3
interopRequireWildcard
size (@liuxingbaoyu)babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-regenerator
,babel-preset-env
,babel-runtime-corejs3
regeneratorRuntime
size (@liuxingbaoyu)withastro/astro (astro)
v5.7.12
Compare Source
Patch Changes
#13752
a079c21
Thanks @florian-lefebvre! - Improves handling of font URLs not ending with a file extension when using the experimental fonts API#13750
7d3127d
Thanks @martrapp! - Allows the ClientRouter to open new tabs or windows when submitting forms by clicking while holding the Cmd, Ctrl, or Shift key.#13765
d874fe0
Thanks @florian-lefebvre! - Fixes a case where font sources with relative protocol URLs would fail when using the experimental fonts API#13640
5e582e7
Thanks @florian-lefebvre! - Allows inferringweight
andstyle
when using the local provider of the experimental fonts APIIf you want Astro to infer those properties directly from your local font files, leave them undefined:
v5.7.11
Compare Source
Patch Changes
#13734
30aec73
Thanks @ascorbic! - Loosen content layer schema types#13751
5816b8a
Thanks @florian-lefebvre! - Updatesunifont
to support subsets when using thegoogle
provider with the experimental fonts API#13756
d4547ba
Thanks @florian-lefebvre! - Adds a terminal warning when a remote provider returns no data for a family when using the experimental fonts API#13742
f599463
Thanks @florian-lefebvre! - Fixes optimized fallback css generation to properly add asrc
when using the experimental fonts API#13740
6935540
Thanks @vixalien! - Fix cookies set after middleware did a rewrite withnext(url)
not being applied#13759
4a56d0a
Thanks @jp-knj! - Improved the error handling of certain error cases.v5.7.10
Compare Source
Patch Changes
c3e80c2
Thanks @jsparkdev! - update vite to latest version for fixing CVEv5.7.9
Compare Source
Patch Changes
2103991
Thanks @ascorbic! - Fixes height for responsive imagesv5.7.8
Compare Source
Patch Changes
b32dffa
Thanks @florian-lefebvre! - Updatesunifont
to fix a case where aunicodeRange
related error would be thrown when using the experimental fonts APIv5.7.7
Compare Source
Patch Changes
#13705
28f8716
Thanks @florian-lefebvre! - Updates unifont to latest and adds support forfetch
options from remote providers when using the experimental fonts API#13692
60d5be4
Thanks @Le0Developer! - Fixes a bug where Astro couldn't probably useinferSize
for images that contain apostrophe'
in their name.#13698
ab98f88
Thanks @sarah11918! - Improves the configuration reference docs for theadapter
entry with more relevant text and links.#13706
b4929ae
Thanks @ascorbic! - Fixes typechecking for content config schema#13653
a7b2dc6
Thanks @florian-lefebvre! - Reduces the amount of preloaded files for the local provider when using the experimental fonts API#13653
a7b2dc6
Thanks @florian-lefebvre! - Fixes a case where invalid CSS was emitted when using an experimental fonts API family name containing a spacev5.7.6
Compare Source
Patch Changes
#13703
659904b
Thanks @ascorbic! - Fixes a bug where empty fallbacks could not be provided when using the experimental fonts API#13680
18e1b97
Thanks @florian-lefebvre! - Improves theUnsupportedExternalRedirect
error message to include more details such as the concerned destination#13703
659904b
Thanks @ascorbic! - Simplifies styles for experimental responsive imagesThe generated styles for image layouts are now simpler and easier to override. Previously the responsive image component used CSS to set the size and aspect ratio of the images, but this is no longer needed. Now the styles just include
object-fit
andobject-position
for all images, and setsmax-width: 100%
for constrained images andwidth: 100%
for full-width images.This is an implementation change only, and most users will see no change. However, it may affect any custom styles you have added to your responsive images. Please check your rendered images to determine whether any change to your CSS is needed.
The styles now use the
:where()
pseudo-class, which has a specificity of 0, meaning that it is easy to override with your own styles. You can now be sure that your own classes will always override the applied styles, as will global styles onimg
.An exception is Tailwind 4, which uses cascade layers, meaning the rules are always lower specificity. Astro supports browsers that do not support cascade layers, so we cannot use this. If you need to override the styles using Tailwind 4, you must use
!important
classes. Do check if this is needed though: there may be a layout that is more appropriate for your use case.#13703
659904b
Thanks @ascorbic! - Adds warnings about using local font files in thepublicDir
when the experimental fonts API is enabled.#13703
659904b
Thanks @ascorbic! - Renames experimental responsive image layout option from "responsive" to "constrained"The layout option called
"responsive"
is renamed to"constrained"
to better reflect its behavior.The previous name was causing confusion, because it is also the name of the feature. The
responsive
layout option is specifically for images that are displayed at the requested size, unless they do not fit the width of their container, at which point they would be scaled down to fit. They do not get scaled beyond the intrinsic size of the source image, or thewidth
prop if provided.It became clear from user feedback that many people (understandably) thought that they needed to set
layout
toresponsive
if they wanted to use responsive images. They then struggled with overriding styles to make the image scale up for full-width hero images, for example, when they should have been usingfull-width
layout. Renaming the layout toconstrained
should make it clearer that this layout is for when you want to constrain the maximum size of the image, but allow it to scale-down.Upgrading
If you set a default
image.experimentalLayout
in yourastro.config.mjs
, or set it on a per-image basis using thelayout
prop, you will need to change all occurences toconstrained
:v5.7.5
Compare Source
Patch Changes
#13660
620d15d
Thanks @mingjunlu! - Addsserver.allowedHosts
docs comment toAstroUserConfig
#13591
5dd2d3f
Thanks @florian-lefebvre! - Removes unused code#13669
73f24d4
Thanks @ematipico! - Fixes an issue whereAstro.originPathname
wasn't returning the correct value when using rewrites.#13674
42388b2
Thanks @florian-lefebvre! - Fixes a case where an experimental fonts API error would be thrown when using anotherastro:assets
API#13654
4931457
Thanks @florian-lefebvre! - FixesfontProviders.google()
so it can forward options to the unifont provider, when using the experimental fonts APIUpdated dependencies [
5dd2d3f
]:v5.7.4
Compare Source
Patch Changes
#13647
ffbe8f2
Thanks @ascorbic! - Fixes a bug that caused a session error to be logged when using actions without sessions#13646
6744842
Thanks @florian-lefebvre! - Fixes a case where extra font sources were removed when using the experimental fonts API#13635
d75cac4
Thanks @florian-lefebvre! - The experimental fonts API now generates optimized fallbacks for every weight and stylev5.7.3
Compare Source
Patch Changes
#13643
67b7493
Thanks @tanishqmanuja! - Fixes a case where the font facesrc
format would be invalid when using the experimental fonts API#13639
23410c6
Thanks @florian-lefebvre! - Fixes a case where some font families would not be downloaded when using the same font provider several times, using the experimental fonts APIv5.7.2
Compare Source
Patch Changes
#13632
cb05cfb
Thanks @florian-lefebvre! - Improves the optimized fallback name generated by the experimental Fonts API#13630
3e7db4f
Thanks @florian-lefebvre! - Fixes a case where fonts using a local provider would not work because of an invalid generatedsrc
#13634
516de7d
Thanks @ematipico! - Fixes a regression where usingnext('/')
didn't correctly return the requested route.#13632
cb05cfb
Thanks @florian-lefebvre! - Improves the quality of optimized fallbacks generated by the experimental Fonts API#13616
d475afc
Thanks @lfilho! - Fixes a regression where relative static redirects didn't work as expected.v5.7.1
Compare Source
Patch Changes
#13734
30aec73
Thanks @ascorbic! - Loosen content layer schema types#13751
5816b8a
Thanks @florian-lefebvre! - Updatesunifont
to support subsets when using thegoogle
provider with the experimental fonts API#13756
d4547ba
Thanks @florian-lefebvre! - Adds a terminal warning when a remote provider returns no data for a family when using the experimental fonts API#13742
f599463
Thanks @florian-lefebvre! - Fixes optimized fallback css generation to properly add asrc
when using the experimental fonts API#13740
6935540
Thanks @vixalien! - Fix cookies set after middleware did a rewrite withnext(url)
not being applied#13759
4a56d0a
Thanks @jp-knj! - Improved the error handling of certain error cases.v5.7.0
Compare Source
Minor Changes
#13527
2fd6a6b
Thanks @ascorbic! - The experimental session API introduced in Astro 5.1 is now stable and ready for production use.Sessions are used to store user state between requests for on-demand rendered pages. You can use them to store user data, such as authentication tokens, shopping cart contents, or any other data that needs to persist across requests:
v5.6.2
Compare Source
Patch Changes
#13606
793ecd9
Thanks @natemoo-re! - Fixes a regression that allowed prerendered code to leak into the server bundle.#13576
1c60ec3
Thanks @ascorbic! - Reduces duplicate code in server islands scripts by extracting shared logic into a helper function.#13588
57e59be
Thanks @natemoo-re! - Fixes a memory leak when using SVG assets.#13589
5a0563d
Thanks @ematipico! - Deprecates the asset utility functionemitESMImage()
and adds a newemitImageMetadata()
to be used insteadThe function
emitESMImage()
is now deprecated. It will continue to function, but it is no longer recommended nor supported. This function will be completely removed in a next major release of Astro.Please replace it with the new function
emitImageMetadata()
as soon as you are able to do so:The new function returns the same signature as the previous one. However, the new function removes two deprecated arguments that were not meant to be exposed for public use:
_watchMode
andexperimentalSvgEnabled
. Since it was possible to access these with the old function, you may need to verify that your code still works as intended withemitImageMetadata()
.#13596
3752519
Thanks @jsparkdev! - update vite to latest version to fix CVE#13547
360cb91
Thanks @jsparkdev! - Updates vite to the latest version#13548
e588527
Thanks @ryuapp! - Support for Deno to install npm pacakges.Deno requires npm prefix to install packages on npm. For example, to install react, we need to run
deno add npm:react
. But currently the command executed isdeno add react
, which doesn't work. So, we change the package names to have an npm prefix if you are using Deno.#13587
a0774b3
Thanks @robertoms99! - Fixes an issue with the client router where some attributes of the root element were not updated during swap, including the transition scope.v5.6.1
Compare Source
Patch Changes
#13519
3323f5c
Thanks @florian-lefebvre! - Refactors some internals to improve Rolldown compatibility#13545
a7aff41
Thanks @stramel! - Prevent empty attributes from appearing in the SVG output#13552
9cd0fd4
Thanks @ematipico! - Fixes an issue where Astro validated the i18n configuration incorrectly, causing false positives in downstream libraries.v5.6.0
Compare Source
Minor Changes
#13403
dcb9526
Thanks @yurynix! - Adds a new optionalprerenderedErrorPageFetch
option in the Adapter API to allow adapters to provide custom implementations for fetching prerendered error pages.Now, adapters can override the default
fetch()
behavior, for example whenfetch()
is unavailable or when you cannot call the server from itself.The following example provides a custom fetch for
500.html
and404.html
, reading them from disk instead of performing an HTTP call:If no value is provided, Astro will fallback to its default behavior for fetching error pages.
Read more about this feature in the Adapter API reference.
#13482
ff257df
Thanks @florian-lefebvre! - Updates Astro config validation to also run for the Integration API. An error log will specify which integration is failing the validation.Now, Astro will first validate the user configuration, then validate the updated configuration after each integration
astro:config:setup
hook has run. This meansupdateConfig()
calls will no longer accept invalid configuration.This fixes a situation where integrations could potentially update a project with a malformed configuration. These issues should now be caught and logged so that you can update your integration to only set valid configurations.
#13405
21e7e80
Thanks @Marocco2! - Adds a neweagerness
option forprefetch()
when usingexperimental.clientPrerender
With the experimental
clientPrerender
flag enabled, you can use theeagerness
option onprefetch()
to suggest to the browser how eagerly it should prefetch/prerender link targets.This follows the same API described in the Speculation Rules API and allows you to balance the benefit of reduced wait times against bandwidth, memory, and CPU costs for your site visitors.
For example, you can now use
prefetch()
programmatically with large sets of links and avoid browser limits in place to guard against over-speculating (prerendering/prefetching too many links). Seteagerness: 'moderate'
to take advantage of First In, First Out (FIFO) strategies and browser heuristics to let the browser decide when to prerender/prefetch them and in what order:#13482
ff257df
Thanks @florian-lefebvre! - Improves integrations error handlingIf an error is thrown from an integration hook, an error log will now provide information about the concerned integration and hook
Patch Changes
#13539
c43bf8c
Thanks @ascorbic! - Adds a newsession.load()
method to the experimental session API that allows you to load a session by ID.When using the experimental sessions API, you don't normally need to worry about managing the session ID and cookies: Astro automatically reads the user's cookies and loads the correct session when needed. However, sometimes you need more control over which session to load.
The new
load()
method allows you to manually load a session by ID. This is useful if you are handling the session ID yourself, or if you want to keep track of a session without using cookies. For example, you might want to restore a session from a logged-in user on another device, or work with an API endpoint that doesn't use cookies.If a session with that ID doesn't exist, a new one will be created. This allows you to generate a session ID in the client if needed.
For more information, see the experimental sessions docs.
#13488
d777420
Thanks @stramel! - BREAKING CHANGE to the experimental SVG Component API onlyRemoves some previously available prop, attribute, and configuration options from the experimental SVG API. These items are no longer available and must be removed from your code:
The
title
prop has been removed until we can settle on the correct balance between developer experience and accessibility. Please replace anytitle
props on your components witharia-label
:Sprite mode has been temporarily removed while we consider a new implementation that addresses how this feature was being used in practice. This means that there are no longer multiple
mode
options, and all SVGs will be inline. All instances ofmode
must be removed from your project as you can no longer control a mode:The default
role
is no longer applied due to developer feedback. Please add the appropriaterole
on each component individually as needed:The
size
prop has been removed to better work in combination withviewBox
and additional styles/attributes. Please replacesize
with explicitwidth
andheight
attributes:vercel/next.js (next)
v15.3.2
Compare Source
v15.3.1
Compare Source
v15.3.0
Compare Source
v15.2.5
Compare Source
Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" (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 curated preset maintained by
. View repository job log here