Skip to content

Upgrading @edge-runtime/jest-environment 1 to 2

Unknown1.1.0 → 2.3.10

Fetching 43 releases from GitHub…0 / 43
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Requires Node.js >=16 from 2.3.0 (none stated before).

Drops @jest/types.

Installs 45 packages in all (was 46).

No longer installs ansi-regex.

Moves @edge-runtime/primitives 1.1.0 → 4.1.0, @edge-runtime/vm 1.1.0 → 3.2.0, @jest/environment 28.1.3 → 29.5.0, @jest/fake-timers 28.1.3 → 29.5.0, @jest/schemas 28.1.3 → 29.6.3, @jest/types 28.1.3 → 29.6.3, @sinclair/typebox 0.24.52 → 0.27.12, @sinonjs/commons 1.8.6 → 3.0.1, @sinonjs/fake-timers 9.1.2 → 10.3.0, jest-message-util 28.1.3 → 29.7.0, jest-mock 28.1.3 → 29.5.0, jest-util 28.1.3 → 29.5.0, pretty-format 28.1.3 → 29.7.0. Your build may pick other versions.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: const _default: { new (config: Config.ProjectConfig): { context: Context | null; fakeTimers: LegacyFakeTimers<number> | null; fakeTimersModern: ModernFakeTimers | null; global…
  • removed: export = _default
  • added: class EdgeEnvironment implements JestEnvironment<number>
  • added: constructor EdgeEnvironment(config: Config.ProjectConfig)
  • added: default EdgeEnvironment
  • added: method EdgeEnvironment.exportConditions(): string[]
  • added: method EdgeEnvironment.getVmContext(): Context | null
  • added: method EdgeEnvironment.setup(): Promise<void>
  • added: method EdgeEnvironment.teardown(): Promise<void>
  • added: property EdgeEnvironment.context: Context | null
  • added: property EdgeEnvironment.fakeTimers: LegacyFakeTimers<number> | null
  • added: property EdgeEnvironment.fakeTimersModern: ModernFakeTimers | null
  • added: property EdgeEnvironment.global: Global.Global
  • added: property EdgeEnvironment.moduleMocker: ModuleMocker | null