+1
-1
@@ -81,3 +81,3 @@ 'use strict'; | ||
| this.formats.forEach(function (format, formatIndex) { | ||
| if (_this2.versionCompare(preset, format) !== 1) { | ||
| if (_this2.versionCompare(preset, format) === -1) { | ||
| format.actions.forEach(function (action, actionIndex) { | ||
@@ -84,0 +84,0 @@ preset = _this2.applyAction(preset, action); |
| # Changelog | ||
| ## 0.0.6 (2015.03.28-21.23) | ||
| - won't attempt to patch the same version the preset already has | ||
| ## 0.0.5 | ||
@@ -4,0 +7,0 @@ - fixed `create` overwriting already-set values |
+1
-1
| { "name": "verjson" | ||
| , "description": "Applies format changes to keep old jsons compatible." | ||
| , "version": "0.0.5" | ||
| , "version": "0.0.6" | ||
| , "license": "MIT" | ||
@@ -5,0 +5,0 @@ , "author": "Florian Wendelborn" |
+1
-1
@@ -53,3 +53,3 @@ import {EventEmitter} from 'events'; | ||
| this.formats.forEach((format, formatIndex) => { | ||
| if (this.versionCompare(preset, format) !== 1) { | ||
| if (this.versionCompare(preset, format) === -1) { | ||
| format.actions.forEach((action, actionIndex) => { | ||
@@ -56,0 +56,0 @@ preset = this.applyAction(preset, action); |
15603
0.62%