Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/is-windows

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/is-windows - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

is-windows/index.d.ts

@@ -1,7 +0,1 @@

// Type definitions for is-windows 1.0
// Project: https://github.com/jonschlinkert/is-windows
// Definitions by: Mizunashi Mana <https://github.com/mizunashi-mana>
// ExE Boss <https://github.com/ExE-Boss>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**

@@ -8,0 +2,0 @@ * Returns `true` if the platform is windows.

15

is-windows/package.json
{
"name": "@types/is-windows",
"version": "1.0.0",
"version": "1.0.1",
"description": "TypeScript definitions for is-windows",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-windows",
"license": "MIT",

@@ -9,9 +10,9 @@ "contributors": [

"name": "Mizunashi Mana",
"url": "https://github.com/mizunashi-mana",
"githubUsername": "mizunashi-mana"
"githubUsername": "mizunashi-mana",
"url": "https://github.com/mizunashi-mana"
},
{
"name": "ExE Boss",
"url": "https://github.com/ExE-Boss",
"githubUsername": "ExE-Boss"
"githubUsername": "ExE-Boss",
"url": "https://github.com/ExE-Boss"
}

@@ -28,4 +29,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "610e9345c2ee603cac49f854943aa9bd570a312784d4c04e67730275bcfa2de0",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "dcb3643adec6bc0a58e4efd85cb336bb5881ae16f0ba4be030ff913b24f20b06",
"typeScriptVersion": "4.5"
}

@@ -9,9 +9,22 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-windows.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-windows/index.d.ts)
````ts
/**
* Returns `true` if the platform is windows.
*/
declare function isWindows(): boolean;
// Export CJS function
export = isWindows;
// Export UMD namespace
export as namespace isWindows;
````
### Additional Details
* Last updated: Tue, 19 Nov 2019 19:37:32 GMT
* Last updated: Wed, 18 Oct 2023 01:17:35 GMT
* Dependencies: none
* Global values: `isWindows`
# Credits
These definitions were written by Mizunashi Mana (https://github.com/mizunashi-mana), and ExE Boss (https://github.com/ExE-Boss).
These definitions were written by [Mizunashi Mana](https://github.com/mizunashi-mana), and [ExE Boss](https://github.com/ExE-Boss).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc