Packages

@envelop/core

6.0.1 · 12 Nov 2026MIT12.6M / weekRepositoryHomepagenpmAtom feed

Your version

2.3.0

4 Apr 2022Where it was published

2.6.0 is the newest release of 2.x.

In short

1 new1 internal

Release note

The section about @envelop/core of a note shared by several packages.

Minor Changes

  • Pass context to registerContextErrorHandler

    export const useMyHook = (): Plugin => {
      return {
        onPluginInit(context) {
          context.registerContextErrorHandler(({ context }) => {
            console.error(
              'Error occurred during context creation but at least I have the  context so far',
              context
            )
          })
        }
      }
    }

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.