@types/is-regex
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,7 +0,1 @@ | ||
// Type definitions for is-regex 1.0 | ||
// Project: https://github.com/ljharb/is-regex | ||
// Definitions by: Jordan Harband <https://github.com/ljharb> | ||
// ExE Boss <https://github.com/ExE-Boss> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/** | ||
@@ -8,0 +2,0 @@ * Returns whether the value is a valid `RegExp` object with the `[[RegExpMatcher]]` internal slot. |
{ | ||
"name": "@types/is-regex", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "TypeScript definitions for is-regex", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-regex", | ||
"license": "MIT", | ||
@@ -9,9 +10,9 @@ "contributors": [ | ||
"name": "Jordan Harband", | ||
"url": "https://github.com/ljharb", | ||
"githubUsername": "ljharb" | ||
"githubUsername": "ljharb", | ||
"url": "https://github.com/ljharb" | ||
}, | ||
{ | ||
"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": "c5c0e214b698ba28c1e47e2c82300fca2c0a76f93eb801caf48da1bde225b2c9", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "6db492b887a727cde62de6f76296ba2de96f61e16d9ee776d32a2a7af879d5b9", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -9,9 +9,17 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-regex. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-regex/index.d.ts) | ||
````ts | ||
/** | ||
* Returns whether the value is a valid `RegExp` object with the `[[RegExpMatcher]]` internal slot. | ||
*/ | ||
declare function isRegex(value: any): value is RegExp; | ||
export = isRegex; | ||
```` | ||
### Additional Details | ||
* Last updated: Wed, 10 Jun 2020 15:40:55 GMT | ||
* Last updated: Wed, 18 Oct 2023 01:17:35 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
# Credits | ||
These definitions were written by [Jordan Harband](https://github.com/ljharb), and [ExE Boss](https://github.com/ExE-Boss). |
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
3071
0
25
5