Expect, a popular assertion library designed to facilitate writing better tests, saw a shift between versions 1.14.0 and 1.15.0, offering developers updated tooling and dependencies. Both versions share the same core dependencies: is-equal, is-regex, and object-inspect, maintaining consistent assertion functionality. However, the key differences lie in the devDependencies, reflecting updates in the testing and build environment.
Version 1.15.0 brings significant updates to its developer dependencies. It upgrades eslint from version ^1.3.1 to 2.2.0, enhancing code linting capabilities. Babel, the JavaScript compiler, sees a major overhaul. The older version relies on babel ^5.4.7, babel-core ^5.4.7, and babel-loader ^5.0.0, while version 1.15.0 transitions to babel-cli ^6.6.5, babel-loader ^6.2.4, and introduces babel-preset-es2015 ^6.6.0, aligning with the ES2015 standard.
Furthermore, 1.15.0 includes eslint-plugin-react ^4.2.1 and eslint-config-airbnb ^6.1.0 to improve React code quality. These changes suggest a movement towards more modern JavaScript standards, better tooling, and improved support for React development. Developers upgrading should note the Babel configuration changes and the addition of React-specific linting rules. The upgrade provides a more streamlined and powerful development experience, particularly for projects using ES2015 and React.
The are not vulnerabilities for the version 1.15.0 of the package expect