Socket
Socket
Sign inDemoInstall

is-windows

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 1.0.0

README.md

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';
}());
}));

9

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc