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

segment-dict

Package Overview
Dependencies
Maintainers
1
Versions
470
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

segment-dict - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

lib/loader/jieba/index.js

@@ -31,3 +31,3 @@ "use strict";

// @ts-ignore
n = parseInt(n);
n = Number(n);
}

@@ -34,0 +34,0 @@ if (!str) {

@@ -45,3 +45,3 @@ /**

// @ts-ignore
n = parseInt(n);
n = Number(n);
}

@@ -48,0 +48,0 @@

@@ -16,3 +16,3 @@ "use strict";

.split(/\|/g);
return [str, parseInt(n), parseInt(s)];
return [str, Number(n), Number(s)];
}

@@ -19,0 +19,0 @@ exports.parseLine = parseLine;

@@ -23,3 +23,3 @@ /**

return [str, parseInt(n), parseInt(s)];
return [str, Number(n), Number(s)];
}

@@ -26,0 +26,0 @@

{
"name": "segment-dict",
"version": "1.0.2",
"version": "1.0.3",
"description": "segment data",

@@ -5,0 +5,0 @@ "keywords": [

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