Socket
Socket
Sign inDemoInstall

@lingui/core

Package Overview
Dependencies
Maintainers
3
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lingui/core - npm Package Compare versions

Comparing version 4.0.0-next.1 to 4.0.0-next.2

2

./build/cjs/index.js

@@ -37,3 +37,3 @@ 'use strict';

}));
return rules[value] || rules[plurals.select(value - offset)] || rules.other;
return rules[value] ?? rules[plurals.select(value - offset)] ?? rules.other;
}

@@ -40,0 +40,0 @@ function getMemoized(getKey, construct) {

@@ -37,3 +37,3 @@ 'use strict';

}));
return rules[value] || rules[plurals.select(value - offset)] || rules.other;
return rules[value] ?? rules[plurals.select(value - offset)] ?? rules.other;
}

@@ -40,0 +40,0 @@ function getMemoized(getKey, construct) {

@@ -35,3 +35,3 @@ import { compileMessage } from '@lingui/core/compile';

}));
return rules[value] || rules[plurals.select(value - offset)] || rules.other;
return rules[value] ?? rules[plurals.select(value - offset)] ?? rules.other;
}

@@ -38,0 +38,0 @@ function getMemoized(getKey, construct) {

{
"name": "@lingui/core",
"version": "4.0.0-next.1",
"version": "4.0.0-next.2",
"sideEffects": false,

@@ -68,3 +68,3 @@ "description": "I18n tools for javascript",

},
"gitHead": "27ee8e213ff6d0c7a0cd2b21c573d7f6da43fd85"
"gitHead": "556ab57e20c2ac9d384a22424c6a90c2ba0dd133"
}

Sorry, the diff of this file is not supported yet

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