Skip to content

Bump import-module-string from 3.0.0 to 4.0.0 - #270

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/import-module-string-4.0.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/import-module-string-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Bumps import-module-string from 3.0.0 to 4.0.0.

Release notes

Sourced from import-module-string's releases.

import-module-string v4.0.0

  • Breaking: compileAsFunction now returns an async function. This allows top-level await to be used in passed code.
  • Breaking: compileAsFunction supports implicitExports. When the code has no export, the function now resolves with its top-level declarations (including import specifiers) instead of {}. implicitExports: false reverts to old behavior.
let mod = await importFromString("const a = await fn(b);", { compileAsFunction: true });
await mod.default({ fn: async n => n * 2, b: 2 });
// { a: 4 }
  • Added: compileAsFunction supports export aliases (export { a as b }) and re-exports (export { default as x } from "…"), export * as ns from "…" and export * from "…" (#3).
  • Fix: Relative and bare specifiers in export … from and export * from now resolve like import specifiers. They previously failed with "Invalid relative URL".
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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [import-module-string](https://github.com/zachleat/import-module-string) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/zachleat/import-module-string/releases)
- [Commits](zachleat/import-module-string@v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: import-module-string
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 18, 2026
@zachleat

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

Looks like import-module-string is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Nov 19, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/import-module-string-4.0.0 branch November 19, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Development

Successfully merging this pull request may close these issues.

1 participant