New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cldrpluralruleparser

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cldrpluralruleparser - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

bin/.eslintrc.json

12

.eslintrc.json
{
"root": true,
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6
"ecmaVersion": 5
},
"env": {
"es6": true,
"browser": true,
"jquery": true,
"qunit": true,
"node": true,
"mocha": true
"browser": true
},

@@ -17,2 +13,2 @@ "globals": {

}
}
}

@@ -5,3 +5,3 @@ {

"description": "Node module to find out the plural form for a given number in a language by parsing CLDR plural form rules.",
"version": "1.3.1",
"version": "1.3.2",
"repository": {

@@ -18,10 +18,9 @@ "url": "https://github.com/santhoshtr/CLDRPluralRuleParser"

"chai": "^3.5.0",
"cldr-data": "^35.1.0",
"eslint": "^4.11.0",
"mocha": "^4.0.1",
"eslint": "^4.11.0",
"mocha-eslint": "^4.1.0",
"nsp": "^3.1.0",
"cldr-data": ">=32"
"mocha-eslint": "^4.1.0"
},
"scripts": {
"test": "mocha && nsp check"
"test": "mocha test/*.test.js test/lint.js"
},

@@ -28,0 +27,0 @@ "engines": {

@@ -28,2 +28,3 @@ /**

} else if (typeof exports === 'object') {
/* global module */
// Node. Does not work with strict CommonJS, but

@@ -325,3 +326,3 @@ // only CommonJS-like environments that support module.exports,

debug(' -- passed ' + parseInt(result[0], 10) + ' ' + result[2] + ' ' + parseInt(result[4], 10));
debug(' -- passed ', parseInt(result[0], 10), result[2], parseInt(result[4], 10));

@@ -348,3 +349,3 @@ return parseFloat(result[0]) % parseInt(result[4], 10);

if (result !== null) {
debug(' -- passed is : ' + result[0] + ' == ' + parseInt(result[4], 10));
debug(' -- passed is :', result[0], ' == ', parseInt(result[4], 10));

@@ -366,3 +367,3 @@ return result[0] === parseInt(result[4], 10);

if (result !== null) {
debug(' -- passed isnot: ' + result[0] + ' != ' + parseInt(result[4], 10));
debug(' -- passed isnot: ', result[0], ' != ', parseInt(result[4], 10));

@@ -382,3 +383,3 @@ return result[0] !== parseInt(result[4], 10);

if (result !== null) {
debug(' -- passed not_in: ' + result[0] + ' != ' + result[4]);
debug(' -- passed not_in: ', result[0], ' != ', result[4]);
range_list = result[4];

@@ -466,3 +467,3 @@

if (result !== null) {
debug(' -- passed _in:' + result);
debug(' -- passed _in:', result);

@@ -549,3 +550,3 @@ range_list = result[5];

if (result !== null) {
debug(' -- passed andTail' + result);
debug(' -- passed andTail', result);

@@ -565,3 +566,3 @@ return result[3];

if (result !== null) {
debug(' -- passed orTail: ' + result[3]);
debug(' -- passed orTail: ', result[3]);

@@ -607,3 +608,3 @@ return result[3];

if (pos !== rule.length) {
debug('Warning: Rule not parsed completely. Parser stopped at ' + rule.substr(0, pos) + ' for rule: ' + rule);
debug('Warning: Rule not parsed completely. Parser stopped at ', rule.substr(0, pos), ' for rule: ', rule);
}

@@ -610,0 +611,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