diff --git a/.eslintrc b/.eslintrc index a60f318d..19029e63 100644 --- a/.eslintrc +++ b/.eslintrc @@ -11,7 +11,7 @@ "no-multi-str": 2, "no-debugger": 0, "strict": 0, - "semi": 0, + "semi": 2, "linebreak-style": 0, "no-bitwise": 0, "no-cond-assign": 0, @@ -41,6 +41,11 @@ "no-ternary": 0, "no-plusplus": 0, "dot-notation": 0, + "no-unused-vars": 2, + "no-const-assign": 2, + "comma-dangle": 2, + "key-spacing": 2, + "eol-last": 2, "indent": [ 2, 2, diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 54512726..83b52a2b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,14 +2,10 @@ name: Build 'on': push: branches: - - master - - dev - - coverage-test + '**' pull_request: branches: - - master - - dev - - coverage-test + '**' jobs: Build: runs-on: '${{ matrix.os }}' diff --git a/Readme.md b/Readme.md index 06e23119..f465df80 100644 --- a/Readme.md +++ b/Readme.md @@ -2,7 +2,7 @@

-![GitHub Workflow Status](https://img.shields.io/github/workflow/status/luciferreeves/blaver/Build) ![npm](https://img.shields.io/npm/v/blaver) ![NPM](https://img.shields.io/npm/l/blaver) ![GitHub issues](https://img.shields.io/github/issues-raw/luciferreeves/blaver) ![GitHub deployments](https://img.shields.io/github/deployments/luciferreeves/blaver/github-pages?label=JSDoc%20Deployment) [![Coverage Status](https://coveralls.io/repos/github/luciferreeves/blaver/badge.svg?branch=master)](https://coveralls.io/github/luciferreeves/blaver?branch=master) +![GitHub Workflow Status](https://img.shields.io/github/workflow/status/luciferreeves/blaver/Build) ![npm](https://img.shields.io/npm/v/blaver) ![NPM](https://img.shields.io/npm/l/blaver) ![GitHub issues](https://img.shields.io/github/issues-raw/luciferreeves/blaver) ![GitHub deployments](https://img.shields.io/github/deployments/luciferreeves/blaver/github-pages?label=JSDoc%20Deployment) [![Coverage Status](https://coveralls.io/repos/github/luciferreeves/blaver/badge.svg?branch=master)](https://coveralls.io/github/luciferreeves/blaver?branch=master) ![npm](https://img.shields.io/npm/dw/blaver) # Blaver - generate massive amounts of fake data in the browser and node.js diff --git a/build/src/docs.md b/build/src/docs.md index 3097220e..e7c9efb9 100644 --- a/build/src/docs.md +++ b/build/src/docs.md @@ -2,7 +2,7 @@

-![GitHub Workflow Status](https://img.shields.io/github/workflow/status/luciferreeves/blaver/Build) ![npm](https://img.shields.io/npm/v/blaver) ![NPM](https://img.shields.io/npm/l/blaver) ![GitHub issues](https://img.shields.io/github/issues-raw/luciferreeves/blaver) ![GitHub deployments](https://img.shields.io/github/deployments/luciferreeves/blaver/github-pages?label=JSDoc%20Deployment) [![Coverage Status](https://coveralls.io/repos/github/luciferreeves/blaver/badge.svg?branch=master)](https://coveralls.io/github/luciferreeves/blaver?branch=master) +![GitHub Workflow Status](https://img.shields.io/github/workflow/status/luciferreeves/blaver/Build) ![npm](https://img.shields.io/npm/v/blaver) ![NPM](https://img.shields.io/npm/l/blaver) ![GitHub issues](https://img.shields.io/github/issues-raw/luciferreeves/blaver) ![GitHub deployments](https://img.shields.io/github/deployments/luciferreeves/blaver/github-pages?label=JSDoc%20Deployment) [![Coverage Status](https://coveralls.io/repos/github/luciferreeves/blaver/badge.svg?branch=master)](https://coveralls.io/github/luciferreeves/blaver?branch=master) ![npm](https://img.shields.io/npm/dw/blaver) # Blaver - generate massive amounts of fake data in the browser and node.js diff --git a/docs/blaver.address.html b/docs/blaver.address.html index 0fbcf761..404d416f 100644 --- a/docs/blaver.address.html +++ b/docs/blaver.address.html @@ -3095,7 +3095,7 @@

<static>
-

<static> state(useAbbr)

+

<static> state()

@@ -3113,56 +3113,6 @@

<static> sta -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
useAbbr - - -Boolean - - - - -
- -
@@ -3223,7 +3173,7 @@
Parameters:

-

<static> state(useAbbr)

+

<static> state()

@@ -3241,56 +3191,6 @@

<static> sta -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
useAbbr - - -Boolean - - - - -
- -
@@ -7941,7 +7841,7 @@

<static>
-

<static> state(useAbbr)

+

<static> state()

@@ -7959,56 +7859,6 @@

<static> sta -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
useAbbr - - -Boolean - - - - -
- -
@@ -8069,7 +7919,7 @@
Parameters:

-

<static> state(useAbbr)

+

<static> state()

@@ -8087,56 +7937,6 @@

<static> sta -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
useAbbr - - -Boolean - - - - -
- -
@@ -9801,7 +9601,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.animal.html b/docs/blaver.animal.html index eb2aff6e..2fd4b675 100644 --- a/docs/blaver.animal.html +++ b/docs/blaver.animal.html @@ -4661,7 +4661,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.commerce.html b/docs/blaver.commerce.html index 3ff231df..d58a3ff0 100644 --- a/docs/blaver.commerce.html +++ b/docs/blaver.commerce.html @@ -3357,7 +3357,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.company.html b/docs/blaver.company.html index 8c32c04f..bddb19b8 100644 --- a/docs/blaver.company.html +++ b/docs/blaver.company.html @@ -3925,7 +3925,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.database.html b/docs/blaver.database.html index 05ce565d..45f8f68d 100644 --- a/docs/blaver.database.html +++ b/docs/blaver.database.html @@ -1541,7 +1541,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.datatype.html b/docs/blaver.datatype.html index e2ab6538..30f456bb 100644 --- a/docs/blaver.datatype.html +++ b/docs/blaver.datatype.html @@ -4817,7 +4817,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.date.html b/docs/blaver.date.html index 5ff6f4aa..61b253ec 100644 --- a/docs/blaver.date.html +++ b/docs/blaver.date.html @@ -4965,7 +4965,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.finance.html b/docs/blaver.finance.html index 5cf3a524..c781b51a 100644 --- a/docs/blaver.finance.html +++ b/docs/blaver.finance.html @@ -7437,7 +7437,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.git.html b/docs/blaver.git.html index adb441b1..b5e2c918 100644 --- a/docs/blaver.git.html +++ b/docs/blaver.git.html @@ -2053,7 +2053,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.hacker.html b/docs/blaver.hacker.html index f055c0d4..d34a6c75 100644 --- a/docs/blaver.hacker.html +++ b/docs/blaver.hacker.html @@ -2165,7 +2165,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.helpers.html b/docs/blaver.helpers.html index 60cd0985..cd7337c0 100644 --- a/docs/blaver.helpers.html +++ b/docs/blaver.helpers.html @@ -7277,7 +7277,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.html b/docs/blaver.html index ed962f4f..b11d5bd8 100644 --- a/docs/blaver.html +++ b/docs/blaver.html @@ -1113,7 +1113,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.image.html b/docs/blaver.image.html index 665fdb38..8a42f557 100644 --- a/docs/blaver.image.html +++ b/docs/blaver.image.html @@ -12201,7 +12201,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.image.lorempixel.html b/docs/blaver.image.lorempixel.html index f9d7a627..bcd951b9 100644 --- a/docs/blaver.image.lorempixel.html +++ b/docs/blaver.image.lorempixel.html @@ -2943,7 +2943,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.image.unsplash.html b/docs/blaver.image.unsplash.html index 3ce57e43..34dc1218 100644 --- a/docs/blaver.image.unsplash.html +++ b/docs/blaver.image.unsplash.html @@ -1711,7 +1711,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.internet.html b/docs/blaver.internet.html index b58ff262..fa83cd70 100644 --- a/docs/blaver.internet.html +++ b/docs/blaver.internet.html @@ -7661,7 +7661,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.lorem.html b/docs/blaver.lorem.html index 29c2b8d9..df81babc 100644 --- a/docs/blaver.lorem.html +++ b/docs/blaver.lorem.html @@ -971,7 +971,7 @@
Parameters:

-

<static> sentence(wordCount, range)

+

<static> sentence(wordCount)

@@ -1035,30 +1035,6 @@
Parameters:
- - - - range - - - - - -number - - - - - - - - - - - - - - @@ -1123,7 +1099,7 @@
Parameters:

-

<static> sentence(wordCount, range)

+

<static> sentence(wordCount)

@@ -1187,30 +1163,6 @@
Parameters:
- - - - range - - - - - -number - - - - - - - - - - - - - - @@ -1835,7 +1787,7 @@
Parameters:

-

<static> text(times)

+

<static> text()

@@ -1853,56 +1805,6 @@

<static> text -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
times - - -number - - - - -
- -
@@ -1963,7 +1865,7 @@
Parameters:

-

<static> text(times)

+

<static> text()

@@ -1981,56 +1883,6 @@

<static> text -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
times - - -number - - - - -
- -
@@ -3511,7 +3363,7 @@
Parameters:

-

<static> sentence(wordCount, range)

+

<static> sentence(wordCount)

@@ -3575,30 +3427,6 @@
Parameters:
- - - - range - - - - - -number - - - - - - - - - - - - - - @@ -3663,7 +3491,7 @@
Parameters:

-

<static> sentence(wordCount, range)

+

<static> sentence(wordCount)

@@ -3727,30 +3555,6 @@
Parameters:
- - - - range - - - - - -number - - - - - - - - - - - - - - @@ -4375,7 +4179,7 @@
Parameters:

-

<static> text(times)

+

<static> text()

@@ -4393,56 +4197,6 @@

<static> text -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
times - - -number - - - - -
- -
@@ -4503,7 +4257,7 @@
Parameters:

-

<static> text(times)

+

<static> text()

@@ -4521,56 +4275,6 @@

<static> text -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
times - - -number - - - - -
- -
@@ -5189,7 +4893,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.music.html b/docs/blaver.music.html index bdc0137c..46661867 100644 --- a/docs/blaver.music.html +++ b/docs/blaver.music.html @@ -605,7 +605,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.name.html b/docs/blaver.name.html index 4290e17f..cdfcf0a0 100644 --- a/docs/blaver.name.html +++ b/docs/blaver.name.html @@ -5229,7 +5229,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.phone.html b/docs/blaver.phone.html index 8ba9722b..6a82f540 100644 --- a/docs/blaver.phone.html +++ b/docs/blaver.phone.html @@ -1605,7 +1605,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.random.html b/docs/blaver.random.html index 1125b28e..e67cb711 100644 --- a/docs/blaver.random.html +++ b/docs/blaver.random.html @@ -2967,7 +2967,7 @@

<static> uuid
-

<static> word(type)

+

<static> word()

@@ -2985,56 +2985,6 @@

<static> word -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - -
- -
@@ -3095,7 +3045,7 @@
Parameters:

-

<static> word(type)

+

<static> word()

@@ -3113,56 +3063,6 @@

<static> word -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - -
- -
@@ -6383,7 +6283,7 @@

<static> uuid
-

<static> word(type)

+

<static> word()

@@ -6401,56 +6301,6 @@

<static> word -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - -
- -
@@ -6511,7 +6361,7 @@
Parameters:

-

<static> word(type)

+

<static> word()

@@ -6529,56 +6379,6 @@

<static> word -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - -
- -
@@ -6941,7 +6741,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.system.html b/docs/blaver.system.html index c0598a3f..b0b246a9 100644 --- a/docs/blaver.system.html +++ b/docs/blaver.system.html @@ -3813,7 +3813,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.time.html b/docs/blaver.time.html index c47e806a..407843fe 100644 --- a/docs/blaver.time.html +++ b/docs/blaver.time.html @@ -805,7 +805,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.unique.html b/docs/blaver.unique.html index 3241c5e1..c336e94e 100644 --- a/docs/blaver.unique.html +++ b/docs/blaver.unique.html @@ -285,7 +285,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.vehicle.html b/docs/blaver.vehicle.html index 8797389a..f03d647e 100644 --- a/docs/blaver.vehicle.html +++ b/docs/blaver.vehicle.html @@ -3101,7 +3101,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/blaver.word.html b/docs/blaver.word.html index 5212585b..0285032d 100644 --- a/docs/blaver.word.html +++ b/docs/blaver.word.html @@ -4913,7 +4913,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/bluffmaster.image.lorempicsum.html b/docs/bluffmaster.image.lorempicsum.html index 40a0378d..f032a5a9 100644 --- a/docs/bluffmaster.image.lorempicsum.html +++ b/docs/bluffmaster.image.lorempicsum.html @@ -1277,7 +1277,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/global.html b/docs/global.html index d2f26c8e..fac4e993 100644 --- a/docs/global.html +++ b/docs/global.html @@ -683,7 +683,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/index.html b/docs/index.html index aa086045..6dd175a1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -96,7 +96,7 @@

-

GitHub Workflow Status npm NPM GitHub issues GitHub deployments Coverage Status

+

GitHub Workflow Status npm NPM GitHub issues GitHub deployments Coverage Status npm

Blaver - generate massive amounts of fake data in the browser and node.js

Blaver is a JavaScript library built on top of the Faker.JS library. It generates massive amounts of fake data in the browser and node.js.

Fake data is useful when building and testing our application. Blaver can generate fake data for various areas, including address, commerce, company, date, finance, image, random, or name.

@@ -716,7 +716,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/namespaces.list.html b/docs/namespaces.list.html index ad43a1ad..03f42b4e 100644 --- a/docs/namespaces.list.html +++ b/docs/namespaces.list.html @@ -352,7 +352,7 @@ Documentation generated by JSDoc 3.6.7 - on 2022-01-07T09:43:14-05:00 + on 2022-01-10T07:45:58-05:00 using the DocStrap template. diff --git a/docs/quicksearch.html b/docs/quicksearch.html index 3efca3c6..d9811070 100644 --- a/docs/quicksearch.html +++ b/docs/quicksearch.html @@ -7,7 +7,7 @@