Socket
Socket
Sign inDemoInstall

natural

Package Overview
Dependencies
Maintainers
4
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

natural - npm Package Compare versions

Comparing version 7.0.6 to 7.0.7

.github/ISSUE_TEMPLATE/bug_report.md

2

lib/natural/tfidf/tfidf.js

@@ -181,3 +181,3 @@ /*

idf: _this.idf(term),
tfidf: _this.tfidf(term, d)
tfidf: _this.tfidf([term], d)
})

@@ -184,0 +184,0 @@ }

{
"name": "natural",
"description": "General natural language (tokenizing, stemming (English, Russian, Spanish), part-of-speech tagging, sentiment analysis, classification, inflection, phonetics, tfidf, WordNet, jaro-winkler, Levenshtein distance, Dice's Coefficient) facilities for node.",
"version": "7.0.6",
"version": "7.0.7",
"homepage": "https://github.com/NaturalNode/natural",

@@ -18,2 +18,3 @@ "repository": {

"dotenv": "^16.4.5",
"http-server": "^14.1.1",
"memjs": "^1.3.2",

@@ -31,2 +32,5 @@ "mongoose": "^8.2.0",

"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/jasmine": "^5.1.4",

@@ -53,2 +57,3 @@ "@types/node": "^18.11.18",

"rimraf": "^2.6.3",
"rollup": "^4.18.0",
"sinon": "^1.12.2",

@@ -81,6 +86,8 @@ "source-map-support": "^0.5.21",

"benchmark": "node benchmarks",
"build": "tsc && ncp spec/test_data dist",
"build": "npm run build:tests & npm run build:esm",
"build:esm": "rollup -c",
"build:tests": "tsc",
"clean": "rimraf *~ #* *classifier.json dist io_spec/tmp/*.json coverage",
"test_io": "jasmine --random=false io_spec/*_spec.js",
"test": "cross-env NODE_PATH=.:./dist jasmine --random=false dist/spec/*_spec.js",
"test": "cross-env NODE_PATH=. jasmine --random=false dist/cjs/spec/*_spec.js",
"coverage": "nyc --no-clean npm run test && nyc --no-clean npm run test_io",

@@ -87,0 +94,0 @@ "test_browser": "cross-env NODE_PATH=. node ./node_modules/gulp/bin/gulp.js",

@@ -13,3 +13,3 @@ {

"allowJs": true,
"outDir": "./dist",
"outDir": "./dist/cjs",
"esModuleInterop": true,

@@ -22,4 +22,5 @@ "forceConsistentCasingInFileNames": true,

"spec/*.ts",
"io_spec/*.ts"
, "lib/natural/analyzers/SenType.ts" ],
"io_spec/*.ts",
"lib/natural/analyzers/SenType.ts"
],
"exclude": [

@@ -26,0 +27,0 @@ "./node_modules"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc