@types/browser-or-node
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -1,7 +0,1 @@ | ||
// Type definitions for browser-or-node 1.3 | ||
// Project: https://github.com/flexdinesh/browser-or-node | ||
// Definitions by: Jussi Kinnula <https://github.com/jussikinnula> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.8 | ||
export const isBrowser: boolean; | ||
@@ -8,0 +2,0 @@ export const isWebWorker: boolean; |
{ | ||
"name": "@types/browser-or-node", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "TypeScript definitions for browser-or-node", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browser-or-node", | ||
"license": "MIT", | ||
@@ -9,4 +10,4 @@ "contributors": [ | ||
"name": "Jussi Kinnula", | ||
"url": "https://github.com/jussikinnula", | ||
"githubUsername": "jussikinnula" | ||
"githubUsername": "jussikinnula", | ||
"url": "https://github.com/jussikinnula" | ||
} | ||
@@ -23,4 +24,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "72f5af2fb2879458a894135ca45d0adae425d8759d154f01d96f049346f8f685", | ||
"typeScriptVersion": "3.3" | ||
"typesPublisherContentHash": "26433e74c82f23db4e8b7bcbf3567e4b5860dfaaad9204960ff4c6ac1c0d494f", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -9,9 +9,16 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browser-or-node. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browser-or-node/index.d.ts) | ||
````ts | ||
export const isBrowser: boolean; | ||
export const isWebWorker: boolean; | ||
export const isNode: boolean; | ||
export function isJsDom(): boolean; | ||
```` | ||
### Additional Details | ||
* Last updated: Wed, 02 Dec 2020 06:49:49 GMT | ||
* Last updated: Tue, 17 Oct 2023 22:10:13 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
# Credits | ||
These definitions were written by [Jussi Kinnula](https://github.com/jussikinnula). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
2871
0
24
4