You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@types/regexgen

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/regexgen - npm Package Compare versions

Comparing version

to
1.3.1

6

regexgen/index.d.ts

@@ -7,3 +7,3 @@ // Type definitions for regexgen 1.3

declare function regexgen(inputs: string[], flags?: RegExp['flags']): RegExp;
declare function regexgen(inputs: string[], flags?: RegExp["flags"]): RegExp;

@@ -16,4 +16,4 @@ declare namespace regexgen {

toString(flags?: RegExp['flags']): string;
toRegExp(flags?: RegExp['flags']): RegExp;
toString(flags?: RegExp["flags"]): string;
toRegExp(flags?: RegExp["flags"]): RegExp;
}

@@ -20,0 +20,0 @@ }

{
"name": "@types/regexgen",
"version": "1.3.0",
"version": "1.3.1",
"description": "TypeScript definitions for regexgen",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/regexgen",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "1527b3837688bacd93b9506d302b560290d253de4d6bcb4e42874acbcc630fec",
"typeScriptVersion": "4.0"
"typesPublisherContentHash": "b74b98fe46924a2ec14e6b9f5a4aa37bace086f5a543d02b1dda393c23db5323",
"typeScriptVersion": "4.5"
}

@@ -9,5 +9,29 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/regexgen.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/regexgen/index.d.ts)
````ts
// Type definitions for regexgen 1.3
// Project: https://github.com/devongovett/regexgen
// Definitions by: Septs <https://github.com/septs>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 4.0
declare function regexgen(inputs: string[], flags?: RegExp["flags"]): RegExp;
declare namespace regexgen {
class Trie {
add(input: string): void;
addAll(inputs: string[]): void;
minimize(): void;
toString(flags?: RegExp["flags"]): string;
toRegExp(flags?: RegExp["flags"]): RegExp;
}
}
export = regexgen;
````
### Additional Details
* Last updated: Fri, 28 Aug 2020 04:34:34 GMT
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT
* Dependencies: none

@@ -14,0 +38,0 @@ * Global values: none