Socket
Socket
Sign inDemoInstall

diff-sequences

Package Overview
Dependencies
0
Maintainers
5
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous123567Next

26.5.0

Diff

Changelog

Source

26.5.0

Features

  • [jest-circus, jest-config, jest-runtime] Add new injectGlobals config and CLI option to disable injecting global variables into the runtime (#10484)
  • [jest-each] Fixes .each type to always be callable (#10447)
  • [jest-runner] Add support for moduleLoaders with default exports (#10541)
  • [@jest/create-cache-key-function] Added a new package for creating cache keys (#10587)

Fixes

  • [jest-circus, jest-jasmine2] Find correct location for test.each tests (#10413)
  • [jest-console] Add Console constructor to console object (#10502)
  • [jest-globals] Fix lifecycle hook function types (#10480)
  • [jest-runtime] Remove usage of vm.compileFunction due to a performance issue (#10586)

Chore & Maintenance

  • [jest-resolve] Replace read-pkg-up with escalade package (10558)
  • [jest-environment-jsdom] Update jsdom to 16.4.0 (10578)
simenb
published 26.3.0 •

Changelog

Source

26.3.0

Features

  • [jest-circus, jest-jasmine2] Include failureDetails property in test results (#9496)
  • [jest-each, jest-jasmine, jest-circus] Add support for .concurrent.each (#9326)

Fixes

  • [jest-config] Add .pnp.js to transformIgnorePatterns defaults (#10383)
  • [jest-leak-detector] Wait properly for GC runs due to changes in Node 14.7 (#10366)
  • [jest-worker] Downgrade minimum node version to 10.13 (#10352)
  • [docs] Update snapshot testing documentation(#10359)
simenb
published 26.0.0 •

Changelog

Source

26.0.0

Features

  • [jest-environment-jsdom] [BREAKING] Upgrade jsdom to v16 (#9606)
  • [@jest/fake-timers] Add possibility to use a modern implementation of fake timers, backed by @sinonjs/fake-timers (#7776)
  • [jest-runtime] Add createMockFromModule as an alias for genMockFromModule (#9962)

Fixes

  • [babel-jest] Handle null being passed to createTransformer (#9955)
  • [jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format] Fix time durating formatting and consolidate time formatting code (#9765)
  • [jest-circus] [BREAKING] Fail tests if a test takes a done callback and have return values (#9129)
  • [jest-circus] [BREAKING] Throw a proper error if a test / hook is defined asynchronously (#8096)
  • [jest-circus] Throw more descriptive error if hook is defined inside test (#9957)
  • [jest-circus] [BREAKING] Align execution order of tests to match jasmine's top to bottom order (#9965)
  • [jest-config, jest-resolve] [BREAKING] Remove support for browser field (#9943)
  • [jest-haste-map] Stop reporting files as changed when they are only accessed (#7347)
  • [jest-resolve] Show relative path from root dir for module not found errors (#9963)
  • [jest-runtime] Fix absolute path moduleNameMapper + jest.mock bug (#8727)

Chore & Maintenance

  • [*] [BREAKING] TypeScript definitions requires a minimum of TypeScript v3.8 (#9823)
  • [*] [BREAKING] Drop support for Node 8 (#9423)
  • [*] Upgrade to chalk@4 (#9752)
  • [*] Remove usage of realpath-native (#9952)
  • [docs] Fix example reference implementation to use Jest with Phabricator (#8662)
  • [docs] Added default compiler to transform (#8583)
  • [docs] Updated Testing Frameworks guide with React; make it generic (#9106)
  • [expect, jest-mock, pretty-format] [BREAKING] Remove build-es5 from package (#9945)
  • [@jest/fake-timers, @jest/environment] [BREAKING] Rename LolexFakeTimers to ModernFakeTimers (#9960)
  • [jest-haste-map] [BREAKING] removed providesModuleNodeModules (#8535)
  • [jest-runtime] [BREAKING] Remove long-deprecated require.requireActual and require.requireMock methods (#9854)
simenb
published 26.0.0-alpha.0 •

simenb
published 25.2.6 •

Changelog

Source

25.2.6

Chore & Maintenance

  • [*] 25.2.5 was published without changes from 25.2.4 - 25.2.6 includes all changes from that version.
simenb
published 25.2.1 •

Changelog

Source

25.2.1

Fixes

  • [*] Downlevel TypeScript definitions files for compatibility with TS<3.8 (#9705)
simenb
published 25.2.1-alpha.2 •

simenb
published 25.2.1-alpha.1 •

simenb
published 25.2.0 •

Changelog

Source

25.2.0

Features

  • [jest-config] Support ESM config files with .js extension (#9573).
  • [jest-runtime] Override module.createRequire to return a Jest-compatible require function (#9469)
  • [jest-haste-map] [BREAKING] Remove mapper option (#9581)
  • [*] Support array of paths for moduleNameMapper aliases (#9465)
  • [jest-reporters] Adds ability to pass options to the istanbul-reporter through coverageReporters (#9572)
  • [jest-runtime] Require stack when a module cannot be resolved (#9681)
  • [jest-transform] writeCacheFile no longer calls fsync (#9695)

Fixes

  • [expect] Handle readonly properties correctly (#9575)
  • [jest-cli] Set coverageProvider correctly when provided in config (#9562)
  • [jest-cli] Allow specifying .cjs and .mjs config files by --config CLI option (#9578)
  • [jest-cli] Update yargs to fix CLI flag overriding (#9519)
  • [jest-config] Treat setupFilesAfterEnv like setupFiles when normalizing configs against presets (#9495)
  • [jest-config] Support .mjs config files on Windows as well (#9558)
  • [jest-config] Verify rootDir and all roots are directories (#9569)
  • [jest-config] Ensure pattern of replacePosixSep is a string (#9546)
  • [jest-haste-map] Fix crash on unix based systems without find (#9579)
  • [jest-jasmine2] Fix --testNamePattern matching with concurrent tests (#9090)
  • [jest-matcher-utils] Fix diff highlight of symbol-keyed object. (#9499)
  • [@jest/reporters] Notifications should be fire&forget rather than having a timeout (#9567)
  • [jest-resolve] Fix module identity preservation with symlinks and browser field resolution (#9511)
  • [jest-resolve] Do not confuse directories with files (#8912)
  • [jest-resolve] moduleNameMapper should take precedence over Node core modules (#9563)
  • [jest-runtime] Reset isolateModules if it fails (#9541)
  • [jest-runtime] Yarn PnP errors displayed to the user (#9681)
  • [jest-snapshot] Downgrade semver to v6 to support node 8 (#9451)
  • [jest-snapshot] Properly indent new snapshots in the presences of existing ones (#9523)
  • [jest-transform] Correct sourcemap behavior for transformed and instrumented code (#9460)
  • [jest-transform] Allow instrumentation of transformed files with weird file extensions (#9589)
  • [@jest/types] Make ConfigGlobals an interface to allow for declaration merging. (#9570)
  • [pretty-format] Export OldPlugin type (#9491)

Chore & Maintenance

  • [docs] Warn about unexpected behavior / bug of node-notifier when using the notify options.
  • [docs] Grammatical corrections to Async docs page. (#9679)
  • [jest-resolver] Use resolve package to implement custom module resolution (#9520)
  • [jest-runtime] Move execution of setupFiles to jest-runner (#9596)
  • [jest-runtime] Update anchor link in helpers (#9616)
  • [@jest/reporters] Remove unused dependencies and type exports (#9462)
  • [website] Update pictures of reports when matchers fail (#9214)

Performance

  • [jest-haste-map] Reduce number of lstat calls in node crawler (#9514)
simenb
published 25.2.0-alpha.86 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc