Giter VIP home page Giter VIP logo

Comments (8)

Hugo-ter-Doest avatar Hugo-ter-Doest commented on August 28, 2024 1

Thanks, I will take a look.

from natural.

ildella avatar ildella commented on August 28, 2024 1

It is 'lint' causing it, due to old request dependencies.
Lint should probably be a devDepencency

from natural.

Hugo-ter-Doest avatar Hugo-ter-Doest commented on August 28, 2024 1

Thanks @ildella. The warnings are caused by lint:

$ npm install -D lint
npm WARN deprecated [email protected]: Package is unsupport. Please use the lodash package instead.
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

I moved lint to devDependencies. Warnings remain however.

from natural.

Hugo-ter-Doest avatar Hugo-ter-Doest commented on August 28, 2024 1

With 7.0.1 we have an install without warnings:

$ npm install natural

added 57 packages, and audited 58 packages in 6s

5 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

from natural.

cduff avatar cduff commented on August 28, 2024 1

Thanks for releasing 7.0.1 @Hugo-ter-Doest.

I tried upgrading to it and the security vulnerability and deprecation warnings are gone.

However, the next issue I'm facing is that 7.0.1 includes @types/jasmine as a normal dependency which declares a bunch of global types (e.g. expect) that break my project compilation.

Shouldn't @types/jasmine also be a dev dependency?

Let me know if you want me to create a separate issue for this.

from natural.

Hugo-ter-Doest avatar Hugo-ter-Doest commented on August 28, 2024 1

Yes, this is a dev dependency. Will do so.

from natural.

Hugo-ter-Doest avatar Hugo-ter-Doest commented on August 28, 2024 1

Fixed in #738

from natural.

cduff avatar cduff commented on August 28, 2024

Great, working well for me again now @Hugo-ter-Doest. 👍

from natural.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.