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

@phensley/plurals

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phensley/plurals - npm Package Compare versions

Comparing version 0.26.0 to 1.0.0

10

lib-es/api.d.ts
export { NumberOperands } from './operands';
import { PluralRules } from './rules';
/**
* Global instance for fetching plural rules by language and region.
*
* @public
*/
export declare class Plurals {

@@ -9,2 +14,7 @@ /**

}
/**
* Global instance for fetching plural rules by language and region.
*
* @public
*/
export declare const pluralRules: Plurals;

@@ -8,2 +8,7 @@ import { cardinalRules, expressions, ordinalRules } from './autogen.rules';

};
/**
* Global instance for fetching plural rules by language and region.
*
* @public
*/
var Plurals = /** @class */ (function () {

@@ -24,3 +29,8 @@ function Plurals() {

export { Plurals };
/**
* Global instance for fetching plural rules by language and region.
*
* @public
*/
export var pluralRules = new Plurals();
//# sourceMappingURL=api.js.map

2

lib-es/operands.d.ts

@@ -16,3 +16,3 @@ import { Decimal } from '@phensley/decimal';

*
* @alpha
* @public
*/

@@ -19,0 +19,0 @@ export declare class NumberOperands {

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

*
* @alpha
* @public
*/

@@ -48,0 +48,0 @@ var NumberOperands = /** @class */ (function () {

@@ -14,2 +14,4 @@ import { Decimal, DecimalArg } from '@phensley/decimal';

* fragments the rules reference.
*
* @public
*/

@@ -16,0 +18,0 @@ export declare class PluralRules {

@@ -12,2 +12,4 @@ import { coerceDecimal } from '@phensley/decimal';

* fragments the rules reference.
*
* @public
*/

@@ -14,0 +16,0 @@ var PluralRules = /** @class */ (function () {

export { NumberOperands } from './operands';
import { PluralRules } from './rules';
/**
* Global instance for fetching plural rules by language and region.
*
* @public
*/
export declare class Plurals {

@@ -9,2 +14,7 @@ /**

}
/**
* Global instance for fetching plural rules by language and region.
*
* @public
*/
export declare const pluralRules: Plurals;

@@ -11,2 +11,7 @@ "use strict";

};
/**
* Global instance for fetching plural rules by language and region.
*
* @public
*/
var Plurals = /** @class */ (function () {

@@ -27,3 +32,8 @@ function Plurals() {

exports.Plurals = Plurals;
/**
* Global instance for fetching plural rules by language and region.
*
* @public
*/
exports.pluralRules = new Plurals();
//# sourceMappingURL=api.js.map

@@ -16,3 +16,3 @@ import { Decimal } from '@phensley/decimal';

*
* @alpha
* @public
*/

@@ -19,0 +19,0 @@ export declare class NumberOperands {

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

*
* @alpha
* @public
*/

@@ -50,0 +50,0 @@ var NumberOperands = /** @class */ (function () {

@@ -14,2 +14,4 @@ import { Decimal, DecimalArg } from '@phensley/decimal';

* fragments the rules reference.
*
* @public
*/

@@ -16,0 +18,0 @@ export declare class PluralRules {

@@ -14,2 +14,4 @@ "use strict";

* fragments the rules reference.
*
* @public
*/

@@ -16,0 +18,0 @@ var PluralRules = /** @class */ (function () {

{
"name": "@phensley/plurals",
"version": "0.26.0",
"version": "1.0.0",
"description": "Plural rules engine",

@@ -19,2 +19,4 @@ "main": "lib/index.js",

"scripts": {
"api": "api-extractor run -c ./etc/api-extractor.json --verbose",
"api:local": "yarn api -l",
"bench:off": "ts-node __benchmarks__/",

@@ -38,7 +40,8 @@ "build": "yarn build:cj && yarn build:es",

"dependencies": {
"@phensley/decimal": "0.26.0",
"tslib": "1.10.x"
"@phensley/decimal": "1.0.0",
"tslib": "1.11.1"
},
"devDependencies": {
"@types/jest": "24.0.22",
"@microsoft/api-extractor": "^7.7.8",
"@types/jest": "25.1.3",
"@types/node": "^10.14.10",

@@ -48,8 +51,8 @@ "beautify-benchmark": "^0.2.4",

"chalk": "^2.3.2",
"jest": "24.9.0",
"jest": "25.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^24.0.2",
"ts-jest": "25.2.1",
"tslint": "^5.18.0",
"tslint-no-circular-imports": "^0.7.0",
"typescript": "3.7.x"
"typescript": "3.8.x"
},

@@ -69,3 +72,3 @@ "jest": {

},
"gitHead": "94045abc4df86296281f3eefc7d5e4bd48636cbe"
"gitHead": "84adc62f4b277203b9252f5c7aef98130d2baa3a"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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