Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@formatjs/ecma402-abstract

Package Overview
Dependencies
Maintainers
3
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/ecma402-abstract - npm Package Compare versions

Comparing version 1.9.4 to 1.9.5

1

index.d.ts

@@ -24,3 +24,2 @@ export * from './CanonicalizeLocaleList';

export * from './PartitionPattern';
export * from './ResolveLocale';
export * from './SupportedLocales';

@@ -27,0 +26,0 @@ export { getInternalSlot, getMultiInternalSlots, isLiteralPart, setInternalSlot, setMultiInternalSlots, getMagnitude, defineProperty, } from './utils';

@@ -29,3 +29,2 @@ "use strict";

tslib_1.__exportStar(require("./PartitionPattern"), exports);
tslib_1.__exportStar(require("./ResolveLocale"), exports);
tslib_1.__exportStar(require("./SupportedLocales"), exports);

@@ -32,0 +31,0 @@ var utils_1 = require("./utils");

@@ -24,3 +24,2 @@ export * from './CanonicalizeLocaleList';

export * from './PartitionPattern';
export * from './ResolveLocale';
export * from './SupportedLocales';

@@ -27,0 +26,0 @@ export { getInternalSlot, getMultiInternalSlots, isLiteralPart, setInternalSlot, setMultiInternalSlots, getMagnitude, defineProperty, } from './utils';

@@ -24,3 +24,2 @@ export * from './CanonicalizeLocaleList';

export * from './PartitionPattern';
export * from './ResolveLocale';
export * from './SupportedLocales';

@@ -27,0 +26,0 @@ export { getInternalSlot, getMultiInternalSlots, isLiteralPart, setInternalSlot, setMultiInternalSlots, getMagnitude, defineProperty, } from './utils';

2

lib/NumberFormat/InitializeNumberFormat.js
import { CanonicalizeLocaleList } from '../CanonicalizeLocaleList';
import { GetOption } from '../GetOption';
import { ResolveLocale } from '../ResolveLocale';
import { ResolveLocale } from '@formatjs/intl-localematcher';
import { SetNumberFormatUnitOptions } from './SetNumberFormatUnitOptions';

@@ -5,0 +5,0 @@ import { CurrencyDigits } from './CurrencyDigits';

import { ToObject } from './262';
import { GetOption } from './GetOption';
import { LookupSupportedLocales } from './LookupSupportedLocales';
import { LookupSupportedLocales } from '@formatjs/intl-localematcher';
/**

@@ -5,0 +5,0 @@ * https://tc39.es/ecma402/#sec-supportedlocales

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

var GetOption_1 = require("../GetOption");
var ResolveLocale_1 = require("../ResolveLocale");
var intl_localematcher_1 = require("@formatjs/intl-localematcher");
var SetNumberFormatUnitOptions_1 = require("./SetNumberFormatUnitOptions");

@@ -32,3 +32,3 @@ var CurrencyDigits_1 = require("./CurrencyDigits");

opt.nu = numberingSystem;
var r = ResolveLocale_1.ResolveLocale(availableLocales, requestedLocales, opt,
var r = intl_localematcher_1.ResolveLocale(availableLocales, requestedLocales, opt,
// [[RelevantExtensionKeys]] slot, which is a constant

@@ -35,0 +35,0 @@ ['nu'], localeData, getDefaultLocale);

{
"name": "@formatjs/ecma402-abstract",
"version": "1.9.4",
"version": "1.9.5",
"description": "A collection of implementation for ECMAScript abstract operations",

@@ -17,2 +17,3 @@ "keywords": [

"dependencies": {
"@formatjs/intl-localematcher": "0.2.18",
"tslib": "^2.1.0"

@@ -19,0 +20,0 @@ },

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

var GetOption_1 = require("./GetOption");
var LookupSupportedLocales_1 = require("./LookupSupportedLocales");
var intl_localematcher_1 = require("@formatjs/intl-localematcher");
/**

@@ -21,6 +21,6 @@ * https://tc39.es/ecma402/#sec-supportedlocales

if (matcher === 'best fit') {
return LookupSupportedLocales_1.LookupSupportedLocales(availableLocales, requestedLocales);
return intl_localematcher_1.LookupSupportedLocales(availableLocales, requestedLocales);
}
return LookupSupportedLocales_1.LookupSupportedLocales(availableLocales, requestedLocales);
return intl_localematcher_1.LookupSupportedLocales(availableLocales, requestedLocales);
}
exports.SupportedLocales = SupportedLocales;

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