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.1.0 to 0.2.0

16

secure-random-password/index.d.ts

@@ -1,4 +0,5 @@

// Type definitions for secure-random-password 0.1
// 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

@@ -8,12 +9,21 @@

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 const copyableSymbols: string;
export interface RandomPasswordCharactersSet {
characters: string;
exactly?: number;
}
export interface RandomPasswordOptions {
avoidAmbiguous?: boolean;
characters?: string | RandomPasswordCharactersSet | Array<(RandomPasswordCharactersSet | string)>;
length?: number;
characters?: string | string[];
predicate?: (result: string) => boolean;
}

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

13

secure-random-password/package.json
{
"name": "@types/secure-random-password",
"version": "0.1.0",
"version": "0.2.0",
"description": "TypeScript definitions for secure-random-password",

@@ -11,6 +11,11 @@ "license": "MIT",

"githubUsername": "bjornars"
},
{
"name": "GaspardFRDev",
"url": "https://github.com/GaspardFRDev",
"githubUsername": "GaspardFRDev"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -23,4 +28,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "721b9b20436b5d8f0e937d03a3de00e6538f395aa4dae018fc413939b694e20a",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "4ddf7c3976b66af62c64cf1e07e5a5618d4168c851c5b9181a2750d3b280986b",
"typeScriptVersion": "3.0"
}

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

# Summary
This package contains type definitions for secure-random-password ( https://github.com/rackerlabs/secure-random-password ).
This package contains type definitions for secure-random-password (https://github.com/rackerlabs/secure-random-password).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/secure-random-password
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/secure-random-password.
Additional Details
* Last updated: Wed, 01 May 2019 23:12:13 GMT
### Additional Details
* Last updated: Tue, 02 Jun 2020 12:45:43 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Bjørnar Snoksrud <https://github.com/bjornars>.
These definitions were written by [Bjørnar Snoksrud](https://github.com/bjornars), and [GaspardFRDev](https://github.com/GaspardFRDev).

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