is-windows
Advanced tools
Comparing version 0.2.0 to 1.0.0
10
index.js
@@ -1,3 +0,3 @@ | ||
/*! is-windows v0.2.0 | MIT LICENSE (c) 2015 | https://github.com/jonschlinkert/is-windows */ | ||
(function (root, factory) { | ||
/*! is-windows v1.0.0 | MIT LICENSE (c) 2015-2016 | https://github.com/jonschlinkert/is-windows */ | ||
(function(root, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
@@ -13,3 +13,3 @@ // AMD | ||
} | ||
}(this, function () { | ||
}(this, function() { | ||
'use strict'; | ||
@@ -21,4 +21,6 @@ | ||
} | ||
return process.platform === 'win32'; | ||
return process.platform === 'win32' || | ||
process.env.OSTYPE === 'cygwin' || | ||
process.env.OSTYPE === 'msys'; | ||
}()); | ||
})); |
{ | ||
"name": "is-windows", | ||
"description": "Returns true if the platform is windwows.", | ||
"version": "0.2.0", | ||
"version": "1.0.0", | ||
"homepage": "https://github.com/jonschlinkert/is-windows", | ||
@@ -23,10 +23,13 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"devDependencies": { | ||
"gulp-format-md": "^0.1.9", | ||
"mocha": "*" | ||
"gulp-format-md": "^0.1.11", | ||
"mocha": "^3.2.0" | ||
}, | ||
"keywords": [ | ||
"check", | ||
"cywin", | ||
"is", | ||
"is-windows", | ||
"nix", | ||
"operating system", | ||
"os", | ||
"platform", | ||
@@ -33,0 +36,0 @@ "process", |
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6721
4
23
0
0
79