Socket
Socket
Sign inDemoInstall

@types/randomstring

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/randomstring - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

12

randomstring/index.d.ts

@@ -7,7 +7,15 @@ // Type definitions for randomstring 1.1.4

declare namespace Randomstring {
type Charset = "alphanumeric"
| "alphabetic"
| "numeric"
| "hex"
| "binary"
| "octal"
| string;
type Capitalization = "lowercase" | "uppercase";
interface GenerateOptions {
length?: number | undefined;
readable?: boolean | undefined;
charset?: string | undefined;
capitalization?: string | undefined;
charset?: Charset | undefined;
capitalization?: Capitalization | undefined;
}

@@ -14,0 +22,0 @@

6

randomstring/package.json
{
"name": "@types/randomstring",
"version": "1.1.7",
"version": "1.1.8",
"description": "TypeScript definitions for randomstring",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randomstring",

"dependencies": {},
"typesPublisherContentHash": "759363095c6229728e8643c24d22a1055fbbf04aae05758874f0d01fbbfa80df",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "16f14d969fbc15a0c2d9a9dbf77388cf942a9c037537d81ce732d07e62aaf5aa",
"typeScriptVersion": "3.7"
}

@@ -17,7 +17,15 @@ # Installation

declare namespace Randomstring {
type Charset = "alphanumeric"
| "alphabetic"
| "numeric"
| "hex"
| "binary"
| "octal"
| string;
type Capitalization = "lowercase" | "uppercase";
interface GenerateOptions {
length?: number | undefined;
readable?: boolean | undefined;
charset?: string | undefined;
capitalization?: string | undefined;
charset?: Charset | undefined;
capitalization?: Capitalization | undefined;
}

@@ -35,3 +43,3 @@

### Additional Details
* Last updated: Wed, 07 Jul 2021 17:02:52 GMT
* Last updated: Fri, 29 Oct 2021 23:01:24 GMT
* Dependencies: none

@@ -38,0 +46,0 @@ * Global values: `Randomstring`

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