Socket
Socket
Sign inDemoInstall

@formatjs/icu-skeleton-parser

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/icu-skeleton-parser - npm Package Compare versions

Comparing version 1.7.2 to 1.8.0

21

lib/number.js

@@ -219,2 +219,23 @@ import { __assign } from "tslib";

continue;
case 'rounding-mode-floor':
result.roundingMode = 'floor';
continue;
case 'rounding-mode-ceiling':
result.roundingMode = 'ceil';
continue;
case 'rounding-mode-down':
result.roundingMode = 'trunc';
continue;
case 'rounding-mode-up':
result.roundingMode = 'expand';
continue;
case 'rounding-mode-half-even':
result.roundingMode = 'halfEven';
continue;
case 'rounding-mode-half-down':
result.roundingMode = 'halfTrunc';
continue;
case 'rounding-mode-half-up':
result.roundingMode = 'halfExpand';
continue;
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width

@@ -221,0 +242,0 @@ case 'integer-width':

@@ -223,2 +223,23 @@ "use strict";

continue;
case 'rounding-mode-floor':
result.roundingMode = 'floor';
continue;
case 'rounding-mode-ceiling':
result.roundingMode = 'ceil';
continue;
case 'rounding-mode-down':
result.roundingMode = 'trunc';
continue;
case 'rounding-mode-up':
result.roundingMode = 'expand';
continue;
case 'rounding-mode-half-even':
result.roundingMode = 'halfEven';
continue;
case 'rounding-mode-half-down':
result.roundingMode = 'halfTrunc';
continue;
case 'rounding-mode-half-up':
result.roundingMode = 'halfExpand';
continue;
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width

@@ -225,0 +246,0 @@ case 'integer-width':

2

package.json
{
"name": "@formatjs/icu-skeleton-parser",
"version": "1.7.2",
"version": "1.8.0",
"main": "index.js",

@@ -5,0 +5,0 @@ "module": "lib/index.js",

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