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

@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.6 to 1.1.7

8

randomstring/index.d.ts

@@ -8,6 +8,6 @@ // Type definitions for randomstring 1.1.4

interface GenerateOptions {
length?: number;
readable?: boolean;
charset?: string;
capitalization?: string;
length?: number | undefined;
readable?: boolean | undefined;
charset?: string | undefined;
capitalization?: string | undefined;
}

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

{
"name": "@types/randomstring",
"version": "1.1.6",
"version": "1.1.7",
"description": "TypeScript definitions for randomstring",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randomstring",
"license": "MIT",

@@ -9,15 +10,17 @@ "contributors": [

"name": "Isman Usoh",
"url": "https://github.com/isman-usoh/"
"url": "https://github.com/isman-usoh",
"githubUsername": "isman-usoh"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/randomstring"
},
"scripts": {},
"dependencies": {},
"peerDependencies": {},
"typesPublisherContentHash": "d8afbfd014aa26bd7698ff131ce7ea3b6daf33fab63c84a3975f471fa8dcdc9d",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "759363095c6229728e8643c24d22a1055fbbf04aae05758874f0d01fbbfa80df",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,33 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randomstring
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randomstring.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randomstring/index.d.ts)
````ts
// Type definitions for randomstring 1.1.4
// Project: https://github.com/klughammer/node-randomstring
// Definitions by: Isman Usoh <https://github.com/isman-usoh/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Fri, 16 Jun 2017 16:37:51 GMT
declare namespace Randomstring {
interface GenerateOptions {
length?: number | undefined;
readable?: boolean | undefined;
charset?: string | undefined;
capitalization?: string | undefined;
}
function generate(options?: GenerateOptions | number): string;
}
declare module "randomstring" {
export = Randomstring;
}
````
### Additional Details
* Last updated: Wed, 07 Jul 2021 17:02:52 GMT
* Dependencies: none
* Global values: Randomstring
* Global values: `Randomstring`
# Credits
These definitions were written by Isman Usoh <https://github.com/isman-usoh/>.
These definitions were written by [Isman Usoh](https://github.com/isman-usoh).

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