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

@types/secure-random-password

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/secure-random-password - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

10

secure-random-password/index.d.ts

@@ -20,10 +20,10 @@ // Type definitions for secure-random-password 0.2

characters: string;
exactly?: number;
exactly?: number | undefined;
}
export interface RandomPasswordOptions {
avoidAmbiguous?: boolean;
characters?: string | RandomPasswordCharactersSet | Array<(RandomPasswordCharactersSet | string)>;
length?: number;
predicate?: (result: string) => boolean;
avoidAmbiguous?: boolean | undefined;
characters?: string | RandomPasswordCharactersSet | Array<(RandomPasswordCharactersSet | string)> | undefined;
length?: number | undefined;
predicate?: ((result: string) => boolean) | undefined;
}

@@ -30,0 +30,0 @@

{
"name": "@types/secure-random-password",
"version": "0.2.0",
"version": "0.2.1",
"description": "TypeScript definitions for secure-random-password",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/secure-random-password",
"license": "MIT",

@@ -27,4 +28,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "4ddf7c3976b66af62c64cf1e07e5a5618d4168c851c5b9181a2750d3b280986b",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "28ec941d8cee49c05296cf7ae5adbb93ea06cb8a19735ab500479a38f0dd9641",
"typeScriptVersion": "3.6"
}

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

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/secure-random-password.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/secure-random-password/index.d.ts)
````ts
// Type definitions for secure-random-password 0.2
// Project: https://github.com/rackerlabs/secure-random-password
// Definitions by: Bjørnar Snoksrud <https://github.com/bjornars>
// GaspardFRDev <https://github.com/GaspardFRDev>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export const lower: string;
export const upper: string;
export const consonants: string;
export const vowels: string;
export const digits: string;
export const symbols: string;
export const copyableSymbols: string;
export const fullSymbols: string;
export interface RandomPasswordCharactersSet {
characters: string;
exactly?: number | undefined;
}
export interface RandomPasswordOptions {
avoidAmbiguous?: boolean | undefined;
characters?: string | RandomPasswordCharactersSet | Array<(RandomPasswordCharactersSet | string)> | undefined;
length?: number | undefined;
predicate?: ((result: string) => boolean) | undefined;
}
export function randomPassword(options?: RandomPasswordOptions): string;
export function randomString(options?: RandomPasswordOptions): string;
````
### Additional Details
* Last updated: Tue, 02 Jun 2020 12:45:43 GMT
* Last updated: Tue, 06 Jul 2021 16:34:27 GMT
* Dependencies: none

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

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