+2
-2
@@ -55,4 +55,4 @@ 'use strict'; | ||
| value: function versionCompare(a, b) { | ||
| if (!a) return -1; | ||
| if (!b) return 1; | ||
| if (!a || !a.version) return -1; | ||
| if (!b || !b.version) return 1; | ||
@@ -59,0 +59,0 @@ var _a = a.version.split('.'); |
+1
-1
| { "name": "verjson" | ||
| , "description": "Applies format changes to keep old jsons compatible." | ||
| , "version": "0.0.2" | ||
| , "version": "0.0.3" | ||
| , "license": "MIT" | ||
@@ -5,0 +5,0 @@ , "author": "Florian Wendelborn" |
+2
-2
@@ -30,4 +30,4 @@ import {EventEmitter} from 'events'; | ||
| versionCompare (a, b) { | ||
| if (!a) return -1; | ||
| if (!b) return 1; | ||
| if (!a || !a.version) return -1; | ||
| if (!b || !b.version) return 1; | ||
@@ -34,0 +34,0 @@ let _a = a.version.split('.'); |
15204
0.37%