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

@types/faker

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/faker - npm Package Compare versions

Comparing version 5.5.8 to 5.5.9

21

faker/index.d.ts

@@ -52,2 +52,19 @@ // Type definitions for faker 5.5

animal: {
dog(): string;
cat(): string;
snake(): string;
bear(): string;
lion(): string;
cetacean(): string;
horse(): string;
bird(): string;
cow(): string;
fish(): string;
crocodilia(): string;
insect(): string;
rabbit(): string;
type(): string;
};
commerce: {

@@ -103,3 +120,4 @@ color(): string;

future(years?: number, refDate?: string | Date): Date;
between(from: string | number | Date, to: string | Date): Date;
between(from: string | number | Date, to: string | number | Date): Date;
betweens(from: string | number | Date, to: string | number | Date, num?: number): Date[];
recent(days?: number, refDate?: string | Date): Date;

@@ -197,2 +215,3 @@ soon(days?: number, refDate?: string | Date): Date;

protocol(): string;
httpMethod(): 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
url(): string;

@@ -199,0 +218,0 @@ domainName(): string;

6

faker/package.json
{
"name": "@types/faker",
"version": "5.5.8",
"version": "5.5.9",
"description": "TypeScript definitions for faker",

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

"dependencies": {},
"typesPublisherContentHash": "ac2e4156fbf36c4ad68cfb9438d969dff0a6ceb4a217ea744a40a6f48805d21a",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "4444fcc655ece9528e572ea9e519adbf136031c7d44877297b60857f3e2d2ec7",
"typeScriptVersion": "3.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 13 Aug 2021 13:01:26 GMT
* Last updated: Sat, 16 Oct 2021 04:31:20 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `fakerStatic`

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