nearform / slack-knowledgebase-chatgpt-responder

ChatGPT powered slack responder to the questions that are about NearForm knowledge base
9 stars 1 forks source link

chore(deps-dev): bump esmock from 2.5.6 to 2.6.5 #510

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 3 months ago

Bumps esmock from 2.5.6 to 2.6.5.

Release notes

Sourced from esmock's releases.

add node v22 to test matrix

add node 22 to ci test pipeline and use with { type: 'json' } import syntax for node >= 20,

improve esm wildcard expansion

Essentially, this release enables esmock to resolve the following esm export, see iambumblehead/esmock#293

{
  "exports": {
    "./*": {
      "require": "./*.js",
      "import": "./*.js"
    }
  }
}

the following is added to the README,

Note: Typescript loaders ts-node 👍 and tsm 👍 are compatible with other loaders, including esmock. swc 👎 and tsx 👎 are demonstrated as incompatible with other loaders, including esmock.

Full list of changes,

improved pattern resolution

resolve nested exports defined on named-properties with wildcards, eg exports: { './*': { default: './src/*/index.js' } } resolves this issue at esmock thanks @​dschnare

remove reserved keywords from export names list

remove reserved keywords from export names lists, allows express to be mocked, thanks @​lcapel

resolve mocking builtins imported globally with await import

mostly this release resolves an issue mocking builtins imported globally with await import

typings MockFunction

typings: make MockFunction generic, thanks @​uwinkelvos

mock Array-type default export

... (truncated)

Changelog

Sourced from esmock's changelog.

changelog

... (truncated)

Commits
  • 7d0f56d Merge pull request #299 from iambumblehead/increment-version-number
  • b5ca16e increment version number
  • f135cdc Merge pull request #298 from iambumblehead/resolve-test-errors-node-22
  • 9dca2fc remove node 21 from test matrix
  • 0143813 remove un-needed commented-out skip test condition
  • efcf307 try not skipping json import test with node 18
  • afb1b4f try not skipping json import test with node 20
  • 69d60b7 try using with syntax with node 20
  • 82516d6 try using with syntax with node 20
  • 802b7e6 update changelog
  • Additional commits viewable in compare view


Dependabot compatibility score

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 show 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] commented 2 months ago

Superseded by #540.