basics / nuxt-booster

nuxt-booster will help you to improve the lighthouse performance score (100/100) of your website. 🚀
https://basics.github.io/nuxt-booster/
MIT License
666 stars 32 forks source link

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

Closed renovate[bot] closed 11 months ago

renovate[bot] commented 11 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/node (source) 20.10.4 -> 20.10.5 age adoption passing confidence
esbuild 0.19.9 -> 0.19.10 age adoption passing confidence
eslint-plugin-jsonc (source) 2.11.1 -> 2.11.2 age adoption passing confidence
eslint-plugin-prettier 5.0.1 -> 5.1.0 age adoption passing confidence
vitest (source) 1.0.4 -> 1.1.0 age adoption passing confidence

Release Notes

evanw/esbuild (esbuild) ### [`v0.19.10`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#01910) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.19.9...v0.19.10) - Fix glob imports in TypeScript files ([#​3319](https://togithub.com/evanw/esbuild/issues/3319)) This release fixes a problem where bundling a TypeScript file containing a glob import could emit a call to a helper function that doesn't exist. The problem happened because esbuild's TypeScript transformation removes unused imports (which is required for correctness, as they may be type-only imports) and esbuild's glob import transformation wasn't correctly marking the imported helper function as used. This wasn't caught earlier because most of esbuild's glob import tests were written in JavaScript, not in TypeScript. - Fix `require()` glob imports with bundling disabled ([#​3546](https://togithub.com/evanw/esbuild/issues/3546)) Previously `require()` calls containing glob imports were incorrectly transformed when bundling was disabled. All glob imports should only be transformed when bundling is enabled. This bug has been fixed. - Fix a panic when transforming optional chaining with `define` ([#​3551](https://togithub.com/evanw/esbuild/issues/3551), [#​3554](https://togithub.com/evanw/esbuild/pull/3554)) This release fixes a case where esbuild could crash with a panic, which was triggered by using `define` to replace an expression containing an optional chain. Here is an example: ```js // Original code console.log(process?.env.SHELL) // Old output (with --define:process.env={}) /* panic: Internal error (while parsing "") */ // New output (with --define:process.env={}) var define_process_env_default = {}; console.log(define_process_env_default.SHELL); ``` This fix was contributed by [@​hi-ogawa](https://togithub.com/hi-ogawa). - Work around a bug in node's CommonJS export name detector ([#​3544](https://togithub.com/evanw/esbuild/issues/3544)) The export names of a CommonJS module are dynamically-determined at run time because CommonJS exports are properties on a mutable object. But the export names of an ES module are statically-determined at module instantiation time by using `import` and `export` syntax and cannot be changed at run time. When you import a CommonJS module into an ES module in node, node scans over the source code to attempt to detect the set of export names that the CommonJS module will end up using. That statically-determined set of names is used as the set of names that the ES module is allowed to import at module instantiation time. However, this scan appears to have bugs (or at least, can cause false positives) because it doesn't appear to do any scope analysis. Node will incorrectly consider the module to export something even if the assignment is done to a local variable instead of to the module-level `exports` object. For example: ```js // confuseNode.js exports.confuseNode = function(exports) { // If this local is called "exports", node incorrectly // thinks this file has an export called "notAnExport". exports.notAnExport = function() { }; }; ``` You can see that node incorrectly thinks the file `confuseNode.js` has an export called `notAnExport` when that file is loaded in an ES module context: ```console $ node -e 'import("./confuseNode.js").then(console.log)' [Module: null prototype] { confuseNode: [Function (anonymous)], default: { confuseNode: [Function (anonymous)] }, notAnExport: undefined } ``` To avoid this, esbuild will now rename local variables that use the names `exports` and `module` when generating CommonJS output for the `node` platform. - Fix the return value of esbuild's `super()` shim ([#​3538](https://togithub.com/evanw/esbuild/issues/3538)) Some people write `constructor` methods that use the return value of `super()` instead of using `this`. This isn't too common because [TypeScript doesn't let you do that](https://togithub.com/microsoft/TypeScript/issues/37847) but it can come up when writing JavaScript. Previously esbuild's class lowering transform incorrectly transformed the return value of `super()` into `undefined`. With this release, the return value of `super()` will now be `this` instead: ```js // Original code class Foo extends Object { field constructor() { console.log(typeof super()) } } new Foo // Old output (with --target=es6) class Foo extends Object { constructor() { var __super = (...args) => { super(...args); __publicField(this, "field"); }; console.log(typeof __super()); } } new Foo(); // New output (with --target=es6) class Foo extends Object { constructor() { var __super = (...args) => { super(...args); __publicField(this, "field"); return this; }; console.log(typeof __super()); } } new Foo(); ``` - Terminate the Go GC when esbuild's `stop()` API is called ([#​3552](https://togithub.com/evanw/esbuild/issues/3552)) If you use esbuild with WebAssembly and pass the `worker: false` flag to `esbuild.initialize()`, then esbuild will run the WebAssembly module on the main thread. If you do this within a Deno test and that test calls `esbuild.stop()` to clean up esbuild's resources, Deno may complain that a `setTimeout()` call lasted past the end of the test. This happens when the Go is in the middle of a garbage collection pass and has scheduled additional ongoing garbage collection work. Normally calling `esbuild.stop()` will terminate the web worker that the WebAssembly module runs in, which will terminate the Go GC, but that doesn't happen if you disable the web worker with `worker: false`. With this release, esbuild will now attempt to terminate the Go GC in this edge case by calling `clearTimeout()` on these pending timeouts. - Apply `/* @​__NO_SIDE_EFFECTS__ */` on tagged template literals ([#​3511](https://togithub.com/evanw/esbuild/issues/3511)) Tagged template literals that reference functions annotated with a `@__NO_SIDE_EFFECTS__` comment are now able to be removed via tree-shaking if the result is unused. This is a convention from [Rollup](https://togithub.com/rollup/rollup/pull/5024). Here is an example: ```js // Original code const html = /* @​__NO_SIDE_EFFECTS__ */ (a, ...b) => ({ a, b }) html`remove` x = html`keep` // Old output (with --tree-shaking=true) const html = /* @​__NO_SIDE_EFFECTS__ */ (a, ...b) => ({ a, b }); html`remove`; x = html`keep`; // New output (with --tree-shaking=true) const html = /* @​__NO_SIDE_EFFECTS__ */ (a, ...b) => ({ a, b }); x = html`keep`; ``` Note that this feature currently only works within a single file, so it's not especially useful. This feature does not yet work across separate files. I still recommend using `@__PURE__` annotations instead of this feature, as they have wider tooling support. The drawback of course is that `@__PURE__` annotations need to be added at each call site, not at the declaration, and for non-call expressions such as template literals you need to wrap the expression in an IIFE (immediately-invoked function expression) to create a call expression to apply the `@__PURE__` annotation to. - Publish builds for IBM AIX PowerPC 64-bit ([#​3549](https://togithub.com/evanw/esbuild/issues/3549)) This release publishes a binary executable to npm for IBM AIX PowerPC 64-bit, which means that in theory esbuild can now be installed in that environment with `npm install esbuild`. This hasn't actually been tested yet. If you have access to such a system, it would be helpful to confirm whether or not doing this actually works.
ota-meshi/eslint-plugin-jsonc (eslint-plugin-jsonc) ### [`v2.11.2`](https://togithub.com/ota-meshi/eslint-plugin-jsonc/blob/HEAD/CHANGELOG.md#2112) [Compare Source](https://togithub.com/ota-meshi/eslint-plugin-jsonc/compare/v2.11.1...v2.11.2) ##### Patch Changes - [`3291b57`](https://togithub.com/ota-meshi/eslint-plugin-jsonc/commit/3291b578e049bd39c4cc2da9cf07ef71b79c5147) Thanks [@​ota-meshi](https://togithub.com/ota-meshi)! - fix: add espree to dependencies
prettier/eslint-plugin-prettier (eslint-plugin-prettier) ### [`v5.1.0`](https://togithub.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510) [Compare Source](https://togithub.com/prettier/eslint-plugin-prettier/compare/v5.0.1...v5.1.0) ##### Minor Changes - [#​616](https://togithub.com/prettier/eslint-plugin-prettier/pull/616) [`3856413`](https://togithub.com/prettier/eslint-plugin-prettier/commit/3856413420d3d026e5ae84f29c4bd0d558697135) Thanks [@​BPScott](https://togithub.com/BPScott)! - Add recommended config for the flat config format. If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`. ```js // eslint.config.js const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended'); module.exports = [ // Any other config imports go at the top eslintPluginPrettierRecommended, ]; ``` ##### Patch Changes - [#​614](https://togithub.com/prettier/eslint-plugin-prettier/pull/614) [`5270877`](https://togithub.com/prettier/eslint-plugin-prettier/commit/5270877d169bec05449861c8ad7e6338b0ad47c0) Thanks [@​BPScott](https://togithub.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config - [#​603](https://togithub.com/prettier/eslint-plugin-prettier/pull/603) [`a63a570`](https://togithub.com/prettier/eslint-plugin-prettier/commit/a63a570f8f3e3d53b90b1cf35e06fd7e3c387a5a) Thanks [@​filiptammergard](https://togithub.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`.
vitest-dev/vitest (vitest) ### [`v1.1.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) #####    🚀 Features - Add es-main compatibility to vite-node  -  by [@​zookatron](https://togithub.com/zookatron) in [https://github.com/vitest-dev/vitest/issues/4751](https://togithub.com/vitest-dev/vitest/issues/4751) [(486a3)](https://togithub.com/vitest-dev/vitest/commit/486a3e61) - Add --workspace option, fix root resolution in workspaces  -  by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4773](https://togithub.com/vitest-dev/vitest/issues/4773) [(67d93)](https://togithub.com/vitest-dev/vitest/commit/67d93eda) - Add --no-file-parallelism, --maxWorkers, --minWorkers flags  -  by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4705](https://togithub.com/vitest-dev/vitest/issues/4705) [(fd5d7)](https://togithub.com/vitest-dev/vitest/commit/fd5d7e66) - Add --no-isolate flag to improve performance, add documentation about performance  -  by [@​sheremet-va](https://togithub.com/sheremet-va), [@​AriPerkkio](https://togithub.com/AriPerkkio) and **Pascal Jufer** in [https://github.com/vitest-dev/vitest/issues/4777](https://togithub.com/vitest-dev/vitest/issues/4777) [(4d55a)](https://togithub.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag  -  by [@​Namchee](https://togithub.com/Namchee) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4279](https://togithub.com/vitest-dev/vitest/issues/4279) [(f859e)](https://togithub.com/vitest-dev/vitest/commit/f859efc0) #####    🐞 Bug Fixes - Correctly reset provided values  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4775](https://togithub.com/vitest-dev/vitest/issues/4775) [(5a71e)](https://togithub.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4734](https://togithub.com/vitest-dev/vitest/issues/4734) [(f8f70)](https://togithub.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4683](https://togithub.com/vitest-dev/vitest/issues/4683) [(c6f5f)](https://togithub.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4743](https://togithub.com/vitest-dev/vitest/issues/4743) [(9cc36)](https://togithub.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4724](https://togithub.com/vitest-dev/vitest/issues/4724) [(e0dde)](https://togithub.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4717](https://togithub.com/vitest-dev/vitest/issues/4717) [(71911)](https://togithub.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4736](https://togithub.com/vitest-dev/vitest/issues/4736) [(f43fd)](https://togithub.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4774](https://togithub.com/vitest-dev/vitest/issues/4774) [(8dabe)](https://togithub.com/vitest-dev/vitest/commit/8dabef86) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0)

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.



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

github-actions[bot] commented 9 months ago

:tada: This PR is included in version 3.0.0-next.45 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 7 months ago

:tada: This PR is included in version 3.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: