Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump esmock from 2.2.1 to 2.3.1 in /lambda #582

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 1, 2023

Bumps esmock from 2.2.1 to 2.3.1.

Release notes

Sourced from esmock's releases.

improve README examples and descriptions,

  • improve README example for mocking global values
  • use the word 'global' in the global values mocking example only, to improve clarity (hopefully)

feat: mock global vars

This release adds a new feature: support for mocking global values like fetch, Date, setTimeout and others. The wiki will be updated with more details in the next day or so,

  • add initial support for the solution to "globalThis" mocks,
  • support injecting definitions into the mock import tree,
  • demonstrate mock setTimeout, fetch and Date scenarious at unit-tests
  • remove node 19 test job, update remaining jobs to use node 20

add node v21 nightly to test ci pipeline

detect async variant import.meta.resolve

  • detect async import.meta.resolve and handle in a separate way
  • remove un-necessary usage of await keyword in README example
  • require node version less than 20.x
Changelog

Sourced from esmock's changelog.

changelog

... (truncated)

Commits
  • a7615f7 Merge pull request #207 from iambumblehead/use-more-realistic-example-for-fet...
  • b2347f2 update wording and description in README and package.json
  • 46f27ec remove whitespace
  • eed6d9b update CHANGELOG
  • 90b4710 remove word globals from full import tree mock example, try to not confuse wi...
  • a3451e8 reposition test elements in readme
  • 43682c1 use more realistic example for fetch mock
  • 3fab421 Merge pull request #206 from iambumblehead/remove-node-19-test-job
  • 005d045 update changelog
  • c29e5ab update workflows to use node 20
  • Additional commits viewable in compare view

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)

Bumps [esmock](https://github.com/iambumblehead/esmock) from 2.2.1 to 2.3.1.
- [Release notes](https://github.com/iambumblehead/esmock/releases)
- [Changelog](https://github.com/iambumblehead/esmock/blob/master/CHANGELOG.md)
- [Commits](iambumblehead/esmock@v2.2.1...v2.3.1)

---
updated-dependencies:
- dependency-name: esmock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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 Jun 1, 2023
@jsetton jsetton merged commit 27a9208 into main Jun 2, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/lambda/esmock-2.3.1 branch June 2, 2023 02:10
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant