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

@types/nanoid

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/nanoid - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

nanoid/non-secure/generate.d.ts

0

nanoid/async-browser.d.ts
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

5

nanoid/package.json
{
"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;
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