🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

string-pixel-width

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-pixel-width - npm Package Compare versions

Comparing version

to
1.7.0

97

lib/widthsMap.js

@@ -299,2 +299,99 @@ "use strict";

},
"avenir next": {
"0": [58, 65, 58, 64],
"1": [58, 65, 58, 64],
"2": [58, 65, 58, 64],
"3": [58, 65, 58, 64],
"4": [58, 65, 58, 64],
"5": [58, 65, 58, 64],
"6": [58, 65, 58, 64],
"7": [58, 65, 58, 64],
"8": [58, 65, 58, 64],
"9": [58, 65, 58, 64],
" ": [25, 25, 25, 25],
"!": [33, 36, 28, 35],
"\"": [41, 50, 40, 49],
"#": [56, 60, 56, 60],
"$": [58, 65, 58, 64],
"%": [83, 91, 83, 91],
"&": [70, 78, 70, 78],
"'": [26, 30, 26, 30],
"(": [30, 34, 30, 34],
")": [30, 34, 30, 34],
"*": [44, 49, 44, 49],
"+": [67, 67, 67, 67],
",": [26, 30, 26, 30],
"-": [32, 33, 32, 33],
".": [26, 30, 26, 30],
"/": [37, 42, 37, 41],
":": [30, 33, 30, 33],
";": [30, 33, 30, 33],
"<": [67, 67, 67, 67],
"=": [67, 67, 67, 67],
">": [67, 67, 67, 67],
"?": [48, 55, 48, 54],
"@": [80, 80, 80, 80],
"A": [70, 73, 70, 71],
"B": [64, 67, 62, 66],
"C": [72, 70, 72, 68],
"D": [76, 77, 76, 77],
"E": [59, 61, 58, 59],
"F": [56, 58, 55, 56],
"G": [78, 77, 77, 75],
"H": [72, 76, 71, 76],
"I": [26, 32, 26, 32],
"J": [49, 53, 48, 53],
"K": [63, 71, 59, 68],
"L": [51, 53, 51, 53],
"M": [89, 96, 89, 95],
"N": [76, 79, 75, 79],
"O": [85, 85, 83, 83],
"P": [58, 64, 58, 64],
"Q": [84, 86, 84, 84],
"R": [60, 66, 60, 66],
"S": [56, 59, 56, 59],
"T": [57, 58, 55, 55],
"U": [71, 74, 71, 74],
"V": [62, 68, 60, 67],
"W": [97, 103, 96, 101],
"X": [65, 70, 62, 69],
"Y": [60, 67, 56, 61],
"Z": [57, 64, 57, 62],
"[": [30, 34, 30, 34],
"\\": [37, 42, 37, 42],
"]": [30, 34, 30, 34],
"^": [67, 69, 67, 69],
"_": [50, 50, 50, 50],
"`": [24, 30, 24, 30],
"a": [53, 57, 53, 56],
"b": [64, 66, 63, 66],
"c": [50, 50, 50, 50],
"d": [64, 66, 62, 66],
"e": [57, 60, 57, 59],
"f": [30, 36, 30, 36],
"g": [63, 66, 63, 66],
"h": [58, 62, 58, 62],
"i": [25, 30, 25, 29],
"j": [25, 30, 25, 30],
"k": [51, 60, 49, 57],
"l": [25, 30, 25, 30],
"m": [88, 92, 87, 93],
"n": [58, 62, 58, 62],
"o": [61, 63, 60, 63],
"p": [64, 66, 63, 66],
"q": [64, 66, 62, 66],
"r": [36, 40, 35, 38],
"s": [44, 47, 44, 46],
"t": [32, 37, 31, 36],
"u": [58, 61, 58, 61],
"v": [49, 57, 48, 55],
"w": [75, 87, 73, 86],
"x": [48, 59, 48, 56],
"y": [49, 57, 48, 56],
"z": [44, 51, 44, 51],
"{": [30, 34, 30, 34],
"|": [22, 24, 22, 24],
"}": [30, 34, 30, 34],
"~": [67, 67, 67, 67]
},
"comic sans ms": {

@@ -301,0 +398,0 @@ "0": [61, 61, 61, 61],

2

package.json
{
"name": "string-pixel-width",
"version": "1.6.0",
"version": "1.7.0",
"description": "String pixel width measurement on the backend in Javascript",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -24,2 +24,4 @@ [string-pixel-width](https://github.com/adambisek/string-pixel-width)

- Arial
- Avenir
- Avenir Next
- Comic Sans MS

@@ -26,0 +28,0 @@ - Courier New