sxzz / ast-explorer

AST Explorer: For most popular front-end languages and parsers.
https://ast.sxzz.moe
GNU Affero General Public License v3.0
117 stars 12 forks source link

chore(deps): update all non-major dependencies #65

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@babel/parser (source) ^7.24.5 -> ^7.24.6 age adoption passing confidence
@typescript-eslint/parser (source) ^7.9.0 -> ^7.10.0 age adoption passing confidence
@unocss/nuxt (source) ^0.60.2 -> ^0.60.3 age adoption passing confidence
@vueuse/nuxt (source) ^10.9.0 -> ^10.10.0 age adoption passing confidence
esbuild ^0.21.3 -> ^0.21.4 age adoption passing confidence
monaco-editor ^0.48.0 -> ^0.49.0 age adoption passing confidence
nuxt-umami ^2.6.1 -> ^2.6.2 age adoption passing confidence
pnpm (source) 9.1.1 -> 9.1.3 age adoption passing confidence
tsx ^4.10.5 -> ^4.11.0 age adoption passing confidence

Release Notes

babel/babel (@​babel/parser) ### [`v7.24.6`](https://togithub.com/babel/babel/releases/tag/v7.24.6) [Compare Source](https://togithub.com/babel/babel/compare/v7.24.5...v7.24.6) #### v7.24.6 (2024-05-24) Thanks [@​amjed-98](https://togithub.com/amjed-98), [@​blakewilson](https://togithub.com/blakewilson), [@​coelhucas](https://togithub.com/coelhucas), and [@​SukkaW](https://togithub.com/SukkaW) for your first PRs! ##### :bug: Bug Fix - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-class-properties` - [#​16514](https://togithub.com/babel/babel/pull/16514) Fix source maps for private member expressions ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-generator`, `babel-plugin-transform-modules-commonjs` - [#​16515](https://togithub.com/babel/babel/pull/16515) Fix source maps for template literals ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators` - [#​16485](https://togithub.com/babel/babel/pull/16485) Support undecorated static accessor in anonymous classes ([@​JLHwung](https://togithub.com/JLHwung)) - [#​16484](https://togithub.com/babel/babel/pull/16484) Fix decorator bare yield await ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-runtime-corejs3` - [#​16483](https://togithub.com/babel/babel/pull/16483) Fix: throw TypeError if addInitializer is called after finished ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-parser`, `babel-plugin-transform-typescript` - [#​16476](https://togithub.com/babel/babel/pull/16476) fix: Correctly parse `cls.fn = x` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :house: Internal - `babel-core`, `babel-helpers`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#​16501](https://togithub.com/babel/babel/pull/16501) Generate helper metadata at build time ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helpers` - [#​16499](https://togithub.com/babel/babel/pull/16499) Add `tsconfig.json` for `@babel/helpers/src/helpers` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-cli`, `babel-helpers`, `babel-plugin-external-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#​16495](https://togithub.com/babel/babel/pull/16495) Move all runtime helpers to individual files ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser`, `babel-traverse` - [#​16482](https://togithub.com/babel/babel/pull/16482) Statically generate boilerplate for bitfield accessors ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Other - [#​16466](https://togithub.com/babel/babel/pull/16466) Migrate import assertions syntax ([@​JLHwung](https://togithub.com/JLHwung)) ##### Committers: 9 - Amjad Yahia Robeen Hassan ([@​amjed-98](https://togithub.com/amjed-98)) - Babel Bot ([@​babel-bot](https://togithub.com/babel-bot)) - Blake Wilson ([@​blakewilson](https://togithub.com/blakewilson)) - Huáng Jùnliàng ([@​JLHwung](https://togithub.com/JLHwung)) - Lucas Coelho ([@​coelhucas](https://togithub.com/coelhucas)) - Nicolò Ribaudo ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Sukka ([@​SukkaW](https://togithub.com/SukkaW)) - Zzzen ([@​Zzzen](https://togithub.com/Zzzen)) - [@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)
typescript-eslint/typescript-eslint (@​typescript-eslint/parser) ### [`v7.10.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7100-2024-05-20) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.9.0...v7.10.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
unocss/unocss (@​unocss/nuxt) ### [`v0.60.3`](https://togithub.com/unocss/unocss/releases/tag/v0.60.3) [Compare Source](https://togithub.com/unocss/unocss/compare/v0.60.2...v0.60.3) #####    🚀 Features - **preset-mini**: `text-align` utility  -  by [@​UltraCakeBakery](https://togithub.com/UltraCakeBakery), **Chris** and [@​antfu](https://togithub.com/antfu) in [https://github.com/unocss/unocss/issues/3796](https://togithub.com/unocss/unocss/issues/3796) [(5f2a8)](https://togithub.com/unocss/unocss/commit/5f2a8999) - **transformer-directives**: Add removeComments  -  by [@​Simon-He95](https://togithub.com/Simon-He95) and [@​antfu](https://togithub.com/antfu) in [https://github.com/unocss/unocss/issues/3799](https://togithub.com/unocss/unocss/issues/3799) [(a9ab8)](https://togithub.com/unocss/unocss/commit/a9ab8693) #####    🐞 Bug Fixes - Enable regex eslint rule, optimize regexes  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/unocss/unocss/issues/3801](https://togithub.com/unocss/unocss/issues/3801) [(882cc)](https://togithub.com/unocss/unocss/commit/882cc694) - **cli**: Extractors not working  -  by [@​Simon-He95](https://togithub.com/Simon-He95) in [https://github.com/unocss/unocss/issues/3803](https://togithub.com/unocss/unocss/issues/3803) [(398c1)](https://togithub.com/unocss/unocss/commit/398c15ab) - **preset-mini**: DirectionSize size cause error when size is undefined  -  by [@​Simon-He95](https://togithub.com/Simon-He95) in [https://github.com/unocss/unocss/issues/3809](https://togithub.com/unocss/unocss/issues/3809) [(c19ab)](https://togithub.com/unocss/unocss/commit/c19ab689) - **shared-integration**: GetCssEscaperForJsContent replace conflict  -  by [@​Simon-He95](https://togithub.com/Simon-He95) in [https://github.com/unocss/unocss/issues/3797](https://togithub.com/unocss/unocss/issues/3797) [(dd013)](https://togithub.com/unocss/unocss/commit/dd0139bf) - **transformers**: Try improve hmr in vite  -  by [@​Simon-He95](https://togithub.com/Simon-He95) and [@​antfu](https://togithub.com/antfu) in [https://github.com/unocss/unocss/issues/3741](https://togithub.com/unocss/unocss/issues/3741) [(22ff2)](https://togithub.com/unocss/unocss/commit/22ff2616) - **vite**: Warn when `unocss:global:build:bundle` has no CSS placeholder  -  by [@​Simon-He95](https://togithub.com/Simon-He95) in [https://github.com/unocss/unocss/issues/3802](https://togithub.com/unocss/unocss/issues/3802) [(210a2)](https://togithub.com/unocss/unocss/commit/210a22b3) #####    🏎 Performance - **preset-mini**: Improve performance of `resolveBreakpoints`  -  by [@​antfu](https://togithub.com/antfu) [(05d90)](https://togithub.com/unocss/unocss/commit/05d9043d) #####     [View changes on GitHub](https://togithub.com/unocss/unocss/compare/v0.60.2...v0.60.3)
vueuse/vueuse (@​vueuse/nuxt) ### [`v10.10.0`](https://togithub.com/vueuse/vueuse/compare/v10.9.0...34c047bcc6a4da80c572f8b7896861cdcbdd4c5e) [Compare Source](https://togithub.com/vueuse/vueuse/compare/v10.9.0...34c047bcc6a4da80c572f8b7896861cdcbdd4c5e)
evanw/esbuild (esbuild) ### [`v0.21.4`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0214) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.21.3...v0.21.4) - Update support for import assertions and import attributes in node ([#​3778](https://togithub.com/evanw/esbuild/issues/3778)) Import assertions (the `assert` keyword) have been removed from node starting in v22.0.0. So esbuild will now strip them and generate a warning with `--target=node22` or above: ▲ [WARNING] The "assert" keyword is not supported in the configured target environment ("node22") [assert-to-with] example.mjs:1:40: 1 │ import json from "esbuild/package.json" assert { type: "json" } │ ~~~~~~ ╵ with Did you mean to use "with" instead of "assert"? Import attributes (the `with` keyword) have been backported to node 18 starting in v18.20.0. So esbuild will no longer strip them with `--target=node18.N` if `N` is 20 or greater. - Fix `for await` transform when a label is present This release fixes a bug where the `for await` transform, which wraps the loop in a `try` statement, previously failed to also move the loop's label into the `try` statement. This bug only affects code that uses both of these features in combination. Here's an example of some affected code: ```js // Original code async function test() { outer: for await (const x of [Promise.resolve([0, 1])]) { for (const y of x) if (y) break outer throw 'fail' } } // Old output (with --target=es6) function test() { return __async(this, null, function* () { outer: try { for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) { const x = temp.value; for (const y of x) if (y) break outer; throw "fail"; } } catch (temp) { error = [temp]; } finally { try { more && (temp = iter.return) && (yield temp.call(iter)); } finally { if (error) throw error[0]; } } }); } // New output (with --target=es6) function test() { return __async(this, null, function* () { try { outer: for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) { const x = temp.value; for (const y of x) if (y) break outer; throw "fail"; } } catch (temp) { error = [temp]; } finally { try { more && (temp = iter.return) && (yield temp.call(iter)); } finally { if (error) throw error[0]; } } }); } ``` - Do additional constant folding after cross-module enum inlining ([#​3416](https://togithub.com/evanw/esbuild/issues/3416), [#​3425](https://togithub.com/evanw/esbuild/issues/3425)) This release adds a few more cases where esbuild does constant folding after cross-module enum inlining. ```ts // Original code: enum.ts export enum Platform { WINDOWS = 'windows', MACOS = 'macos', LINUX = 'linux', } // Original code: main.ts import { Platform } from './enum'; declare const PLATFORM: string; export function logPlatform() { if (PLATFORM == Platform.WINDOWS) console.log('Windows'); else if (PLATFORM == Platform.MACOS) console.log('macOS'); else if (PLATFORM == Platform.LINUX) console.log('Linux'); else console.log('Other'); } // Old output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm) function n(){"windows"=="macos"?console.log("Windows"):"macos"=="macos"?console.log("macOS"):"linux"=="macos"?console.log("Linux"):console.log("Other")}export{n as logPlatform}; // New output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm) function n(){console.log("macOS")}export{n as logPlatform}; ``` - Pass import attributes to on-resolve plugins ([#​3384](https://togithub.com/evanw/esbuild/issues/3384), [#​3639](https://togithub.com/evanw/esbuild/issues/3639), [#​3646](https://togithub.com/evanw/esbuild/issues/3646)) With this release, on-resolve plugins will now have access to the import attributes on the import via the `with` property of the arguments object. This mirrors the `with` property of the arguments object that's already passed to on-load plugins. In addition, you can now pass `with` to the `resolve()` API call which will then forward that value on to all relevant plugins. Here's an example of a plugin that can now be written: ```js const examplePlugin = { name: 'Example plugin', setup(build) { build.onResolve({ filter: /.*/ }, args => { if (args.with.type === 'external') return { external: true } }) } } require('esbuild').build({ stdin: { contents: ` import foo from "./foo" with { type: "external" } foo() `, }, bundle: true, format: 'esm', write: false, plugins: [examplePlugin], }).then(result => { console.log(result.outputFiles[0].text) }) ``` - Formatting support for the `@position-try` rule ([#​3773](https://togithub.com/evanw/esbuild/issues/3773)) Chrome shipped this new CSS at-rule in version 125 as part of the [CSS anchor positioning API](https://developer.chrome.com/blog/anchor-positioning-api). With this release, esbuild now knows to expect a declaration list inside of the `@position-try` body block and will format it appropriately. - Always allow internal string import and export aliases ([#​3343](https://togithub.com/evanw/esbuild/issues/3343)) Import and export names can be string literals in ES2022+. Previously esbuild forbid any usage of these aliases when the target was below ES2022. Starting with this release, esbuild will only forbid such usage when the alias would otherwise end up in output as a string literal. String literal aliases that are only used internally in the bundle and are "compiled away" are no longer errors. This makes it possible to use string literal aliases with esbuild's `inject` feature even when the target is earlier than ES2022.
microsoft/monaco-editor (monaco-editor) ### [`v0.49.0`](https://togithub.com/microsoft/monaco-editor/blob/HEAD/CHANGELOG.md#0490) [Compare Source](https://togithub.com/microsoft/monaco-editor/compare/v0.48.0...v0.49.0) - New proposed `editorHoverVerbosityLevel` API - New proposed `newSymbolNamesProvider` API Contributions to `monaco-editor`: - [@​timotheeguerin (Timothee Guerin)](https://togithub.com/timotheeguerin): Add support for TypeSpec language [PR #​4450](https://togithub.com/microsoft/monaco-editor/pull/4450)
ijkml/nuxt-umami (nuxt-umami) ### [`v2.6.2`](https://togithub.com/ijkml/nuxt-umami/releases/tag/v2.6.2) [Compare Source](https://togithub.com/ijkml/nuxt-umami/compare/v2.6.1...v2.6.2) #### What's Changed - refactor: ~ by [@​ijkml](https://togithub.com/ijkml) in [https://github.com/ijkml/nuxt-umami/pull/104](https://togithub.com/ijkml/nuxt-umami/pull/104) - feat: add support for disabling tracking via localStorage by [@​supermar1010](https://togithub.com/supermar1010) in [https://github.com/ijkml/nuxt-umami/pull/105](https://togithub.com/ijkml/nuxt-umami/pull/105) - chore(docs): update readme by [@​ijkml](https://togithub.com/ijkml) in [https://github.com/ijkml/nuxt-umami/pull/106](https://togithub.com/ijkml/nuxt-umami/pull/106) #### New Contributors - [@​supermar1010](https://togithub.com/supermar1010) made their first contribution in [https://github.com/ijkml/nuxt-umami/pull/105](https://togithub.com/ijkml/nuxt-umami/pull/105) **Full Changelog**: https://github.com/ijkml/nuxt-umami/compare/v2.6.1...v2.6.2
pnpm/pnpm (pnpm) ### [`v9.1.3`](https://togithub.com/pnpm/pnpm/compare/v9.1.2...v9.1.3) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v9.1.2...v9.1.3) ### [`v9.1.2`](https://togithub.com/pnpm/pnpm/releases/tag/v9.1.2) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v9.1.1...v9.1.2) #### Patch Changes - Reduced memory usage during peer dependencies resolution [#​8084](https://togithub.com/pnpm/pnpm/pull/8084). - Details in the `pnpm licenses` output are not misplaced anymore [#​8071](https://togithub.com/pnpm/pnpm/pull/8071). #### Platinum Sponsors
#### Gold Sponsors
#### Our Silver Sponsors
privatenumber/tsx (tsx) ### [`v4.11.0`](https://togithub.com/privatenumber/tsx/releases/tag/v4.11.0) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.10.5...v4.11.0) ##### Bug Fixes - only error on invalid tsconfig if explicitly passed in ([#​30](https://togithub.com/privatenumber/tsx/issues/30)) ([b6bf39b](https://togithub.com/privatenumber/tsx/commit/b6bf39b1cc4ca037a16f5b02c619ed5c36e6d598)) ##### Features - **esm api:** configurable `tsconfig` ([3f42ae3](https://togithub.com/privatenumber/tsx/commit/3f42ae3dfc666cd4a6de7376ab051840e18c8c05)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.11.0)

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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. View repository job log here.

stackblitz[bot] commented 3 months ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ast-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 27, 2024 1:45pm
socket-security[bot] commented 3 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/monaco-editor@0.49.0 environment, network 0 93.8 MB vscode-bot

🚮 Removed packages: npm/monaco-editor@0.48.0

View full report↗︎

socket-security[bot] commented 3 months ago

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎