gverni-test-package
Advanced tools
Comparing version 1.0.0 to 1.0.3
@@ -60,3 +60,3 @@ "use strict"; | ||
if (!validEncodingValues.includes(encoding)) { | ||
throw new Error("Encoding " + encoding + " not supported. Allowed values for encoding are " + validEncodingValues.join(', ')); | ||
throw new Error("Encoding " + encoding + " not supported. Allowed values for are " + validEncodingValues.join(', ')); | ||
} | ||
@@ -63,0 +63,0 @@ /** |
{ | ||
"name": "gverni-test-package", | ||
"version": "1.0.0", | ||
"version": "1.0.3", | ||
"description": "SMS segements calculator", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -41,5 +41,3 @@ import GraphemeSplitter from 'grapheme-splitter'; | ||
if (!validEncodingValues.includes(encoding)) { | ||
throw new Error( | ||
`Encoding ${encoding} not supported. Allowed values for encoding are ${validEncodingValues.join(', ')}`, | ||
); | ||
throw new Error(`Encoding ${encoding} not supported. Allowed values for are ${validEncodingValues.join(', ')}`); | ||
} | ||
@@ -46,0 +44,0 @@ |
Sorry, the diff of this file is not supported yet
59595
1221