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

cld

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cld - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

index.js

4

package.json

@@ -5,4 +5,4 @@ {

"keywords": ["language", "detect", "language detection"],
"version": "0.0.4",
"main": "./build/default/cld",
"version": "0.0.5",
"main": "./index",
"dependencies": {

@@ -9,0 +9,0 @@ },

#!/usr/bin/env node
var cld = null;
var cld = require('../index');
var data = require('./data');
var assert = require('assert');
try {
cld = require('../build/default/cld');
} catch(e) {
// node v0.5.5+
cld = require('../build/Release/cld');
}
function runOne(expectedLangName, text, shouldBeReliable) {

@@ -15,0 +8,0 @@ var detectionResult = cld.detect(text);

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