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

globalize

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globalize - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

doc/api/currency/currency-formatter.md.orig

6

dist/globalize-runtime.js
/**
* Globalize Runtime v1.4.0
* Globalize Runtime v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize Runtime v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize Runtime v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -16,0 +16,0 @@ */

/**
* Globalize Runtime v1.4.0
* Globalize Runtime v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize Runtime v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize Runtime v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -16,0 +16,0 @@ */

/**
* Globalize Runtime v1.4.0
* Globalize Runtime v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize Runtime v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize Runtime v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -16,0 +16,0 @@ */

/**
* Globalize Runtime v1.4.0
* Globalize Runtime v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize Runtime v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize Runtime v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -16,0 +16,0 @@ */

/**
* Globalize Runtime v1.4.0
* Globalize Runtime v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize Runtime v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize Runtime v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -16,0 +16,0 @@ */

/**
* Globalize Runtime v1.4.0
* Globalize Runtime v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize Runtime v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize Runtime v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -16,0 +16,0 @@ */

/**
* Globalize Runtime v1.4.0
* Globalize Runtime v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize Runtime v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize Runtime v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -16,0 +16,0 @@ */

/**
* Globalize Runtime v1.4.0
* Globalize Runtime v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize Runtime v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize Runtime v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -76,3 +76,3 @@ */

var compoundUnitPattern = unitProperties.compoundUnitPattern, dividend, dividendProperties,
formattedValue, divisor, divisorProperties, message, pluralValue;
formattedValue, divisor, divisorProperties, message, pluralValue, oneProperty;

@@ -87,5 +87,6 @@ unitProperties = unitProperties.unitProperties;

divisorProperties = unitProperties[ 1 ];
oneProperty = divisorProperties.hasOwnProperty( "one" ) ? "one" : "other";
dividend = formatMessage( dividendProperties[ pluralValue ], [ value ] );
divisor = formatMessage( divisorProperties.one, [ "" ] ).trim();
dividend = formatMessage( dividendProperties[ pluralValue ], [ formattedValue ] );
divisor = formatMessage( divisorProperties[oneProperty], [ "" ] ).trim();

@@ -92,0 +93,0 @@ return formatMessage( compoundUnitPattern, [ dividend, divisor ] );

/**
* Globalize v1.4.0
* Globalize v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -16,0 +16,0 @@ */

/*!
* Globalize v1.4.0
* Globalize v1.4.1
*

@@ -10,3 +10,3 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/

@@ -13,0 +13,0 @@ (function( root, factory ) {

/**
* Globalize v1.4.0
* Globalize v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -16,0 +16,0 @@ */

/**
* Globalize v1.4.0
* Globalize v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -971,7 +971,7 @@ */

// we'd never see something like `003M` anyway.
properties[ 2 ] = negativeSuffix[ 2 ] = 1; // minimumIntegerDigits
properties[ 3 ] = negativeSuffix[ 3 ] = 0; // minimumFractionDigits
properties[ 4 ] = negativeSuffix[ 4 ] = 0; // maximumFractionDigits
properties[ 5 ] = negativeSuffix[ 5 ] = // minimumSignificantDigits &
properties[ 6 ] = negativeSuffix[ 6 ] = undefined ; // maximumSignificantDigits
properties[ 2 ] = 1; // minimumIntegerDigits
properties[ 3 ] = 0; // minimumFractionDigits
properties[ 4 ] = 0; // maximumFractionDigits
properties[ 5 ] = // minimumSignificantDigits &
properties[ 6 ] = undefined ; // maximumSignificantDigits

@@ -978,0 +978,0 @@ properties[20] = numberCompact( options.compact, cldr );

/**
* Globalize v1.4.0
* Globalize v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -16,0 +16,0 @@ */

/**
* Globalize v1.4.0
* Globalize v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -16,0 +16,0 @@ */

/**
* Globalize v1.4.0
* Globalize v1.4.1
*

@@ -10,6 +10,6 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/
/*!
* Globalize v1.4.0 2018-07-17T20:38Z Released under the MIT license
* Globalize v1.4.1 2019-03-06T12:26Z Released under the MIT license
* http://git.io/TrdQbw

@@ -71,3 +71,3 @@ */

var compoundUnitPattern = unitProperties.compoundUnitPattern, dividend, dividendProperties,
formattedValue, divisor, divisorProperties, message, pluralValue;
formattedValue, divisor, divisorProperties, message, pluralValue, oneProperty;

@@ -82,5 +82,6 @@ unitProperties = unitProperties.unitProperties;

divisorProperties = unitProperties[ 1 ];
oneProperty = divisorProperties.hasOwnProperty( "one" ) ? "one" : "other";
dividend = formatMessage( dividendProperties[ pluralValue ], [ value ] );
divisor = formatMessage( divisorProperties.one, [ "" ] ).trim();
dividend = formatMessage( dividendProperties[ pluralValue ], [ formattedValue ] );
divisor = formatMessage( divisorProperties[oneProperty], [ "" ] ).trim();

@@ -87,0 +88,0 @@ return formatMessage( compoundUnitPattern, [ dividend, divisor ] );

/*!
* Globalize v1.4.0
* Globalize v1.4.1
*

@@ -10,3 +10,3 @@ * http://github.com/jquery/globalize

*
* Date: 2018-07-17T20:38Z
* Date: 2019-03-06T12:26Z
*/

@@ -13,0 +13,0 @@

{
"name": "globalize",
"version": "1.4.0",
"version": "1.4.1",
"description": "A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -148,15 +148,18 @@ # Globalize

*By downloading a ZIP or a TAR.GZ...*
#### Downloading a ZIP or tarball archive
Click the github [releases tab](https://github.com/globalizejs/globalize/releases) and download the latest available Globalize package.
Click the GitHub [releases tab](https://github.com/globalizejs/globalize/releases) and download the latest available Globalize package.
*By using a package manager...*
#### Using a package manager
Use bower `bower install globalize`, or npm `npm install globalize`.
You can use either npm or bower:
*By using source files...*
- `npm install globalize`
- `bower install globalize`
1. `git clone https://github.com/globalizejs/globalize.git`.
2. [Build the distribution files](#build).
#### Building from source
1. `git clone https://github.com/globalizejs/globalize.git`
2. [Build the distribution files](#build)
### Requirements

@@ -163,0 +166,0 @@

Sorry, the diff of this file is too big to display

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