brave / brave-variations

Resources to compile, publish and inspect the variations seed file
Mozilla Public License 2.0
17 stars 17 forks source link

Update dependency tsx to v4.10.4 #1070

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
tsx 4.10.0 -> 4.10.4 age adoption passing confidence

Release Notes

privatenumber/tsx (tsx) ### [`v4.10.4`](https://togithub.com/privatenumber/tsx/compare/v4.10.3...4a8a2dcce25e1223dec65219659065901fd7620f) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.10.3...v4.10.4) ### [`v4.10.3`](https://togithub.com/privatenumber/tsx/releases/tag/v4.10.3) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.10.2...v4.10.3) ##### Performance Improvements - skip parsing if `import(` is not found in minified code ([5cdd50b](https://togithub.com/privatenumber/tsx/commit/5cdd50bc3fb406c02b9508ea15e33c4f9d597bfb)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.10.3) ### [`v4.10.2`](https://togithub.com/privatenumber/tsx/compare/v4.10.1...2c87fc156b6343b1ac789ecd5de0a4b64a2f7361) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.10.1...v4.10.2) ### [`v4.10.1`](https://togithub.com/privatenumber/tsx/compare/v4.10.0...efb35094f23ea48c51e8f0ec4f1aade47e91dd01) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.10.0...v4.10.1)

Configuration

📅 Schedule: Branch creation - " 0-4 * 3" (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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



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

github-actions[bot] commented 4 months ago

[puLL-Merge] - privatenumber/tsx@v4.10.0..v4.10.4

Description

This PR makes various improvements and fixes to the tsx codebase:

The main motivation seems to be fixing bugs, improving performance, and expanding test coverage.

Changes ### Changes - `.github/` - Updates issue templates, removes feature request template, updates release workflow - `.gitignore` - Simplifies `node_modules` ignore - `package.json`: - Specifies npm 9.1.1 as package manager - Updates dependencies - `src/`: - `cjs/api/module-resolve-filename.ts` - Handles file URL paths - `esm/api/index.ts` - Exports additional types - `esm/api/register.ts` - Improves Register type - `esm/hook/resolve.ts` - Improves path handling - `esm/hook/utils.ts` - Removes `fileProtocol` constant - `utils/es-module-lexer.ts` - Passes filename to parsers - `utils/file-url.ts` - Defines `fileUrlPrefix` constant - `utils/is-relative-path-pattern.ts` - Removed - `utils/path-utils.ts` - New utilities for path handling - `utils/transform/get-esbuild-options.ts` - Makes `sourcesContent` conditional - `utils/transform/index.ts` - Passes additional argument to `transformDynamicImport` - `utils/transform/transform-dynamic-import.ts` - Improves minified import() check, uses filename in error - `tests/`: - `specs/api.ts` - Improves tests, handles more import scenarios - `specs/smoke.ts` - Adds tests for CJS packages, dynamic imports, V8 coverage, Windows paths - `utils/coverage-sources-content.ts` - New utility to check sourcemap content - `utils/tsx.ts` - Allows passing environment variables to tsx in tests Overall, a solid set of improvements focused on correctness, performance and test coverage. The changes look reasonable and well-scoped.