New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ngneat/falso

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngneat/falso - npm Package Compare versions

Comparing version

to
7.3.0

i18n/ar/index.cjs.d.ts

8

package.json
{
"name": "@ngneat/falso",
"version": "7.2.0",
"version": "7.3.0",
"license": "MIT",

@@ -38,6 +38,4 @@ "description": "All the Fake Data for All Your Real Needs",

},
"module": "./index.js",
"main": "./index.cjs",
"type": "module",
"types": "./src/index.d.ts"
"module": "./index.esm.js",
"main": "./index.cjs.js"
}

@@ -16,2 +16,2 @@ import { FakeOptions } from './core/core';

*/
export declare function randBitcoinAddress<Options extends FakeOptions = never>(options?: Options): import("./core/core").Return<string, Options>;
export declare function randBitcoinAddress<Options extends FakeOptions = never>(options?: Options): import("./core/core").Return<string[], Options>;

@@ -6,2 +6,3 @@ import { FakeOptions } from './core/core';

grayscale?: boolean;
random?: boolean;
}

@@ -33,4 +34,8 @@ /**

*
* @example
*
* randImg({ random: true }) // default is true, prevent the image from being cached
*
*/
export declare function randImg<Options extends ImgOptions = never>(options?: Options): import("./core/core").Return<string, Options>;
export {};

@@ -23,2 +23,2 @@ import { FakeOptions } from './core/core';

*/
export declare function randPassword<Options extends PasswordOptions = never>(options?: Options): import("./core/core").Return<string, Options>;
export declare function randPassword<Options extends PasswordOptions = never>(options?: Options): import("./core/core").Return<string[], Options>;

@@ -6,10 +6,9 @@ import { FakeOptions, Return } from './core/core';

export declare const numericAlphaChars: string;
type RandomSequenceOptions = {
type CharTypes = 'numeric' | 'alpha' | 'alphaNumeric' | 'special';
type RandomSequenceOptions2 = {
size?: number;
charType?: CharTypes;
chars?: string;
} & FakeOptions;
type RandomSequenceOptions2 = {
size?: number;
charType?: 'numeric' | 'alpha' | 'alphaNumeric' | 'special';
} & FakeOptions;
type ReturnTypeFromCharType<CharType extends CharTypes | undefined> = CharType extends 'numeric' | 'alpha' | 'alphaNumeric' | 'special' ? string : string[];
/**

@@ -34,3 +33,3 @@ * Generate a random sequence.

*
* randSequence({ charType: 'numeric' }) // numeric | alpha | alphaNumeric | special
* randSequence({ charType: 'numeric' })
*

@@ -42,4 +41,3 @@ * @example

*/
export declare function randSequence<Options extends RandomSequenceOptions = never>(options?: RandomSequenceOptions): Return<string, Options>;
export declare function randSequence<Options extends RandomSequenceOptions2 = never>(options?: RandomSequenceOptions2): Return<string, Options>;
export declare function randSequence<Options extends RandomSequenceOptions2 = never>(options?: Options): Return<ReturnTypeFromCharType<Options['charType']>, Options>;
export {};