File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "name" : " jsoning" ,
3- "version" : " 0.10.20 " ,
3+ "version" : " 0.10.21 " ,
44 "description" : " A simple key-value JSON-based persistent lightweight database." ,
55 "main" : " src/index.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ class Jsoning {
228228 }
229229
230230 // operand tricks
231- if ( typeof operand !== "number" ) {
231+ if ( typeof operand !== "number" ) {
232232 throw new TypeError ( "Operand must be a number type!" ) ;
233233 }
234234
@@ -239,7 +239,7 @@ class Jsoning {
239239 if ( Object . prototype . hasOwnProperty . call ( db , key ) ) {
240240 // key exists
241241 let value = db [ key ] ;
242- if ( typeof value !== "number" ) {
242+ if ( typeof value !== "number" ) {
243243 throw new Error (
244244 "Key of existing element must be a number for Jsoning#math to happen."
245245 ) ;
You can’t perform that action at this time.
0 commit comments