antongolub / action-setup-bun

Setup GitHub Actions workflow with a specific version of Bun
MIT License
49 stars 0 forks source link

chore(deps-dev): bump tsm from 2.2.2 to 2.3.0 #25

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps tsm from 2.2.2 to 2.3.0.

Release notes

Sourced from tsm's releases.

v2.3.0

Features

  • Bump esbuild to ^15.16.0 version. Previously using the 14.x release cycle. This 15.x range includes features such as: * Yarn Plug'N'Play (PnP) support * Improved Yarn Workspaces support * New supported options (accessible within tsm config) * Support for TypeScript 4.9 satisfies operator (#42) * Improved imports subpath resolution (#31) * Adds deno as a valid target value * & more.. see esbuild changelog!

Patches

  • Correctly resolve non-.js file when requiring or importing the would-be .js virtual path (#33): TypeScript allows (and expects) you to write import("./App.js") in your source, even though only App.tsx or App.jsx exists on disk. There are many other extension aliases like this, all of which are now supported:

    "*.js"  // <-- [".js", ".ts", ".tsx", ".jsx"]
    "*.mjs" // <-- [".mjs", ".mts"]
    "*.cjs" // <-- [".cjs", ".cts"]
    "*.jsx" // <-- [".jsx", ".tsx"]
    
  • Fix dynamic imports within CommonJS files (#27) Previously, tsm left dynamic imports alone, relying on native behavior. However, this meant that the node -r tsm <file> usage might encounter code like import("./Post.tsx") that would throw an error because native import() cannot deal with the .tsx file type. This release now covers this use case, allowing CommonJS/--require users to dynamically import any non-.js file... tsm will transform it correctly, as configured.

  • Improve source map support for tsm <file> CLI usage (#32): When running tsm directly, the --enable-source-maps flag is enabled for native Node.js sourcemap support. This means that any errors / stack traces will correctly map to the .ts source locations!

    Note: If running node -r tsm or node --loader tsm, then you must include the --enable-source-maps flag manually.


Full Changelog: https://github.com/lukeed/tsm/compare/v2.2.2...v2.3.0

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)