'use strict';

var semver = require('semver');

module.exports = function(version) {

  return semver.satisfies(version, '^1.0.0')  || // io.js
         semver.satisfies(version, '^2.0.0')  || // io.js (dev)
         semver.satisfies(version, '^0.12.0') || // node 0.12.x
         semver.satisfies(version, '^0.13.0');   // node 0.13.x
};

'use strict';

var semver = require('semver');

module.exports = function(version) {

  return semver.satisfies(version, '^1.0.0')  || // io.js 1.x.y
         semver.satisfies(version, '^2.0.0')  || // io.js 2.x.y
         semver.satisfies(version, '^3.0.0')  || // io.js (dev)
         semver.satisfies(version, '^0.12.0') || // node 0.12.x
         semver.satisfies(version, '^0.13.0');   // node 0.13.x
};

Update valid-platform-version.js