aladdin-add / eslint-plugin

autofix some errors reported by eslint rules.
107 stars 10 forks source link

eslint-plugin-autofix: `string-similarity@4.0.4`: Package no longer supported #97

Open Samuel-Therrien-Beslogic opened 3 months ago

Samuel-Therrien-Beslogic commented 3 months ago

Tell us about your environment

Expected behavior

No "unsupported/deprecation" warning on install. A simple solution would be to vendor string-similarity (ie: packages/autofix/lib/string-similarity.js)

Actual behavior

When running npm install, i get: npm warn deprecated string-similarity@4.0.4: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Result from npm list string-similarity:

└─┬ eslint-config-beslogic@2.3.4
  └─┬ eslint-plugin-autofix@2.1.0
    └── string-similarity@4.0.4