Comparing version 7.0.6 to 7.0.7
@@ -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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13828101
249
793754
15
34
+ Addedhttp-server@^14.1.1
+ Addedansi-styles@4.3.0(transitive)
+ Addedasync@2.6.4(transitive)
+ Addedbasic-auth@2.0.1(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcorser@2.0.1(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedeventemitter3@4.0.7(transitive)
+ Addedfollow-redirects@1.15.8(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhe@1.2.0(transitive)
+ Addedhtml-encoding-sniffer@3.0.0(transitive)
+ Addedhttp-proxy@1.18.1(transitive)
+ Addedhttp-server@14.1.1(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedmime@1.6.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedobject-inspect@1.13.2(transitive)
+ Addedopener@1.5.2(transitive)
+ Addedportfinder@1.0.32(transitive)
+ Addedqs@6.13.0(transitive)
+ Addedrequires-port@1.0.0(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsecure-compare@3.0.1(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedside-channel@1.0.6(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedunion@0.5.0(transitive)
+ Addedurl-join@4.0.1(transitive)
+ Addedwhatwg-encoding@2.0.0(transitive)