Created by: dependabot[bot]
Bumps @rollup/plugin-commonjs from 21.1.0 to 22.0.0.
Changelog
Sourced from @rollup/plugin-commonjs
's changelog.
v22.0.0
2022-04-24
Breaking Changes
- fix: add heuristic to deoptimize requires after calling imported function (requires rollup@2.68.0) (#1038)
- feat: reimplement dynamic import handling (requires Node 12, no longer supports require.cache) (#1038)
Bugfixes
- fix: support CJS modules re-exporting transpiled ESM modules (#1165)
- fix: Warn when plugins do not pass options to resolveId (#1038)
- fix: Do not change semantics when removing requires in if statements (#1038)
- fix: handle external dependencies when using the cache (#1038)
- fix: proxy all entries to not break legacy polyfill plugins (#1038)
- fix: use correct version and add package exports (#1038)
- fix: validate node-resolve peer version (#1038)
- fix: inject module name into dynamic require function (#1038)
- fix: do not transform "typeof exports" for mixed modules (#1038)
- fix: attach correct plugin meta-data to commonjs modules (#1038)
Features
- feat: expose plugin version (#1038)
- feat: throw for dynamic requires from outside the configured root (#1038)
- feat: add dynamicRequireRoot option (#1038)
- feat: auto-detect conditional requires (#1038)
- feat: limit ignoreTryCatch to external requires (#1038)
- feat: make namespace callable when requiring ESM with function default (#1038)
- feat: Infer type for unidentified modules (#1038)
- feat: automatically wrap cyclic modules (#1038)
- feat: add strictRequires option to wrap modules (#1038)
Updates
- refactor: deconflict helpers only once globals are known (#1038)
Commits
-
5726978
chore(release): commonjs v22.0.0 -
4a02a94
fix(commonjs): support CJS modules re-exporting transpiled ESM modules (#1165) -
4c34dd5
fix(commonjs): Warn when plugins do not pass options to resolveId (#1038) -
b1cd6a2
fix(commonjs): Do not change semantics when removing requires in if statement... -
1c16a2b
fix(commonjs): handle external dependencies when using the cache (#1038) -
c583aaf
fix(commonjs): add heuristic to deoptimize requires after calling imported fu... -
7434b0f
fix(commonjs): proxy all entries to not break legacy polyfill plugins (#1038) -
1424249
fix(commonjs): use correct version and add package exports (#1038) -
0dc11e6
fix(commonjs): validate node-resolve peer version (#1038) -
0b9a0e8
fix(commonjs): inject module name into dynamic require function (#1038) - Additional commits viewable in compare view
You can trigger a rebase of this PR 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)