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

@internationalized/number

Package Overview
Dependencies
Maintainers
2
Versions
822
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internationalized/number - npm Package Compare versions

Comparing version 3.0.0-nightly-641446f65-240905 to 3.0.0-nightly-69109f003-241018

6

dist/NumberParser.main.js

@@ -190,4 +190,8 @@ var $0c1d5654b62fc485$exports = require("./NumberFormatter.main.js");

...intlOptions,
// Resets so we get the full range of symbols
minimumSignificantDigits: 1,
maximumSignificantDigits: 21
maximumSignificantDigits: 21,
roundingIncrement: 1,
roundingPriority: 'auto',
roundingMode: 'halfExpand'
});

@@ -194,0 +198,0 @@ // Note: some locale's don't add a group symbol until there is a ten thousands place

@@ -184,4 +184,8 @@ import {NumberFormatter as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5} from "./NumberFormatter.module.js";

...intlOptions,
// Resets so we get the full range of symbols
minimumSignificantDigits: 1,
maximumSignificantDigits: 21
maximumSignificantDigits: 21,
roundingIncrement: 1,
roundingPriority: 'auto',
roundingMode: 'halfExpand'
});

@@ -188,0 +192,0 @@ // Note: some locale's don't add a group symbol until there is a ten thousands place

4

package.json
{
"name": "@internationalized/number",
"version": "3.0.0-nightly-641446f65-240905",
"version": "3.0.0-nightly-69109f003-241018",
"description": "Internationalized number formatting and parsing utilities",

@@ -30,3 +30,3 @@ "license": "Apache-2.0",

},
"stableVersion": "3.5.3"
"stableVersion": "3.5.4"
}

@@ -258,3 +258,10 @@ /*

// formatter needs access to all decimal places in order to generate the correct literal strings for the plural set
let symbolFormatter = new Intl.NumberFormat(locale, {...intlOptions, minimumSignificantDigits: 1, maximumSignificantDigits: 21});
let symbolFormatter = new Intl.NumberFormat(locale, {...intlOptions,
// Resets so we get the full range of symbols
minimumSignificantDigits: 1,
maximumSignificantDigits: 21,
roundingIncrement: 1,
roundingPriority: 'auto',
roundingMode: 'halfExpand'
});
// Note: some locale's don't add a group symbol until there is a ten thousands place

@@ -261,0 +268,0 @@ let allParts = symbolFormatter.formatToParts(-10000.111);

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