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

@phensley/cldr-ext-rbnf

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phensley/cldr-ext-rbnf - npm Package Compare versions

Comparing version 1.6.5 to 1.6.6

4

lib-es/rbnf.d.ts
import { Decimal } from '@phensley/decimal';
import { PluralRules } from '@phensley/plurals';
import { ApplyLeft2NumFormatInst, ApplyLeft2RuleInst, ApplyLeftNumFormatInst, ApplyLeftRuleInst, RBNFInst, RBNFRule, SubLeftInst } from './rbnftypes';
declare type IntegerSubInst = ApplyLeftRuleInst | ApplyLeft2RuleInst | ApplyLeft2NumFormatInst | ApplyLeftNumFormatInst | SubLeftInst;
type IntegerSubInst = ApplyLeftRuleInst | ApplyLeft2RuleInst | ApplyLeft2NumFormatInst | ApplyLeftNumFormatInst | SubLeftInst;
export interface RBNFSymbols {

@@ -10,3 +10,3 @@ decimal: string;

}
export declare type RBNFDecimalFormatter = (pattern: string, n: Decimal) => string;
export type RBNFDecimalFormatter = (pattern: string, n: Decimal) => string;
/**

@@ -13,0 +13,0 @@ * A collection of multiple RBNF locale-specific rulesets with shared arrays of

@@ -19,4 +19,4 @@ /**

}
export declare type AtomType = RuleType.MINUS | RuleType.INFINITY | RuleType.NOT_A_NUMBER;
export declare type FractionType = RuleType.PROPER_FRACTION | RuleType.IMPROPER_FRACTION;
export type AtomType = RuleType.MINUS | RuleType.INFINITY | RuleType.NOT_A_NUMBER;
export type FractionType = RuleType.PROPER_FRACTION | RuleType.IMPROPER_FRACTION;
/**

@@ -54,3 +54,3 @@ * An atom rule has a type and one or more instructions to evaluate.

}
export declare type RBNFRule = AtomRule | FractionRule | NormalRule | NormalRadixRule;
export type RBNFRule = AtomRule | FractionRule | NormalRule | NormalRadixRule;
/**

@@ -146,5 +146,5 @@ * Instruction opcodes, sorted from most- to least-frequent.

}
export declare type RBNFInst = LiteralInst | ApplyLeftRuleInst | ApplyLeftNumFormatInst | ApplyLeft2RuleInst | ApplyLeft2NumFormatInst | ApplyRightRuleInst | ApplyRightNumFormatInst | CardinalInst | OrdinalInst | OptionalInst | SubLeftInst | SubRightInst | SubRight3Inst | UnchangedRuleInst | UnchangedNumFormatInst;
export type RBNFInst = LiteralInst | ApplyLeftRuleInst | ApplyLeftNumFormatInst | ApplyLeft2RuleInst | ApplyLeft2NumFormatInst | ApplyRightRuleInst | ApplyRightNumFormatInst | CardinalInst | OrdinalInst | OptionalInst | SubLeftInst | SubRightInst | SubRight3Inst | UnchangedRuleInst | UnchangedNumFormatInst;
export declare const PLURALS: {
[x: string]: number;
};
import { Decimal } from '@phensley/decimal';
import { PluralRules } from '@phensley/plurals';
import { ApplyLeft2NumFormatInst, ApplyLeft2RuleInst, ApplyLeftNumFormatInst, ApplyLeftRuleInst, RBNFInst, RBNFRule, SubLeftInst } from './rbnftypes';
declare type IntegerSubInst = ApplyLeftRuleInst | ApplyLeft2RuleInst | ApplyLeft2NumFormatInst | ApplyLeftNumFormatInst | SubLeftInst;
type IntegerSubInst = ApplyLeftRuleInst | ApplyLeft2RuleInst | ApplyLeft2NumFormatInst | ApplyLeftNumFormatInst | SubLeftInst;
export interface RBNFSymbols {

@@ -10,3 +10,3 @@ decimal: string;

}
export declare type RBNFDecimalFormatter = (pattern: string, n: Decimal) => string;
export type RBNFDecimalFormatter = (pattern: string, n: Decimal) => string;
/**

@@ -13,0 +13,0 @@ * A collection of multiple RBNF locale-specific rulesets with shared arrays of

@@ -19,4 +19,4 @@ /**

}
export declare type AtomType = RuleType.MINUS | RuleType.INFINITY | RuleType.NOT_A_NUMBER;
export declare type FractionType = RuleType.PROPER_FRACTION | RuleType.IMPROPER_FRACTION;
export type AtomType = RuleType.MINUS | RuleType.INFINITY | RuleType.NOT_A_NUMBER;
export type FractionType = RuleType.PROPER_FRACTION | RuleType.IMPROPER_FRACTION;
/**

@@ -54,3 +54,3 @@ * An atom rule has a type and one or more instructions to evaluate.

}
export declare type RBNFRule = AtomRule | FractionRule | NormalRule | NormalRadixRule;
export type RBNFRule = AtomRule | FractionRule | NormalRule | NormalRadixRule;
/**

@@ -146,5 +146,5 @@ * Instruction opcodes, sorted from most- to least-frequent.

}
export declare type RBNFInst = LiteralInst | ApplyLeftRuleInst | ApplyLeftNumFormatInst | ApplyLeft2RuleInst | ApplyLeft2NumFormatInst | ApplyRightRuleInst | ApplyRightNumFormatInst | CardinalInst | OrdinalInst | OptionalInst | SubLeftInst | SubRightInst | SubRight3Inst | UnchangedRuleInst | UnchangedNumFormatInst;
export type RBNFInst = LiteralInst | ApplyLeftRuleInst | ApplyLeftNumFormatInst | ApplyLeft2RuleInst | ApplyLeft2NumFormatInst | ApplyRightRuleInst | ApplyRightNumFormatInst | CardinalInst | OrdinalInst | OptionalInst | SubLeftInst | SubRightInst | SubRight3Inst | UnchangedRuleInst | UnchangedNumFormatInst;
export declare const PLURALS: {
[x: string]: number;
};
{
"name": "@phensley/cldr-ext-rbnf",
"version": "1.6.5",
"version": "1.6.6",
"description": "Extension for rule-based number formatting",

@@ -23,13 +23,13 @@ "main": "lib/index.js",

"dependencies": {
"@phensley/cldr-types": "~1.6.5",
"@phensley/decimal": "~1.6.5",
"@phensley/plurals": "~1.6.5",
"tslib": "^2.4.0"
"@phensley/cldr-types": "~1.6.6",
"@phensley/decimal": "~1.6.6",
"@phensley/plurals": "~1.6.6",
"tslib": "^2.4.1"
},
"devDependencies": {
"@microsoft/api-extractor": "~7.18.5",
"@types/jest": "^28.1.1",
"@types/node": "^18.7.14",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"add": "^2.0.6",

@@ -39,11 +39,11 @@ "beautify-benchmark": "^0.2.4",

"chalk": "4.1.2",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.3",
"pnpm": "^7.9.5",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.8",
"typescript": "~4.8.2"
"jest": "^29.4.0",
"pnpm": "^7.26.0",
"prettier": "^2.8.3",
"rimraf": "^4.1.2",
"ts-jest": "^29.0.5",
"typescript": "~4.9.4"
},

@@ -50,0 +50,0 @@ "jest": {

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