@types/nanoid
Advanced tools
Comparing version 1.2.0 to 1.2.1
declare function nanoidAsyncBrowser(size?: number): Promise<string>; | ||
export = nanoidAsyncBrowser; |
@@ -0,0 +0,0 @@ interface NanoidAsync { |
declare function format(random: (bytes: number) => number[], alphabet: string, size: number): string; | ||
export = format; |
declare function generate(alphabet: string, size: number): string; | ||
export = generate; |
@@ -0,0 +0,0 @@ // Type definitions for nanoid 1.2 |
{ | ||
"name": "@types/nanoid", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "TypeScript definitions for nanoid", | ||
@@ -19,2 +19,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -28,4 +29,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "ac1b141267b4d479379659ea0847e0f2b6b6a556e6a336936fe85210862d588e", | ||
"typesPublisherContentHash": "ee9b9193cf52e4d80cd1e43c68430591954fb441421df56b7581598ef2397b12", | ||
"typeScriptVersion": "2.0" | ||
} |
declare function randomBrowser(bytes: number): Uint8Array; | ||
export = randomBrowser; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for nanoid (https://github.com/ai/nanoid). | ||
This package contains type definitions for nanoid ( https://github.com/ai/nanoid ). | ||
@@ -12,4 +12,4 @@ # Details | ||
Additional Details | ||
* Last updated: Thu, 30 Aug 2018 18:48:13 GMT | ||
* Dependencies: crypto, node | ||
* Last updated: Thu, 21 Feb 2019 02:22:01 GMT | ||
* Dependencies: @types/node | ||
* Global values: none | ||
@@ -16,0 +16,0 @@ |
declare var url: string; | ||
export = url; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4613
13
61