diff --git a/api/.nextRelease/data/US/inject.js b/api/.nextRelease/data/US/inject.js index 3e153d0..1b413e6 100644 --- a/api/.nextRelease/data/US/inject.js +++ b/api/.nextRelease/data/US/inject.js @@ -4,8 +4,8 @@ module.exports = (inc, contents) => { const pic = contents.picture; delete contents.picture; - include(inc, contents, 'phone', '(' + random(4, 1) + random(3, 2) + ') ' + random(4, 1) + random(3, 2) + '-' + random(3, 4)); - include(inc, contents, 'cell', '(' + random(4, 1) + random(3, 2) + ') ' + random(4, 1) + random(3, 2) + '-' + random(3, 4)); + include(inc, contents, 'phone', '(' + random(5, 1) + random(3, 2) + ') ' + random(5, 1) + random(3, 2) + '-' + random(3, 4)); + include(inc, contents, 'cell', '(' + random(5, 1) + random(3, 2) + ') ' + random(5, 1) + random(3, 2) + '-' + random(3, 4)); include(inc, contents, 'id', () => { const checkSSN = (ssn) => { const regex = new RegExp("^(?!219-09-9999|078-05-1120)(?!666|000|9\\d{2})\\d{3}-(?!00)\\d{2}-(?!0{4})\\d{4}$"); diff --git a/api/1.4/data/US/inject.js b/api/1.4/data/US/inject.js index 3e153d0..1b413e6 100644 --- a/api/1.4/data/US/inject.js +++ b/api/1.4/data/US/inject.js @@ -4,8 +4,8 @@ module.exports = (inc, contents) => { const pic = contents.picture; delete contents.picture; - include(inc, contents, 'phone', '(' + random(4, 1) + random(3, 2) + ') ' + random(4, 1) + random(3, 2) + '-' + random(3, 4)); - include(inc, contents, 'cell', '(' + random(4, 1) + random(3, 2) + ') ' + random(4, 1) + random(3, 2) + '-' + random(3, 4)); + include(inc, contents, 'phone', '(' + random(5, 1) + random(3, 2) + ') ' + random(5, 1) + random(3, 2) + '-' + random(3, 4)); + include(inc, contents, 'cell', '(' + random(5, 1) + random(3, 2) + ') ' + random(5, 1) + random(3, 2) + '-' + random(3, 4)); include(inc, contents, 'id', () => { const checkSSN = (ssn) => { const regex = new RegExp("^(?!219-09-9999|078-05-1120)(?!666|000|9\\d{2})\\d{3}-(?!00)\\d{2}-(?!0{4})\\d{4}$"); diff --git a/views/pages/documentation.ejs b/views/pages/documentation.ejs index 6bd8c68..4c17985 100644 --- a/views/pages/documentation.ejs +++ b/views/pages/documentation.ejs @@ -58,66 +58,67 @@ $.ajax({ { "results": [ { - "gender": "male", + "gender": "female", "name": { - "title": "mr", - "first": "brad", - "last": "gibson" + "title": "Miss", + "first": "Jennie", + "last": "Nichols" }, "location": { "street": { - "number": "9278", - "name": "new road", - }, - "city": "kilcoole", - "state": "waterford", - "postcode": "93027", + "number": 8929, + "name": "Valwood Pkwy", + }, + "city": "Billings", + "state": "Michigan", + "country": "United States", + "postcode": "63104", "coordinates": { - "latitude": "20.9267", - "longitude": "-7.9310" + "latitude": "-69.8246", + "longitude": "134.8719" }, "timezone": { - "offset": "-3:30", - "description": "Newfoundland" + "offset": "+9:30", + "description": "Adelaide, Darwin" } }, - "email": "brad.gibson@example.com", + "email": "jennie.nichols@example.com", "login": { - "uuid": "155e77ee-ba6d-486f-95ce-0e0c0fb4b919", - "username": "silverswan131", - "password": "firewall", - "salt": "TQA1Gz7x", - "md5": "dc523cb313b63dfe5be2140b0c05b3bc", - "sha1": "7a4aa07d1bedcc6bcf4b7f8856643492c191540d", - "sha256": "74364e96174afa7d17ee52dd2c9c7a4651fe1254f471a78bda0190135dcd3480" + "uuid": "7a0eed16-9430-4d68-901f-c0d4c1c3bf00", + "username": "yellowpeacock117", + "password": "addison", + "salt": "sld1yGtd", + "md5": "ab54ac4c0be9480ae8fa5e9e2a5196a3", + "sha1": "edcf2ce613cbdea349133c52dc2f3b83168dc51b", + "sha256": "48df5229235ada28389b91e60a935e4f9b73eb4bdb855ef9258a1751f10bdc5d" }, "dob": { - "date": "1993-07-20T09:44:18.674Z", - "age": 26 + "date": "1992-03-08T15:13:16.688Z", + "age": 30 }, "registered": { - "date": "2002-05-21T10:59:49.966Z", - "age": 17 + "date": "2007-07-09T05:51:59.390Z", + "age": 14 }, - "phone": "011-962-7516", - "cell": "081-454-0666", + "phone": "(272) 790-0888", + "cell": "(489) 330-2385", "id": { - "name": "PPS", - "value": "0390511T" + "name": "SSN", + "value": "405-88-3636" }, "picture": { "large": "https://randomuser.me/api/portraits/men/75.jpg", "medium": "https://randomuser.me/api/portraits/med/men/75.jpg", "thumbnail": "https://randomuser.me/api/portraits/thumb/men/75.jpg" }, - "nat": "IE" + "nat": "US" } ], "info": { - "seed": "fea8be3e64777240", + "seed": "56d27f4a53bd5441", "results": 1, "page": 1, - "version": "1.3" + "version": "1.4" } } diff --git a/views/pages/index.ejs b/views/pages/index.ejs index 070c320..67626d0 100644 --- a/views/pages/index.ejs +++ b/views/pages/index.ejs @@ -77,63 +77,67 @@ $.ajax({ { "results": [ { - "gender": "male", + "gender": "female", "name": { - "title": "mr", - "first": "brad", - "last": "gibson" + "title": "Miss", + "first": "Jennie", + "last": "Nichols" }, "location": { - "street": "9278 new road", - "city": "kilcoole", - "state": "waterford", - "postcode": "93027", + "street": { + "number": 8929, + "name": "Valwood Pkwy", + }, + "city": "Billings", + "state": "Michigan", + "country": "United States", + "postcode": "63104", "coordinates": { - "latitude": "20.9267", - "longitude": "-7.9310" + "latitude": "-69.8246", + "longitude": "134.8719" }, "timezone": { - "offset": "-3:30", - "description": "Newfoundland" + "offset": "+9:30", + "description": "Adelaide, Darwin" } }, - "email": "brad.gibson@example.com", + "email": "jennie.nichols@example.com", "login": { - "uuid": "155e77ee-ba6d-486f-95ce-0e0c0fb4b919", - "username": "silverswan131", - "password": "firewall", - "salt": "TQA1Gz7x", - "md5": "dc523cb313b63dfe5be2140b0c05b3bc", - "sha1": "7a4aa07d1bedcc6bcf4b7f8856643492c191540d", - "sha256": "74364e96174afa7d17ee52dd2c9c7a4651fe1254f471a78bda0190135dcd3480" + "uuid": "7a0eed16-9430-4d68-901f-c0d4c1c3bf00", + "username": "yellowpeacock117", + "password": "addison", + "salt": "sld1yGtd", + "md5": "ab54ac4c0be9480ae8fa5e9e2a5196a3", + "sha1": "edcf2ce613cbdea349133c52dc2f3b83168dc51b", + "sha256": "48df5229235ada28389b91e60a935e4f9b73eb4bdb855ef9258a1751f10bdc5d" }, "dob": { - "date": "1993-07-20T09:44:18.674Z", - "age": 26 + "date": "1992-03-08T15:13:16.688Z", + "age": 30 }, "registered": { - "date": "2002-05-21T10:59:49.966Z", - "age": 17 + "date": "2007-07-09T05:51:59.390Z", + "age": 14 }, - "phone": "011-962-7516", - "cell": "081-454-0666", + "phone": "(272) 790-0888", + "cell": "(489) 330-2385", "id": { - "name": "PPS", - "value": "0390511T" + "name": "SSN", + "value": "405-88-3636" }, "picture": { "large": "https://randomuser.me/api/portraits/men/75.jpg", "medium": "https://randomuser.me/api/portraits/med/men/75.jpg", "thumbnail": "https://randomuser.me/api/portraits/thumb/men/75.jpg" }, - "nat": "IE" + "nat": "US" } ], "info": { - "seed": "fea8be3e64777240", + "seed": "56d27f4a53bd5441", "results": 1, "page": 1, - "version": "1.3" + "version": "1.4" } }