Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodejieba

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodejieba - npm Package Compare versions

Comparing version 2.3.3 to 2.3.5

5

ChangeLog.md
# 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 @@

6

index.js

@@ -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";

18

package.json
{
"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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc