Comparing version 2.3.3 to 2.3.5
# NodeJieba ChangeLog | ||
## v2.3.5 | ||
+ merged [pull request 143](https://github.com/yanyiwu/nodejieba/pull/143) | ||
+ add release deployment in travis | ||
## v2.3.3 | ||
@@ -4,0 +9,0 @@ |
@@ -1,2 +0,6 @@ | ||
var nodejieba = require( __dirname + "/build/Release/nodejieba.node"); | ||
var binary = require('node-pre-gyp'); | ||
var path = require('path'); | ||
var binding_path = binary.find(path.resolve(path.join(__dirname,'./package.json'))); | ||
var nodejieba = require(binding_path); | ||
nodejieba.DEFAULT_DICT = __dirname + "/dict/jieba.dict.utf8"; | ||
@@ -3,0 +7,0 @@ nodejieba.DEFAULT_HMM_DICT = __dirname + "/dict/hmm_model.utf8"; |
{ | ||
"name": "nodejieba", | ||
"description": "chinese word segmentation for node", | ||
"version": "2.3.3", | ||
"version": "2.3.5", | ||
"author": "Yanyi Wu <i@yanyiwu.com>", | ||
@@ -28,3 +28,4 @@ "maintainers": [ | ||
"dependencies": { | ||
"nan": "^2.14.0" | ||
"nan": "^2.14.0", | ||
"node-pre-gyp": "^0.14.0" | ||
}, | ||
@@ -36,8 +37,17 @@ "devDependencies": { | ||
"should": "~8.3.1", | ||
"typescript": "^3.0.1" | ||
"typescript": "^3.0.1", | ||
"node-pre-gyp-github": "^1.4.3" | ||
}, | ||
"scripts": { | ||
"test": "node test/demo.js && node test/load_dict_demo.js && mocha --timeout 10s -R spec test/test.js && mocha --timeout 10s -R spec test/load_dict_test.js" | ||
"test": "node test/demo.js && node test/load_dict_demo.js && mocha --timeout 10s -R spec test/test.js && mocha --timeout 10s -R spec test/load_dict_test.js", | ||
"install": "node-pre-gyp install --fallback-to-build" | ||
}, | ||
"binary": { | ||
"module_name": "nodejieba", | ||
"module_path": "./build/Release/", | ||
"host": "https://github.com/yanyiwu/nodejieba/releases/download/", | ||
"remote_path": "{version}", | ||
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz" | ||
}, | ||
"license": "MIT" | ||
} |
Sorry, the diff of this file is not supported yet
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
11763463
520
2
6
1
+ Addednode-pre-gyp@^0.14.0
+ Addedabbrev@1.1.1(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedaproba@1.2.0(transitive)
+ Addedare-we-there-yet@1.1.7(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedchownr@1.1.4(transitive)
+ Addedcode-point-at@1.1.0(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedconsole-control-strings@1.1.0(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addeddeep-extend@0.6.0(transitive)
+ Addeddelegates@1.0.0(transitive)
+ Addeddetect-libc@1.0.3(transitive)
+ Addedfs-minipass@1.2.7(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedgauge@2.7.4(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedhas-unicode@2.0.1(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedignore-walk@3.0.4(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedini@1.3.8(transitive)
+ Addedis-fullwidth-code-point@1.0.0(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedminipass@2.9.0(transitive)
+ Addedminizlib@1.3.3(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedms@2.1.3(transitive)
+ Addedneedle@2.9.1(transitive)
+ Addednode-pre-gyp@0.14.0(transitive)
+ Addednopt@4.0.3(transitive)
+ Addednpm-bundled@1.1.2(transitive)
+ Addednpm-normalize-package-bin@1.0.1(transitive)
+ Addednpm-packlist@1.4.8(transitive)
+ Addednpmlog@4.1.2(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedos-homedir@1.0.2(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedosenv@0.1.5(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedrc@1.2.8(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedsafe-buffer@5.1.25.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsax@1.4.1(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedset-blocking@2.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedstring-width@1.0.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addedtar@4.4.19(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwide-align@1.1.5(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedyallist@3.1.1(transitive)