Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

verjson

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

verjson - npm Package Compare versions

Comparing version
0.0.5
to
0.0.6
+1
-1
build/index.js

@@ -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

{ "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"

@@ -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);