swagger-api / swagger-node

Swagger module for node.js
http://swagger.io
Apache License 2.0
3.97k stars 584 forks source link

npm warning of deprecated packages when installing swagger #500

Open gdoesu2 opened 7 years ago

gdoesu2 commented 7 years ago

I ran the following to install swagger into my Windows 10 laptop

U:\>npm install -g swagger
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated URIjs@1.16.1: package renamed to "urijs" (lower-case), please update accordingly

npm v5.0.0 node v6.10.3 swagger 0.7.5

Is this currently expected, or is there an issue with my combination?

gdoesu2 commented 7 years ago

After running

npm install -g https://github.com/swagger-api/swagger-node

it reported

added 20 packages, removed 16 packages and updated 17 packages in 34.874s

and npm list -g swagger reports

-- swagger@0.7.5 (git+https://github.com/swagger-api/swagger-node.git#c62843c7c4ad12331a1432d7fbd885cf30b6d08a)

So it seem that the npm package is the root cause for the generation f these warnings.