Comparing version 1.4.0 to 1.4.1
/** | ||
* 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 7 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 46 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
12280839
2278
473265
777
1
2
1
219
43