lo1tuma / eslint-plugin-mocha

ESLint rules for mocha
MIT License
279 stars 61 forks source link

10.0.4 caused "[DEP0148] DeprecationWarning: Use of deprecated folder mapping..." warning #323

Closed jhildenbiddle closed 2 years ago

jhildenbiddle commented 2 years ago

Updating dependencies for a project and noticed the following warning after updating to v10.0.4:

> eslint .

(node:91449) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./src/" in the "exports" field module resolution of the package at /Users/john/Dev/get-css-data/node_modules/ramda/package.json.
Update this package.json to use a subpath pattern like "./src/*".
(Use `node --trace-deprecation ...` to show where the warning was created)

After downgrading to v10.0.3 this warning no longer appears. Rather than post package.json content, here is a link to the project where I encountered the issue: https://github.com/jhildenbiddle/get-css-data

Thanks!

lo1tuma commented 2 years ago

Fixed in version 10.0.5 by https://github.com/lo1tuma/eslint-plugin-mocha/pull/326