aelbore / esbuild-jest

A Jest transformer using esbuild
519 stars 51 forks source link

Bump babel-jest and other jest dependencies to v29 #85

Open kamtugeza opened 1 year ago

kamtugeza commented 1 year ago

The library has outdated dependencies:

npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added

Those warnings come from babel-jest@26.6.3 and its dependency jest-haste-map@26.6.2, which uses sane@4.1.0 it's the cause of the warnings above:

esbuild-jest@0.5.0
  └─┬ babel-jest@26.6.3
    └─┬ @jest/transform@26.6.2
      └─┬ jest-haste-map@26.6.2
        └─┬ sane@4.1.0
          └─┬ micromatch@3.1.10
            └─┬ snapdragon@0.8.2
              └─┬ source-map-resolve@0.5.3
                └── urix@0.1.0

The babel-jest changes: