Comments (8)
Thanks, I will take a look.
from natural.
It is 'lint' causing it, due to old request dependencies.
Lint should probably be a devDepencency
from natural.
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.
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.
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.
Yes, this is a dev dependency. Will do so.
from natural.
Fixed in #738
from natural.
Great, working well for me again now @Hugo-ter-Doest. 👍
from natural.
Related Issues (20)
- Sanity check - client side only possible? HOT 2
- Version 6.5.0 introduces a breaking change for sentence tokenizing HOT 2
- Error when using natural from deno using esm.sh HOT 1
- Enhancement: Stricter Typing for tag Field in BrillPOSTaggedWord Interface HOT 1
- Error in `natural.JaroWinklerDistance()` when missing optional `options` parameter
- natural.AggressiveTokenizerRu() doesn't filter out non-cyrillic characters HOT 1
- Bulk mode that is mindful of event loop HOT 2
- Check for Eszett symbol ß in German tokenizer HOT 1
- Noob Question. Challenge to devs? Help?
- Typo in docs HOT 1
- Load model with BayesClassifier and PorterStemmerEs HOT 2
- Cannot read properties of undefined (reading 'on') HOT 3
- AggressiveTokenizerUk doesn't exist. HOT 1
- BrowserFS Deprecated HOT 1
- Logistic Regression Classifier's load function incorrectly passing callback as stemmer HOT 1
- Phonetics not work HOT 2
- CPU Usage? HOT 4
- throw error in some case in SentenceTokenizerNew HOT 2
- SentenceTokenizer breaks if you do not pass abbreviations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from natural.