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

analyze-desumasu-dearu

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analyze-desumasu-dearu - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

8

lib/analyze.js

@@ -14,6 +14,2 @@ // LICENSE : MIT

var ObjectAssign = require("object.assign");
var find = require("array-find");
var getTokenizer = require("kuromojin").getTokenizer;

@@ -127,3 +123,3 @@ /**

var postTokens = allTokens.slice(indexOfTargetToken + 1);
return find(postTokens, function (token) {
return postTokens.find(function (token) {
// 接続、末尾なので切る

@@ -178,3 +174,3 @@ if (PUNCTUATION.test(token["surface_form"])) {

*/
token: ObjectAssign({}, token)
token: Object.assign({}, token)
};

@@ -181,0 +177,0 @@ };

@@ -14,3 +14,3 @@ {

},
"version": "4.0.0",
"version": "4.0.1",
"description": "文の敬体(ですます調)、常体(である調)を解析",

@@ -50,5 +50,3 @@ "main": "lib/analyze.js",

"dependencies": {
"array-find": "^1.0.0",
"kuromojin": "^1.4.0",
"object.assign": "^4.1.0"
"kuromojin": "^2.0.0"
},

@@ -55,0 +53,0 @@ "prettier": {

// LICENSE : MIT
"use strict";
const ObjectAssign = require("object.assign");
const find = require("array-find");
const getTokenizer = require("kuromojin").getTokenizer;

@@ -93,3 +91,3 @@ /**

const postTokens = allTokens.slice(indexOfTargetToken + 1);
return find(postTokens, token => {
return postTokens.find(token => {
// 接続、末尾なので切る

@@ -136,3 +134,3 @@ if (PUNCTUATION.test(token["surface_form"])) {

*/
token: ObjectAssign({}, token)
token: Object.assign({}, token)
};

@@ -139,0 +137,0 @@ };

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