@fortawesome/fontawesome-svg-core
Advanced tools
Comparing version 1.2.4 to 1.2.5
/*! | ||
* Font Awesome Free 5.3.1 by @fontawesome - https://fontawesome.com | ||
* Font Awesome Free 5.4.0 by @fontawesome - https://fontawesome.com | ||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) | ||
@@ -278,8 +278,11 @@ */ | ||
var _uniqueId = 0; | ||
var idPool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; | ||
function nextUniqueId() { | ||
_uniqueId++; | ||
return _uniqueId; | ||
var size = 12; | ||
var id = ''; | ||
while (size-- > 0) { | ||
id += idPool[Math.random() * 62 | 0]; | ||
} | ||
return id; | ||
} | ||
@@ -681,3 +684,3 @@ | ||
var p = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMANCE.measure ? PERFORMANCE : { mark: noop$2, measure: noop$2 }; | ||
var preamble = 'FA "5.3.1"'; | ||
var preamble = 'FA "5.4.0"'; | ||
@@ -684,0 +687,0 @@ var begin = function begin(name) { |
15
index.js
/*! | ||
* Font Awesome Free 5.3.1 by @fontawesome - https://fontawesome.com | ||
* Font Awesome Free 5.4.0 by @fontawesome - https://fontawesome.com | ||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) | ||
@@ -284,8 +284,11 @@ */ | ||
var _uniqueId = 0; | ||
var idPool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; | ||
function nextUniqueId() { | ||
_uniqueId++; | ||
return _uniqueId; | ||
var size = 12; | ||
var id = ''; | ||
while (size-- > 0) { | ||
id += idPool[Math.random() * 62 | 0]; | ||
} | ||
return id; | ||
} | ||
@@ -687,3 +690,3 @@ | ||
var p = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMANCE.measure ? PERFORMANCE : { mark: noop$2, measure: noop$2 }; | ||
var preamble = 'FA "5.3.1"'; | ||
var preamble = 'FA "5.4.0"'; | ||
@@ -690,0 +693,0 @@ var begin = function begin(name) { |
@@ -50,5 +50,5 @@ { | ||
"dependencies": { | ||
"@fortawesome/fontawesome-common-types": "^0.2.4" | ||
"@fortawesome/fontawesome-common-types": "^0.2.5" | ||
}, | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"name": "@fortawesome/fontawesome-svg-core", | ||
@@ -55,0 +55,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
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
138175
3610