ModyQyW / vite-plugin-stylelint

🚨 Stylelint plugin for Vite.
MIT License
23 stars 1 forks source link

When running auditjs, a warning appears for this plugin. #59

Closed zzpmaster closed 3 weeks ago

zzpmaster commented 3 weeks ago

Describe the bug

When using auditjs, the following error occurs

  (node:5324) [DEP0170] DeprecationWarning: The URL git+https://github.com:ModyQyW/vite-plugin-stylelint.git is invalid. Future versions of Node.js will throw an error.
(Use `node --trace-deprecation ...` to show where the warning was created)

I suspect the repository address in package.json is incorrect; it should be / instead of : .

Reproduction

After installing this plugin in the project, running pnpm dlx auditjs ossi --dev --xml will reproduce the error.

System Info

System:
    OS: macOS 14.6.1
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 153.29 MB / 16.00 GB
    Shell: 5.9
  Binaries:
    Node: 20.10.0 
    npm: 10.2.3 
    pnpm: 8.11.0 
  Browsers:
    Chrome: 129.0.6668.101
    Edge: 130.0.2849.46
    Safari: 17.6
    Safari Technology Preview: 17.4

Used Package Manager

pnpm

Validations

ModyQyW commented 3 weeks ago

Thank you! The fix should be included in v6.0.0-beta.1