diff --git a/.env b/.env
deleted file mode 100644
index c26b5cb6..00000000
--- a/.env
+++ /dev/null
@@ -1,3 +0,0 @@
-# API = 'http://192.168.1.111:3000'
-API = 'https://api.nonlegit.click/api/v1'
-
diff --git a/android/app/build.gradle b/android/app/build.gradle
index c4bf9308..d9f42eba 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -22,11 +22,12 @@ if (flutterVersionName == null) {
}
apply plugin: 'com.android.application'
+apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
- compileSdkVersion flutter.compileSdkVersion
+ compileSdkVersion 33//flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
compileOptions {
@@ -47,7 +48,7 @@ android {
applicationId "com.example.sw_code"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
- minSdkVersion flutter.minSdkVersion
+ minSdkVersion 19//flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
@@ -68,6 +69,8 @@ flutter {
}
dependencies {
+ implementation platform('com.google.firebase:firebase-bom:31.1.1')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:multidex:1.0.3'
+ implementation 'com.google.firebase:firebase-analytics'
}
diff --git a/android/app/google-services.json b/android/app/google-services.json
new file mode 100644
index 00000000..3914ec30
--- /dev/null
+++ b/android/app/google-services.json
@@ -0,0 +1,39 @@
+{
+ "project_info": {
+ "project_number": "82072335604",
+ "project_id": "nonlegit-df8a9",
+ "storage_bucket": "nonlegit-df8a9.appspot.com"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:82072335604:android:e0fca83661d0d52a36daa1",
+ "android_client_info": {
+ "package_name": "com.example.sw_code"
+ }
+ },
+ "oauth_client": [
+ {
+ "client_id": "82072335604-8p5cormpadvsf5vu1sdeb66fchvp40qp.apps.googleusercontent.com",
+ "client_type": 3
+ }
+ ],
+ "api_key": [
+ {
+ "current_key": "AIzaSyC14fY4akqDnxc3mDSM7cxuF7HnYauT03k"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": [
+ {
+ "client_id": "82072335604-8p5cormpadvsf5vu1sdeb66fchvp40qp.apps.googleusercontent.com",
+ "client_type": 3
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 8bf994fd..af5e6ad7 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -6,7 +6,9 @@
+
@@ -30,6 +32,11 @@
+
+
+
+
+
@@ -37,4 +44,4 @@
android:name="flutterEmbedding"
android:value="2" />
-
+
\ No newline at end of file
diff --git a/android/app/src/main/kotlin/com/example/sw_code/MainActivity.kt b/android/app/src/main/kotlin/com/example/sw_code/MainActivity.kt
new file mode 100644
index 00000000..72bbf96c
--- /dev/null
+++ b/android/app/src/main/kotlin/com/example/sw_code/MainActivity.kt
@@ -0,0 +1,6 @@
+package com.example.sw_code
+
+import io.flutter.embedding.android.FlutterActivity
+
+class MainActivity: FlutterActivity() {
+}
diff --git a/android/build.gradle b/android/build.gradle
index 83ae2200..d0c38887 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -6,6 +6,7 @@ buildscript {
}
dependencies {
+ classpath 'com.google.gms:google-services:4.3.13'
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
diff --git a/assets/icons/GoogleFacebookIcons.ttf b/assets/icons/GoogleFacebookIcons.ttf
new file mode 100644
index 00000000..7b1ec8e1
Binary files /dev/null and b/assets/icons/GoogleFacebookIcons.ttf differ
diff --git a/assets/icons/Plus.ttf b/assets/icons/Plus.ttf
new file mode 100644
index 00000000..7725ec44
Binary files /dev/null and b/assets/icons/Plus.ttf differ
diff --git a/assets/icons/RedditIcons.ttf b/assets/icons/RedditIcons.ttf
new file mode 100644
index 00000000..baaa80d2
Binary files /dev/null and b/assets/icons/RedditIcons.ttf differ
diff --git a/assets/icons/closeIcons.ttf b/assets/icons/closeIcons.ttf
new file mode 100644
index 00000000..afe2efcb
Binary files /dev/null and b/assets/icons/closeIcons.ttf differ
diff --git a/assets/icons/penciel.ttf b/assets/icons/penciel.ttf
new file mode 100644
index 00000000..f41619a3
Binary files /dev/null and b/assets/icons/penciel.ttf differ
diff --git a/assets/images/default-img.png b/assets/images/default-img.png
new file mode 100644
index 00000000..5efd10d3
Binary files /dev/null and b/assets/images/default-img.png differ
diff --git a/assets/images/reddit.png b/assets/images/reddit.png
new file mode 100644
index 00000000..941a12e6
Binary files /dev/null and b/assets/images/reddit.png differ
diff --git a/json_server/database.json b/json_server/database.json
index f01c7f92..85efc32c 100644
--- a/json_server/database.json
+++ b/json_server/database.json
@@ -1,8 +1,1516 @@
{
+ "users": [
+ {
+ "id": "rjvMUnl",
+ "userName": "Zeinab_maoawad",
+ "email": "user@email.com",
+ "profilePicture": "https://militaryhealthinstitute.org/wp-content/uploads/sites/37/2019/10/blank-person-icon-9.jpg",
+ "profileBackPicture": "https://preview.redd.it/vqqv5xbfezp91.jpg?width=4096&format=pjpg&auto=webp&s=54acda24af01e2de60e98603e3e29e8db381ebac",
+ "description": "I'm Student",
+ "createdAt": "2022-11-09T00:19:45.186+00:00",
+ "followersCount": 0,
+ "numOfDaysInReddit": 0,
+ "displayName": "Zeinab_maoawad",
+ "postKarma": 1,
+ "commentkarma": 1
+ },
+ {
+ "id": "rjvlUUl",
+ "userName": "Amr_Ahmed",
+ "email": "user@email.com",
+ "profilePicture": "https://opgg-static.akamaized.net/meta/images/lol/champion/Vex.png",
+ "profileBackPicture": "https://images2.alphacoders.com/117/thumb-1920-1170991.jpg",
+ "description": "I'm Student",
+ "createdAt": "2022-11-01T00:19:45.186+00:00",
+ "followersCount": 5,
+ "numOfDaysInReddit": 22,
+ "displayName": "Amr49",
+ "postKarma": 4,
+ "commentkarma": 3
+ },
+ {
+ "id": "sss",
+ "userName": "Amr",
+ "email": "user@gmail.com",
+ "password": "Aa1234**",
+ "profilePicture": "https://opgg-static.akamaized.net/meta/images/lol/champion/Vex.png?image=c_crop,h_103,w_103,x_9,y_9/q_auto,f_webp,w_160&v=1670226786967",
+ "profileBackground": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/items/270010/4bdbd33eb075f0c7d6d4d3e8a4065aa336b15b73.jpg",
+ "lastUpdatedPassword": "2022-12-06T13:35:54.332Z",
+ "adultContent": false,
+ "autoplayMedia": true,
+ "canbeFollowed": true,
+ "followersCount": 0,
+ "friendsCount": 0,
+ "accountActivated": true,
+ "gender": "male",
+ "displayName": "Amr",
+ "postKarma": 1,
+ "commentKarma": 1,
+ "isFollowed": true,
+ "createdAt": "2022-12-06T13:35:54.332Z",
+ "description": "info"
+ }
+ ],
+ "subreddits": [
+ {
+ "id": "rjvAUUl",
+ "name": "Cooking",
+ "fixedName": "Cooking",
+ "primaryTopic": "Activisim",
+ "displayName": "Cooking Good",
+ "icon": "https://previews.123rf.com/images/seamartini/seamartini1609/seamartini160900764/64950290-chef-toque-vector-sketch-icon-cook-cap-kitchen-cooking-hat-emblem-for-restaurant-design-element-bake.jpg",
+ "backgroundImage": "https://imagesvc.meredithcorp.io/v3/mm/image?url=https%3A%2F%2Fassets.marthastewart.com%2Fstyles%2Fwmax-750%2Fd30%2Feasy-basic-pancakes-horiz-1022%2Feasy-basic-pancakes-horiz-1022_0.jpg%3Fitok%3DXQMZkp_j",
+ "description": "Iam Chef",
+ "subredditLink": "https://previews.123rf.com/images/seamartini/seamartini1609/seamartini160900764/64950290-chef-toque-vector-sketch-icon-cook-cap-kitchen-cooking-hat-emblem-for-restaurant-design-element-bake.jpg",
+ "numOfMembers": 10398,
+ "numOfOnlines": 1789,
+ "rules": [
+ {
+ "title": "no codeing",
+ "description": "i hate coding"
+ },
+ {
+ "title": "no codeing",
+ "description": "i hate coding"
+ },
+ {
+ "title": "no codeing",
+ "description": "i hate coding"
+ }
+ ],
+ "topics": [],
+ "language": "not used",
+ "region": "Egypt",
+ "type": "Public",
+ "nsfw": true,
+ "postType": "Any",
+ "allowCrossposting": true,
+ "allowArchivePosts": true,
+ "allowSpoilerTag": true,
+ "allowGif": true,
+ "allowImageUploads": true,
+ "allowMultipleImage": true,
+ "allowImages": true,
+ "allowVideos": true,
+ "allowLinks": false,
+ "moderators": [
+ {
+ "userName": "Ali",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "omer",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "zeinab",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "mazen",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "asd",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "asd",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": ";;;l",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "rrfff",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "fff",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "l;l;",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "ttt",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "tttt",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "ggg",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "ggg",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": ";ll",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": ";ll",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "vv",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "ggggf",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "fff",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ }
+ ],
+ "isJoined": true
+ },
+ {
+ "id": "ayajkdk",
+ "name": "vexmains",
+ "fixedName": "vexmains",
+ "primaryTopic": "Activisim",
+ "displayName": "Shadow",
+ "icon": "https://i.pinimg.com/564x/38/fd/8c/38fd8cfd8071f4447f9f372088d42177.jpg",
+ "backgroundImage": "https://images2.alphacoders.com/117/1170991.jpg",
+ "description": "Welcome to all Vex mains",
+ "subredditLink": "https://previews.123rf.com/images/seamartini/seamartini1609/seamartini160900764/64950290-chef-toque-vector-sketch-icon-cook-cap-kitchen-cooking-hat-emblem-for-restaurant-design-element-bake.jpg",
+ "numOfMembers": 10398,
+ "numOfOnlines": 1789,
+ "rules": [
+ {
+ "title": "no codeing",
+ "description": "i hate coding"
+ },
+ {
+ "title": "no codeing",
+ "description": "i hate coding"
+ },
+ {
+ "title": "no codeing",
+ "description": "i hate coding"
+ }
+ ],
+ "topics": [],
+ "language": "not used",
+ "region": "not used",
+ "type": "Public",
+ "nsfw": true,
+ "postType": "Any",
+ "allowCrossposting": true,
+ "allowArchivePosts": true,
+ "allowSpoilerTag": true,
+ "allowGif": true,
+ "allowImageUploads": true,
+ "allowMultipleImage": true,
+ "allowImages": true,
+ "allowVideos": true,
+ "allowLinks": false,
+ "moderators": [
+ {
+ "userName": "Ali",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "omer",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "zeinab",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "userName": "mazen",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "not used",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ }
+ ],
+ "isJoined": true
+ }
+ ],
+ "posts": [
+ {
+ "_id": "fhgjhkjlg",
+ "author": {
+ "_id": "2022-12-06T14:21:02.113Z",
+ "name": "Amr"
+ },
+ "ownerType": "Subreddit",
+ "owner": {
+ "_id": "hdgahhbajk",
+ "name": "vexmains",
+ "icon": "https://i.pinimg.com/564x/38/fd/8c/38fd8cfd8071f4447f9f372088d42177.jpg"
+ },
+ "replies": [
+ "string"
+ ],
+ "flairId": {
+ "_id": "gskjhlj",
+ "text": "Question",
+ "backgroundColor": "#d4f5f5",
+ "textColor": "#735e7d",
+ "permissions": "modOnly"
+ },
+ "flairText": "string",
+ "sharedFrom": "",
+ "title": "pentakill!!",
+ "kind": "link",
+ "text": "",
+ "images": [],
+ "video": "",
+ "createdAt": "2022-12-06T08:55:28.000Z",
+ "locked": false,
+ "isDeleted": false,
+ "sendReplies": false,
+ "nsfw": false,
+ "spoiler": false,
+ "votes": 0,
+ "views": 0,
+ "commentCount": 0,
+ "shareCount": 0,
+ "suggestedSort": "top",
+ "scheduled": true,
+ "sortOnHot": 0,
+ "sortOnBest": 0,
+ "isSpam": true,
+ "url": "https://drive.google.com/file/d/1ixYA5x7kG38XEBgWL86Ku7FWQvmYKiTz/view?usp=sharing",
+ "isSaved": false,
+ "postVoteStatus": 1
+ },
+ {
+ "_id": "ekjshsse",
+ "author": {
+ "_id": "2022-12-06T14:21:02.113Z",
+ "name": "Amr"
+ },
+ "ownerType": "Subreddit",
+ "owner": {
+ "_id": "hdgahhbajk",
+ "name": "Cooking",
+ "icon": "https://previews.123rf.com/images/seamartini/seamartini1609/seamartini160900764/64950290-chef-toque-vector-sketch-icon-cook-cap-kitchen-cooking-hat-emblem-for-restaurant-design-element-bake.jpg"
+ },
+ "replies": [
+ "string"
+ ],
+ "flairId": {
+ "_id": "gskjhlj",
+ "text": "Question",
+ "backgroundColor": "#d4f5f5",
+ "textColor": "#735e7d",
+ "permissions": "modOnly"
+ },
+ "flairText": "string",
+ "sharedFrom": "",
+ "title": "How to Cook",
+ "kind": "text",
+ "text": "Mix the flour, cocoa, icing sugar and a pinch of salt in a bowl. Rub in the butter and then mix in eggs. Knead quickly with your hands to a smooth dough. Wrap in foil, press into a flat disc and chill for 30 minutes.Heat the oven to 180C/fan 160C/gas 4. Line a couple of baking sheets with baking parchment. Roll out the pastry on a lightly floured worksurface to about 3mm thin. Cut out shapes from the dough. Put the biscuits on the baking sheets – it’s best to put similarly sized cookies together. Bake for 7-10 minutes, depending on the size of the biscuits.Knead the off-cuts of the dough together and chill again for 15 minutes. Roll, cut and bake as before. Cool completely.When cooled, the cookies can be decorated with chocolate or icing and sugar pearls and sprinkles.",
+ "images": [],
+ "video": "",
+ "createdAt": "2022-12-06T08:55:28.000Z",
+ "locked": false,
+ "isDeleted": false,
+ "sendReplies": false,
+ "nsfw": false,
+ "spoiler": false,
+ "votes": 0,
+ "views": 0,
+ "commentCount": 0,
+ "shareCount": 0,
+ "suggestedSort": "top",
+ "scheduled": true,
+ "sortOnHot": 0,
+ "sortOnBest": 0,
+ "isSpam": true,
+ "url": "https://drive.google.com/file/d/1ixYA5x7kG38XEBgWL86Ku7FWQvmYKiTz/view?usp=sharing",
+ "isSaved": false,
+ "postVoteStatus": 1
+ },
+ {
+ "_id": "hzkalkhlkj",
+ "author": {
+ "_id": "2022-12-06T14:21:02.113Z",
+ "name": "Amr"
+ },
+ "ownerType": "Subreddit",
+ "owner": {
+ "_id": "hdgahhbajk",
+ "name": "vexmains",
+ "icon": "https://i.pinimg.com/564x/38/fd/8c/38fd8cfd8071f4447f9f372088d42177.jpg"
+ },
+ "replies": [
+ "string"
+ ],
+ "flairId": {
+ "_id": "gskjhlj",
+ "text": "Art",
+ "backgroundColor": "#d4f5f5",
+ "textColor": "#ff5e7d",
+ "permissions": "modOnly"
+ },
+ "flairText": "string",
+ "sharedFrom": "",
+ "title": "Vex skins",
+ "kind": "image",
+ "text": "",
+ "images": [
+ "https://www.mobafire.com/images/champion/skins/landscape/vex-empyrean-762x.jpg",
+ "https://www.mobafire.com/images/champion/skins/landscape/vex-dawnbringer-762x.jpg"
+ ],
+ "video": "",
+ "createdAt": "2022-12-06T08:55:28.000Z",
+ "locked": false,
+ "isDeleted": false,
+ "sendReplies": false,
+ "nsfw": false,
+ "spoiler": false,
+ "votes": 0,
+ "views": 0,
+ "commentCount": 0,
+ "shareCount": 0,
+ "suggestedSort": "top",
+ "scheduled": true,
+ "sortOnHot": 0,
+ "sortOnBest": 0,
+ "isSpam": true,
+ "url": "https://drive.google.com/file/d/1ixYA5x7kG38XEBgWL86Ku7FWQvmYKiTz/view?usp=sharing",
+ "isSaved": false,
+ "postVoteStatus": 1
+ },
+ {
+ "_id": "hzkalkhlkj",
+ "author": {
+ "_id": "2022-12-06T14:21:02.113Z",
+ "name": "Amr"
+ },
+ "ownerType": "Subreddit",
+ "owner": {
+ "_id": "hdgahhbajk",
+ "name": "vexmains",
+ "icon": "https://i.pinimg.com/564x/38/fd/8c/38fd8cfd8071f4447f9f372088d42177.jpg"
+ },
+ "replies": [
+ "string"
+ ],
+ "flairId": {
+ "_id": "gskjhlj",
+ "text": "Art",
+ "backgroundColor": "#d4f5f5",
+ "textColor": "#ff5e7d",
+ "permissions": "modOnly"
+ },
+ "flairText": "string",
+ "sharedFrom": "",
+ "title": "Vex skins",
+ "kind": "image",
+ "text": "",
+ "images": [
+ "https://www.mobafire.com/images/champion/skins/landscape/vex-empyrean-762x.jpg",
+ "https://www.mobafire.com/images/champion/skins/landscape/vex-dawnbringer-762x.jpg"
+ ],
+ "video": "",
+ "createdAt": "2022-12-06T08:55:28.000Z",
+ "locked": false,
+ "isDeleted": false,
+ "sendReplies": false,
+ "nsfw": false,
+ "spoiler": true,
+ "votes": 0,
+ "views": 0,
+ "commentCount": 0,
+ "shareCount": 0,
+ "suggestedSort": "top",
+ "scheduled": true,
+ "sortOnHot": 0,
+ "sortOnBest": 0,
+ "isSpam": true,
+ "url": "https://drive.google.com/file/d/1ixYA5x7kG38XEBgWL86Ku7FWQvmYKiTz/view?usp=sharing",
+ "isSaved": false,
+ "postVoteStatus": 1
+ }
+ ],
+ "notifications": [
+ {
+ "type": "postReply",
+ "folowerId": "not used",
+ "postId": "Yes that is true",
+ "commentId": "not used",
+ "followedId": "not used",
+ "createdAt": "2017-07-21T17:32:28.000Z",
+ "seen": true,
+ "isHidden": true
+ },
+ {
+ "type": "commentReply",
+ "folowerId": "not used",
+ "postId": "No",
+ "commentId": "not used",
+ "followedId": "not used",
+ "createdAt": "2017-07-21T17:32:28.000Z",
+ "seen": true,
+ "isHidden": true
+ },
+ {
+ "type": "userMention",
+ "folowerId": "not used",
+ "postId": "u/EmanShahda",
+ "commentId": "not used",
+ "followedId": "not used",
+ "createdAt": "2017-07-21T17:32:28.000Z",
+ "seen": true,
+ "isHidden": true
+ },
+ {
+ "type": "follow",
+ "folowerId": "not used",
+ "postId": "BasmaElhoseny01 followed you back.",
+ "commentId": "not used",
+ "followedId": "not used",
+ "createdAt": "2017-07-21T17:32:28.000Z",
+ "seen": true,
+ "isHidden": true
+ },
+ {
+ "type": "firstCommentUpVote",
+ "folowerId": "not used",
+ "postId": "Go see your comment on r/aww:\"Huskies were probably humans in their past lives\"",
+ "commentId": "not used",
+ "followedId": "not used",
+ "createdAt": "2017-07-21T17:32:28.000Z",
+ "seen": true,
+ "isHidden": true
+ },
+ {
+ "type": "firstPostUpVote",
+ "folowerId": "not used",
+ "postId": "Go see your post on",
+ "commentId": "not used",
+ "followedId": "not used",
+ "createdAt": "2017-07-21T17:32:28.000Z",
+ "seen": true,
+ "isHidden": true
+ }
+ ],
+ "subreddits_moderator": [
+ {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/1016295_681893355195881_1578644646_n.jpg?_nc_cat=109&ccb=1-7&_nc_sid=19026a&_nc_eui2=AeFCVmaamBcbWQWbLgc5goA3TPveZl9CmeVM-95mX0KZ5Vix3F-p1IQuy-XTH_AaZw9YBNHT3DSG2M-3MKmnZCTP&_nc_ohc=sqT0q3soKqIAX_3KeFE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDtKbIed-hxraIzyhrh3idtNM-BDhP8dvZT6sKo7tAZsA&oe=6396FDE4",
+ "id": "10",
+ "subredditName": "Cooking",
+ "membersCount": 10000,
+ "description": "welcome to subreddit"
+ },
+ {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/1016295_681893355195881_1578644646_n.jpg?_nc_cat=109&ccb=1-7&_nc_sid=19026a&_nc_eui2=AeFCVmaamBcbWQWbLgc5goA3TPveZl9CmeVM-95mX0KZ5Vix3F-p1IQuy-XTH_AaZw9YBNHT3DSG2M-3MKmnZCTP&_nc_ohc=sqT0q3soKqIAX_3KeFE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDtKbIed-hxraIzyhrh3idtNM-BDhP8dvZT6sKo7tAZsA&oe=6396FDE4",
+ "id": "13",
+ "subredditName": "Platform",
+ "membersCount": 10000,
+ "description": "welcome to subreddit"
+ },
+ {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/1016295_681893355195881_1578644646_n.jpg?_nc_cat=109&ccb=1-7&_nc_sid=19026a&_nc_eui2=AeFCVmaamBcbWQWbLgc5goA3TPveZl9CmeVM-95mX0KZ5Vix3F-p1IQuy-XTH_AaZw9YBNHT3DSG2M-3MKmnZCTP&_nc_ohc=sqT0q3soKqIAX_3KeFE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDtKbIed-hxraIzyhrh3idtNM-BDhP8dvZT6sKo7tAZsA&oe=6396FDE4",
+ "id": "15",
+ "subredditName": "Hello",
+ "membersCount": 10000,
+ "description": "welcome to subreddit"
+ }
+ ],
+ "subreddits_subscriber": [
+ {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/1016295_681893355195881_1578644646_n.jpg?_nc_cat=109&ccb=1-7&_nc_sid=19026a&_nc_eui2=AeFCVmaamBcbWQWbLgc5goA3TPveZl9CmeVM-95mX0KZ5Vix3F-p1IQuy-XTH_AaZw9YBNHT3DSG2M-3MKmnZCTP&_nc_ohc=sqT0q3soKqIAX_3KeFE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDtKbIed-hxraIzyhrh3idtNM-BDhP8dvZT6sKo7tAZsA&oe=6396FDE4",
+ "id": "17",
+ "subredditName": "MySubreddit",
+ "membersCount": 10000,
+ "description": "welcome to subreddit"
+ },
+ {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/1016295_681893355195881_1578644646_n.jpg?_nc_cat=109&ccb=1-7&_nc_sid=19026a&_nc_eui2=AeFCVmaamBcbWQWbLgc5goA3TPveZl9CmeVM-95mX0KZ5Vix3F-p1IQuy-XTH_AaZw9YBNHT3DSG2M-3MKmnZCTP&_nc_ohc=sqT0q3soKqIAX_3KeFE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDtKbIed-hxraIzyhrh3idtNM-BDhP8dvZT6sKo7tAZsA&oe=6396FDE4",
+ "id": "12",
+ "subredditName": "uniquesub",
+ "membersCount": 10000,
+ "description": "welcome to subreddit"
+ },
+ {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/1016295_681893355195881_1578644646_n.jpg?_nc_cat=109&ccb=1-7&_nc_sid=19026a&_nc_eui2=AeFCVmaamBcbWQWbLgc5goA3TPveZl9CmeVM-95mX0KZ5Vix3F-p1IQuy-XTH_AaZw9YBNHT3DSG2M-3MKmnZCTP&_nc_ohc=sqT0q3soKqIAX_3KeFE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDtKbIed-hxraIzyhrh3idtNM-BDhP8dvZT6sKo7tAZsA&oe=6396FDE4",
+ "id": "19",
+ "subredditName": "tryHello",
+ "membersCount": 10000,
+ "description": "welcome to subreddit"
+ }
+ ],
+ "flairs": [
+ {
+ "_id": "fudgkhucg",
+ "text": "Question",
+ "backgroundColor": "string",
+ "textColor": "string",
+ "permissions": "modOnly"
+ }
+ ],
+ "moderators": {
+ "status": "success",
+ "data": [
+ {
+ "_id": "string",
+ "userName": "Eslam",
+ "joiningDate": "2019-08-24T14:15:22Z",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "_id": "string",
+ "userName": "Zeinab_maoawad",
+ "joiningDate": "20180-08-24T14:15:22Z",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "moderatorPermissions": {
+ "all": true,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ },
+ {
+ "_id": "string",
+ "userName": "string",
+ "joiningDate": "2021-08-24T14:15:22Z",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "moderatorPermissions": {
+ "all": false,
+ "access": true,
+ "config": true,
+ "flair": true,
+ "posts": true
+ }
+ }
+ ]
+ },
+ "banned": {
+ "status": "success",
+ "data": [
+ {
+ "_id": "string",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "banDate": "2012-08-24T14:15:22Z",
+ "baninfo": {
+ "punish_type": "No Spoiler",
+ "Note": "string",
+ "punishReason": "2alil el adap",
+ "duration": 0
+ }
+ },
+ {
+ "_id": "string",
+ "userName": "sayed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "banDate": "2020-05-24T14:15:22Z",
+ "baninfo": {
+ "punish_type": "No Spoiler",
+ "Note": "string",
+ "punishReason": "toxic - abyousef",
+ "duration": 0
+ }
+ },
+ {
+ "_id": "string",
+ "userName": "sayed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "banDate": "2022-08-24T14:15:22Z",
+ "baninfo": {
+ "punish_type": "No Spoiler",
+ "Note": "string",
+ "punishReason": "string",
+ "duration": 0
+ }
+ }
+ ]
+ },
+ "muted": {
+ "status": "success",
+ "data": [
+ {
+ "_id": "string",
+ "userName": "salama",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joiningDate": "2022-12-24T14:15:22Z",
+ "muteInfo": {
+ "muteMessage": "string"
+ }
+ },
+ {
+ "_id": "string",
+ "userName": "yosef",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joiningDate": "2022-08-24T14:15:22Z",
+ "muteInfo": {
+ "muteMessage": "string"
+ }
+ }
+ ]
+ },
+ "approved": {
+ "status": "success",
+ "data": [
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2021-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2022-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2021-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2022-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2021-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2022-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2021-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2022-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2021-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2022-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2021-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2022-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2021-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2022-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2021-08-24T14:15:22Z"
+ },
+ {
+ "user": {
+ "_id": "string",
+ "userName": "string",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/31654_100661579985731_7481445_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeGSUBKXvYU09Fg3jW1ZqDqRzHX4pfhTHOfMdfil-FMc57pdEjEJ1KtfYrGvqSbrlQffC8pXQZoBw7mz55jMjSUT&_nc_ohc=shQJHnRfpMgAX9oo8zE&_nc_ht=scontent.fcai19-6.fna&oh=00_AfAOuRN_CyjVtZUX-J9QDs069qHrKGs7eBP155vh7SNE4w&oe=63C23FD9",
+ "joinDate": "2019-08-24T14:15:22Z"
+ },
+ "approvedDate": "2022-08-24T14:15:22Z"
+ }
+ ]
+ },
+ "search_communities": {
+ "data": [
+ {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "asd",
+ "fixedName": "asd",
+ "membersCount": 123,
+ "description": "asd",
+ "name": "asdw",
+ "nsfw": true,
+ "isJoined": true
+ },
+ {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "asd",
+ "fixedName": "asd",
+ "membersCount": 123,
+ "description": "asd",
+ "name": "asdw",
+ "nsfw": true,
+ "isJoined": true
+ },
+ {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "asd",
+ "fixedName": "asd",
+ "membersCount": 123,
+ "description": "asd",
+ "name": "asdw",
+ "nsfw": true,
+ "isJoined": true
+ },
+ {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "asd",
+ "fixedName": "asd",
+ "membersCount": 123,
+ "description": "asd",
+ "name": "asdw",
+ "nsfw": true,
+ "isJoined": true
+ }
+ ]
+ },
+ "search_peoples": {
+ "data": [
+ {
+ "_id": "ad",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "asd",
+ "postKarma": 123,
+ "commentKarma": 123,
+ "description": "asd",
+ "isFollowed": true
+ },
+ {
+ "_id": "ad",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "asd",
+ "postKarma": 123,
+ "commentKarma": 123,
+ "description": "asd",
+ "isFollowed": true
+ },
+ {
+ "_id": "ad",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "asd",
+ "postKarma": 123,
+ "commentKarma": 123,
+ "description": "asd",
+ "isFollowed": true
+ },
+ {
+ "_id": "ad",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "asd",
+ "postKarma": 123,
+ "commentKarma": 123,
+ "description": "asd",
+ "isFollowed": true
+ },
+ {
+ "_id": "ad",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "asd",
+ "postKarma": 123,
+ "commentKarma": 123,
+ "description": "asd",
+ "isFollowed": true
+ },
+ {
+ "_id": "ad",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "asd",
+ "postKarma": 123,
+ "commentKarma": 123,
+ "description": "asd",
+ "isFollowed": true
+ },
+ {
+ "_id": "ad",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "asd",
+ "postKarma": 123,
+ "commentKarma": 123,
+ "description": "asd",
+ "isFollowed": true
+ }
+ ]
+ },
+ "search_posts": {
+ "data": [
+ {
+ "_id": "asd212",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "hamada"
+ },
+ "owner": {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "12asda2",
+ "fixedName": "Nonlegit",
+ "name": "asdwd",
+ "membersCount": 123,
+ "description": "this is my first subreddit"
+ },
+ "title": "first post",
+ "kind": "self",
+ "text": "
asdas
da
",
+ "url": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "images": [
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2"
+ ],
+ "video": "hamada with milk",
+ "votes": 1200,
+ "commentCount": 1300,
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "flairId": {
+ "_id": "asd",
+ "text": "asd",
+ "backgroundColor": "blue",
+ "textColor": "red"
+ }
+ },
+ {
+ "_id": "asd212",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "hamada"
+ },
+ "owner": {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "12asda2",
+ "fixedName": "Nonlegit",
+ "name": "asdwd",
+ "membersCount": 123,
+ "description": "this is my first subreddit"
+ },
+ "title": "first post",
+ "kind": "image",
+ "text": "asdasda",
+ "url": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "images": [
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2"
+ ],
+ "video": "hamada with milk",
+ "votes": 1200,
+ "commentCount": 1300,
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "flairId": {
+ "_id": "asd",
+ "text": "asd",
+ "backgroundColor": "blue",
+ "textColor": "red"
+ }
+ },
+ {
+ "_id": "asd212",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "hamada"
+ },
+ "owner": {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "12asda2",
+ "fixedName": "Nonlegit",
+ "name": "asdwd",
+ "membersCount": 123,
+ "description": "this is my first subreddit"
+ },
+ "title": "first post askdjaskl;djk;lasdasjd;ljsadufslakjdksalfjhdasjdfsajhvkas;jdalghsfaso;idjasghkjc",
+ "kind": "image",
+ "text": "askdjklasjdkajskdksaldj;lksaldjsadlkasjdklsajkld;askl;dkas;lkdlaskdl",
+ "url": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "images": [
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2"
+ ],
+ "video": "hamada with milk",
+ "votes": 1200,
+ "commentCount": 1300,
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "flairId": {
+ "_id": "asd",
+ "text": "asd",
+ "backgroundColor": "blue",
+ "textColor": "red"
+ }
+ },
+ {
+ "_id": "asd212",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "milk"
+ },
+ "owner": {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "asd",
+ "fixedName": "asd",
+ "name": "asdwd",
+ "membersCount": 123,
+ "description": "asd"
+ },
+ "title": "second post",
+ "kind": "link",
+ "text": "asdasda",
+ "url": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "images": [
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2"
+ ],
+ "video": "asdwad",
+ "votes": 90,
+ "commentCount": 12,
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "flairId": {
+ "_id": "asd",
+ "text": "asd",
+ "backgroundColor": "asd",
+ "textColor": "asd"
+ }
+ }
+ ]
+ },
+ "search_comments": {
+ "data": [
+ {
+ "_id": "asd",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/1610059_681891708529379_2132042836_n.jpg?_nc_cat=111&ccb=1-7&_nc_sid=174925&_nc_eui2=AeFisYcHx5f55wofAI89qsv4zwd8DyzyeI7PB3wPLPJ4jmThq4Z2nXImJdnzBzY682Ug8GJmq6pI9RMvTwe9n4Gn&_nc_ohc=njty5Km-D6IAX9S2nST&_nc_ht=scontent.fcai19-6.fna&oh=00_AfCuo4cKDBZx7mLXxK-A1PtFj7RKiSri443Fa8QU-Pb5yw&oe=63C8EB3B",
+ "displayName": "milk"
+ },
+ "post": {
+ "_id": "asd212",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "hamada"
+ },
+ "owner": {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "12asda2",
+ "fixedName": "Nonlegit",
+ "name": "asdwd",
+ "membersCount": 123,
+ "description": "this is my first subreddit"
+ },
+ "title": "first post",
+ "kind": "image",
+ "text": "asdasda",
+ "url": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "images": [
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2"
+ ],
+ "video": "hamada with milk",
+ "votes": 1200,
+ "commentCount": 1300,
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "flairId": {
+ "_id": "asd",
+ "text": "asd",
+ "backgroundColor": "blue",
+ "textColor": "red"
+ }
+ },
+ "text": "aspidasjd;ioajf;sadfs;f adas daspdioasdklsa iodaskl;d jasdj sad iajfhdafhjsd fhad isd ijsa ja;sfh;jal;f h;jasdh uoas'jdash;jhas;fiasj das'jd asj dhuaos;d j;as'dk as jfa;sifj'las sa;dkl jnasjd as;f a;kf as d;asnfajlsf nla'f'klash fas'f ashf a'hf aio'f ha'fh 'ahfl ahsf hdajfjsdbgdalfja ;fdusghf;afh alndsg' hak fkDAJF ldanfl'kaf hal'kfh a'l hf'alsias ihasdh asl'kfjash ahjfhasjf haslf hlas hfa'hslf haf'gaudlfNj'alsh 'g aspidasjd;ioajf;sadfs;f adas daspdioasdklsa iodaskl;d jasdj sad iajfhdafhjsd fhad isd ijsa ja;sfh;jal;f h;jasdh uoas'jdash;jhas;fiasj das'jd asj dhuaos;d j;as'dk as jfa;sifj'las sa;dkl jnasjd as;f a;kf as d;asnfajlsf nla'f'klash fas'f ashf a'hf aio'f ha'fh 'ahfl ahsf hdajfjsdbgdalfja ;fdusghf;afh alndsg' hak fkDAJF ldanfl'kaf hal'kfh a'l hf'alsias ihasdh asl'kfjash ahjfhasjf haslf hlas hfa'hslf haf'gaudlfNj'alsh",
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "votes": 1200,
+ "repliesCount": 1222
+ },
+ {
+ "_id": "asd",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/1610059_681891708529379_2132042836_n.jpg?_nc_cat=111&ccb=1-7&_nc_sid=174925&_nc_eui2=AeFisYcHx5f55wofAI89qsv4zwd8DyzyeI7PB3wPLPJ4jmThq4Z2nXImJdnzBzY682Ug8GJmq6pI9RMvTwe9n4Gn&_nc_ohc=njty5Km-D6IAX9S2nST&_nc_ht=scontent.fcai19-6.fna&oh=00_AfCuo4cKDBZx7mLXxK-A1PtFj7RKiSri443Fa8QU-Pb5yw&oe=63C8EB3B",
+ "displayName": "milk"
+ },
+ "post": {
+ "_id": "asd212",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "hamada"
+ },
+ "owner": {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "12asda2",
+ "fixedName": "Nonlegit",
+ "name": "asdwd",
+ "membersCount": 123,
+ "description": "this is my first subreddit"
+ },
+ "title": "first post",
+ "kind": "image",
+ "text": "asdasda",
+ "url": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "images": [
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2"
+ ],
+ "video": "hamada with milk",
+ "votes": 1200,
+ "commentCount": 1300,
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "flairId": {
+ "_id": "asd",
+ "text": "asd",
+ "backgroundColor": "blue",
+ "textColor": "red"
+ }
+ },
+ "text": "aspidasjd;ioajf;sadfs;f adas daspdioasdklsa iodaskl;d jasdj sad iajfhdafhjsd fhad isd ijsa ja;sfh;jal;f h;jasdh uoas'jdash;jhas;fiasj das'jd asj dhuaos;d j;as'dk as jfa;sifj'las sa;dkl jnasjd as;f a;kf as d;asnfajlsf nla'f'klash fas'f ashf a'hf aio'f ha'fh 'ahfl ahsf hdajfjsdbgdalfja ;fdusghf;afh alndsg' hak fkDAJF ldanfl'kaf hal'kfh a'l hf'alsias ihasdh asl'kfjash ahjfhasjf haslf hlas hfa'hslf haf'gaudlfNj'alsh 'g aspidasjd;ioajf;sadfs;f adas daspdioasdklsa iodaskl;d jasdj sad iajfhdafhjsd fhad isd ijsa ja;sfh;jal;f h;jasdh uoas'jdash;jhas;fiasj das'jd asj dhuaos;d j;as'dk as jfa;sifj'las sa;dkl jnasjd as;f a;kf as d;asnfajlsf nla'f'klash fas'f ashf a'hf aio'f ha'fh 'ahfl ahsf hdajfjsdbgdalfja ;fdusghf;afh alndsg' hak fkDAJF ldanfl'kaf hal'kfh a'l hf'alsias ihasdh asl'kfjash ahjfhasjf haslf hlas hfa'hslf haf'gaudlfNj'alsh",
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "votes": 1200,
+ "repliesCount": 1222
+ },
+ {
+ "_id": "asd",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/1610059_681891708529379_2132042836_n.jpg?_nc_cat=111&ccb=1-7&_nc_sid=174925&_nc_eui2=AeFisYcHx5f55wofAI89qsv4zwd8DyzyeI7PB3wPLPJ4jmThq4Z2nXImJdnzBzY682Ug8GJmq6pI9RMvTwe9n4Gn&_nc_ohc=njty5Km-D6IAX9S2nST&_nc_ht=scontent.fcai19-6.fna&oh=00_AfCuo4cKDBZx7mLXxK-A1PtFj7RKiSri443Fa8QU-Pb5yw&oe=63C8EB3B",
+ "displayName": "milk"
+ },
+ "post": {
+ "_id": "asd212",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "hamada"
+ },
+ "owner": {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "12asda2",
+ "fixedName": "Nonlegit",
+ "name": "asdwd",
+ "membersCount": 123,
+ "description": "this is my first subreddit"
+ },
+ "title": "first post",
+ "kind": "image",
+ "text": "asdasda",
+ "url": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "images": [
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2"
+ ],
+ "video": "hamada with milk",
+ "votes": 1200,
+ "commentCount": 1300,
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "flairId": {
+ "_id": "asd",
+ "text": "asd",
+ "backgroundColor": "blue",
+ "textColor": "red"
+ }
+ },
+ "text": "aspidasjd;ioajf;sadfs;f adas daspdioasdklsa iodaskl;d jasdj sad iajfhdafhjsd fhad isd ijsa ja;sfh;jal;f h;jasdh uoas'jdash;jhas;fiasj das'jd asj dhuaos;d j;as'dk as jfa;sifj'las sa;dkl jnasjd as;f a;kf as d;asnfajlsf nla'f'klash fas'f ashf a'hf aio'f ha'fh 'ahfl ahsf hdajfjsdbgdalfja ;fdusghf;afh alndsg' hak fkDAJF ldanfl'kaf hal'kfh a'l hf'alsias ihasdh asl'kfjash ahjfhasjf haslf hlas hfa'hslf haf'gaudlfNj'alsh 'g aspidasjd;ioajf;sadfs;f adas daspdioasdklsa iodaskl;d jasdj sad iajfhdafhjsd fhad isd ijsa ja;sfh;jal;f h;jasdh uoas'jdash;jhas;fiasj das'jd asj dhuaos;d j;as'dk as jfa;sifj'las sa;dkl jnasjd as;f a;kf as d;asnfajlsf nla'f'klash fas'f ashf a'hf aio'f ha'fh 'ahfl ahsf hdajfjsdbgdalfja ;fdusghf;afh alndsg' hak fkDAJF ldanfl'kaf hal'kfh a'l hf'alsias ihasdh asl'kfjash ahjfhasjf haslf hlas hfa'hslf haf'gaudlfNj'alsh",
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "votes": 1200,
+ "repliesCount": 1222
+ },
+ {
+ "_id": "asd",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/1610059_681891708529379_2132042836_n.jpg?_nc_cat=111&ccb=1-7&_nc_sid=174925&_nc_eui2=AeFisYcHx5f55wofAI89qsv4zwd8DyzyeI7PB3wPLPJ4jmThq4Z2nXImJdnzBzY682Ug8GJmq6pI9RMvTwe9n4Gn&_nc_ohc=njty5Km-D6IAX9S2nST&_nc_ht=scontent.fcai19-6.fna&oh=00_AfCuo4cKDBZx7mLXxK-A1PtFj7RKiSri443Fa8QU-Pb5yw&oe=63C8EB3B",
+ "displayName": "milk"
+ },
+ "post": {
+ "_id": "asd212",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "hamada"
+ },
+ "owner": {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "12asda2",
+ "fixedName": "Nonlegit",
+ "name": "asdwd",
+ "membersCount": 123,
+ "description": "this is my first subreddit"
+ },
+ "title": "first post",
+ "kind": "image",
+ "text": "asdasda",
+ "url": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "images": [
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2"
+ ],
+ "video": "hamada with milk",
+ "votes": 1200,
+ "commentCount": 1300,
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "flairId": {
+ "_id": "asd",
+ "text": "asd",
+ "backgroundColor": "blue",
+ "textColor": "red"
+ }
+ },
+ "text": "aspidasjd;ioajf;sadfs;f adas daspdioasdklsa iodaskl;d jasdj sad iajfhdafhjsd fhad isd ijsa ja;sfh;jal;f h;jasdh uoas'jdash;jhas;fiasj das'jd asj dhuaos;d j;as'dk as jfa;sifj'las sa;dkl jnasjd as;f a;kf as d;asnfajlsf nla'f'klash fas'f ashf a'hf aio'f ha'fh 'ahfl ahsf hdajfjsdbgdalfja ;fdusghf;afh alndsg' hak fkDAJF ldanfl'kaf hal'kfh a'l hf'alsias ihasdh asl'kfjash ahjfhasjf haslf hlas hfa'hslf haf'gaudlfNj'alsh 'g aspidasjd;ioajf;sadfs;f adas daspdioasdklsa iodaskl;d jasdj sad iajfhdafhjsd fhad isd ijsa ja;sfh;jal;f h;jasdh uoas'jdash;jhas;fiasj das'jd asj dhuaos;d j;as'dk as jfa;sifj'las sa;dkl jnasjd as;f a;kf as d;asnfajlsf nla'f'klash fas'f ashf a'hf aio'f ha'fh 'ahfl ahsf hdajfjsdbgdalfja ;fdusghf;afh alndsg' hak fkDAJF ldanfl'kaf hal'kfh a'l hf'alsias ihasdh asl'kfjash ahjfhasjf haslf hlas hfa'hslf haf'gaudlfNj'alsh",
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "votes": 1200,
+ "repliesCount": 1222
+ },
+ {
+ "_id": "asd",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/1610059_681891708529379_2132042836_n.jpg?_nc_cat=111&ccb=1-7&_nc_sid=174925&_nc_eui2=AeFisYcHx5f55wofAI89qsv4zwd8DyzyeI7PB3wPLPJ4jmThq4Z2nXImJdnzBzY682Ug8GJmq6pI9RMvTwe9n4Gn&_nc_ohc=njty5Km-D6IAX9S2nST&_nc_ht=scontent.fcai19-6.fna&oh=00_AfCuo4cKDBZx7mLXxK-A1PtFj7RKiSri443Fa8QU-Pb5yw&oe=63C8EB3B",
+ "displayName": "milk"
+ },
+ "post": {
+ "_id": "asd212",
+ "author": {
+ "_id": "asd212",
+ "userName": "ahmed",
+ "profilePicture": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "displayName": "hamada"
+ },
+ "owner": {
+ "icon": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "_id": "12asda2",
+ "fixedName": "Nonlegit",
+ "name": "asdwd",
+ "membersCount": 123,
+ "description": "this is my first subreddit"
+ },
+ "title": "first post",
+ "kind": "image",
+ "text": "asdasda",
+ "url": "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "images": [
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2",
+ "https://scontent.fcai19-6.fna.fbcdn.net/v/t1.18169-9/14731344_1268156939902850_4843578088361110846_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=09cbfe&_nc_eui2=AeEky4_3cTAH8AsHcH3UuXIKcLp-k-70xXVwun6T7vTFdcArTit-okcWlHaag26qfJeWLi2DDiYbw59pVU7sfWCM&_nc_ohc=A5SpL8aNUVEAX-YO51A&_nc_oc=AQniPbizNXpZ3SFnkYVS1CpwqCbtRPI2D8DeAHUhOG0t0JSuAtT4Bvl1Xbu4WrCWCn8&_nc_ht=scontent.fcai19-6.fna&oh=00_AfDhRAFvWuZtkXlwquZXICIDBSAhT2eF7HurP0EfQHnCEg&oe=63C6E9D2"
+ ],
+ "video": "hamada with milk",
+ "votes": 1200,
+ "commentCount": 1300,
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "flairId": {
+ "_id": "asd",
+ "text": "asd",
+ "backgroundColor": "blue",
+ "textColor": "red"
+ }
+ },
+ "text": "asdwd",
+ "createdAt": "2020-12-00T08:55:28.000Z",
+ "votes": 1200,
+ "repliesCount": 1222
+ }
+ ]
+ }
+}
"users": [
{
"id": "rjvMUnl",
- "userName": "Zeinab_maoawad",
+ "userName": "Eslam",
"email": "user@email.com",
"profilePicture": "https://militaryhealthinstitute.org/wp-content/uploads/sites/37/2019/10/blank-person-icon-9.jpg",
"profileBackPicture": "https://preview.redd.it/vqqv5xbfezp91.jpg?width=4096&format=pjpg&auto=webp&s=54acda24af01e2de60e98603e3e29e8db381ebac",
diff --git a/json_server/index.js b/json_server/index.js
index a6f7d8bd..d3800ac8 100644
--- a/json_server/index.js
+++ b/json_server/index.js
@@ -12,6 +12,7 @@ const middlewares = jsonServer.defaults();
server.use(jsonServer.bodyParser);
server.use(middlewares);
+// const searchrouter = jsonServer.router('search_database.json');
/////////////////////////////////////////////////////////////////////////////////////////////////
//endpoints flags
@@ -22,6 +23,12 @@ var is_subreddits_subredditName_top = false;
var is_subreddits_subredditName_flairs = false;
var is_users_otherUserName_about = false;
var is_subreddits_name = false;
+var is_moderators = false;
+var is_banned = false;
+var is_mutted = false;
+var is_approved = false;
+var is_search = false;
+var is_join = false;
/////////////////////////////////////////////////////////////////////////////////////////////////
//helpers
@@ -104,6 +111,23 @@ server.get('/subreddits/:subredditName', (req, res) => {
is_subreddits_name = true;
res.redirect(`/subreddits?name=${req.params.subredditName}`);
});
+server.get('/subreddits/:subredditName/moderators', (req, res) => {
+ is_moderators = true;
+ res.redirect(`/moderators`);
+});
+server.get('/subreddits/:subredditName/banned', (req, res) => {
+ is_banned = true;
+ res.redirect(`/banned`);
+});
+server.get('/subreddits/:subredditName/muted', (req, res) => {
+ is_mutted = true;
+ res.redirect(`/muted`);
+});
+server.get('/subreddits/:subredditName/approved', (req, res) => {
+ is_approved = true;
+ res.redirect(`/approved`);
+});
+
server.get('/users/notifications', (req, res) => {
res.redirect(`/notifications`);
});
@@ -167,11 +191,40 @@ server.get('/subreddits/:subredditName/flairs', (req, res) => {
console.log(req.params.subredditName);
res.redirect('/flairs');
});
+//////search
+server.get('/search', (req, res) => {
+ is_search = true;
+ console.log(req.query.type);
+ if (req.query.type == 'posts') {
+ console.log('this is posts');
+ res.redirect('/search_posts');
+ } else if (req.query.type == 'comments') {
+ console.log('this is comments');
+ res.redirect('/search_comments');
+ } else if (req.query.type == 'communities') {
+ console.log('this is communities');
+ res.redirect('/search_communities');
+ } else {
+ console.log('this is people');
+ res.redirect('/search_peoples');
+ }
-/////////////////////////////////////////////////////////////////////////////////////////////////
+});/////////////////////////////////////////////////////////////////////////////////////////////////
// Post Requests
-
+server.post('/subreddits/:subredditName/subscribe', (req, res) => {
+ is_join = true;
+ // if (req.query.action == 'sub') {
+ // res.status(200).jsonp({
+ // status: 'success',
+ // });
+ // } else if (req.query.action == 'unsub') {
+ // res.status(200).jsonp({
+ // status: 'success',
+ // });
+ // }
+ console.log(req);
+})
server.post('/subreddits', (req, res) => {
console.log(req);
});
@@ -283,6 +336,11 @@ server.post(
}
);
+//---------------------------- patch
+server.patch('/subreddits/:subredditName', (req, res) => {
+ is_subreddits_name = true;
+ res.redirect(`/subreddits?name=${req.params.subredditName}`);
+});
// server.use((req, res, next) => {
// if (req.method === 'POST') {
// if (req.originalUrl.includes('/subreddits')) {
@@ -336,15 +394,36 @@ server.post(
//use Router
server.use(router);
-
+// server_search.use(searchrouter);
// Start Server
server.listen(3000, () => {
console.log('JSON Server is running');
});
-
/////////////////////////////////////////////////////////////////////////////////////////////////
-
+// searchrouter.render = (req, res) => {
+// res.jsonp(
+// (function () {
+// if (req.method === 'GET') {
+// if (is_search) {
+// is_search = false;
+// return getSearch(req, res);
+// } else {
+// console.log('y');
+// return defaultGET(req, res);
+// }
+// } else if (req.method === 'POST') {
+// if (req.originalUrl.includes('/subreddits')) {
+// return subredditPOST(req, res);
+// } else if (req.originalUrl.includes('/post')) {
+// return postPOST(req, res);
+// } else if (req.originalUrl.includes('/users/singnup')) {
+// return signup(req, res);
+// } else return res.locals.data;
+// } else return res.locals.data;
+// })()
+// );
+// };
//Change response after json
router.render = (req, res) => {
res.jsonp(
@@ -367,6 +446,21 @@ router.render = (req, res) => {
} else if (is_users_otherUserName_about) {
is_users_otherUserName_about = false;
return getUser(req, res);
+ } else if (is_moderators) {
+ is_moderators = false;
+ return getModerators(req, res);
+ } else if (is_mutted) {
+ is_mutted = false;
+ return getModerators(req, res);
+ } else if (is_banned) {
+ is_banned = false;
+ return getModerators(req, res);
+ } else if (is_approved) {
+ is_approved = false;
+ return getModerators(req, res);
+ } else if (is_search) {
+ is_search = false;
+ return getSearch(req, res);
} else {
console.log('y');
return defaultGET(req, res);
@@ -378,6 +472,8 @@ router.render = (req, res) => {
return postPOST(req, res);
} else if (req.originalUrl.includes('/users/singnup')) {
return signup(req, res);
+ } else if (is_join) {
+ return join(req, res);
} else return res.locals.data;
} else return res.locals.data;
})()
@@ -431,6 +527,24 @@ const getUser = (req, res) => {
};
};
+const getModerators = (req, res) => {
+ data = res.locals.data;
+ console.log(data);
+ return data;
+};
+const getSearch = (req, res) => {
+ data = res.locals.data;
+ console.log(data);
+ return data;
+
+};
+const join = (req, res) => {
+ return {
+ status: 'success',
+ }
+}
+
+
const getDataPOST = (req, res) => {
data = res.locals.data;
return {
@@ -461,3 +575,5 @@ const username_available = (req, res) => {
available: false,
});
};
+
+
diff --git a/json_server/node_modules/.bin/is-docker b/json_server/node_modules/.bin/is-docker
deleted file mode 100644
index 9e457930..00000000
--- a/json_server/node_modules/.bin/is-docker
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../is-docker/cli.js" "$@"
-else
- exec node "$basedir/../is-docker/cli.js" "$@"
-fi
diff --git a/json_server/node_modules/.bin/is-docker.cmd b/json_server/node_modules/.bin/is-docker.cmd
deleted file mode 100644
index 79e76ca1..00000000
--- a/json_server/node_modules/.bin/is-docker.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\is-docker\cli.js" %*
diff --git a/json_server/node_modules/.bin/is-docker.ps1 b/json_server/node_modules/.bin/is-docker.ps1
deleted file mode 100644
index 74276253..00000000
--- a/json_server/node_modules/.bin/is-docker.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../is-docker/cli.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../is-docker/cli.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../is-docker/cli.js" $args
- } else {
- & "node$exe" "$basedir/../is-docker/cli.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/json_server/node_modules/.bin/json-server b/json_server/node_modules/.bin/json-server
deleted file mode 100644
index bbf90bd7..00000000
--- a/json_server/node_modules/.bin/json-server
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../json-server/lib/cli/bin.js" "$@"
-else
- exec node "$basedir/../json-server/lib/cli/bin.js" "$@"
-fi
diff --git a/json_server/node_modules/.bin/json-server.cmd b/json_server/node_modules/.bin/json-server.cmd
deleted file mode 100644
index 611427f3..00000000
--- a/json_server/node_modules/.bin/json-server.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\json-server\lib\cli\bin.js" %*
diff --git a/json_server/node_modules/.bin/json-server.ps1 b/json_server/node_modules/.bin/json-server.ps1
deleted file mode 100644
index b77c5a17..00000000
--- a/json_server/node_modules/.bin/json-server.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../json-server/lib/cli/bin.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../json-server/lib/cli/bin.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../json-server/lib/cli/bin.js" $args
- } else {
- & "node$exe" "$basedir/../json-server/lib/cli/bin.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/json_server/node_modules/.bin/mime b/json_server/node_modules/.bin/mime
deleted file mode 100644
index 0a62a1b1..00000000
--- a/json_server/node_modules/.bin/mime
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../mime/cli.js" "$@"
-else
- exec node "$basedir/../mime/cli.js" "$@"
-fi
diff --git a/json_server/node_modules/.bin/mime.cmd b/json_server/node_modules/.bin/mime.cmd
deleted file mode 100644
index 54491f12..00000000
--- a/json_server/node_modules/.bin/mime.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mime\cli.js" %*
diff --git a/json_server/node_modules/.bin/mime.ps1 b/json_server/node_modules/.bin/mime.ps1
deleted file mode 100644
index 2222f40b..00000000
--- a/json_server/node_modules/.bin/mime.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../mime/cli.js" $args
- } else {
- & "node$exe" "$basedir/../mime/cli.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/json_server/node_modules/.bin/nanoid b/json_server/node_modules/.bin/nanoid
deleted file mode 100644
index 23254eb2..00000000
--- a/json_server/node_modules/.bin/nanoid
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.cjs" "$@"
-else
- exec node "$basedir/../nanoid/bin/nanoid.cjs" "$@"
-fi
diff --git a/json_server/node_modules/.bin/nanoid.cmd b/json_server/node_modules/.bin/nanoid.cmd
deleted file mode 100644
index 9c40107c..00000000
--- a/json_server/node_modules/.bin/nanoid.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nanoid\bin\nanoid.cjs" %*
diff --git a/json_server/node_modules/.bin/nanoid.ps1 b/json_server/node_modules/.bin/nanoid.ps1
deleted file mode 100644
index d8a4d7ad..00000000
--- a/json_server/node_modules/.bin/nanoid.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
- } else {
- & "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
- } else {
- & "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/json_server/node_modules/.bin/node-dev b/json_server/node_modules/.bin/node-dev
deleted file mode 100644
index dbce03b4..00000000
--- a/json_server/node_modules/.bin/node-dev
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../node-dev/bin/node-dev" "$@"
-else
- exec node "$basedir/../node-dev/bin/node-dev" "$@"
-fi
diff --git a/json_server/node_modules/.bin/node-dev.cmd b/json_server/node_modules/.bin/node-dev.cmd
deleted file mode 100644
index f6c12b1f..00000000
--- a/json_server/node_modules/.bin/node-dev.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\node-dev\bin\node-dev" %*
diff --git a/json_server/node_modules/.bin/node-dev.ps1 b/json_server/node_modules/.bin/node-dev.ps1
deleted file mode 100644
index 8db6fafd..00000000
--- a/json_server/node_modules/.bin/node-dev.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../node-dev/bin/node-dev" $args
- } else {
- & "$basedir/node$exe" "$basedir/../node-dev/bin/node-dev" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../node-dev/bin/node-dev" $args
- } else {
- & "node$exe" "$basedir/../node-dev/bin/node-dev" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/json_server/node_modules/.bin/node-which b/json_server/node_modules/.bin/node-which
deleted file mode 100644
index aece7353..00000000
--- a/json_server/node_modules/.bin/node-which
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../which/bin/node-which" "$@"
-else
- exec node "$basedir/../which/bin/node-which" "$@"
-fi
diff --git a/json_server/node_modules/.bin/node-which.cmd b/json_server/node_modules/.bin/node-which.cmd
deleted file mode 100644
index 8738aed8..00000000
--- a/json_server/node_modules/.bin/node-which.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\node-which" %*
diff --git a/json_server/node_modules/.bin/node-which.ps1 b/json_server/node_modules/.bin/node-which.ps1
deleted file mode 100644
index cfb09e84..00000000
--- a/json_server/node_modules/.bin/node-which.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
- } else {
- & "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../which/bin/node-which" $args
- } else {
- & "node$exe" "$basedir/../which/bin/node-which" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/json_server/node_modules/.bin/resolve b/json_server/node_modules/.bin/resolve
deleted file mode 100644
index 757d454a..00000000
--- a/json_server/node_modules/.bin/resolve
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../resolve/bin/resolve" "$@"
-else
- exec node "$basedir/../resolve/bin/resolve" "$@"
-fi
diff --git a/json_server/node_modules/.bin/resolve.cmd b/json_server/node_modules/.bin/resolve.cmd
deleted file mode 100644
index 1a017c40..00000000
--- a/json_server/node_modules/.bin/resolve.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\resolve\bin\resolve" %*
diff --git a/json_server/node_modules/.bin/resolve.ps1 b/json_server/node_modules/.bin/resolve.ps1
deleted file mode 100644
index f22b2d31..00000000
--- a/json_server/node_modules/.bin/resolve.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../resolve/bin/resolve" $args
- } else {
- & "$basedir/node$exe" "$basedir/../resolve/bin/resolve" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../resolve/bin/resolve" $args
- } else {
- & "node$exe" "$basedir/../resolve/bin/resolve" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/json_server/node_modules/.bin/semver b/json_server/node_modules/.bin/semver
deleted file mode 100644
index 77443e78..00000000
--- a/json_server/node_modules/.bin/semver
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
-else
- exec node "$basedir/../semver/bin/semver.js" "$@"
-fi
diff --git a/json_server/node_modules/.bin/semver.cmd b/json_server/node_modules/.bin/semver.cmd
deleted file mode 100644
index 9913fa9d..00000000
--- a/json_server/node_modules/.bin/semver.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %*
diff --git a/json_server/node_modules/.bin/semver.ps1 b/json_server/node_modules/.bin/semver.ps1
deleted file mode 100644
index 314717ad..00000000
--- a/json_server/node_modules/.bin/semver.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../semver/bin/semver.js" $args
- } else {
- & "node$exe" "$basedir/../semver/bin/semver.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/json_server/node_modules/.bin/uuid b/json_server/node_modules/.bin/uuid
deleted file mode 100644
index c3ec0035..00000000
--- a/json_server/node_modules/.bin/uuid
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../uuid/dist/bin/uuid" "$@"
-else
- exec node "$basedir/../uuid/dist/bin/uuid" "$@"
-fi
diff --git a/json_server/node_modules/.bin/uuid.cmd b/json_server/node_modules/.bin/uuid.cmd
deleted file mode 100644
index 0f2376ea..00000000
--- a/json_server/node_modules/.bin/uuid.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\uuid\dist\bin\uuid" %*
diff --git a/json_server/node_modules/.bin/uuid.ps1 b/json_server/node_modules/.bin/uuid.ps1
deleted file mode 100644
index 78046284..00000000
--- a/json_server/node_modules/.bin/uuid.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../uuid/dist/bin/uuid" $args
- } else {
- & "$basedir/node$exe" "$basedir/../uuid/dist/bin/uuid" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../uuid/dist/bin/uuid" $args
- } else {
- & "node$exe" "$basedir/../uuid/dist/bin/uuid" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/json_server/node_modules/.package-lock.json b/json_server/node_modules/.package-lock.json
deleted file mode 100644
index d8bfcf75..00000000
--- a/json_server/node_modules/.package-lock.json
+++ /dev/null
@@ -1,1458 +0,0 @@
-{
- "name": "json_server",
- "version": "1.0.0",
- "lockfileVersion": 2,
- "requires": true,
- "packages": {
- "node_modules/@types/jsonwebtoken": {
- "version": "8.5.9",
- "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.9.tgz",
- "integrity": "sha512-272FMnFGzAVMGtu9tkr29hRL6bZj4Zs1KZNeHLnKqAvp06tAIcarTMwOh8/8bz4FmKRcMxZhZNeUAQsNLoiPhg==",
- "dependencies": {
- "@types/node": "*"
- }
- },
- "node_modules/@types/node": {
- "version": "18.11.11",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.11.tgz",
- "integrity": "sha512-KJ021B1nlQUBLopzZmPBVuGU9un7WJd/W4ya7Ih02B4Uwky5Nja0yGYav2EfYIk0RR2Q9oVhf60S2XR1BCWJ2g=="
- },
- "node_modules/accepts": {
- "version": "1.3.8",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
- "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
- "dependencies": {
- "mime-types": "~2.1.34",
- "negotiator": "0.6.3"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/array-flatten": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
- "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg=="
- },
- "node_modules/basic-auth": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz",
- "integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==",
- "dependencies": {
- "safe-buffer": "5.1.2"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/body-parser": {
- "version": "1.20.1",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz",
- "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==",
- "dependencies": {
- "bytes": "3.1.2",
- "content-type": "~1.0.4",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "http-errors": "2.0.0",
- "iconv-lite": "0.4.24",
- "on-finished": "2.4.1",
- "qs": "6.11.0",
- "raw-body": "2.5.1",
- "type-is": "~1.6.18",
- "unpipe": "1.0.0"
- },
- "engines": {
- "node": ">= 0.8",
- "npm": "1.2.8000 || >= 1.4.16"
- }
- },
- "node_modules/buffer-equal-constant-time": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",
- "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA=="
- },
- "node_modules/bytes": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
- "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/call-bind": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
- "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
- "dependencies": {
- "function-bind": "^1.1.1",
- "get-intrinsic": "^1.0.2"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/chalk": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
- }
- },
- "node_modules/cliui": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
- "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
- "dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.1",
- "wrap-ansi": "^7.0.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "node_modules/color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
- },
- "node_modules/compressible": {
- "version": "2.0.18",
- "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",
- "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==",
- "dependencies": {
- "mime-db": ">= 1.43.0 < 2"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/compression": {
- "version": "1.7.4",
- "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz",
- "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==",
- "dependencies": {
- "accepts": "~1.3.5",
- "bytes": "3.0.0",
- "compressible": "~2.0.16",
- "debug": "2.6.9",
- "on-headers": "~1.0.2",
- "safe-buffer": "5.1.2",
- "vary": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/compression/node_modules/bytes": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
- "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/connect-pause": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/connect-pause/-/connect-pause-0.1.1.tgz",
- "integrity": "sha512-a1gSWQBQD73krFXdUEYJom2RTFrWUL3YvXDCRkyv//GVXc79cdW9MngtRuN9ih4FDKBtfJAJId+BbDuX+1rh2w==",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/content-disposition": {
- "version": "0.5.4",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
- "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
- "dependencies": {
- "safe-buffer": "5.2.1"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/content-disposition/node_modules/safe-buffer": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
- "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ]
- },
- "node_modules/content-type": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
- "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/cookie": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz",
- "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/cookie-signature": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
- "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
- },
- "node_modules/cors": {
- "version": "2.8.5",
- "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
- "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
- "dependencies": {
- "object-assign": "^4",
- "vary": "^1"
- },
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/dateformat": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz",
- "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/debounce": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/debounce/-/debounce-1.2.1.tgz",
- "integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug=="
- },
- "node_modules/debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/depd": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
- "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/destroy": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
- "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
- "engines": {
- "node": ">= 0.8",
- "npm": "1.2.8000 || >= 1.4.16"
- }
- },
- "node_modules/dynamic-dedupe": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/dynamic-dedupe/-/dynamic-dedupe-0.3.0.tgz",
- "integrity": "sha512-ssuANeD+z97meYOqd50e04Ze5qp4bPqo8cCkI4TRjZkzAUgIDTrXV1R8QCdINpiI+hw14+rYazvTRdQrz0/rFQ==",
- "dependencies": {
- "xtend": "^4.0.0"
- }
- },
- "node_modules/ecdsa-sig-formatter": {
- "version": "1.0.11",
- "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz",
- "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==",
- "dependencies": {
- "safe-buffer": "^5.0.1"
- }
- },
- "node_modules/ee-first": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
- "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="
- },
- "node_modules/emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
- },
- "node_modules/encodeurl": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
- "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/errorhandler": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/errorhandler/-/errorhandler-1.5.1.tgz",
- "integrity": "sha512-rcOwbfvP1WTViVoUjcfZicVzjhjTuhSMntHh6mW3IrEiyE6mJyXvsToJUJGlGlw/2xU9P5whlWNGlIDVeCiT4A==",
- "dependencies": {
- "accepts": "~1.3.7",
- "escape-html": "~1.0.3"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/escalade": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
- "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/escape-html": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
- "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
- },
- "node_modules/etag": {
- "version": "1.8.1",
- "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
- "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/express": {
- "version": "4.18.2",
- "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz",
- "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==",
- "dependencies": {
- "accepts": "~1.3.8",
- "array-flatten": "1.1.1",
- "body-parser": "1.20.1",
- "content-disposition": "0.5.4",
- "content-type": "~1.0.4",
- "cookie": "0.5.0",
- "cookie-signature": "1.0.6",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "finalhandler": "1.2.0",
- "fresh": "0.5.2",
- "http-errors": "2.0.0",
- "merge-descriptors": "1.0.1",
- "methods": "~1.1.2",
- "on-finished": "2.4.1",
- "parseurl": "~1.3.3",
- "path-to-regexp": "0.1.7",
- "proxy-addr": "~2.0.7",
- "qs": "6.11.0",
- "range-parser": "~1.2.1",
- "safe-buffer": "5.2.1",
- "send": "0.18.0",
- "serve-static": "1.15.0",
- "setprototypeof": "1.2.0",
- "statuses": "2.0.1",
- "type-is": "~1.6.18",
- "utils-merge": "1.0.1",
- "vary": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.10.0"
- }
- },
- "node_modules/express-jwt": {
- "version": "7.7.7",
- "resolved": "https://registry.npmjs.org/express-jwt/-/express-jwt-7.7.7.tgz",
- "integrity": "sha512-7s04HZ7sAahx7lwKU5AInhVon1kWVitRFxd7cGUKQaLDOQJsAQjB/OEBXaN0GS22RBgX75TjOJXGY7myQmVz5A==",
- "dependencies": {
- "@types/jsonwebtoken": "^8.5.8",
- "express-unless": "^2.1.3",
- "jsonwebtoken": "^8.5.1"
- },
- "engines": {
- "node": ">= 8.0.0"
- }
- },
- "node_modules/express-unless": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/express-unless/-/express-unless-2.1.3.tgz",
- "integrity": "sha512-wj4tLMyCVYuIIKHGt0FhCtIViBcwzWejX0EjNxveAa6dG+0XBCQhMbx+PnkLkFCxLC69qoFrxds4pIyL88inaQ=="
- },
- "node_modules/express-urlrewrite": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/express-urlrewrite/-/express-urlrewrite-1.4.0.tgz",
- "integrity": "sha512-PI5h8JuzoweS26vFizwQl6UTF25CAHSggNv0J25Dn/IKZscJHWZzPrI5z2Y2jgOzIaw2qh8l6+/jUcig23Z2SA==",
- "dependencies": {
- "debug": "*",
- "path-to-regexp": "^1.0.3"
- }
- },
- "node_modules/express-urlrewrite/node_modules/path-to-regexp": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz",
- "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==",
- "dependencies": {
- "isarray": "0.0.1"
- }
- },
- "node_modules/express/node_modules/safe-buffer": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
- "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ]
- },
- "node_modules/filewatcher": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/filewatcher/-/filewatcher-3.0.1.tgz",
- "integrity": "sha512-Fro8py2B8EJupSP37Kyd4kjKZLr+5ksFq7Vbw8A392Z15Unq8016SPUDvO/AsDj5V6bbPk98PTAinpc5YhPbJw==",
- "dependencies": {
- "debounce": "^1.0.0"
- }
- },
- "node_modules/finalhandler": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz",
- "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==",
- "dependencies": {
- "debug": "2.6.9",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "on-finished": "2.4.1",
- "parseurl": "~1.3.3",
- "statuses": "2.0.1",
- "unpipe": "~1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/forwarded": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
- "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/fresh": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
- "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/function-bind": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
- },
- "node_modules/get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
- "engines": {
- "node": "6.* || 8.* || >= 10.*"
- }
- },
- "node_modules/get-intrinsic": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz",
- "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==",
- "dependencies": {
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-package-type": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",
- "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==",
- "engines": {
- "node": ">=8.0.0"
- }
- },
- "node_modules/graceful-fs": {
- "version": "4.2.10",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz",
- "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA=="
- },
- "node_modules/growly": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz",
- "integrity": "sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw=="
- },
- "node_modules/has": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
- "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
- "dependencies": {
- "function-bind": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4.0"
- }
- },
- "node_modules/has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/has-symbols": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
- "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/http-errors": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
- "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
- "dependencies": {
- "depd": "2.0.0",
- "inherits": "2.0.4",
- "setprototypeof": "1.2.0",
- "statuses": "2.0.1",
- "toidentifier": "1.0.1"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
- },
- "node_modules/ipaddr.js": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
- "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/is-core-module": {
- "version": "2.11.0",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",
- "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",
- "dependencies": {
- "has": "^1.0.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-docker": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
- "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
- "bin": {
- "is-docker": "cli.js"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/is-promise": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
- "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ=="
- },
- "node_modules/is-wsl": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
- "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
- "dependencies": {
- "is-docker": "^2.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/isarray": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
- "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ=="
- },
- "node_modules/isexe": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
- },
- "node_modules/jju": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/jju/-/jju-1.4.0.tgz",
- "integrity": "sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA=="
- },
- "node_modules/json-parse-helpfulerror": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/json-parse-helpfulerror/-/json-parse-helpfulerror-1.0.3.tgz",
- "integrity": "sha512-XgP0FGR77+QhUxjXkwOMkC94k3WtqEBfcnjWqhRd82qTat4SWKRE+9kUnynz/shm3I4ea2+qISvTIeGTNU7kJg==",
- "dependencies": {
- "jju": "^1.1.0"
- }
- },
- "node_modules/json-server": {
- "version": "0.17.1",
- "resolved": "https://registry.npmjs.org/json-server/-/json-server-0.17.1.tgz",
- "integrity": "sha512-2cR/IAL9xX4M1Y5ONMpnvRvJ5o9gJH5GsSQs7fQHdTKTKoN4YRZu1ApQKg/4P0XzwlLyUDqTlwhPq9nsvJ9acw==",
- "dependencies": {
- "body-parser": "^1.19.0",
- "chalk": "^4.1.2",
- "compression": "^1.7.4",
- "connect-pause": "^0.1.1",
- "cors": "^2.8.5",
- "errorhandler": "^1.5.1",
- "express": "^4.17.1",
- "express-urlrewrite": "^1.4.0",
- "json-parse-helpfulerror": "^1.0.3",
- "lodash": "^4.17.21",
- "lodash-id": "^0.14.1",
- "lowdb": "^1.0.0",
- "method-override": "^3.0.0",
- "morgan": "^1.10.0",
- "nanoid": "^3.1.23",
- "please-upgrade-node": "^3.2.0",
- "pluralize": "^8.0.0",
- "server-destroy": "^1.0.1",
- "yargs": "^17.0.1"
- },
- "bin": {
- "json-server": "lib/cli/bin.js"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/jsonwebtoken": {
- "version": "8.5.1",
- "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz",
- "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==",
- "dependencies": {
- "jws": "^3.2.2",
- "lodash.includes": "^4.3.0",
- "lodash.isboolean": "^3.0.3",
- "lodash.isinteger": "^4.0.4",
- "lodash.isnumber": "^3.0.3",
- "lodash.isplainobject": "^4.0.6",
- "lodash.isstring": "^4.0.1",
- "lodash.once": "^4.0.0",
- "ms": "^2.1.1",
- "semver": "^5.6.0"
- },
- "engines": {
- "node": ">=4",
- "npm": ">=1.4.28"
- }
- },
- "node_modules/jsonwebtoken/node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
- },
- "node_modules/jsonwebtoken/node_modules/semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/jwa": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz",
- "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==",
- "dependencies": {
- "buffer-equal-constant-time": "1.0.1",
- "ecdsa-sig-formatter": "1.0.11",
- "safe-buffer": "^5.0.1"
- }
- },
- "node_modules/jws": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz",
- "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==",
- "dependencies": {
- "jwa": "^1.4.1",
- "safe-buffer": "^5.0.1"
- }
- },
- "node_modules/lodash": {
- "version": "4.17.21",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
- },
- "node_modules/lodash-id": {
- "version": "0.14.1",
- "resolved": "https://registry.npmjs.org/lodash-id/-/lodash-id-0.14.1.tgz",
- "integrity": "sha512-ikQPBTiq/d5m6dfKQlFdIXFzvThPi2Be9/AHxktOnDSfSxE1j9ICbBT5Elk1ke7HSTgM38LHTpmJovo9/klnLg==",
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/lodash.includes": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz",
- "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w=="
- },
- "node_modules/lodash.isboolean": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz",
- "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg=="
- },
- "node_modules/lodash.isinteger": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz",
- "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA=="
- },
- "node_modules/lodash.isnumber": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz",
- "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw=="
- },
- "node_modules/lodash.isplainobject": {
- "version": "4.0.6",
- "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
- "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA=="
- },
- "node_modules/lodash.isstring": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz",
- "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw=="
- },
- "node_modules/lodash.once": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz",
- "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg=="
- },
- "node_modules/lowdb": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/lowdb/-/lowdb-1.0.0.tgz",
- "integrity": "sha512-2+x8esE/Wb9SQ1F9IHaYWfsC9FIecLOPrK4g17FGEayjUWH172H6nwicRovGvSE2CPZouc2MCIqCI7h9d+GftQ==",
- "dependencies": {
- "graceful-fs": "^4.1.3",
- "is-promise": "^2.1.0",
- "lodash": "4",
- "pify": "^3.0.0",
- "steno": "^0.4.1"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/lru-cache": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
- "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/media-typer": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
- "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/merge-descriptors": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
- "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w=="
- },
- "node_modules/method-override": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/method-override/-/method-override-3.0.0.tgz",
- "integrity": "sha512-IJ2NNN/mSl9w3kzWB92rcdHpz+HjkxhDJWNDBqSlas+zQdP8wBiJzITPg08M/k2uVvMow7Sk41atndNtt/PHSA==",
- "dependencies": {
- "debug": "3.1.0",
- "methods": "~1.1.2",
- "parseurl": "~1.3.2",
- "vary": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/method-override/node_modules/debug": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
- "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/methods": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
- "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mime": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
- "bin": {
- "mime": "cli.js"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
- "dependencies": {
- "mime-db": "1.52.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/minimist": {
- "version": "1.2.7",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz",
- "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/morgan": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.10.0.tgz",
- "integrity": "sha512-AbegBVI4sh6El+1gNwvD5YIck7nSA36weD7xvIxG4in80j/UoK8AEGaWnnz8v1GxonMCltmlNs5ZKbGvl9b1XQ==",
- "dependencies": {
- "basic-auth": "~2.0.1",
- "debug": "2.6.9",
- "depd": "~2.0.0",
- "on-finished": "~2.3.0",
- "on-headers": "~1.0.2"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/morgan/node_modules/on-finished": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
- "integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==",
- "dependencies": {
- "ee-first": "1.1.1"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
- },
- "node_modules/nanoid": {
- "version": "3.3.4",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
- "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",
- "bin": {
- "nanoid": "bin/nanoid.cjs"
- },
- "engines": {
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
- }
- },
- "node_modules/negotiator": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
- "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/node-dev": {
- "version": "7.4.3",
- "resolved": "https://registry.npmjs.org/node-dev/-/node-dev-7.4.3.tgz",
- "integrity": "sha512-o8aYipN28xY+WEunMHHiNc3hpPSkGG8ulHyYBapNbkg4dQxohmhx6jiRbiFhTF6zy+5IwljUGv1EcuxsaWI4Bw==",
- "dependencies": {
- "dateformat": "^3.0.3",
- "dynamic-dedupe": "^0.3.0",
- "filewatcher": "~3.0.0",
- "get-package-type": "^0.1.0",
- "minimist": "^1.2.6",
- "node-notifier": "^8.0.1",
- "resolve": "^1.22.0",
- "semver": "^7.3.7"
- },
- "bin": {
- "node-dev": "bin/node-dev"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/node-notifier": {
- "version": "8.0.2",
- "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.2.tgz",
- "integrity": "sha512-oJP/9NAdd9+x2Q+rfphB2RJCHjod70RcRLjosiPMMu5gjIfwVnOUGq2nbTjTUbmy0DJ/tFIVT30+Qe3nzl4TJg==",
- "dependencies": {
- "growly": "^1.3.0",
- "is-wsl": "^2.2.0",
- "semver": "^7.3.2",
- "shellwords": "^0.1.1",
- "uuid": "^8.3.0",
- "which": "^2.0.2"
- }
- },
- "node_modules/object-assign": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
- "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-inspect": {
- "version": "1.12.2",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz",
- "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/on-finished": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
- "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
- "dependencies": {
- "ee-first": "1.1.1"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/on-headers": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",
- "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/parseurl": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
- "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/path-parse": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
- },
- "node_modules/path-to-regexp": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
- "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ=="
- },
- "node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/please-upgrade-node": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz",
- "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==",
- "dependencies": {
- "semver-compare": "^1.0.0"
- }
- },
- "node_modules/pluralize": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz",
- "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/proxy-addr": {
- "version": "2.0.7",
- "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
- "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
- "dependencies": {
- "forwarded": "0.2.0",
- "ipaddr.js": "1.9.1"
- },
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/qs": {
- "version": "6.11.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
- "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==",
- "dependencies": {
- "side-channel": "^1.0.4"
- },
- "engines": {
- "node": ">=0.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/range-parser": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
- "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/raw-body": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz",
- "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==",
- "dependencies": {
- "bytes": "3.1.2",
- "http-errors": "2.0.0",
- "iconv-lite": "0.4.24",
- "unpipe": "1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/require-directory": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
- "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/resolve": {
- "version": "1.22.1",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",
- "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
- "dependencies": {
- "is-core-module": "^2.9.0",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
- },
- "bin": {
- "resolve": "bin/resolve"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
- },
- "node_modules/safer-buffer": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
- },
- "node_modules/semver": {
- "version": "7.3.8",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
- "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
- "bin": {
- "semver": "bin/semver.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/semver-compare": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",
- "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow=="
- },
- "node_modules/send": {
- "version": "0.18.0",
- "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz",
- "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==",
- "dependencies": {
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "fresh": "0.5.2",
- "http-errors": "2.0.0",
- "mime": "1.6.0",
- "ms": "2.1.3",
- "on-finished": "2.4.1",
- "range-parser": "~1.2.1",
- "statuses": "2.0.1"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/send/node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
- },
- "node_modules/serve-static": {
- "version": "1.15.0",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz",
- "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==",
- "dependencies": {
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "parseurl": "~1.3.3",
- "send": "0.18.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/server-destroy": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/server-destroy/-/server-destroy-1.0.1.tgz",
- "integrity": "sha512-rb+9B5YBIEzYcD6x2VKidaa+cqYBJQKnU4oe4E3ANwRRN56yk/ua1YCJT1n21NTS8w6CcOclAKNP3PhdCXKYtQ=="
- },
- "node_modules/setprototypeof": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
- "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
- },
- "node_modules/shellwords": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz",
- "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww=="
- },
- "node_modules/side-channel": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
- "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
- "dependencies": {
- "call-bind": "^1.0.0",
- "get-intrinsic": "^1.0.2",
- "object-inspect": "^1.9.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/statuses": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
- "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/steno": {
- "version": "0.4.4",
- "resolved": "https://registry.npmjs.org/steno/-/steno-0.4.4.tgz",
- "integrity": "sha512-EEHMVYHNXFHfGtgjNITnka0aHhiAlo93F7z2/Pwd+g0teG9CnM3JIINM7hVVB5/rhw9voufD7Wukwgtw2uqh6w==",
- "dependencies": {
- "graceful-fs": "^4.1.3"
- }
- },
- "node_modules/string-width": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "dependencies": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/strip-ansi": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dependencies": {
- "ansi-regex": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/supports-preserve-symlinks-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
- "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/toidentifier": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
- "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
- "engines": {
- "node": ">=0.6"
- }
- },
- "node_modules/type-is": {
- "version": "1.6.18",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
- "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
- "dependencies": {
- "media-typer": "0.3.0",
- "mime-types": "~2.1.24"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/unpipe": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
- "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/utils-merge": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
- "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
- "engines": {
- "node": ">= 0.4.0"
- }
- },
- "node_modules/uuid": {
- "version": "8.3.2",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
- "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
- "bin": {
- "uuid": "dist/bin/uuid"
- }
- },
- "node_modules/vary": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
- "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/which": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "node-which": "bin/node-which"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/wrap-ansi": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
- }
- },
- "node_modules/xtend": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
- "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",
- "engines": {
- "node": ">=0.4"
- }
- },
- "node_modules/y18n": {
- "version": "5.0.8",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
- "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
- },
- "node_modules/yargs": {
- "version": "17.6.2",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.2.tgz",
- "integrity": "sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==",
- "dependencies": {
- "cliui": "^8.0.1",
- "escalade": "^3.1.1",
- "get-caller-file": "^2.0.5",
- "require-directory": "^2.1.1",
- "string-width": "^4.2.3",
- "y18n": "^5.0.5",
- "yargs-parser": "^21.1.1"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/yargs-parser": {
- "version": "21.1.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
- "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
- "engines": {
- "node": ">=12"
- }
- }
- }
-}
diff --git a/json_server/node_modules/accepts/HISTORY.md b/json_server/node_modules/accepts/HISTORY.md
deleted file mode 100644
index cb5990c7..00000000
--- a/json_server/node_modules/accepts/HISTORY.md
+++ /dev/null
@@ -1,243 +0,0 @@
-1.3.8 / 2022-02-02
-==================
-
- * deps: mime-types@~2.1.34
- - deps: mime-db@~1.51.0
- * deps: negotiator@0.6.3
-
-1.3.7 / 2019-04-29
-==================
-
- * deps: negotiator@0.6.2
- - Fix sorting charset, encoding, and language with extra parameters
-
-1.3.6 / 2019-04-28
-==================
-
- * deps: mime-types@~2.1.24
- - deps: mime-db@~1.40.0
-
-1.3.5 / 2018-02-28
-==================
-
- * deps: mime-types@~2.1.18
- - deps: mime-db@~1.33.0
-
-1.3.4 / 2017-08-22
-==================
-
- * deps: mime-types@~2.1.16
- - deps: mime-db@~1.29.0
-
-1.3.3 / 2016-05-02
-==================
-
- * deps: mime-types@~2.1.11
- - deps: mime-db@~1.23.0
- * deps: negotiator@0.6.1
- - perf: improve `Accept` parsing speed
- - perf: improve `Accept-Charset` parsing speed
- - perf: improve `Accept-Encoding` parsing speed
- - perf: improve `Accept-Language` parsing speed
-
-1.3.2 / 2016-03-08
-==================
-
- * deps: mime-types@~2.1.10
- - Fix extension of `application/dash+xml`
- - Update primary extension for `audio/mp4`
- - deps: mime-db@~1.22.0
-
-1.3.1 / 2016-01-19
-==================
-
- * deps: mime-types@~2.1.9
- - deps: mime-db@~1.21.0
-
-1.3.0 / 2015-09-29
-==================
-
- * deps: mime-types@~2.1.7
- - deps: mime-db@~1.19.0
- * deps: negotiator@0.6.0
- - Fix including type extensions in parameters in `Accept` parsing
- - Fix parsing `Accept` parameters with quoted equals
- - Fix parsing `Accept` parameters with quoted semicolons
- - Lazy-load modules from main entry point
- - perf: delay type concatenation until needed
- - perf: enable strict mode
- - perf: hoist regular expressions
- - perf: remove closures getting spec properties
- - perf: remove a closure from media type parsing
- - perf: remove property delete from media type parsing
-
-1.2.13 / 2015-09-06
-===================
-
- * deps: mime-types@~2.1.6
- - deps: mime-db@~1.18.0
-
-1.2.12 / 2015-07-30
-===================
-
- * deps: mime-types@~2.1.4
- - deps: mime-db@~1.16.0
-
-1.2.11 / 2015-07-16
-===================
-
- * deps: mime-types@~2.1.3
- - deps: mime-db@~1.15.0
-
-1.2.10 / 2015-07-01
-===================
-
- * deps: mime-types@~2.1.2
- - deps: mime-db@~1.14.0
-
-1.2.9 / 2015-06-08
-==================
-
- * deps: mime-types@~2.1.1
- - perf: fix deopt during mapping
-
-1.2.8 / 2015-06-07
-==================
-
- * deps: mime-types@~2.1.0
- - deps: mime-db@~1.13.0
- * perf: avoid argument reassignment & argument slice
- * perf: avoid negotiator recursive construction
- * perf: enable strict mode
- * perf: remove unnecessary bitwise operator
-
-1.2.7 / 2015-05-10
-==================
-
- * deps: negotiator@0.5.3
- - Fix media type parameter matching to be case-insensitive
-
-1.2.6 / 2015-05-07
-==================
-
- * deps: mime-types@~2.0.11
- - deps: mime-db@~1.9.1
- * deps: negotiator@0.5.2
- - Fix comparing media types with quoted values
- - Fix splitting media types with quoted commas
-
-1.2.5 / 2015-03-13
-==================
-
- * deps: mime-types@~2.0.10
- - deps: mime-db@~1.8.0
-
-1.2.4 / 2015-02-14
-==================
-
- * Support Node.js 0.6
- * deps: mime-types@~2.0.9
- - deps: mime-db@~1.7.0
- * deps: negotiator@0.5.1
- - Fix preference sorting to be stable for long acceptable lists
-
-1.2.3 / 2015-01-31
-==================
-
- * deps: mime-types@~2.0.8
- - deps: mime-db@~1.6.0
-
-1.2.2 / 2014-12-30
-==================
-
- * deps: mime-types@~2.0.7
- - deps: mime-db@~1.5.0
-
-1.2.1 / 2014-12-30
-==================
-
- * deps: mime-types@~2.0.5
- - deps: mime-db@~1.3.1
-
-1.2.0 / 2014-12-19
-==================
-
- * deps: negotiator@0.5.0
- - Fix list return order when large accepted list
- - Fix missing identity encoding when q=0 exists
- - Remove dynamic building of Negotiator class
-
-1.1.4 / 2014-12-10
-==================
-
- * deps: mime-types@~2.0.4
- - deps: mime-db@~1.3.0
-
-1.1.3 / 2014-11-09
-==================
-
- * deps: mime-types@~2.0.3
- - deps: mime-db@~1.2.0
-
-1.1.2 / 2014-10-14
-==================
-
- * deps: negotiator@0.4.9
- - Fix error when media type has invalid parameter
-
-1.1.1 / 2014-09-28
-==================
-
- * deps: mime-types@~2.0.2
- - deps: mime-db@~1.1.0
- * deps: negotiator@0.4.8
- - Fix all negotiations to be case-insensitive
- - Stable sort preferences of same quality according to client order
-
-1.1.0 / 2014-09-02
-==================
-
- * update `mime-types`
-
-1.0.7 / 2014-07-04
-==================
-
- * Fix wrong type returned from `type` when match after unknown extension
-
-1.0.6 / 2014-06-24
-==================
-
- * deps: negotiator@0.4.7
-
-1.0.5 / 2014-06-20
-==================
-
- * fix crash when unknown extension given
-
-1.0.4 / 2014-06-19
-==================
-
- * use `mime-types`
-
-1.0.3 / 2014-06-11
-==================
-
- * deps: negotiator@0.4.6
- - Order by specificity when quality is the same
-
-1.0.2 / 2014-05-29
-==================
-
- * Fix interpretation when header not in request
- * deps: pin negotiator@0.4.5
-
-1.0.1 / 2014-01-18
-==================
-
- * Identity encoding isn't always acceptable
- * deps: negotiator@~0.4.0
-
-1.0.0 / 2013-12-27
-==================
-
- * Genesis
diff --git a/json_server/node_modules/accepts/LICENSE b/json_server/node_modules/accepts/LICENSE
deleted file mode 100644
index 06166077..00000000
--- a/json_server/node_modules/accepts/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Jonathan Ong
-Copyright (c) 2015 Douglas Christopher Wilson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/json_server/node_modules/accepts/README.md b/json_server/node_modules/accepts/README.md
deleted file mode 100644
index 82680c53..00000000
--- a/json_server/node_modules/accepts/README.md
+++ /dev/null
@@ -1,140 +0,0 @@
-# accepts
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][github-actions-ci-image]][github-actions-ci-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Higher level content negotiation based on [negotiator](https://www.npmjs.com/package/negotiator).
-Extracted from [koa](https://www.npmjs.com/package/koa) for general use.
-
-In addition to negotiator, it allows:
-
-- Allows types as an array or arguments list, ie `(['text/html', 'application/json'])`
- as well as `('text/html', 'application/json')`.
-- Allows type shorthands such as `json`.
-- Returns `false` when no types match
-- Treats non-existent headers as `*`
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install accepts
-```
-
-## API
-
-```js
-var accepts = require('accepts')
-```
-
-### accepts(req)
-
-Create a new `Accepts` object for the given `req`.
-
-#### .charset(charsets)
-
-Return the first accepted charset. If nothing in `charsets` is accepted,
-then `false` is returned.
-
-#### .charsets()
-
-Return the charsets that the request accepts, in the order of the client's
-preference (most preferred first).
-
-#### .encoding(encodings)
-
-Return the first accepted encoding. If nothing in `encodings` is accepted,
-then `false` is returned.
-
-#### .encodings()
-
-Return the encodings that the request accepts, in the order of the client's
-preference (most preferred first).
-
-#### .language(languages)
-
-Return the first accepted language. If nothing in `languages` is accepted,
-then `false` is returned.
-
-#### .languages()
-
-Return the languages that the request accepts, in the order of the client's
-preference (most preferred first).
-
-#### .type(types)
-
-Return the first accepted type (and it is returned as the same text as what
-appears in the `types` array). If nothing in `types` is accepted, then `false`
-is returned.
-
-The `types` array can contain full MIME types or file extensions. Any value
-that is not a full MIME types is passed to `require('mime-types').lookup`.
-
-#### .types()
-
-Return the types that the request accepts, in the order of the client's
-preference (most preferred first).
-
-## Examples
-
-### Simple type negotiation
-
-This simple example shows how to use `accepts` to return a different typed
-respond body based on what the client wants to accept. The server lists it's
-preferences in order and will get back the best match between the client and
-server.
-
-```js
-var accepts = require('accepts')
-var http = require('http')
-
-function app (req, res) {
- var accept = accepts(req)
-
- // the order of this list is significant; should be server preferred order
- switch (accept.type(['json', 'html'])) {
- case 'json':
- res.setHeader('Content-Type', 'application/json')
- res.write('{"hello":"world!"}')
- break
- case 'html':
- res.setHeader('Content-Type', 'text/html')
- res.write('hello, world!')
- break
- default:
- // the fallback is text/plain, so no need to specify it above
- res.setHeader('Content-Type', 'text/plain')
- res.write('hello, world!')
- break
- }
-
- res.end()
-}
-
-http.createServer(app).listen(3000)
-```
-
-You can test this out with the cURL program:
-```sh
-curl -I -H'Accept: text/html' http://localhost:3000/
-```
-
-## License
-
-[MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/accepts/master
-[coveralls-url]: https://coveralls.io/r/jshttp/accepts?branch=master
-[github-actions-ci-image]: https://badgen.net/github/checks/jshttp/accepts/master?label=ci
-[github-actions-ci-url]: https://github.com/jshttp/accepts/actions/workflows/ci.yml
-[node-version-image]: https://badgen.net/npm/node/accepts
-[node-version-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/accepts
-[npm-url]: https://npmjs.org/package/accepts
-[npm-version-image]: https://badgen.net/npm/v/accepts
diff --git a/json_server/node_modules/accepts/index.js b/json_server/node_modules/accepts/index.js
deleted file mode 100644
index e9b2f63f..00000000
--- a/json_server/node_modules/accepts/index.js
+++ /dev/null
@@ -1,238 +0,0 @@
-/*!
- * accepts
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var Negotiator = require('negotiator')
-var mime = require('mime-types')
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = Accepts
-
-/**
- * Create a new Accepts object for the given req.
- *
- * @param {object} req
- * @public
- */
-
-function Accepts (req) {
- if (!(this instanceof Accepts)) {
- return new Accepts(req)
- }
-
- this.headers = req.headers
- this.negotiator = new Negotiator(req)
-}
-
-/**
- * Check if the given `type(s)` is acceptable, returning
- * the best match when true, otherwise `undefined`, in which
- * case you should respond with 406 "Not Acceptable".
- *
- * The `type` value may be a single mime type string
- * such as "application/json", the extension name
- * such as "json" or an array `["json", "html", "text/plain"]`. When a list
- * or array is given the _best_ match, if any is returned.
- *
- * Examples:
- *
- * // Accept: text/html
- * this.types('html');
- * // => "html"
- *
- * // Accept: text/*, application/json
- * this.types('html');
- * // => "html"
- * this.types('text/html');
- * // => "text/html"
- * this.types('json', 'text');
- * // => "json"
- * this.types('application/json');
- * // => "application/json"
- *
- * // Accept: text/*, application/json
- * this.types('image/png');
- * this.types('png');
- * // => undefined
- *
- * // Accept: text/*;q=.5, application/json
- * this.types(['html', 'json']);
- * this.types('html', 'json');
- * // => "json"
- *
- * @param {String|Array} types...
- * @return {String|Array|Boolean}
- * @public
- */
-
-Accepts.prototype.type =
-Accepts.prototype.types = function (types_) {
- var types = types_
-
- // support flattened arguments
- if (types && !Array.isArray(types)) {
- types = new Array(arguments.length)
- for (var i = 0; i < types.length; i++) {
- types[i] = arguments[i]
- }
- }
-
- // no types, return all requested types
- if (!types || types.length === 0) {
- return this.negotiator.mediaTypes()
- }
-
- // no accept header, return first given type
- if (!this.headers.accept) {
- return types[0]
- }
-
- var mimes = types.map(extToMime)
- var accepts = this.negotiator.mediaTypes(mimes.filter(validMime))
- var first = accepts[0]
-
- return first
- ? types[mimes.indexOf(first)]
- : false
-}
-
-/**
- * Return accepted encodings or best fit based on `encodings`.
- *
- * Given `Accept-Encoding: gzip, deflate`
- * an array sorted by quality is returned:
- *
- * ['gzip', 'deflate']
- *
- * @param {String|Array} encodings...
- * @return {String|Array}
- * @public
- */
-
-Accepts.prototype.encoding =
-Accepts.prototype.encodings = function (encodings_) {
- var encodings = encodings_
-
- // support flattened arguments
- if (encodings && !Array.isArray(encodings)) {
- encodings = new Array(arguments.length)
- for (var i = 0; i < encodings.length; i++) {
- encodings[i] = arguments[i]
- }
- }
-
- // no encodings, return all requested encodings
- if (!encodings || encodings.length === 0) {
- return this.negotiator.encodings()
- }
-
- return this.negotiator.encodings(encodings)[0] || false
-}
-
-/**
- * Return accepted charsets or best fit based on `charsets`.
- *
- * Given `Accept-Charset: utf-8, iso-8859-1;q=0.2, utf-7;q=0.5`
- * an array sorted by quality is returned:
- *
- * ['utf-8', 'utf-7', 'iso-8859-1']
- *
- * @param {String|Array} charsets...
- * @return {String|Array}
- * @public
- */
-
-Accepts.prototype.charset =
-Accepts.prototype.charsets = function (charsets_) {
- var charsets = charsets_
-
- // support flattened arguments
- if (charsets && !Array.isArray(charsets)) {
- charsets = new Array(arguments.length)
- for (var i = 0; i < charsets.length; i++) {
- charsets[i] = arguments[i]
- }
- }
-
- // no charsets, return all requested charsets
- if (!charsets || charsets.length === 0) {
- return this.negotiator.charsets()
- }
-
- return this.negotiator.charsets(charsets)[0] || false
-}
-
-/**
- * Return accepted languages or best fit based on `langs`.
- *
- * Given `Accept-Language: en;q=0.8, es, pt`
- * an array sorted by quality is returned:
- *
- * ['es', 'pt', 'en']
- *
- * @param {String|Array} langs...
- * @return {Array|String}
- * @public
- */
-
-Accepts.prototype.lang =
-Accepts.prototype.langs =
-Accepts.prototype.language =
-Accepts.prototype.languages = function (languages_) {
- var languages = languages_
-
- // support flattened arguments
- if (languages && !Array.isArray(languages)) {
- languages = new Array(arguments.length)
- for (var i = 0; i < languages.length; i++) {
- languages[i] = arguments[i]
- }
- }
-
- // no languages, return all requested languages
- if (!languages || languages.length === 0) {
- return this.negotiator.languages()
- }
-
- return this.negotiator.languages(languages)[0] || false
-}
-
-/**
- * Convert extnames to mime.
- *
- * @param {String} type
- * @return {String}
- * @private
- */
-
-function extToMime (type) {
- return type.indexOf('/') === -1
- ? mime.lookup(type)
- : type
-}
-
-/**
- * Check if mime is valid.
- *
- * @param {String} type
- * @return {String}
- * @private
- */
-
-function validMime (type) {
- return typeof type === 'string'
-}
diff --git a/json_server/node_modules/accepts/package.json b/json_server/node_modules/accepts/package.json
deleted file mode 100644
index 0f2d15da..00000000
--- a/json_server/node_modules/accepts/package.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "name": "accepts",
- "description": "Higher-level content negotiation",
- "version": "1.3.8",
- "contributors": [
- "Douglas Christopher Wilson ",
- "Jonathan Ong (http://jongleberry.com)"
- ],
- "license": "MIT",
- "repository": "jshttp/accepts",
- "dependencies": {
- "mime-types": "~2.1.34",
- "negotiator": "0.6.3"
- },
- "devDependencies": {
- "deep-equal": "1.0.1",
- "eslint": "7.32.0",
- "eslint-config-standard": "14.1.1",
- "eslint-plugin-import": "2.25.4",
- "eslint-plugin-markdown": "2.2.1",
- "eslint-plugin-node": "11.1.0",
- "eslint-plugin-promise": "4.3.1",
- "eslint-plugin-standard": "4.1.0",
- "mocha": "9.2.0",
- "nyc": "15.1.0"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "index.js"
- ],
- "engines": {
- "node": ">= 0.6"
- },
- "scripts": {
- "lint": "eslint .",
- "test": "mocha --reporter spec --check-leaks --bail test/",
- "test-ci": "nyc --reporter=lcov --reporter=text npm test",
- "test-cov": "nyc --reporter=html --reporter=text npm test"
- },
- "keywords": [
- "content",
- "negotiation",
- "accept",
- "accepts"
- ]
-}
diff --git a/json_server/node_modules/ansi-regex/index.d.ts b/json_server/node_modules/ansi-regex/index.d.ts
deleted file mode 100644
index 2dbf6af2..00000000
--- a/json_server/node_modules/ansi-regex/index.d.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-declare namespace ansiRegex {
- interface Options {
- /**
- Match only the first ANSI escape.
-
- @default false
- */
- onlyFirst: boolean;
- }
-}
-
-/**
-Regular expression for matching ANSI escape codes.
-
-@example
-```
-import ansiRegex = require('ansi-regex');
-
-ansiRegex().test('\u001B[4mcake\u001B[0m');
-//=> true
-
-ansiRegex().test('cake');
-//=> false
-
-'\u001B[4mcake\u001B[0m'.match(ansiRegex());
-//=> ['\u001B[4m', '\u001B[0m']
-
-'\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true}));
-//=> ['\u001B[4m']
-
-'\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex());
-//=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007']
-```
-*/
-declare function ansiRegex(options?: ansiRegex.Options): RegExp;
-
-export = ansiRegex;
diff --git a/json_server/node_modules/ansi-regex/index.js b/json_server/node_modules/ansi-regex/index.js
deleted file mode 100644
index 616ff837..00000000
--- a/json_server/node_modules/ansi-regex/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-'use strict';
-
-module.exports = ({onlyFirst = false} = {}) => {
- const pattern = [
- '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
- '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
- ].join('|');
-
- return new RegExp(pattern, onlyFirst ? undefined : 'g');
-};
diff --git a/json_server/node_modules/ansi-regex/license b/json_server/node_modules/ansi-regex/license
deleted file mode 100644
index e7af2f77..00000000
--- a/json_server/node_modules/ansi-regex/license
+++ /dev/null
@@ -1,9 +0,0 @@
-MIT License
-
-Copyright (c) Sindre Sorhus (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/json_server/node_modules/ansi-regex/package.json b/json_server/node_modules/ansi-regex/package.json
deleted file mode 100644
index 017f5311..00000000
--- a/json_server/node_modules/ansi-regex/package.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "name": "ansi-regex",
- "version": "5.0.1",
- "description": "Regular expression for matching ANSI escape codes",
- "license": "MIT",
- "repository": "chalk/ansi-regex",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=8"
- },
- "scripts": {
- "test": "xo && ava && tsd",
- "view-supported": "node fixtures/view-codes.js"
- },
- "files": [
- "index.js",
- "index.d.ts"
- ],
- "keywords": [
- "ansi",
- "styles",
- "color",
- "colour",
- "colors",
- "terminal",
- "console",
- "cli",
- "string",
- "tty",
- "escape",
- "formatting",
- "rgb",
- "256",
- "shell",
- "xterm",
- "command-line",
- "text",
- "regex",
- "regexp",
- "re",
- "match",
- "test",
- "find",
- "pattern"
- ],
- "devDependencies": {
- "ava": "^2.4.0",
- "tsd": "^0.9.0",
- "xo": "^0.25.3"
- }
-}
diff --git a/json_server/node_modules/ansi-regex/readme.md b/json_server/node_modules/ansi-regex/readme.md
deleted file mode 100644
index 4d848bc3..00000000
--- a/json_server/node_modules/ansi-regex/readme.md
+++ /dev/null
@@ -1,78 +0,0 @@
-# ansi-regex
-
-> Regular expression for matching [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)
-
-
-## Install
-
-```
-$ npm install ansi-regex
-```
-
-
-## Usage
-
-```js
-const ansiRegex = require('ansi-regex');
-
-ansiRegex().test('\u001B[4mcake\u001B[0m');
-//=> true
-
-ansiRegex().test('cake');
-//=> false
-
-'\u001B[4mcake\u001B[0m'.match(ansiRegex());
-//=> ['\u001B[4m', '\u001B[0m']
-
-'\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true}));
-//=> ['\u001B[4m']
-
-'\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex());
-//=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007']
-```
-
-
-## API
-
-### ansiRegex(options?)
-
-Returns a regex for matching ANSI escape codes.
-
-#### options
-
-Type: `object`
-
-##### onlyFirst
-
-Type: `boolean`
-Default: `false` *(Matches any ANSI escape codes in a string)*
-
-Match only the first ANSI escape.
-
-
-## FAQ
-
-### Why do you test for codes not in the ECMA 48 standard?
-
-Some of the codes we run as a test are codes that we acquired finding various lists of non-standard or manufacturer specific codes. We test for both standard and non-standard codes, as most of them follow the same or similar format and can be safely matched in strings without the risk of removing actual string content. There are a few non-standard control codes that do not follow the traditional format (i.e. they end in numbers) thus forcing us to exclude them from the test because we cannot reliably match them.
-
-On the historical side, those ECMA standards were established in the early 90's whereas the VT100, for example, was designed in the mid/late 70's. At that point in time, control codes were still pretty ungoverned and engineers used them for a multitude of things, namely to activate hardware ports that may have been proprietary. Somewhere else you see a similar 'anarchy' of codes is in the x86 architecture for processors; there are a ton of "interrupts" that can mean different things on certain brands of processors, most of which have been phased out.
-
-
-## Maintainers
-
-- [Sindre Sorhus](https://github.com/sindresorhus)
-- [Josh Junon](https://github.com/qix-)
-
-
----
-
-
diff --git a/json_server/node_modules/ansi-styles/index.d.ts b/json_server/node_modules/ansi-styles/index.d.ts
deleted file mode 100644
index 44a907e5..00000000
--- a/json_server/node_modules/ansi-styles/index.d.ts
+++ /dev/null
@@ -1,345 +0,0 @@
-declare type CSSColor =
- | 'aliceblue'
- | 'antiquewhite'
- | 'aqua'
- | 'aquamarine'
- | 'azure'
- | 'beige'
- | 'bisque'
- | 'black'
- | 'blanchedalmond'
- | 'blue'
- | 'blueviolet'
- | 'brown'
- | 'burlywood'
- | 'cadetblue'
- | 'chartreuse'
- | 'chocolate'
- | 'coral'
- | 'cornflowerblue'
- | 'cornsilk'
- | 'crimson'
- | 'cyan'
- | 'darkblue'
- | 'darkcyan'
- | 'darkgoldenrod'
- | 'darkgray'
- | 'darkgreen'
- | 'darkgrey'
- | 'darkkhaki'
- | 'darkmagenta'
- | 'darkolivegreen'
- | 'darkorange'
- | 'darkorchid'
- | 'darkred'
- | 'darksalmon'
- | 'darkseagreen'
- | 'darkslateblue'
- | 'darkslategray'
- | 'darkslategrey'
- | 'darkturquoise'
- | 'darkviolet'
- | 'deeppink'
- | 'deepskyblue'
- | 'dimgray'
- | 'dimgrey'
- | 'dodgerblue'
- | 'firebrick'
- | 'floralwhite'
- | 'forestgreen'
- | 'fuchsia'
- | 'gainsboro'
- | 'ghostwhite'
- | 'gold'
- | 'goldenrod'
- | 'gray'
- | 'green'
- | 'greenyellow'
- | 'grey'
- | 'honeydew'
- | 'hotpink'
- | 'indianred'
- | 'indigo'
- | 'ivory'
- | 'khaki'
- | 'lavender'
- | 'lavenderblush'
- | 'lawngreen'
- | 'lemonchiffon'
- | 'lightblue'
- | 'lightcoral'
- | 'lightcyan'
- | 'lightgoldenrodyellow'
- | 'lightgray'
- | 'lightgreen'
- | 'lightgrey'
- | 'lightpink'
- | 'lightsalmon'
- | 'lightseagreen'
- | 'lightskyblue'
- | 'lightslategray'
- | 'lightslategrey'
- | 'lightsteelblue'
- | 'lightyellow'
- | 'lime'
- | 'limegreen'
- | 'linen'
- | 'magenta'
- | 'maroon'
- | 'mediumaquamarine'
- | 'mediumblue'
- | 'mediumorchid'
- | 'mediumpurple'
- | 'mediumseagreen'
- | 'mediumslateblue'
- | 'mediumspringgreen'
- | 'mediumturquoise'
- | 'mediumvioletred'
- | 'midnightblue'
- | 'mintcream'
- | 'mistyrose'
- | 'moccasin'
- | 'navajowhite'
- | 'navy'
- | 'oldlace'
- | 'olive'
- | 'olivedrab'
- | 'orange'
- | 'orangered'
- | 'orchid'
- | 'palegoldenrod'
- | 'palegreen'
- | 'paleturquoise'
- | 'palevioletred'
- | 'papayawhip'
- | 'peachpuff'
- | 'peru'
- | 'pink'
- | 'plum'
- | 'powderblue'
- | 'purple'
- | 'rebeccapurple'
- | 'red'
- | 'rosybrown'
- | 'royalblue'
- | 'saddlebrown'
- | 'salmon'
- | 'sandybrown'
- | 'seagreen'
- | 'seashell'
- | 'sienna'
- | 'silver'
- | 'skyblue'
- | 'slateblue'
- | 'slategray'
- | 'slategrey'
- | 'snow'
- | 'springgreen'
- | 'steelblue'
- | 'tan'
- | 'teal'
- | 'thistle'
- | 'tomato'
- | 'turquoise'
- | 'violet'
- | 'wheat'
- | 'white'
- | 'whitesmoke'
- | 'yellow'
- | 'yellowgreen';
-
-declare namespace ansiStyles {
- interface ColorConvert {
- /**
- The RGB color space.
-
- @param red - (`0`-`255`)
- @param green - (`0`-`255`)
- @param blue - (`0`-`255`)
- */
- rgb(red: number, green: number, blue: number): string;
-
- /**
- The RGB HEX color space.
-
- @param hex - A hexadecimal string containing RGB data.
- */
- hex(hex: string): string;
-
- /**
- @param keyword - A CSS color name.
- */
- keyword(keyword: CSSColor): string;
-
- /**
- The HSL color space.
-
- @param hue - (`0`-`360`)
- @param saturation - (`0`-`100`)
- @param lightness - (`0`-`100`)
- */
- hsl(hue: number, saturation: number, lightness: number): string;
-
- /**
- The HSV color space.
-
- @param hue - (`0`-`360`)
- @param saturation - (`0`-`100`)
- @param value - (`0`-`100`)
- */
- hsv(hue: number, saturation: number, value: number): string;
-
- /**
- The HSV color space.
-
- @param hue - (`0`-`360`)
- @param whiteness - (`0`-`100`)
- @param blackness - (`0`-`100`)
- */
- hwb(hue: number, whiteness: number, blackness: number): string;
-
- /**
- Use a [4-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4-bit) to set text color.
- */
- ansi(ansi: number): string;
-
- /**
- Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color.
- */
- ansi256(ansi: number): string;
- }
-
- interface CSPair {
- /**
- The ANSI terminal control sequence for starting this style.
- */
- readonly open: string;
-
- /**
- The ANSI terminal control sequence for ending this style.
- */
- readonly close: string;
- }
-
- interface ColorBase {
- readonly ansi: ColorConvert;
- readonly ansi256: ColorConvert;
- readonly ansi16m: ColorConvert;
-
- /**
- The ANSI terminal control sequence for ending this color.
- */
- readonly close: string;
- }
-
- interface Modifier {
- /**
- Resets the current color chain.
- */
- readonly reset: CSPair;
-
- /**
- Make text bold.
- */
- readonly bold: CSPair;
-
- /**
- Emitting only a small amount of light.
- */
- readonly dim: CSPair;
-
- /**
- Make text italic. (Not widely supported)
- */
- readonly italic: CSPair;
-
- /**
- Make text underline. (Not widely supported)
- */
- readonly underline: CSPair;
-
- /**
- Inverse background and foreground colors.
- */
- readonly inverse: CSPair;
-
- /**
- Prints the text, but makes it invisible.
- */
- readonly hidden: CSPair;
-
- /**
- Puts a horizontal line through the center of the text. (Not widely supported)
- */
- readonly strikethrough: CSPair;
- }
-
- interface ForegroundColor {
- readonly black: CSPair;
- readonly red: CSPair;
- readonly green: CSPair;
- readonly yellow: CSPair;
- readonly blue: CSPair;
- readonly cyan: CSPair;
- readonly magenta: CSPair;
- readonly white: CSPair;
-
- /**
- Alias for `blackBright`.
- */
- readonly gray: CSPair;
-
- /**
- Alias for `blackBright`.
- */
- readonly grey: CSPair;
-
- readonly blackBright: CSPair;
- readonly redBright: CSPair;
- readonly greenBright: CSPair;
- readonly yellowBright: CSPair;
- readonly blueBright: CSPair;
- readonly cyanBright: CSPair;
- readonly magentaBright: CSPair;
- readonly whiteBright: CSPair;
- }
-
- interface BackgroundColor {
- readonly bgBlack: CSPair;
- readonly bgRed: CSPair;
- readonly bgGreen: CSPair;
- readonly bgYellow: CSPair;
- readonly bgBlue: CSPair;
- readonly bgCyan: CSPair;
- readonly bgMagenta: CSPair;
- readonly bgWhite: CSPair;
-
- /**
- Alias for `bgBlackBright`.
- */
- readonly bgGray: CSPair;
-
- /**
- Alias for `bgBlackBright`.
- */
- readonly bgGrey: CSPair;
-
- readonly bgBlackBright: CSPair;
- readonly bgRedBright: CSPair;
- readonly bgGreenBright: CSPair;
- readonly bgYellowBright: CSPair;
- readonly bgBlueBright: CSPair;
- readonly bgCyanBright: CSPair;
- readonly bgMagentaBright: CSPair;
- readonly bgWhiteBright: CSPair;
- }
-}
-
-declare const ansiStyles: {
- readonly modifier: ansiStyles.Modifier;
- readonly color: ansiStyles.ForegroundColor & ansiStyles.ColorBase;
- readonly bgColor: ansiStyles.BackgroundColor & ansiStyles.ColorBase;
- readonly codes: ReadonlyMap;
-} & ansiStyles.BackgroundColor & ansiStyles.ForegroundColor & ansiStyles.Modifier;
-
-export = ansiStyles;
diff --git a/json_server/node_modules/ansi-styles/index.js b/json_server/node_modules/ansi-styles/index.js
deleted file mode 100644
index 5d82581a..00000000
--- a/json_server/node_modules/ansi-styles/index.js
+++ /dev/null
@@ -1,163 +0,0 @@
-'use strict';
-
-const wrapAnsi16 = (fn, offset) => (...args) => {
- const code = fn(...args);
- return `\u001B[${code + offset}m`;
-};
-
-const wrapAnsi256 = (fn, offset) => (...args) => {
- const code = fn(...args);
- return `\u001B[${38 + offset};5;${code}m`;
-};
-
-const wrapAnsi16m = (fn, offset) => (...args) => {
- const rgb = fn(...args);
- return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
-};
-
-const ansi2ansi = n => n;
-const rgb2rgb = (r, g, b) => [r, g, b];
-
-const setLazyProperty = (object, property, get) => {
- Object.defineProperty(object, property, {
- get: () => {
- const value = get();
-
- Object.defineProperty(object, property, {
- value,
- enumerable: true,
- configurable: true
- });
-
- return value;
- },
- enumerable: true,
- configurable: true
- });
-};
-
-/** @type {typeof import('color-convert')} */
-let colorConvert;
-const makeDynamicStyles = (wrap, targetSpace, identity, isBackground) => {
- if (colorConvert === undefined) {
- colorConvert = require('color-convert');
- }
-
- const offset = isBackground ? 10 : 0;
- const styles = {};
-
- for (const [sourceSpace, suite] of Object.entries(colorConvert)) {
- const name = sourceSpace === 'ansi16' ? 'ansi' : sourceSpace;
- if (sourceSpace === targetSpace) {
- styles[name] = wrap(identity, offset);
- } else if (typeof suite === 'object') {
- styles[name] = wrap(suite[targetSpace], offset);
- }
- }
-
- return styles;
-};
-
-function assembleStyles() {
- const codes = new Map();
- const styles = {
- modifier: {
- reset: [0, 0],
- // 21 isn't widely supported and 22 does the same thing
- bold: [1, 22],
- dim: [2, 22],
- italic: [3, 23],
- underline: [4, 24],
- inverse: [7, 27],
- hidden: [8, 28],
- strikethrough: [9, 29]
- },
- color: {
- black: [30, 39],
- red: [31, 39],
- green: [32, 39],
- yellow: [33, 39],
- blue: [34, 39],
- magenta: [35, 39],
- cyan: [36, 39],
- white: [37, 39],
-
- // Bright color
- blackBright: [90, 39],
- redBright: [91, 39],
- greenBright: [92, 39],
- yellowBright: [93, 39],
- blueBright: [94, 39],
- magentaBright: [95, 39],
- cyanBright: [96, 39],
- whiteBright: [97, 39]
- },
- bgColor: {
- bgBlack: [40, 49],
- bgRed: [41, 49],
- bgGreen: [42, 49],
- bgYellow: [43, 49],
- bgBlue: [44, 49],
- bgMagenta: [45, 49],
- bgCyan: [46, 49],
- bgWhite: [47, 49],
-
- // Bright color
- bgBlackBright: [100, 49],
- bgRedBright: [101, 49],
- bgGreenBright: [102, 49],
- bgYellowBright: [103, 49],
- bgBlueBright: [104, 49],
- bgMagentaBright: [105, 49],
- bgCyanBright: [106, 49],
- bgWhiteBright: [107, 49]
- }
- };
-
- // Alias bright black as gray (and grey)
- styles.color.gray = styles.color.blackBright;
- styles.bgColor.bgGray = styles.bgColor.bgBlackBright;
- styles.color.grey = styles.color.blackBright;
- styles.bgColor.bgGrey = styles.bgColor.bgBlackBright;
-
- for (const [groupName, group] of Object.entries(styles)) {
- for (const [styleName, style] of Object.entries(group)) {
- styles[styleName] = {
- open: `\u001B[${style[0]}m`,
- close: `\u001B[${style[1]}m`
- };
-
- group[styleName] = styles[styleName];
-
- codes.set(style[0], style[1]);
- }
-
- Object.defineProperty(styles, groupName, {
- value: group,
- enumerable: false
- });
- }
-
- Object.defineProperty(styles, 'codes', {
- value: codes,
- enumerable: false
- });
-
- styles.color.close = '\u001B[39m';
- styles.bgColor.close = '\u001B[49m';
-
- setLazyProperty(styles.color, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, false));
- setLazyProperty(styles.color, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, false));
- setLazyProperty(styles.color, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, false));
- setLazyProperty(styles.bgColor, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, true));
- setLazyProperty(styles.bgColor, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, true));
- setLazyProperty(styles.bgColor, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, true));
-
- return styles;
-}
-
-// Make the export immutable
-Object.defineProperty(module, 'exports', {
- enumerable: true,
- get: assembleStyles
-});
diff --git a/json_server/node_modules/ansi-styles/license b/json_server/node_modules/ansi-styles/license
deleted file mode 100644
index e7af2f77..00000000
--- a/json_server/node_modules/ansi-styles/license
+++ /dev/null
@@ -1,9 +0,0 @@
-MIT License
-
-Copyright (c) Sindre Sorhus (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/json_server/node_modules/ansi-styles/package.json b/json_server/node_modules/ansi-styles/package.json
deleted file mode 100644
index 75393284..00000000
--- a/json_server/node_modules/ansi-styles/package.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "name": "ansi-styles",
- "version": "4.3.0",
- "description": "ANSI escape codes for styling strings in the terminal",
- "license": "MIT",
- "repository": "chalk/ansi-styles",
- "funding": "https://github.com/chalk/ansi-styles?sponsor=1",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=8"
- },
- "scripts": {
- "test": "xo && ava && tsd",
- "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor"
- },
- "files": [
- "index.js",
- "index.d.ts"
- ],
- "keywords": [
- "ansi",
- "styles",
- "color",
- "colour",
- "colors",
- "terminal",
- "console",
- "cli",
- "string",
- "tty",
- "escape",
- "formatting",
- "rgb",
- "256",
- "shell",
- "xterm",
- "log",
- "logging",
- "command-line",
- "text"
- ],
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "devDependencies": {
- "@types/color-convert": "^1.9.0",
- "ava": "^2.3.0",
- "svg-term-cli": "^2.1.1",
- "tsd": "^0.11.0",
- "xo": "^0.25.3"
- }
-}
diff --git a/json_server/node_modules/ansi-styles/readme.md b/json_server/node_modules/ansi-styles/readme.md
deleted file mode 100644
index 24883de8..00000000
--- a/json_server/node_modules/ansi-styles/readme.md
+++ /dev/null
@@ -1,152 +0,0 @@
-# ansi-styles [](https://travis-ci.org/chalk/ansi-styles)
-
-> [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
-
-You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
-
-
-
-## Install
-
-```
-$ npm install ansi-styles
-```
-
-## Usage
-
-```js
-const style = require('ansi-styles');
-
-console.log(`${style.green.open}Hello world!${style.green.close}`);
-
-
-// Color conversion between 16/256/truecolor
-// NOTE: If conversion goes to 16 colors or 256 colors, the original color
-// may be degraded to fit that color palette. This means terminals
-// that do not support 16 million colors will best-match the
-// original color.
-console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close);
-console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close);
-console.log(style.color.ansi16m.hex('#abcdef') + 'Hello world!' + style.color.close);
-```
-
-## API
-
-Each style has an `open` and `close` property.
-
-## Styles
-
-### Modifiers
-
-- `reset`
-- `bold`
-- `dim`
-- `italic` *(Not widely supported)*
-- `underline`
-- `inverse`
-- `hidden`
-- `strikethrough` *(Not widely supported)*
-
-### Colors
-
-- `black`
-- `red`
-- `green`
-- `yellow`
-- `blue`
-- `magenta`
-- `cyan`
-- `white`
-- `blackBright` (alias: `gray`, `grey`)
-- `redBright`
-- `greenBright`
-- `yellowBright`
-- `blueBright`
-- `magentaBright`
-- `cyanBright`
-- `whiteBright`
-
-### Background colors
-
-- `bgBlack`
-- `bgRed`
-- `bgGreen`
-- `bgYellow`
-- `bgBlue`
-- `bgMagenta`
-- `bgCyan`
-- `bgWhite`
-- `bgBlackBright` (alias: `bgGray`, `bgGrey`)
-- `bgRedBright`
-- `bgGreenBright`
-- `bgYellowBright`
-- `bgBlueBright`
-- `bgMagentaBright`
-- `bgCyanBright`
-- `bgWhiteBright`
-
-## Advanced usage
-
-By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.
-
-- `style.modifier`
-- `style.color`
-- `style.bgColor`
-
-###### Example
-
-```js
-console.log(style.color.green.open);
-```
-
-Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values.
-
-###### Example
-
-```js
-console.log(style.codes.get(36));
-//=> 39
-```
-
-## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728)
-
-`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors.
-
-The following color spaces from `color-convert` are supported:
-
-- `rgb`
-- `hex`
-- `keyword`
-- `hsl`
-- `hsv`
-- `hwb`
-- `ansi`
-- `ansi256`
-
-To use these, call the associated conversion function with the intended output, for example:
-
-```js
-style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code
-style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code
-
-style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
-style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
-
-style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code
-style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code
-```
-
-## Related
-
-- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal
-
-## Maintainers
-
-- [Sindre Sorhus](https://github.com/sindresorhus)
-- [Josh Junon](https://github.com/qix-)
-
-## For enterprise
-
-Available as part of the Tidelift Subscription.
-
-The maintainers of `ansi-styles` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-ansi-styles?utm_source=npm-ansi-styles&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
diff --git a/json_server/node_modules/array-flatten/LICENSE b/json_server/node_modules/array-flatten/LICENSE
deleted file mode 100644
index 983fbe8a..00000000
--- a/json_server/node_modules/array-flatten/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/json_server/node_modules/array-flatten/README.md b/json_server/node_modules/array-flatten/README.md
deleted file mode 100644
index 91fa5b63..00000000
--- a/json_server/node_modules/array-flatten/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# Array Flatten
-
-[![NPM version][npm-image]][npm-url]
-[![NPM downloads][downloads-image]][downloads-url]
-[![Build status][travis-image]][travis-url]
-[![Test coverage][coveralls-image]][coveralls-url]
-
-> Flatten an array of nested arrays into a single flat array. Accepts an optional depth.
-
-## Installation
-
-```
-npm install array-flatten --save
-```
-
-## Usage
-
-```javascript
-var flatten = require('array-flatten')
-
-flatten([1, [2, [3, [4, [5], 6], 7], 8], 9])
-//=> [1, 2, 3, 4, 5, 6, 7, 8, 9]
-
-flatten([1, [2, [3, [4, [5], 6], 7], 8], 9], 2)
-//=> [1, 2, 3, [4, [5], 6], 7, 8, 9]
-
-(function () {
- flatten(arguments) //=> [1, 2, 3]
-})(1, [2, 3])
-```
-
-## License
-
-MIT
-
-[npm-image]: https://img.shields.io/npm/v/array-flatten.svg?style=flat
-[npm-url]: https://npmjs.org/package/array-flatten
-[downloads-image]: https://img.shields.io/npm/dm/array-flatten.svg?style=flat
-[downloads-url]: https://npmjs.org/package/array-flatten
-[travis-image]: https://img.shields.io/travis/blakeembrey/array-flatten.svg?style=flat
-[travis-url]: https://travis-ci.org/blakeembrey/array-flatten
-[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/array-flatten.svg?style=flat
-[coveralls-url]: https://coveralls.io/r/blakeembrey/array-flatten?branch=master
diff --git a/json_server/node_modules/array-flatten/array-flatten.js b/json_server/node_modules/array-flatten/array-flatten.js
deleted file mode 100644
index 089117b3..00000000
--- a/json_server/node_modules/array-flatten/array-flatten.js
+++ /dev/null
@@ -1,64 +0,0 @@
-'use strict'
-
-/**
- * Expose `arrayFlatten`.
- */
-module.exports = arrayFlatten
-
-/**
- * Recursive flatten function with depth.
- *
- * @param {Array} array
- * @param {Array} result
- * @param {Number} depth
- * @return {Array}
- */
-function flattenWithDepth (array, result, depth) {
- for (var i = 0; i < array.length; i++) {
- var value = array[i]
-
- if (depth > 0 && Array.isArray(value)) {
- flattenWithDepth(value, result, depth - 1)
- } else {
- result.push(value)
- }
- }
-
- return result
-}
-
-/**
- * Recursive flatten function. Omitting depth is slightly faster.
- *
- * @param {Array} array
- * @param {Array} result
- * @return {Array}
- */
-function flattenForever (array, result) {
- for (var i = 0; i < array.length; i++) {
- var value = array[i]
-
- if (Array.isArray(value)) {
- flattenForever(value, result)
- } else {
- result.push(value)
- }
- }
-
- return result
-}
-
-/**
- * Flatten an array, with the ability to define a depth.
- *
- * @param {Array} array
- * @param {Number} depth
- * @return {Array}
- */
-function arrayFlatten (array, depth) {
- if (depth == null) {
- return flattenForever(array, [])
- }
-
- return flattenWithDepth(array, [], depth)
-}
diff --git a/json_server/node_modules/array-flatten/package.json b/json_server/node_modules/array-flatten/package.json
deleted file mode 100644
index 1a24e2a1..00000000
--- a/json_server/node_modules/array-flatten/package.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "name": "array-flatten",
- "version": "1.1.1",
- "description": "Flatten an array of nested arrays into a single flat array",
- "main": "array-flatten.js",
- "files": [
- "array-flatten.js",
- "LICENSE"
- ],
- "scripts": {
- "test": "istanbul cover _mocha -- -R spec"
- },
- "repository": {
- "type": "git",
- "url": "git://github.com/blakeembrey/array-flatten.git"
- },
- "keywords": [
- "array",
- "flatten",
- "arguments",
- "depth"
- ],
- "author": {
- "name": "Blake Embrey",
- "email": "hello@blakeembrey.com",
- "url": "http://blakeembrey.me"
- },
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/blakeembrey/array-flatten/issues"
- },
- "homepage": "https://github.com/blakeembrey/array-flatten",
- "devDependencies": {
- "istanbul": "^0.3.13",
- "mocha": "^2.2.4",
- "pre-commit": "^1.0.7",
- "standard": "^3.7.3"
- }
-}
diff --git a/json_server/node_modules/basic-auth/HISTORY.md b/json_server/node_modules/basic-auth/HISTORY.md
deleted file mode 100644
index 2c44a010..00000000
--- a/json_server/node_modules/basic-auth/HISTORY.md
+++ /dev/null
@@ -1,52 +0,0 @@
-2.0.1 / 2018-09-19
-==================
-
- * deps: safe-buffer@5.1.2
-
-2.0.0 / 2017-09-12
-==================
-
- * Drop support for Node.js below 0.8
- * Remove `auth(ctx)` signature -- pass in header or `auth(ctx.req)`
- * Use `safe-buffer` for improved Buffer API
-
-1.1.0 / 2016-11-18
-==================
-
- * Add `auth.parse` for low-level string parsing
-
-1.0.4 / 2016-05-10
-==================
-
- * Improve error message when `req` argument is not an object
- * Improve error message when `req` missing `headers` property
-
-1.0.3 / 2015-07-01
-==================
-
- * Fix regression accepting a Koa context
-
-1.0.2 / 2015-06-12
-==================
-
- * Improve error message when `req` argument missing
- * perf: enable strict mode
- * perf: hoist regular expression
- * perf: parse with regular expressions
- * perf: remove argument reassignment
-
-1.0.1 / 2015-05-04
-==================
-
- * Update readme
-
-1.0.0 / 2014-07-01
-==================
-
- * Support empty password
- * Support empty username
-
-0.0.1 / 2013-11-30
-==================
-
- * Initial release
diff --git a/json_server/node_modules/basic-auth/LICENSE b/json_server/node_modules/basic-auth/LICENSE
deleted file mode 100644
index 89041f61..00000000
--- a/json_server/node_modules/basic-auth/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2013 TJ Holowaychuk
-Copyright (c) 2014 Jonathan Ong
-Copyright (c) 2015-2016 Douglas Christopher Wilson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/json_server/node_modules/basic-auth/README.md b/json_server/node_modules/basic-auth/README.md
deleted file mode 100644
index 5f3d758b..00000000
--- a/json_server/node_modules/basic-auth/README.md
+++ /dev/null
@@ -1,113 +0,0 @@
-# basic-auth
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Generic basic auth Authorization header field parser for whatever.
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```
-$ npm install basic-auth
-```
-
-## API
-
-
-
-```js
-var auth = require('basic-auth')
-```
-
-### auth(req)
-
-Get the basic auth credentials from the given request. The `Authorization`
-header is parsed and if the header is invalid, `undefined` is returned,
-otherwise an object with `name` and `pass` properties.
-
-### auth.parse(string)
-
-Parse a basic auth authorization header string. This will return an object
-with `name` and `pass` properties, or `undefined` if the string is invalid.
-
-## Example
-
-Pass a Node.js request object to the module export. If parsing fails
-`undefined` is returned, otherwise an object with `.name` and `.pass`.
-
-
-
-```js
-var auth = require('basic-auth')
-var user = auth(req)
-// => { name: 'something', pass: 'whatever' }
-```
-
-A header string from any other location can also be parsed with
-`auth.parse`, for example a `Proxy-Authorization` header:
-
-
-
-```js
-var auth = require('basic-auth')
-var user = auth.parse(req.getHeader('Proxy-Authorization'))
-```
-
-### With vanilla node.js http server
-
-```js
-var http = require('http')
-var auth = require('basic-auth')
-var compare = require('tsscmp')
-
-// Create server
-var server = http.createServer(function (req, res) {
- var credentials = auth(req)
-
- // Check credentials
- // The "check" function will typically be against your user store
- if (!credentials || !check(credentials.name, credentials.pass)) {
- res.statusCode = 401
- res.setHeader('WWW-Authenticate', 'Basic realm="example"')
- res.end('Access denied')
- } else {
- res.end('Access granted')
- }
-})
-
-// Basic function to validate credentials for example
-function check (name, pass) {
- var valid = true
-
- // Simple method to prevent short-circut and use timing-safe compare
- valid = compare(name, 'john') && valid
- valid = compare(pass, 'secret') && valid
-
- return valid
-}
-
-// Listen
-server.listen(3000)
-```
-
-# License
-
-[MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/basic-auth/master
-[coveralls-url]: https://coveralls.io/r/jshttp/basic-auth?branch=master
-[downloads-image]: https://badgen.net/npm/dm/basic-auth
-[downloads-url]: https://npmjs.org/package/basic-auth
-[node-version-image]: https://badgen.net/npm/node/basic-auth
-[node-version-url]: https://nodejs.org/en/download
-[npm-image]: https://badgen.net/npm/v/basic-auth
-[npm-url]: https://npmjs.org/package/basic-auth
-[travis-image]: https://badgen.net/travis/jshttp/basic-auth/master
-[travis-url]: https://travis-ci.org/jshttp/basic-auth
diff --git a/json_server/node_modules/basic-auth/index.js b/json_server/node_modules/basic-auth/index.js
deleted file mode 100644
index 9106e646..00000000
--- a/json_server/node_modules/basic-auth/index.js
+++ /dev/null
@@ -1,133 +0,0 @@
-/*!
- * basic-auth
- * Copyright(c) 2013 TJ Holowaychuk
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2015-2016 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var Buffer = require('safe-buffer').Buffer
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = auth
-module.exports.parse = parse
-
-/**
- * RegExp for basic auth credentials
- *
- * credentials = auth-scheme 1*SP token68
- * auth-scheme = "Basic" ; case insensitive
- * token68 = 1*( ALPHA / DIGIT / "-" / "." / "_" / "~" / "+" / "/" ) *"="
- * @private
- */
-
-var CREDENTIALS_REGEXP = /^ *(?:[Bb][Aa][Ss][Ii][Cc]) +([A-Za-z0-9._~+/-]+=*) *$/
-
-/**
- * RegExp for basic auth user/pass
- *
- * user-pass = userid ":" password
- * userid = *
- * password = *TEXT
- * @private
- */
-
-var USER_PASS_REGEXP = /^([^:]*):(.*)$/
-
-/**
- * Parse the Authorization header field of a request.
- *
- * @param {object} req
- * @return {object} with .name and .pass
- * @public
- */
-
-function auth (req) {
- if (!req) {
- throw new TypeError('argument req is required')
- }
-
- if (typeof req !== 'object') {
- throw new TypeError('argument req is required to be an object')
- }
-
- // get header
- var header = getAuthorization(req)
-
- // parse header
- return parse(header)
-}
-
-/**
- * Decode base64 string.
- * @private
- */
-
-function decodeBase64 (str) {
- return Buffer.from(str, 'base64').toString()
-}
-
-/**
- * Get the Authorization header from request object.
- * @private
- */
-
-function getAuthorization (req) {
- if (!req.headers || typeof req.headers !== 'object') {
- throw new TypeError('argument req is required to have headers property')
- }
-
- return req.headers.authorization
-}
-
-/**
- * Parse basic auth to object.
- *
- * @param {string} string
- * @return {object}
- * @public
- */
-
-function parse (string) {
- if (typeof string !== 'string') {
- return undefined
- }
-
- // parse header
- var match = CREDENTIALS_REGEXP.exec(string)
-
- if (!match) {
- return undefined
- }
-
- // decode user pass
- var userPass = USER_PASS_REGEXP.exec(decodeBase64(match[1]))
-
- if (!userPass) {
- return undefined
- }
-
- // return credentials object
- return new Credentials(userPass[1], userPass[2])
-}
-
-/**
- * Object to represent user credentials.
- * @private
- */
-
-function Credentials (name, pass) {
- this.name = name
- this.pass = pass
-}
diff --git a/json_server/node_modules/basic-auth/package.json b/json_server/node_modules/basic-auth/package.json
deleted file mode 100644
index 01bd8dc3..00000000
--- a/json_server/node_modules/basic-auth/package.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "basic-auth",
- "description": "node.js basic auth parser",
- "version": "2.0.1",
- "license": "MIT",
- "keywords": [
- "basic",
- "auth",
- "authorization",
- "basicauth"
- ],
- "repository": "jshttp/basic-auth",
- "dependencies": {
- "safe-buffer": "5.1.2"
- },
- "devDependencies": {
- "eslint": "5.6.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.14.0",
- "eslint-plugin-markdown": "1.0.0-beta.6",
- "eslint-plugin-node": "7.0.1",
- "eslint-plugin-promise": "4.0.1",
- "eslint-plugin-standard": "4.0.0",
- "istanbul": "0.4.5",
- "mocha": "5.2.0"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "index.js"
- ],
- "engines": {
- "node": ">= 0.8"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --check-leaks --reporter spec --bail",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- }
-}
diff --git a/json_server/node_modules/body-parser/HISTORY.md b/json_server/node_modules/body-parser/HISTORY.md
deleted file mode 100644
index fb212b36..00000000
--- a/json_server/node_modules/body-parser/HISTORY.md
+++ /dev/null
@@ -1,657 +0,0 @@
-1.20.1 / 2022-10-06
-===================
-
- * deps: qs@6.11.0
- * perf: remove unnecessary object clone
-
-1.20.0 / 2022-04-02
-===================
-
- * Fix error message for json parse whitespace in `strict`
- * Fix internal error when inflated body exceeds limit
- * Prevent loss of async hooks context
- * Prevent hanging when request already read
- * deps: depd@2.0.0
- - Replace internal `eval` usage with `Function` constructor
- - Use instance methods on `process` to check for listeners
- * deps: http-errors@2.0.0
- - deps: depd@2.0.0
- - deps: statuses@2.0.1
- * deps: on-finished@2.4.1
- * deps: qs@6.10.3
- * deps: raw-body@2.5.1
- - deps: http-errors@2.0.0
-
-1.19.2 / 2022-02-15
-===================
-
- * deps: bytes@3.1.2
- * deps: qs@6.9.7
- * Fix handling of `__proto__` keys
- * deps: raw-body@2.4.3
- - deps: bytes@3.1.2
-
-1.19.1 / 2021-12-10
-===================
-
- * deps: bytes@3.1.1
- * deps: http-errors@1.8.1
- - deps: inherits@2.0.4
- - deps: toidentifier@1.0.1
- - deps: setprototypeof@1.2.0
- * deps: qs@6.9.6
- * deps: raw-body@2.4.2
- - deps: bytes@3.1.1
- - deps: http-errors@1.8.1
- * deps: safe-buffer@5.2.1
- * deps: type-is@~1.6.18
-
-1.19.0 / 2019-04-25
-===================
-
- * deps: bytes@3.1.0
- - Add petabyte (`pb`) support
- * deps: http-errors@1.7.2
- - Set constructor name when possible
- - deps: setprototypeof@1.1.1
- - deps: statuses@'>= 1.5.0 < 2'
- * deps: iconv-lite@0.4.24
- - Added encoding MIK
- * deps: qs@6.7.0
- - Fix parsing array brackets after index
- * deps: raw-body@2.4.0
- - deps: bytes@3.1.0
- - deps: http-errors@1.7.2
- - deps: iconv-lite@0.4.24
- * deps: type-is@~1.6.17
- - deps: mime-types@~2.1.24
- - perf: prevent internal `throw` on invalid type
-
-1.18.3 / 2018-05-14
-===================
-
- * Fix stack trace for strict json parse error
- * deps: depd@~1.1.2
- - perf: remove argument reassignment
- * deps: http-errors@~1.6.3
- - deps: depd@~1.1.2
- - deps: setprototypeof@1.1.0
- - deps: statuses@'>= 1.3.1 < 2'
- * deps: iconv-lite@0.4.23
- - Fix loading encoding with year appended
- - Fix deprecation warnings on Node.js 10+
- * deps: qs@6.5.2
- * deps: raw-body@2.3.3
- - deps: http-errors@1.6.3
- - deps: iconv-lite@0.4.23
- * deps: type-is@~1.6.16
- - deps: mime-types@~2.1.18
-
-1.18.2 / 2017-09-22
-===================
-
- * deps: debug@2.6.9
- * perf: remove argument reassignment
-
-1.18.1 / 2017-09-12
-===================
-
- * deps: content-type@~1.0.4
- - perf: remove argument reassignment
- - perf: skip parameter parsing when no parameters
- * deps: iconv-lite@0.4.19
- - Fix ISO-8859-1 regression
- - Update Windows-1255
- * deps: qs@6.5.1
- - Fix parsing & compacting very deep objects
- * deps: raw-body@2.3.2
- - deps: iconv-lite@0.4.19
-
-1.18.0 / 2017-09-08
-===================
-
- * Fix JSON strict violation error to match native parse error
- * Include the `body` property on verify errors
- * Include the `type` property on all generated errors
- * Use `http-errors` to set status code on errors
- * deps: bytes@3.0.0
- * deps: debug@2.6.8
- * deps: depd@~1.1.1
- - Remove unnecessary `Buffer` loading
- * deps: http-errors@~1.6.2
- - deps: depd@1.1.1
- * deps: iconv-lite@0.4.18
- - Add support for React Native
- - Add a warning if not loaded as utf-8
- - Fix CESU-8 decoding in Node.js 8
- - Improve speed of ISO-8859-1 encoding
- * deps: qs@6.5.0
- * deps: raw-body@2.3.1
- - Use `http-errors` for standard emitted errors
- - deps: bytes@3.0.0
- - deps: iconv-lite@0.4.18
- - perf: skip buffer decoding on overage chunk
- * perf: prevent internal `throw` when missing charset
-
-1.17.2 / 2017-05-17
-===================
-
- * deps: debug@2.6.7
- - Fix `DEBUG_MAX_ARRAY_LENGTH`
- - deps: ms@2.0.0
- * deps: type-is@~1.6.15
- - deps: mime-types@~2.1.15
-
-1.17.1 / 2017-03-06
-===================
-
- * deps: qs@6.4.0
- - Fix regression parsing keys starting with `[`
-
-1.17.0 / 2017-03-01
-===================
-
- * deps: http-errors@~1.6.1
- - Make `message` property enumerable for `HttpError`s
- - deps: setprototypeof@1.0.3
- * deps: qs@6.3.1
- - Fix compacting nested arrays
-
-1.16.1 / 2017-02-10
-===================
-
- * deps: debug@2.6.1
- - Fix deprecation messages in WebStorm and other editors
- - Undeprecate `DEBUG_FD` set to `1` or `2`
-
-1.16.0 / 2017-01-17
-===================
-
- * deps: debug@2.6.0
- - Allow colors in workers
- - Deprecated `DEBUG_FD` environment variable
- - Fix error when running under React Native
- - Use same color for same namespace
- - deps: ms@0.7.2
- * deps: http-errors@~1.5.1
- - deps: inherits@2.0.3
- - deps: setprototypeof@1.0.2
- - deps: statuses@'>= 1.3.1 < 2'
- * deps: iconv-lite@0.4.15
- - Added encoding MS-31J
- - Added encoding MS-932
- - Added encoding MS-936
- - Added encoding MS-949
- - Added encoding MS-950
- - Fix GBK/GB18030 handling of Euro character
- * deps: qs@6.2.1
- - Fix array parsing from skipping empty values
- * deps: raw-body@~2.2.0
- - deps: iconv-lite@0.4.15
- * deps: type-is@~1.6.14
- - deps: mime-types@~2.1.13
-
-1.15.2 / 2016-06-19
-===================
-
- * deps: bytes@2.4.0
- * deps: content-type@~1.0.2
- - perf: enable strict mode
- * deps: http-errors@~1.5.0
- - Use `setprototypeof` module to replace `__proto__` setting
- - deps: statuses@'>= 1.3.0 < 2'
- - perf: enable strict mode
- * deps: qs@6.2.0
- * deps: raw-body@~2.1.7
- - deps: bytes@2.4.0
- - perf: remove double-cleanup on happy path
- * deps: type-is@~1.6.13
- - deps: mime-types@~2.1.11
-
-1.15.1 / 2016-05-05
-===================
-
- * deps: bytes@2.3.0
- - Drop partial bytes on all parsed units
- - Fix parsing byte string that looks like hex
- * deps: raw-body@~2.1.6
- - deps: bytes@2.3.0
- * deps: type-is@~1.6.12
- - deps: mime-types@~2.1.10
-
-1.15.0 / 2016-02-10
-===================
-
- * deps: http-errors@~1.4.0
- - Add `HttpError` export, for `err instanceof createError.HttpError`
- - deps: inherits@2.0.1
- - deps: statuses@'>= 1.2.1 < 2'
- * deps: qs@6.1.0
- * deps: type-is@~1.6.11
- - deps: mime-types@~2.1.9
-
-1.14.2 / 2015-12-16
-===================
-
- * deps: bytes@2.2.0
- * deps: iconv-lite@0.4.13
- * deps: qs@5.2.0
- * deps: raw-body@~2.1.5
- - deps: bytes@2.2.0
- - deps: iconv-lite@0.4.13
- * deps: type-is@~1.6.10
- - deps: mime-types@~2.1.8
-
-1.14.1 / 2015-09-27
-===================
-
- * Fix issue where invalid charset results in 400 when `verify` used
- * deps: iconv-lite@0.4.12
- - Fix CESU-8 decoding in Node.js 4.x
- * deps: raw-body@~2.1.4
- - Fix masking critical errors from `iconv-lite`
- - deps: iconv-lite@0.4.12
- * deps: type-is@~1.6.9
- - deps: mime-types@~2.1.7
-
-1.14.0 / 2015-09-16
-===================
-
- * Fix JSON strict parse error to match syntax errors
- * Provide static `require` analysis in `urlencoded` parser
- * deps: depd@~1.1.0
- - Support web browser loading
- * deps: qs@5.1.0
- * deps: raw-body@~2.1.3
- - Fix sync callback when attaching data listener causes sync read
- * deps: type-is@~1.6.8
- - Fix type error when given invalid type to match against
- - deps: mime-types@~2.1.6
-
-1.13.3 / 2015-07-31
-===================
-
- * deps: type-is@~1.6.6
- - deps: mime-types@~2.1.4
-
-1.13.2 / 2015-07-05
-===================
-
- * deps: iconv-lite@0.4.11
- * deps: qs@4.0.0
- - Fix dropping parameters like `hasOwnProperty`
- - Fix user-visible incompatibilities from 3.1.0
- - Fix various parsing edge cases
- * deps: raw-body@~2.1.2
- - Fix error stack traces to skip `makeError`
- - deps: iconv-lite@0.4.11
- * deps: type-is@~1.6.4
- - deps: mime-types@~2.1.2
- - perf: enable strict mode
- - perf: remove argument reassignment
-
-1.13.1 / 2015-06-16
-===================
-
- * deps: qs@2.4.2
- - Downgraded from 3.1.0 because of user-visible incompatibilities
-
-1.13.0 / 2015-06-14
-===================
-
- * Add `statusCode` property on `Error`s, in addition to `status`
- * Change `type` default to `application/json` for JSON parser
- * Change `type` default to `application/x-www-form-urlencoded` for urlencoded parser
- * Provide static `require` analysis
- * Use the `http-errors` module to generate errors
- * deps: bytes@2.1.0
- - Slight optimizations
- * deps: iconv-lite@0.4.10
- - The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails
- - Leading BOM is now removed when decoding
- * deps: on-finished@~2.3.0
- - Add defined behavior for HTTP `CONNECT` requests
- - Add defined behavior for HTTP `Upgrade` requests
- - deps: ee-first@1.1.1
- * deps: qs@3.1.0
- - Fix dropping parameters like `hasOwnProperty`
- - Fix various parsing edge cases
- - Parsed object now has `null` prototype
- * deps: raw-body@~2.1.1
- - Use `unpipe` module for unpiping requests
- - deps: iconv-lite@0.4.10
- * deps: type-is@~1.6.3
- - deps: mime-types@~2.1.1
- - perf: reduce try block size
- - perf: remove bitwise operations
- * perf: enable strict mode
- * perf: remove argument reassignment
- * perf: remove delete call
-
-1.12.4 / 2015-05-10
-===================
-
- * deps: debug@~2.2.0
- * deps: qs@2.4.2
- - Fix allowing parameters like `constructor`
- * deps: on-finished@~2.2.1
- * deps: raw-body@~2.0.1
- - Fix a false-positive when unpiping in Node.js 0.8
- - deps: bytes@2.0.1
- * deps: type-is@~1.6.2
- - deps: mime-types@~2.0.11
-
-1.12.3 / 2015-04-15
-===================
-
- * Slight efficiency improvement when not debugging
- * deps: depd@~1.0.1
- * deps: iconv-lite@0.4.8
- - Add encoding alias UNICODE-1-1-UTF-7
- * deps: raw-body@1.3.4
- - Fix hanging callback if request aborts during read
- - deps: iconv-lite@0.4.8
-
-1.12.2 / 2015-03-16
-===================
-
- * deps: qs@2.4.1
- - Fix error when parameter `hasOwnProperty` is present
-
-1.12.1 / 2015-03-15
-===================
-
- * deps: debug@~2.1.3
- - Fix high intensity foreground color for bold
- - deps: ms@0.7.0
- * deps: type-is@~1.6.1
- - deps: mime-types@~2.0.10
-
-1.12.0 / 2015-02-13
-===================
-
- * add `debug` messages
- * accept a function for the `type` option
- * use `content-type` to parse `Content-Type` headers
- * deps: iconv-lite@0.4.7
- - Gracefully support enumerables on `Object.prototype`
- * deps: raw-body@1.3.3
- - deps: iconv-lite@0.4.7
- * deps: type-is@~1.6.0
- - fix argument reassignment
- - fix false-positives in `hasBody` `Transfer-Encoding` check
- - support wildcard for both type and subtype (`*/*`)
- - deps: mime-types@~2.0.9
-
-1.11.0 / 2015-01-30
-===================
-
- * make internal `extended: true` depth limit infinity
- * deps: type-is@~1.5.6
- - deps: mime-types@~2.0.8
-
-1.10.2 / 2015-01-20
-===================
-
- * deps: iconv-lite@0.4.6
- - Fix rare aliases of single-byte encodings
- * deps: raw-body@1.3.2
- - deps: iconv-lite@0.4.6
-
-1.10.1 / 2015-01-01
-===================
-
- * deps: on-finished@~2.2.0
- * deps: type-is@~1.5.5
- - deps: mime-types@~2.0.7
-
-1.10.0 / 2014-12-02
-===================
-
- * make internal `extended: true` array limit dynamic
-
-1.9.3 / 2014-11-21
-==================
-
- * deps: iconv-lite@0.4.5
- - Fix Windows-31J and X-SJIS encoding support
- * deps: qs@2.3.3
- - Fix `arrayLimit` behavior
- * deps: raw-body@1.3.1
- - deps: iconv-lite@0.4.5
- * deps: type-is@~1.5.3
- - deps: mime-types@~2.0.3
-
-1.9.2 / 2014-10-27
-==================
-
- * deps: qs@2.3.2
- - Fix parsing of mixed objects and values
-
-1.9.1 / 2014-10-22
-==================
-
- * deps: on-finished@~2.1.1
- - Fix handling of pipelined requests
- * deps: qs@2.3.0
- - Fix parsing of mixed implicit and explicit arrays
- * deps: type-is@~1.5.2
- - deps: mime-types@~2.0.2
-
-1.9.0 / 2014-09-24
-==================
-
- * include the charset in "unsupported charset" error message
- * include the encoding in "unsupported content encoding" error message
- * deps: depd@~1.0.0
-
-1.8.4 / 2014-09-23
-==================
-
- * fix content encoding to be case-insensitive
-
-1.8.3 / 2014-09-19
-==================
-
- * deps: qs@2.2.4
- - Fix issue with object keys starting with numbers truncated
-
-1.8.2 / 2014-09-15
-==================
-
- * deps: depd@0.4.5
-
-1.8.1 / 2014-09-07
-==================
-
- * deps: media-typer@0.3.0
- * deps: type-is@~1.5.1
-
-1.8.0 / 2014-09-05
-==================
-
- * make empty-body-handling consistent between chunked requests
- - empty `json` produces `{}`
- - empty `raw` produces `new Buffer(0)`
- - empty `text` produces `''`
- - empty `urlencoded` produces `{}`
- * deps: qs@2.2.3
- - Fix issue where first empty value in array is discarded
- * deps: type-is@~1.5.0
- - fix `hasbody` to be true for `content-length: 0`
-
-1.7.0 / 2014-09-01
-==================
-
- * add `parameterLimit` option to `urlencoded` parser
- * change `urlencoded` extended array limit to 100
- * respond with 413 when over `parameterLimit` in `urlencoded`
-
-1.6.7 / 2014-08-29
-==================
-
- * deps: qs@2.2.2
- - Remove unnecessary cloning
-
-1.6.6 / 2014-08-27
-==================
-
- * deps: qs@2.2.0
- - Array parsing fix
- - Performance improvements
-
-1.6.5 / 2014-08-16
-==================
-
- * deps: on-finished@2.1.0
-
-1.6.4 / 2014-08-14
-==================
-
- * deps: qs@1.2.2
-
-1.6.3 / 2014-08-10
-==================
-
- * deps: qs@1.2.1
-
-1.6.2 / 2014-08-07
-==================
-
- * deps: qs@1.2.0
- - Fix parsing array of objects
-
-1.6.1 / 2014-08-06
-==================
-
- * deps: qs@1.1.0
- - Accept urlencoded square brackets
- - Accept empty values in implicit array notation
-
-1.6.0 / 2014-08-05
-==================
-
- * deps: qs@1.0.2
- - Complete rewrite
- - Limits array length to 20
- - Limits object depth to 5
- - Limits parameters to 1,000
-
-1.5.2 / 2014-07-27
-==================
-
- * deps: depd@0.4.4
- - Work-around v8 generating empty stack traces
-
-1.5.1 / 2014-07-26
-==================
-
- * deps: depd@0.4.3
- - Fix exception when global `Error.stackTraceLimit` is too low
-
-1.5.0 / 2014-07-20
-==================
-
- * deps: depd@0.4.2
- - Add `TRACE_DEPRECATION` environment variable
- - Remove non-standard grey color from color output
- - Support `--no-deprecation` argument
- - Support `--trace-deprecation` argument
- * deps: iconv-lite@0.4.4
- - Added encoding UTF-7
- * deps: raw-body@1.3.0
- - deps: iconv-lite@0.4.4
- - Added encoding UTF-7
- - Fix `Cannot switch to old mode now` error on Node.js 0.10+
- * deps: type-is@~1.3.2
-
-1.4.3 / 2014-06-19
-==================
-
- * deps: type-is@1.3.1
- - fix global variable leak
-
-1.4.2 / 2014-06-19
-==================
-
- * deps: type-is@1.3.0
- - improve type parsing
-
-1.4.1 / 2014-06-19
-==================
-
- * fix urlencoded extended deprecation message
-
-1.4.0 / 2014-06-19
-==================
-
- * add `text` parser
- * add `raw` parser
- * check accepted charset in content-type (accepts utf-8)
- * check accepted encoding in content-encoding (accepts identity)
- * deprecate `bodyParser()` middleware; use `.json()` and `.urlencoded()` as needed
- * deprecate `urlencoded()` without provided `extended` option
- * lazy-load urlencoded parsers
- * parsers split into files for reduced mem usage
- * support gzip and deflate bodies
- - set `inflate: false` to turn off
- * deps: raw-body@1.2.2
- - Support all encodings from `iconv-lite`
-
-1.3.1 / 2014-06-11
-==================
-
- * deps: type-is@1.2.1
- - Switch dependency from mime to mime-types@1.0.0
-
-1.3.0 / 2014-05-31
-==================
-
- * add `extended` option to urlencoded parser
-
-1.2.2 / 2014-05-27
-==================
-
- * deps: raw-body@1.1.6
- - assert stream encoding on node.js 0.8
- - assert stream encoding on node.js < 0.10.6
- - deps: bytes@1
-
-1.2.1 / 2014-05-26
-==================
-
- * invoke `next(err)` after request fully read
- - prevents hung responses and socket hang ups
-
-1.2.0 / 2014-05-11
-==================
-
- * add `verify` option
- * deps: type-is@1.2.0
- - support suffix matching
-
-1.1.2 / 2014-05-11
-==================
-
- * improve json parser speed
-
-1.1.1 / 2014-05-11
-==================
-
- * fix repeated limit parsing with every request
-
-1.1.0 / 2014-05-10
-==================
-
- * add `type` option
- * deps: pin for safety and consistency
-
-1.0.2 / 2014-04-14
-==================
-
- * use `type-is` module
-
-1.0.1 / 2014-03-20
-==================
-
- * lower default limits to 100kb
diff --git a/json_server/node_modules/body-parser/LICENSE b/json_server/node_modules/body-parser/LICENSE
deleted file mode 100644
index 386b7b69..00000000
--- a/json_server/node_modules/body-parser/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Jonathan Ong
-Copyright (c) 2014-2015 Douglas Christopher Wilson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/json_server/node_modules/body-parser/README.md b/json_server/node_modules/body-parser/README.md
deleted file mode 100644
index c507cbb0..00000000
--- a/json_server/node_modules/body-parser/README.md
+++ /dev/null
@@ -1,464 +0,0 @@
-# body-parser
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Build Status][github-actions-ci-image]][github-actions-ci-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Node.js body parsing middleware.
-
-Parse incoming request bodies in a middleware before your handlers, available
-under the `req.body` property.
-
-**Note** As `req.body`'s shape is based on user-controlled input, all
-properties and values in this object are untrusted and should be validated
-before trusting. For example, `req.body.foo.toString()` may fail in multiple
-ways, for example the `foo` property may not be there or may not be a string,
-and `toString` may not be a function and instead a string or other user input.
-
-[Learn about the anatomy of an HTTP transaction in Node.js](https://nodejs.org/en/docs/guides/anatomy-of-an-http-transaction/).
-
-_This does not handle multipart bodies_, due to their complex and typically
-large nature. For multipart bodies, you may be interested in the following
-modules:
-
- * [busboy](https://www.npmjs.org/package/busboy#readme) and
- [connect-busboy](https://www.npmjs.org/package/connect-busboy#readme)
- * [multiparty](https://www.npmjs.org/package/multiparty#readme) and
- [connect-multiparty](https://www.npmjs.org/package/connect-multiparty#readme)
- * [formidable](https://www.npmjs.org/package/formidable#readme)
- * [multer](https://www.npmjs.org/package/multer#readme)
-
-This module provides the following parsers:
-
- * [JSON body parser](#bodyparserjsonoptions)
- * [Raw body parser](#bodyparserrawoptions)
- * [Text body parser](#bodyparsertextoptions)
- * [URL-encoded form body parser](#bodyparserurlencodedoptions)
-
-Other body parsers you might be interested in:
-
-- [body](https://www.npmjs.org/package/body#readme)
-- [co-body](https://www.npmjs.org/package/co-body#readme)
-
-## Installation
-
-```sh
-$ npm install body-parser
-```
-
-## API
-
-```js
-var bodyParser = require('body-parser')
-```
-
-The `bodyParser` object exposes various factories to create middlewares. All
-middlewares will populate the `req.body` property with the parsed body when
-the `Content-Type` request header matches the `type` option, or an empty
-object (`{}`) if there was no body to parse, the `Content-Type` was not matched,
-or an error occurred.
-
-The various errors returned by this module are described in the
-[errors section](#errors).
-
-### bodyParser.json([options])
-
-Returns middleware that only parses `json` and only looks at requests where
-the `Content-Type` header matches the `type` option. This parser accepts any
-Unicode encoding of the body and supports automatic inflation of `gzip` and
-`deflate` encodings.
-
-A new `body` object containing the parsed data is populated on the `request`
-object after the middleware (i.e. `req.body`).
-
-#### Options
-
-The `json` function takes an optional `options` object that may contain any of
-the following keys:
-
-##### inflate
-
-When set to `true`, then deflated (compressed) bodies will be inflated; when
-`false`, deflated bodies are rejected. Defaults to `true`.
-
-##### limit
-
-Controls the maximum request body size. If this is a number, then the value
-specifies the number of bytes; if it is a string, the value is passed to the
-[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
-to `'100kb'`.
-
-##### reviver
-
-The `reviver` option is passed directly to `JSON.parse` as the second
-argument. You can find more information on this argument
-[in the MDN documentation about JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#Example.3A_Using_the_reviver_parameter).
-
-##### strict
-
-When set to `true`, will only accept arrays and objects; when `false` will
-accept anything `JSON.parse` accepts. Defaults to `true`.
-
-##### type
-
-The `type` option is used to determine what media type the middleware will
-parse. This option can be a string, array of strings, or a function. If not a
-function, `type` option is passed directly to the
-[type-is](https://www.npmjs.org/package/type-is#readme) library and this can
-be an extension name (like `json`), a mime type (like `application/json`), or
-a mime type with a wildcard (like `*/*` or `*/json`). If a function, the `type`
-option is called as `fn(req)` and the request is parsed if it returns a truthy
-value. Defaults to `application/json`.
-
-##### verify
-
-The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
-where `buf` is a `Buffer` of the raw request body and `encoding` is the
-encoding of the request. The parsing can be aborted by throwing an error.
-
-### bodyParser.raw([options])
-
-Returns middleware that parses all bodies as a `Buffer` and only looks at
-requests where the `Content-Type` header matches the `type` option. This
-parser supports automatic inflation of `gzip` and `deflate` encodings.
-
-A new `body` object containing the parsed data is populated on the `request`
-object after the middleware (i.e. `req.body`). This will be a `Buffer` object
-of the body.
-
-#### Options
-
-The `raw` function takes an optional `options` object that may contain any of
-the following keys:
-
-##### inflate
-
-When set to `true`, then deflated (compressed) bodies will be inflated; when
-`false`, deflated bodies are rejected. Defaults to `true`.
-
-##### limit
-
-Controls the maximum request body size. If this is a number, then the value
-specifies the number of bytes; if it is a string, the value is passed to the
-[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
-to `'100kb'`.
-
-##### type
-
-The `type` option is used to determine what media type the middleware will
-parse. This option can be a string, array of strings, or a function.
-If not a function, `type` option is passed directly to the
-[type-is](https://www.npmjs.org/package/type-is#readme) library and this
-can be an extension name (like `bin`), a mime type (like
-`application/octet-stream`), or a mime type with a wildcard (like `*/*` or
-`application/*`). If a function, the `type` option is called as `fn(req)`
-and the request is parsed if it returns a truthy value. Defaults to
-`application/octet-stream`.
-
-##### verify
-
-The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
-where `buf` is a `Buffer` of the raw request body and `encoding` is the
-encoding of the request. The parsing can be aborted by throwing an error.
-
-### bodyParser.text([options])
-
-Returns middleware that parses all bodies as a string and only looks at
-requests where the `Content-Type` header matches the `type` option. This
-parser supports automatic inflation of `gzip` and `deflate` encodings.
-
-A new `body` string containing the parsed data is populated on the `request`
-object after the middleware (i.e. `req.body`). This will be a string of the
-body.
-
-#### Options
-
-The `text` function takes an optional `options` object that may contain any of
-the following keys:
-
-##### defaultCharset
-
-Specify the default character set for the text content if the charset is not
-specified in the `Content-Type` header of the request. Defaults to `utf-8`.
-
-##### inflate
-
-When set to `true`, then deflated (compressed) bodies will be inflated; when
-`false`, deflated bodies are rejected. Defaults to `true`.
-
-##### limit
-
-Controls the maximum request body size. If this is a number, then the value
-specifies the number of bytes; if it is a string, the value is passed to the
-[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
-to `'100kb'`.
-
-##### type
-
-The `type` option is used to determine what media type the middleware will
-parse. This option can be a string, array of strings, or a function. If not
-a function, `type` option is passed directly to the
-[type-is](https://www.npmjs.org/package/type-is#readme) library and this can
-be an extension name (like `txt`), a mime type (like `text/plain`), or a mime
-type with a wildcard (like `*/*` or `text/*`). If a function, the `type`
-option is called as `fn(req)` and the request is parsed if it returns a
-truthy value. Defaults to `text/plain`.
-
-##### verify
-
-The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
-where `buf` is a `Buffer` of the raw request body and `encoding` is the
-encoding of the request. The parsing can be aborted by throwing an error.
-
-### bodyParser.urlencoded([options])
-
-Returns middleware that only parses `urlencoded` bodies and only looks at
-requests where the `Content-Type` header matches the `type` option. This
-parser accepts only UTF-8 encoding of the body and supports automatic
-inflation of `gzip` and `deflate` encodings.
-
-A new `body` object containing the parsed data is populated on the `request`
-object after the middleware (i.e. `req.body`). This object will contain
-key-value pairs, where the value can be a string or array (when `extended` is
-`false`), or any type (when `extended` is `true`).
-
-#### Options
-
-The `urlencoded` function takes an optional `options` object that may contain
-any of the following keys:
-
-##### extended
-
-The `extended` option allows to choose between parsing the URL-encoded data
-with the `querystring` library (when `false`) or the `qs` library (when
-`true`). The "extended" syntax allows for rich objects and arrays to be
-encoded into the URL-encoded format, allowing for a JSON-like experience
-with URL-encoded. For more information, please
-[see the qs library](https://www.npmjs.org/package/qs#readme).
-
-Defaults to `true`, but using the default has been deprecated. Please
-research into the difference between `qs` and `querystring` and choose the
-appropriate setting.
-
-##### inflate
-
-When set to `true`, then deflated (compressed) bodies will be inflated; when
-`false`, deflated bodies are rejected. Defaults to `true`.
-
-##### limit
-
-Controls the maximum request body size. If this is a number, then the value
-specifies the number of bytes; if it is a string, the value is passed to the
-[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
-to `'100kb'`.
-
-##### parameterLimit
-
-The `parameterLimit` option controls the maximum number of parameters that
-are allowed in the URL-encoded data. If a request contains more parameters
-than this value, a 413 will be returned to the client. Defaults to `1000`.
-
-##### type
-
-The `type` option is used to determine what media type the middleware will
-parse. This option can be a string, array of strings, or a function. If not
-a function, `type` option is passed directly to the
-[type-is](https://www.npmjs.org/package/type-is#readme) library and this can
-be an extension name (like `urlencoded`), a mime type (like
-`application/x-www-form-urlencoded`), or a mime type with a wildcard (like
-`*/x-www-form-urlencoded`). If a function, the `type` option is called as
-`fn(req)` and the request is parsed if it returns a truthy value. Defaults
-to `application/x-www-form-urlencoded`.
-
-##### verify
-
-The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
-where `buf` is a `Buffer` of the raw request body and `encoding` is the
-encoding of the request. The parsing can be aborted by throwing an error.
-
-## Errors
-
-The middlewares provided by this module create errors using the
-[`http-errors` module](https://www.npmjs.com/package/http-errors). The errors
-will typically have a `status`/`statusCode` property that contains the suggested
-HTTP response code, an `expose` property to determine if the `message` property
-should be displayed to the client, a `type` property to determine the type of
-error without matching against the `message`, and a `body` property containing
-the read body, if available.
-
-The following are the common errors created, though any error can come through
-for various reasons.
-
-### content encoding unsupported
-
-This error will occur when the request had a `Content-Encoding` header that
-contained an encoding but the "inflation" option was set to `false`. The
-`status` property is set to `415`, the `type` property is set to
-`'encoding.unsupported'`, and the `charset` property will be set to the
-encoding that is unsupported.
-
-### entity parse failed
-
-This error will occur when the request contained an entity that could not be
-parsed by the middleware. The `status` property is set to `400`, the `type`
-property is set to `'entity.parse.failed'`, and the `body` property is set to
-the entity value that failed parsing.
-
-### entity verify failed
-
-This error will occur when the request contained an entity that could not be
-failed verification by the defined `verify` option. The `status` property is
-set to `403`, the `type` property is set to `'entity.verify.failed'`, and the
-`body` property is set to the entity value that failed verification.
-
-### request aborted
-
-This error will occur when the request is aborted by the client before reading
-the body has finished. The `received` property will be set to the number of
-bytes received before the request was aborted and the `expected` property is
-set to the number of expected bytes. The `status` property is set to `400`
-and `type` property is set to `'request.aborted'`.
-
-### request entity too large
-
-This error will occur when the request body's size is larger than the "limit"
-option. The `limit` property will be set to the byte limit and the `length`
-property will be set to the request body's length. The `status` property is
-set to `413` and the `type` property is set to `'entity.too.large'`.
-
-### request size did not match content length
-
-This error will occur when the request's length did not match the length from
-the `Content-Length` header. This typically occurs when the request is malformed,
-typically when the `Content-Length` header was calculated based on characters
-instead of bytes. The `status` property is set to `400` and the `type` property
-is set to `'request.size.invalid'`.
-
-### stream encoding should not be set
-
-This error will occur when something called the `req.setEncoding` method prior
-to this middleware. This module operates directly on bytes only and you cannot
-call `req.setEncoding` when using this module. The `status` property is set to
-`500` and the `type` property is set to `'stream.encoding.set'`.
-
-### stream is not readable
-
-This error will occur when the request is no longer readable when this middleware
-attempts to read it. This typically means something other than a middleware from
-this module read the request body already and the middleware was also configured to
-read the same request. The `status` property is set to `500` and the `type`
-property is set to `'stream.not.readable'`.
-
-### too many parameters
-
-This error will occur when the content of the request exceeds the configured
-`parameterLimit` for the `urlencoded` parser. The `status` property is set to
-`413` and the `type` property is set to `'parameters.too.many'`.
-
-### unsupported charset "BOGUS"
-
-This error will occur when the request had a charset parameter in the
-`Content-Type` header, but the `iconv-lite` module does not support it OR the
-parser does not support it. The charset is contained in the message as well
-as in the `charset` property. The `status` property is set to `415`, the
-`type` property is set to `'charset.unsupported'`, and the `charset` property
-is set to the charset that is unsupported.
-
-### unsupported content encoding "bogus"
-
-This error will occur when the request had a `Content-Encoding` header that
-contained an unsupported encoding. The encoding is contained in the message
-as well as in the `encoding` property. The `status` property is set to `415`,
-the `type` property is set to `'encoding.unsupported'`, and the `encoding`
-property is set to the encoding that is unsupported.
-
-## Examples
-
-### Express/Connect top-level generic
-
-This example demonstrates adding a generic JSON and URL-encoded parser as a
-top-level middleware, which will parse the bodies of all incoming requests.
-This is the simplest setup.
-
-```js
-var express = require('express')
-var bodyParser = require('body-parser')
-
-var app = express()
-
-// parse application/x-www-form-urlencoded
-app.use(bodyParser.urlencoded({ extended: false }))
-
-// parse application/json
-app.use(bodyParser.json())
-
-app.use(function (req, res) {
- res.setHeader('Content-Type', 'text/plain')
- res.write('you posted:\n')
- res.end(JSON.stringify(req.body, null, 2))
-})
-```
-
-### Express route-specific
-
-This example demonstrates adding body parsers specifically to the routes that
-need them. In general, this is the most recommended way to use body-parser with
-Express.
-
-```js
-var express = require('express')
-var bodyParser = require('body-parser')
-
-var app = express()
-
-// create application/json parser
-var jsonParser = bodyParser.json()
-
-// create application/x-www-form-urlencoded parser
-var urlencodedParser = bodyParser.urlencoded({ extended: false })
-
-// POST /login gets urlencoded bodies
-app.post('/login', urlencodedParser, function (req, res) {
- res.send('welcome, ' + req.body.username)
-})
-
-// POST /api/users gets JSON bodies
-app.post('/api/users', jsonParser, function (req, res) {
- // create user in req.body
-})
-```
-
-### Change accepted type for parsers
-
-All the parsers accept a `type` option which allows you to change the
-`Content-Type` that the middleware will parse.
-
-```js
-var express = require('express')
-var bodyParser = require('body-parser')
-
-var app = express()
-
-// parse various different custom JSON types as JSON
-app.use(bodyParser.json({ type: 'application/*+json' }))
-
-// parse some custom thing into a Buffer
-app.use(bodyParser.raw({ type: 'application/vnd.custom-type' }))
-
-// parse an HTML body into a string
-app.use(bodyParser.text({ type: 'text/html' }))
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/body-parser.svg
-[npm-url]: https://npmjs.org/package/body-parser
-[coveralls-image]: https://img.shields.io/coveralls/expressjs/body-parser/master.svg
-[coveralls-url]: https://coveralls.io/r/expressjs/body-parser?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/body-parser.svg
-[downloads-url]: https://npmjs.org/package/body-parser
-[github-actions-ci-image]: https://img.shields.io/github/workflow/status/expressjs/body-parser/ci/master?label=ci
-[github-actions-ci-url]: https://github.com/expressjs/body-parser/actions/workflows/ci.yml
diff --git a/json_server/node_modules/body-parser/SECURITY.md b/json_server/node_modules/body-parser/SECURITY.md
deleted file mode 100644
index 9694d429..00000000
--- a/json_server/node_modules/body-parser/SECURITY.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# Security Policies and Procedures
-
-## Reporting a Bug
-
-The Express team and community take all security bugs seriously. Thank you
-for improving the security of Express. We appreciate your efforts and
-responsible disclosure and will make every effort to acknowledge your
-contributions.
-
-Report security bugs by emailing the current owner(s) of `body-parser`. This
-information can be found in the npm registry using the command
-`npm owner ls body-parser`.
-If unsure or unable to get the information from the above, open an issue
-in the [project issue tracker](https://github.com/expressjs/body-parser/issues)
-asking for the current contact information.
-
-To ensure the timely response to your report, please ensure that the entirety
-of the report is contained within the email body and not solely behind a web
-link or an attachment.
-
-At least one owner will acknowledge your email within 48 hours, and will send a
-more detailed response within 48 hours indicating the next steps in handling
-your report. After the initial reply to your report, the owners will
-endeavor to keep you informed of the progress towards a fix and full
-announcement, and may ask for additional information or guidance.
diff --git a/json_server/node_modules/body-parser/index.js b/json_server/node_modules/body-parser/index.js
deleted file mode 100644
index bb24d739..00000000
--- a/json_server/node_modules/body-parser/index.js
+++ /dev/null
@@ -1,156 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var deprecate = require('depd')('body-parser')
-
-/**
- * Cache of loaded parsers.
- * @private
- */
-
-var parsers = Object.create(null)
-
-/**
- * @typedef Parsers
- * @type {function}
- * @property {function} json
- * @property {function} raw
- * @property {function} text
- * @property {function} urlencoded
- */
-
-/**
- * Module exports.
- * @type {Parsers}
- */
-
-exports = module.exports = deprecate.function(bodyParser,
- 'bodyParser: use individual json/urlencoded middlewares')
-
-/**
- * JSON parser.
- * @public
- */
-
-Object.defineProperty(exports, 'json', {
- configurable: true,
- enumerable: true,
- get: createParserGetter('json')
-})
-
-/**
- * Raw parser.
- * @public
- */
-
-Object.defineProperty(exports, 'raw', {
- configurable: true,
- enumerable: true,
- get: createParserGetter('raw')
-})
-
-/**
- * Text parser.
- * @public
- */
-
-Object.defineProperty(exports, 'text', {
- configurable: true,
- enumerable: true,
- get: createParserGetter('text')
-})
-
-/**
- * URL-encoded parser.
- * @public
- */
-
-Object.defineProperty(exports, 'urlencoded', {
- configurable: true,
- enumerable: true,
- get: createParserGetter('urlencoded')
-})
-
-/**
- * Create a middleware to parse json and urlencoded bodies.
- *
- * @param {object} [options]
- * @return {function}
- * @deprecated
- * @public
- */
-
-function bodyParser (options) {
- // use default type for parsers
- var opts = Object.create(options || null, {
- type: {
- configurable: true,
- enumerable: true,
- value: undefined,
- writable: true
- }
- })
-
- var _urlencoded = exports.urlencoded(opts)
- var _json = exports.json(opts)
-
- return function bodyParser (req, res, next) {
- _json(req, res, function (err) {
- if (err) return next(err)
- _urlencoded(req, res, next)
- })
- }
-}
-
-/**
- * Create a getter for loading a parser.
- * @private
- */
-
-function createParserGetter (name) {
- return function get () {
- return loadParser(name)
- }
-}
-
-/**
- * Load a parser module.
- * @private
- */
-
-function loadParser (parserName) {
- var parser = parsers[parserName]
-
- if (parser !== undefined) {
- return parser
- }
-
- // this uses a switch for static require analysis
- switch (parserName) {
- case 'json':
- parser = require('./lib/types/json')
- break
- case 'raw':
- parser = require('./lib/types/raw')
- break
- case 'text':
- parser = require('./lib/types/text')
- break
- case 'urlencoded':
- parser = require('./lib/types/urlencoded')
- break
- }
-
- // store to prevent invoking require()
- return (parsers[parserName] = parser)
-}
diff --git a/json_server/node_modules/body-parser/lib/read.js b/json_server/node_modules/body-parser/lib/read.js
deleted file mode 100644
index fce6283f..00000000
--- a/json_server/node_modules/body-parser/lib/read.js
+++ /dev/null
@@ -1,205 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var createError = require('http-errors')
-var destroy = require('destroy')
-var getBody = require('raw-body')
-var iconv = require('iconv-lite')
-var onFinished = require('on-finished')
-var unpipe = require('unpipe')
-var zlib = require('zlib')
-
-/**
- * Module exports.
- */
-
-module.exports = read
-
-/**
- * Read a request into a buffer and parse.
- *
- * @param {object} req
- * @param {object} res
- * @param {function} next
- * @param {function} parse
- * @param {function} debug
- * @param {object} options
- * @private
- */
-
-function read (req, res, next, parse, debug, options) {
- var length
- var opts = options
- var stream
-
- // flag as parsed
- req._body = true
-
- // read options
- var encoding = opts.encoding !== null
- ? opts.encoding
- : null
- var verify = opts.verify
-
- try {
- // get the content stream
- stream = contentstream(req, debug, opts.inflate)
- length = stream.length
- stream.length = undefined
- } catch (err) {
- return next(err)
- }
-
- // set raw-body options
- opts.length = length
- opts.encoding = verify
- ? null
- : encoding
-
- // assert charset is supported
- if (opts.encoding === null && encoding !== null && !iconv.encodingExists(encoding)) {
- return next(createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', {
- charset: encoding.toLowerCase(),
- type: 'charset.unsupported'
- }))
- }
-
- // read body
- debug('read body')
- getBody(stream, opts, function (error, body) {
- if (error) {
- var _error
-
- if (error.type === 'encoding.unsupported') {
- // echo back charset
- _error = createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', {
- charset: encoding.toLowerCase(),
- type: 'charset.unsupported'
- })
- } else {
- // set status code on error
- _error = createError(400, error)
- }
-
- // unpipe from stream and destroy
- if (stream !== req) {
- unpipe(req)
- destroy(stream, true)
- }
-
- // read off entire request
- dump(req, function onfinished () {
- next(createError(400, _error))
- })
- return
- }
-
- // verify
- if (verify) {
- try {
- debug('verify body')
- verify(req, res, body, encoding)
- } catch (err) {
- next(createError(403, err, {
- body: body,
- type: err.type || 'entity.verify.failed'
- }))
- return
- }
- }
-
- // parse
- var str = body
- try {
- debug('parse body')
- str = typeof body !== 'string' && encoding !== null
- ? iconv.decode(body, encoding)
- : body
- req.body = parse(str)
- } catch (err) {
- next(createError(400, err, {
- body: str,
- type: err.type || 'entity.parse.failed'
- }))
- return
- }
-
- next()
- })
-}
-
-/**
- * Get the content stream of the request.
- *
- * @param {object} req
- * @param {function} debug
- * @param {boolean} [inflate=true]
- * @return {object}
- * @api private
- */
-
-function contentstream (req, debug, inflate) {
- var encoding = (req.headers['content-encoding'] || 'identity').toLowerCase()
- var length = req.headers['content-length']
- var stream
-
- debug('content-encoding "%s"', encoding)
-
- if (inflate === false && encoding !== 'identity') {
- throw createError(415, 'content encoding unsupported', {
- encoding: encoding,
- type: 'encoding.unsupported'
- })
- }
-
- switch (encoding) {
- case 'deflate':
- stream = zlib.createInflate()
- debug('inflate body')
- req.pipe(stream)
- break
- case 'gzip':
- stream = zlib.createGunzip()
- debug('gunzip body')
- req.pipe(stream)
- break
- case 'identity':
- stream = req
- stream.length = length
- break
- default:
- throw createError(415, 'unsupported content encoding "' + encoding + '"', {
- encoding: encoding,
- type: 'encoding.unsupported'
- })
- }
-
- return stream
-}
-
-/**
- * Dump the contents of a request.
- *
- * @param {object} req
- * @param {function} callback
- * @api private
- */
-
-function dump (req, callback) {
- if (onFinished.isFinished(req)) {
- callback(null)
- } else {
- onFinished(req, callback)
- req.resume()
- }
-}
diff --git a/json_server/node_modules/body-parser/lib/types/json.js b/json_server/node_modules/body-parser/lib/types/json.js
deleted file mode 100644
index c2745be3..00000000
--- a/json_server/node_modules/body-parser/lib/types/json.js
+++ /dev/null
@@ -1,236 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var bytes = require('bytes')
-var contentType = require('content-type')
-var createError = require('http-errors')
-var debug = require('debug')('body-parser:json')
-var read = require('../read')
-var typeis = require('type-is')
-
-/**
- * Module exports.
- */
-
-module.exports = json
-
-/**
- * RegExp to match the first non-space in a string.
- *
- * Allowed whitespace is defined in RFC 7159:
- *
- * ws = *(
- * %x20 / ; Space
- * %x09 / ; Horizontal tab
- * %x0A / ; Line feed or New line
- * %x0D ) ; Carriage return
- */
-
-var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/ // eslint-disable-line no-control-regex
-
-/**
- * Create a middleware to parse JSON bodies.
- *
- * @param {object} [options]
- * @return {function}
- * @public
- */
-
-function json (options) {
- var opts = options || {}
-
- var limit = typeof opts.limit !== 'number'
- ? bytes.parse(opts.limit || '100kb')
- : opts.limit
- var inflate = opts.inflate !== false
- var reviver = opts.reviver
- var strict = opts.strict !== false
- var type = opts.type || 'application/json'
- var verify = opts.verify || false
-
- if (verify !== false && typeof verify !== 'function') {
- throw new TypeError('option verify must be function')
- }
-
- // create the appropriate type checking function
- var shouldParse = typeof type !== 'function'
- ? typeChecker(type)
- : type
-
- function parse (body) {
- if (body.length === 0) {
- // special-case empty json body, as it's a common client-side mistake
- // TODO: maybe make this configurable or part of "strict" option
- return {}
- }
-
- if (strict) {
- var first = firstchar(body)
-
- if (first !== '{' && first !== '[') {
- debug('strict violation')
- throw createStrictSyntaxError(body, first)
- }
- }
-
- try {
- debug('parse json')
- return JSON.parse(body, reviver)
- } catch (e) {
- throw normalizeJsonSyntaxError(e, {
- message: e.message,
- stack: e.stack
- })
- }
- }
-
- return function jsonParser (req, res, next) {
- if (req._body) {
- debug('body already parsed')
- next()
- return
- }
-
- req.body = req.body || {}
-
- // skip requests without bodies
- if (!typeis.hasBody(req)) {
- debug('skip empty body')
- next()
- return
- }
-
- debug('content-type %j', req.headers['content-type'])
-
- // determine if request should be parsed
- if (!shouldParse(req)) {
- debug('skip parsing')
- next()
- return
- }
-
- // assert charset per RFC 7159 sec 8.1
- var charset = getCharset(req) || 'utf-8'
- if (charset.slice(0, 4) !== 'utf-') {
- debug('invalid charset')
- next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', {
- charset: charset,
- type: 'charset.unsupported'
- }))
- return
- }
-
- // read
- read(req, res, next, parse, debug, {
- encoding: charset,
- inflate: inflate,
- limit: limit,
- verify: verify
- })
- }
-}
-
-/**
- * Create strict violation syntax error matching native error.
- *
- * @param {string} str
- * @param {string} char
- * @return {Error}
- * @private
- */
-
-function createStrictSyntaxError (str, char) {
- var index = str.indexOf(char)
- var partial = index !== -1
- ? str.substring(0, index) + '#'
- : ''
-
- try {
- JSON.parse(partial); /* istanbul ignore next */ throw new SyntaxError('strict violation')
- } catch (e) {
- return normalizeJsonSyntaxError(e, {
- message: e.message.replace('#', char),
- stack: e.stack
- })
- }
-}
-
-/**
- * Get the first non-whitespace character in a string.
- *
- * @param {string} str
- * @return {function}
- * @private
- */
-
-function firstchar (str) {
- var match = FIRST_CHAR_REGEXP.exec(str)
-
- return match
- ? match[1]
- : undefined
-}
-
-/**
- * Get the charset of a request.
- *
- * @param {object} req
- * @api private
- */
-
-function getCharset (req) {
- try {
- return (contentType.parse(req).parameters.charset || '').toLowerCase()
- } catch (e) {
- return undefined
- }
-}
-
-/**
- * Normalize a SyntaxError for JSON.parse.
- *
- * @param {SyntaxError} error
- * @param {object} obj
- * @return {SyntaxError}
- */
-
-function normalizeJsonSyntaxError (error, obj) {
- var keys = Object.getOwnPropertyNames(error)
-
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i]
- if (key !== 'stack' && key !== 'message') {
- delete error[key]
- }
- }
-
- // replace stack before message for Node.js 0.10 and below
- error.stack = obj.stack.replace(error.message, obj.message)
- error.message = obj.message
-
- return error
-}
-
-/**
- * Get the simple type checker.
- *
- * @param {string} type
- * @return {function}
- */
-
-function typeChecker (type) {
- return function checkType (req) {
- return Boolean(typeis(req, type))
- }
-}
diff --git a/json_server/node_modules/body-parser/lib/types/raw.js b/json_server/node_modules/body-parser/lib/types/raw.js
deleted file mode 100644
index f5d1b674..00000000
--- a/json_server/node_modules/body-parser/lib/types/raw.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- */
-
-var bytes = require('bytes')
-var debug = require('debug')('body-parser:raw')
-var read = require('../read')
-var typeis = require('type-is')
-
-/**
- * Module exports.
- */
-
-module.exports = raw
-
-/**
- * Create a middleware to parse raw bodies.
- *
- * @param {object} [options]
- * @return {function}
- * @api public
- */
-
-function raw (options) {
- var opts = options || {}
-
- var inflate = opts.inflate !== false
- var limit = typeof opts.limit !== 'number'
- ? bytes.parse(opts.limit || '100kb')
- : opts.limit
- var type = opts.type || 'application/octet-stream'
- var verify = opts.verify || false
-
- if (verify !== false && typeof verify !== 'function') {
- throw new TypeError('option verify must be function')
- }
-
- // create the appropriate type checking function
- var shouldParse = typeof type !== 'function'
- ? typeChecker(type)
- : type
-
- function parse (buf) {
- return buf
- }
-
- return function rawParser (req, res, next) {
- if (req._body) {
- debug('body already parsed')
- next()
- return
- }
-
- req.body = req.body || {}
-
- // skip requests without bodies
- if (!typeis.hasBody(req)) {
- debug('skip empty body')
- next()
- return
- }
-
- debug('content-type %j', req.headers['content-type'])
-
- // determine if request should be parsed
- if (!shouldParse(req)) {
- debug('skip parsing')
- next()
- return
- }
-
- // read
- read(req, res, next, parse, debug, {
- encoding: null,
- inflate: inflate,
- limit: limit,
- verify: verify
- })
- }
-}
-
-/**
- * Get the simple type checker.
- *
- * @param {string} type
- * @return {function}
- */
-
-function typeChecker (type) {
- return function checkType (req) {
- return Boolean(typeis(req, type))
- }
-}
diff --git a/json_server/node_modules/body-parser/lib/types/text.js b/json_server/node_modules/body-parser/lib/types/text.js
deleted file mode 100644
index 083a0090..00000000
--- a/json_server/node_modules/body-parser/lib/types/text.js
+++ /dev/null
@@ -1,121 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- */
-
-var bytes = require('bytes')
-var contentType = require('content-type')
-var debug = require('debug')('body-parser:text')
-var read = require('../read')
-var typeis = require('type-is')
-
-/**
- * Module exports.
- */
-
-module.exports = text
-
-/**
- * Create a middleware to parse text bodies.
- *
- * @param {object} [options]
- * @return {function}
- * @api public
- */
-
-function text (options) {
- var opts = options || {}
-
- var defaultCharset = opts.defaultCharset || 'utf-8'
- var inflate = opts.inflate !== false
- var limit = typeof opts.limit !== 'number'
- ? bytes.parse(opts.limit || '100kb')
- : opts.limit
- var type = opts.type || 'text/plain'
- var verify = opts.verify || false
-
- if (verify !== false && typeof verify !== 'function') {
- throw new TypeError('option verify must be function')
- }
-
- // create the appropriate type checking function
- var shouldParse = typeof type !== 'function'
- ? typeChecker(type)
- : type
-
- function parse (buf) {
- return buf
- }
-
- return function textParser (req, res, next) {
- if (req._body) {
- debug('body already parsed')
- next()
- return
- }
-
- req.body = req.body || {}
-
- // skip requests without bodies
- if (!typeis.hasBody(req)) {
- debug('skip empty body')
- next()
- return
- }
-
- debug('content-type %j', req.headers['content-type'])
-
- // determine if request should be parsed
- if (!shouldParse(req)) {
- debug('skip parsing')
- next()
- return
- }
-
- // get charset
- var charset = getCharset(req) || defaultCharset
-
- // read
- read(req, res, next, parse, debug, {
- encoding: charset,
- inflate: inflate,
- limit: limit,
- verify: verify
- })
- }
-}
-
-/**
- * Get the charset of a request.
- *
- * @param {object} req
- * @api private
- */
-
-function getCharset (req) {
- try {
- return (contentType.parse(req).parameters.charset || '').toLowerCase()
- } catch (e) {
- return undefined
- }
-}
-
-/**
- * Get the simple type checker.
- *
- * @param {string} type
- * @return {function}
- */
-
-function typeChecker (type) {
- return function checkType (req) {
- return Boolean(typeis(req, type))
- }
-}
diff --git a/json_server/node_modules/body-parser/lib/types/urlencoded.js b/json_server/node_modules/body-parser/lib/types/urlencoded.js
deleted file mode 100644
index b2ca8f16..00000000
--- a/json_server/node_modules/body-parser/lib/types/urlencoded.js
+++ /dev/null
@@ -1,284 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var bytes = require('bytes')
-var contentType = require('content-type')
-var createError = require('http-errors')
-var debug = require('debug')('body-parser:urlencoded')
-var deprecate = require('depd')('body-parser')
-var read = require('../read')
-var typeis = require('type-is')
-
-/**
- * Module exports.
- */
-
-module.exports = urlencoded
-
-/**
- * Cache of parser modules.
- */
-
-var parsers = Object.create(null)
-
-/**
- * Create a middleware to parse urlencoded bodies.
- *
- * @param {object} [options]
- * @return {function}
- * @public
- */
-
-function urlencoded (options) {
- var opts = options || {}
-
- // notice because option default will flip in next major
- if (opts.extended === undefined) {
- deprecate('undefined extended: provide extended option')
- }
-
- var extended = opts.extended !== false
- var inflate = opts.inflate !== false
- var limit = typeof opts.limit !== 'number'
- ? bytes.parse(opts.limit || '100kb')
- : opts.limit
- var type = opts.type || 'application/x-www-form-urlencoded'
- var verify = opts.verify || false
-
- if (verify !== false && typeof verify !== 'function') {
- throw new TypeError('option verify must be function')
- }
-
- // create the appropriate query parser
- var queryparse = extended
- ? extendedparser(opts)
- : simpleparser(opts)
-
- // create the appropriate type checking function
- var shouldParse = typeof type !== 'function'
- ? typeChecker(type)
- : type
-
- function parse (body) {
- return body.length
- ? queryparse(body)
- : {}
- }
-
- return function urlencodedParser (req, res, next) {
- if (req._body) {
- debug('body already parsed')
- next()
- return
- }
-
- req.body = req.body || {}
-
- // skip requests without bodies
- if (!typeis.hasBody(req)) {
- debug('skip empty body')
- next()
- return
- }
-
- debug('content-type %j', req.headers['content-type'])
-
- // determine if request should be parsed
- if (!shouldParse(req)) {
- debug('skip parsing')
- next()
- return
- }
-
- // assert charset
- var charset = getCharset(req) || 'utf-8'
- if (charset !== 'utf-8') {
- debug('invalid charset')
- next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', {
- charset: charset,
- type: 'charset.unsupported'
- }))
- return
- }
-
- // read
- read(req, res, next, parse, debug, {
- debug: debug,
- encoding: charset,
- inflate: inflate,
- limit: limit,
- verify: verify
- })
- }
-}
-
-/**
- * Get the extended query parser.
- *
- * @param {object} options
- */
-
-function extendedparser (options) {
- var parameterLimit = options.parameterLimit !== undefined
- ? options.parameterLimit
- : 1000
- var parse = parser('qs')
-
- if (isNaN(parameterLimit) || parameterLimit < 1) {
- throw new TypeError('option parameterLimit must be a positive number')
- }
-
- if (isFinite(parameterLimit)) {
- parameterLimit = parameterLimit | 0
- }
-
- return function queryparse (body) {
- var paramCount = parameterCount(body, parameterLimit)
-
- if (paramCount === undefined) {
- debug('too many parameters')
- throw createError(413, 'too many parameters', {
- type: 'parameters.too.many'
- })
- }
-
- var arrayLimit = Math.max(100, paramCount)
-
- debug('parse extended urlencoding')
- return parse(body, {
- allowPrototypes: true,
- arrayLimit: arrayLimit,
- depth: Infinity,
- parameterLimit: parameterLimit
- })
- }
-}
-
-/**
- * Get the charset of a request.
- *
- * @param {object} req
- * @api private
- */
-
-function getCharset (req) {
- try {
- return (contentType.parse(req).parameters.charset || '').toLowerCase()
- } catch (e) {
- return undefined
- }
-}
-
-/**
- * Count the number of parameters, stopping once limit reached
- *
- * @param {string} body
- * @param {number} limit
- * @api private
- */
-
-function parameterCount (body, limit) {
- var count = 0
- var index = 0
-
- while ((index = body.indexOf('&', index)) !== -1) {
- count++
- index++
-
- if (count === limit) {
- return undefined
- }
- }
-
- return count
-}
-
-/**
- * Get parser for module name dynamically.
- *
- * @param {string} name
- * @return {function}
- * @api private
- */
-
-function parser (name) {
- var mod = parsers[name]
-
- if (mod !== undefined) {
- return mod.parse
- }
-
- // this uses a switch for static require analysis
- switch (name) {
- case 'qs':
- mod = require('qs')
- break
- case 'querystring':
- mod = require('querystring')
- break
- }
-
- // store to prevent invoking require()
- parsers[name] = mod
-
- return mod.parse
-}
-
-/**
- * Get the simple query parser.
- *
- * @param {object} options
- */
-
-function simpleparser (options) {
- var parameterLimit = options.parameterLimit !== undefined
- ? options.parameterLimit
- : 1000
- var parse = parser('querystring')
-
- if (isNaN(parameterLimit) || parameterLimit < 1) {
- throw new TypeError('option parameterLimit must be a positive number')
- }
-
- if (isFinite(parameterLimit)) {
- parameterLimit = parameterLimit | 0
- }
-
- return function queryparse (body) {
- var paramCount = parameterCount(body, parameterLimit)
-
- if (paramCount === undefined) {
- debug('too many parameters')
- throw createError(413, 'too many parameters', {
- type: 'parameters.too.many'
- })
- }
-
- debug('parse urlencoding')
- return parse(body, undefined, undefined, { maxKeys: parameterLimit })
- }
-}
-
-/**
- * Get the simple type checker.
- *
- * @param {string} type
- * @return {function}
- */
-
-function typeChecker (type) {
- return function checkType (req) {
- return Boolean(typeis(req, type))
- }
-}
diff --git a/json_server/node_modules/body-parser/package.json b/json_server/node_modules/body-parser/package.json
deleted file mode 100644
index 9cd2ccbb..00000000
--- a/json_server/node_modules/body-parser/package.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "name": "body-parser",
- "description": "Node.js body parsing middleware",
- "version": "1.20.1",
- "contributors": [
- "Douglas Christopher Wilson ",
- "Jonathan Ong (http://jongleberry.com)"
- ],
- "license": "MIT",
- "repository": "expressjs/body-parser",
- "dependencies": {
- "bytes": "3.1.2",
- "content-type": "~1.0.4",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "http-errors": "2.0.0",
- "iconv-lite": "0.4.24",
- "on-finished": "2.4.1",
- "qs": "6.11.0",
- "raw-body": "2.5.1",
- "type-is": "~1.6.18",
- "unpipe": "1.0.0"
- },
- "devDependencies": {
- "eslint": "8.24.0",
- "eslint-config-standard": "14.1.1",
- "eslint-plugin-import": "2.26.0",
- "eslint-plugin-markdown": "3.0.0",
- "eslint-plugin-node": "11.1.0",
- "eslint-plugin-promise": "6.0.1",
- "eslint-plugin-standard": "4.1.0",
- "methods": "1.1.2",
- "mocha": "10.0.0",
- "nyc": "15.1.0",
- "safe-buffer": "5.2.1",
- "supertest": "6.3.0"
- },
- "files": [
- "lib/",
- "LICENSE",
- "HISTORY.md",
- "SECURITY.md",
- "index.js"
- ],
- "engines": {
- "node": ">= 0.8",
- "npm": "1.2.8000 || >= 1.4.16"
- },
- "scripts": {
- "lint": "eslint .",
- "test": "mocha --require test/support/env --reporter spec --check-leaks --bail test/",
- "test-ci": "nyc --reporter=lcov --reporter=text npm test",
- "test-cov": "nyc --reporter=html --reporter=text npm test"
- }
-}
diff --git a/json_server/node_modules/bytes/History.md b/json_server/node_modules/bytes/History.md
deleted file mode 100644
index d60ce0e6..00000000
--- a/json_server/node_modules/bytes/History.md
+++ /dev/null
@@ -1,97 +0,0 @@
-3.1.2 / 2022-01-27
-==================
-
- * Fix return value for un-parsable strings
-
-3.1.1 / 2021-11-15
-==================
-
- * Fix "thousandsSeparator" incorrecting formatting fractional part
-
-3.1.0 / 2019-01-22
-==================
-
- * Add petabyte (`pb`) support
-
-3.0.0 / 2017-08-31
-==================
-
- * Change "kB" to "KB" in format output
- * Remove support for Node.js 0.6
- * Remove support for ComponentJS
-
-2.5.0 / 2017-03-24
-==================
-
- * Add option "unit"
-
-2.4.0 / 2016-06-01
-==================
-
- * Add option "unitSeparator"
-
-2.3.0 / 2016-02-15
-==================
-
- * Drop partial bytes on all parsed units
- * Fix non-finite numbers to `.format` to return `null`
- * Fix parsing byte string that looks like hex
- * perf: hoist regular expressions
-
-2.2.0 / 2015-11-13
-==================
-
- * add option "decimalPlaces"
- * add option "fixedDecimals"
-
-2.1.0 / 2015-05-21
-==================
-
- * add `.format` export
- * add `.parse` export
-
-2.0.2 / 2015-05-20
-==================
-
- * remove map recreation
- * remove unnecessary object construction
-
-2.0.1 / 2015-05-07
-==================
-
- * fix browserify require
- * remove node.extend dependency
-
-2.0.0 / 2015-04-12
-==================
-
- * add option "case"
- * add option "thousandsSeparator"
- * return "null" on invalid parse input
- * support proper round-trip: bytes(bytes(num)) === num
- * units no longer case sensitive when parsing
-
-1.0.0 / 2014-05-05
-==================
-
- * add negative support. fixes #6
-
-0.3.0 / 2014-03-19
-==================
-
- * added terabyte support
-
-0.2.1 / 2013-04-01
-==================
-
- * add .component
-
-0.2.0 / 2012-10-28
-==================
-
- * bytes(200).should.eql('200b')
-
-0.1.0 / 2012-07-04
-==================
-
- * add bytes to string conversion [yields]
diff --git a/json_server/node_modules/bytes/LICENSE b/json_server/node_modules/bytes/LICENSE
deleted file mode 100644
index 63e95a96..00000000
--- a/json_server/node_modules/bytes/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012-2014 TJ Holowaychuk
-Copyright (c) 2015 Jed Watson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/json_server/node_modules/bytes/Readme.md b/json_server/node_modules/bytes/Readme.md
deleted file mode 100644
index 5790e23e..00000000
--- a/json_server/node_modules/bytes/Readme.md
+++ /dev/null
@@ -1,152 +0,0 @@
-# Bytes utility
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Build Status][ci-image]][ci-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Utility to parse a string bytes (ex: `1TB`) to bytes (`1099511627776`) and vice-versa.
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```bash
-$ npm install bytes
-```
-
-## Usage
-
-```js
-var bytes = require('bytes');
-```
-
-#### bytes(number|string value, [options]): number|string|null
-
-Default export function. Delegates to either `bytes.format` or `bytes.parse` based on the type of `value`.
-
-**Arguments**
-
-| Name | Type | Description |
-|---------|----------|--------------------|
-| value | `number`|`string` | Number value to format or string value to parse |
-| options | `Object` | Conversion options for `format` |
-
-**Returns**
-
-| Name | Type | Description |
-|---------|------------------|-------------------------------------------------|
-| results | `string`|`number`|`null` | Return null upon error. Numeric value in bytes, or string value otherwise. |
-
-**Example**
-
-```js
-bytes(1024);
-// output: '1KB'
-
-bytes('1KB');
-// output: 1024
-```
-
-#### bytes.format(number value, [options]): string|null
-
-Format the given value in bytes into a string. If the value is negative, it is kept as such. If it is a float, it is
- rounded.
-
-**Arguments**
-
-| Name | Type | Description |
-|---------|----------|--------------------|
-| value | `number` | Value in bytes |
-| options | `Object` | Conversion options |
-
-**Options**
-
-| Property | Type | Description |
-|-------------------|--------|-----------------------------------------------------------------------------------------|
-| decimalPlaces | `number`|`null` | Maximum number of decimal places to include in output. Default value to `2`. |
-| fixedDecimals | `boolean`|`null` | Whether to always display the maximum number of decimal places. Default value to `false` |
-| thousandsSeparator | `string`|`null` | Example of values: `' '`, `','` and `'.'`... Default value to `''`. |
-| unit | `string`|`null` | The unit in which the result will be returned (B/KB/MB/GB/TB). Default value to `''` (which means auto detect). |
-| unitSeparator | `string`|`null` | Separator to use between number and unit. Default value to `''`. |
-
-**Returns**
-
-| Name | Type | Description |
-|---------|------------------|-------------------------------------------------|
-| results | `string`|`null` | Return null upon error. String value otherwise. |
-
-**Example**
-
-```js
-bytes.format(1024);
-// output: '1KB'
-
-bytes.format(1000);
-// output: '1000B'
-
-bytes.format(1000, {thousandsSeparator: ' '});
-// output: '1 000B'
-
-bytes.format(1024 * 1.7, {decimalPlaces: 0});
-// output: '2KB'
-
-bytes.format(1024, {unitSeparator: ' '});
-// output: '1 KB'
-```
-
-#### bytes.parse(string|number value): number|null
-
-Parse the string value into an integer in bytes. If no unit is given, or `value`
-is a number, it is assumed the value is in bytes.
-
-Supported units and abbreviations are as follows and are case-insensitive:
-
- * `b` for bytes
- * `kb` for kilobytes
- * `mb` for megabytes
- * `gb` for gigabytes
- * `tb` for terabytes
- * `pb` for petabytes
-
-The units are in powers of two, not ten. This means 1kb = 1024b according to this parser.
-
-**Arguments**
-
-| Name | Type | Description |
-|---------------|--------|--------------------|
-| value | `string`|`number` | String to parse, or number in bytes. |
-
-**Returns**
-
-| Name | Type | Description |
-|---------|-------------|-------------------------|
-| results | `number`|`null` | Return null upon error. Value in bytes otherwise. |
-
-**Example**
-
-```js
-bytes.parse('1KB');
-// output: 1024
-
-bytes.parse('1024');
-// output: 1024
-
-bytes.parse(1024);
-// output: 1024
-```
-
-## License
-
-[MIT](LICENSE)
-
-[ci-image]: https://badgen.net/github/checks/visionmedia/bytes.js/master?label=ci
-[ci-url]: https://github.com/visionmedia/bytes.js/actions?query=workflow%3Aci
-[coveralls-image]: https://badgen.net/coveralls/c/github/visionmedia/bytes.js/master
-[coveralls-url]: https://coveralls.io/r/visionmedia/bytes.js?branch=master
-[downloads-image]: https://badgen.net/npm/dm/bytes
-[downloads-url]: https://npmjs.org/package/bytes
-[npm-image]: https://badgen.net/npm/v/bytes
-[npm-url]: https://npmjs.org/package/bytes
diff --git a/json_server/node_modules/bytes/index.js b/json_server/node_modules/bytes/index.js
deleted file mode 100644
index 6f2d0f89..00000000
--- a/json_server/node_modules/bytes/index.js
+++ /dev/null
@@ -1,170 +0,0 @@
-/*!
- * bytes
- * Copyright(c) 2012-2014 TJ Holowaychuk
- * Copyright(c) 2015 Jed Watson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = bytes;
-module.exports.format = format;
-module.exports.parse = parse;
-
-/**
- * Module variables.
- * @private
- */
-
-var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g;
-
-var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/;
-
-var map = {
- b: 1,
- kb: 1 << 10,
- mb: 1 << 20,
- gb: 1 << 30,
- tb: Math.pow(1024, 4),
- pb: Math.pow(1024, 5),
-};
-
-var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;
-
-/**
- * Convert the given value in bytes into a string or parse to string to an integer in bytes.
- *
- * @param {string|number} value
- * @param {{
- * case: [string],
- * decimalPlaces: [number]
- * fixedDecimals: [boolean]
- * thousandsSeparator: [string]
- * unitSeparator: [string]
- * }} [options] bytes options.
- *
- * @returns {string|number|null}
- */
-
-function bytes(value, options) {
- if (typeof value === 'string') {
- return parse(value);
- }
-
- if (typeof value === 'number') {
- return format(value, options);
- }
-
- return null;
-}
-
-/**
- * Format the given value in bytes into a string.
- *
- * If the value is negative, it is kept as such. If it is a float,
- * it is rounded.
- *
- * @param {number} value
- * @param {object} [options]
- * @param {number} [options.decimalPlaces=2]
- * @param {number} [options.fixedDecimals=false]
- * @param {string} [options.thousandsSeparator=]
- * @param {string} [options.unit=]
- * @param {string} [options.unitSeparator=]
- *
- * @returns {string|null}
- * @public
- */
-
-function format(value, options) {
- if (!Number.isFinite(value)) {
- return null;
- }
-
- var mag = Math.abs(value);
- var thousandsSeparator = (options && options.thousandsSeparator) || '';
- var unitSeparator = (options && options.unitSeparator) || '';
- var decimalPlaces = (options && options.decimalPlaces !== undefined) ? options.decimalPlaces : 2;
- var fixedDecimals = Boolean(options && options.fixedDecimals);
- var unit = (options && options.unit) || '';
-
- if (!unit || !map[unit.toLowerCase()]) {
- if (mag >= map.pb) {
- unit = 'PB';
- } else if (mag >= map.tb) {
- unit = 'TB';
- } else if (mag >= map.gb) {
- unit = 'GB';
- } else if (mag >= map.mb) {
- unit = 'MB';
- } else if (mag >= map.kb) {
- unit = 'KB';
- } else {
- unit = 'B';
- }
- }
-
- var val = value / map[unit.toLowerCase()];
- var str = val.toFixed(decimalPlaces);
-
- if (!fixedDecimals) {
- str = str.replace(formatDecimalsRegExp, '$1');
- }
-
- if (thousandsSeparator) {
- str = str.split('.').map(function (s, i) {
- return i === 0
- ? s.replace(formatThousandsRegExp, thousandsSeparator)
- : s
- }).join('.');
- }
-
- return str + unitSeparator + unit;
-}
-
-/**
- * Parse the string value into an integer in bytes.
- *
- * If no unit is given, it is assumed the value is in bytes.
- *
- * @param {number|string} val
- *
- * @returns {number|null}
- * @public
- */
-
-function parse(val) {
- if (typeof val === 'number' && !isNaN(val)) {
- return val;
- }
-
- if (typeof val !== 'string') {
- return null;
- }
-
- // Test if the string passed is valid
- var results = parseRegExp.exec(val);
- var floatValue;
- var unit = 'b';
-
- if (!results) {
- // Nothing could be extracted from the given string
- floatValue = parseInt(val, 10);
- unit = 'b'
- } else {
- // Retrieve the value and the unit
- floatValue = parseFloat(results[1]);
- unit = results[4].toLowerCase();
- }
-
- if (isNaN(floatValue)) {
- return null;
- }
-
- return Math.floor(map[unit] * floatValue);
-}
diff --git a/json_server/node_modules/bytes/package.json b/json_server/node_modules/bytes/package.json
deleted file mode 100644
index f2b6a8b0..00000000
--- a/json_server/node_modules/bytes/package.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "name": "bytes",
- "description": "Utility to parse a string bytes to bytes and vice-versa",
- "version": "3.1.2",
- "author": "TJ Holowaychuk (http://tjholowaychuk.com)",
- "contributors": [
- "Jed Watson ",
- "Théo FIDRY "
- ],
- "license": "MIT",
- "keywords": [
- "byte",
- "bytes",
- "utility",
- "parse",
- "parser",
- "convert",
- "converter"
- ],
- "repository": "visionmedia/bytes.js",
- "devDependencies": {
- "eslint": "7.32.0",
- "eslint-plugin-markdown": "2.2.1",
- "mocha": "9.2.0",
- "nyc": "15.1.0"
- },
- "files": [
- "History.md",
- "LICENSE",
- "Readme.md",
- "index.js"
- ],
- "engines": {
- "node": ">= 0.8"
- },
- "scripts": {
- "lint": "eslint .",
- "test": "mocha --check-leaks --reporter spec",
- "test-ci": "nyc --reporter=lcov --reporter=text npm test",
- "test-cov": "nyc --reporter=html --reporter=text npm test"
- }
-}
diff --git a/json_server/node_modules/call-bind/.eslintignore b/json_server/node_modules/call-bind/.eslintignore
deleted file mode 100644
index 404abb22..00000000
--- a/json_server/node_modules/call-bind/.eslintignore
+++ /dev/null
@@ -1 +0,0 @@
-coverage/
diff --git a/json_server/node_modules/call-bind/.eslintrc b/json_server/node_modules/call-bind/.eslintrc
deleted file mode 100644
index e5d3c9a9..00000000
--- a/json_server/node_modules/call-bind/.eslintrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "root": true,
-
- "extends": "@ljharb",
-
- "rules": {
- "func-name-matching": 0,
- "id-length": 0,
- "new-cap": [2, {
- "capIsNewExceptions": [
- "GetIntrinsic",
- ],
- }],
- "no-magic-numbers": 0,
- "operator-linebreak": [2, "before"],
- },
-}
diff --git a/json_server/node_modules/call-bind/.github/FUNDING.yml b/json_server/node_modules/call-bind/.github/FUNDING.yml
deleted file mode 100644
index c70c2ecd..00000000
--- a/json_server/node_modules/call-bind/.github/FUNDING.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# These are supported funding model platforms
-
-github: [ljharb]
-patreon: # Replace with a single Patreon username
-open_collective: # Replace with a single Open Collective username
-ko_fi: # Replace with a single Ko-fi username
-tidelift: npm/call-bind
-community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
-liberapay: # Replace with a single Liberapay username
-issuehunt: # Replace with a single IssueHunt username
-otechie: # Replace with a single Otechie username
-custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
diff --git a/json_server/node_modules/call-bind/.nycrc b/json_server/node_modules/call-bind/.nycrc
deleted file mode 100644
index 1826526e..00000000
--- a/json_server/node_modules/call-bind/.nycrc
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "all": true,
- "check-coverage": false,
- "reporter": ["text-summary", "text", "html", "json"],
- "lines": 86,
- "statements": 85.93,
- "functions": 82.43,
- "branches": 76.06,
- "exclude": [
- "coverage",
- "test"
- ]
-}
diff --git a/json_server/node_modules/call-bind/CHANGELOG.md b/json_server/node_modules/call-bind/CHANGELOG.md
deleted file mode 100644
index 62a37279..00000000
--- a/json_server/node_modules/call-bind/CHANGELOG.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# Changelog
-
-All notable changes to this project will be documented in this file.
-
-The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
-and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
-## [v1.0.2](https://github.com/ljharb/call-bind/compare/v1.0.1...v1.0.2) - 2021-01-11
-
-### Commits
-
-- [Fix] properly include the receiver in the bound length [`dbae7bc`](https://github.com/ljharb/call-bind/commit/dbae7bc676c079a0d33c0a43e9ef92cb7b01345d)
-
-## [v1.0.1](https://github.com/ljharb/call-bind/compare/v1.0.0...v1.0.1) - 2021-01-08
-
-### Commits
-
-- [Tests] migrate tests to Github Actions [`b6db284`](https://github.com/ljharb/call-bind/commit/b6db284c36f8ccd195b88a6764fe84b7223a0da1)
-- [meta] do not publish github action workflow files [`ec7fe46`](https://github.com/ljharb/call-bind/commit/ec7fe46e60cfa4764ee943d2755f5e5a366e578e)
-- [Fix] preserve original function’s length when possible [`adbceaa`](https://github.com/ljharb/call-bind/commit/adbceaa3cac4b41ea78bb19d7ccdbaaf7e0bdadb)
-- [Tests] gather coverage data on every job [`d69e23c`](https://github.com/ljharb/call-bind/commit/d69e23cc65f101ba1d4c19bb07fa8eb0ec624be8)
-- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`2fd3586`](https://github.com/ljharb/call-bind/commit/2fd3586c5d47b335364c14293114c6b625ae1f71)
-- [Deps] update `get-intrinsic` [`f23e931`](https://github.com/ljharb/call-bind/commit/f23e9318cc271c2add8bb38cfded85ee7baf8eee)
-- [Deps] update `get-intrinsic` [`72d9f44`](https://github.com/ljharb/call-bind/commit/72d9f44e184465ba8dd3fb48260bbcff234985f2)
-- [meta] fix FUNDING.yml [`e723573`](https://github.com/ljharb/call-bind/commit/e723573438c5a68dcec31fb5d96ea6b7e4a93be8)
-- [eslint] ignore coverage output [`15e76d2`](https://github.com/ljharb/call-bind/commit/15e76d28a5f43e504696401e5b31ebb78ee1b532)
-- [meta] add Automatic Rebase and Require Allow Edits workflows [`8fa4dab`](https://github.com/ljharb/call-bind/commit/8fa4dabb23ba3dd7bb92c9571c1241c08b56e4b6)
-
-## v1.0.0 - 2020-10-30
-
-### Commits
-
-- Initial commit [`306cf98`](https://github.com/ljharb/call-bind/commit/306cf98c7ec9e7ef66b653ec152277ac1381eb50)
-- Tests [`e10d0bb`](https://github.com/ljharb/call-bind/commit/e10d0bbdadc7a10ecedc9a1c035112d3e368b8df)
-- Implementation [`43852ed`](https://github.com/ljharb/call-bind/commit/43852eda0f187327b7fad2423ca972149a52bd65)
-- npm init [`408f860`](https://github.com/ljharb/call-bind/commit/408f860b773a2f610805fd3613d0d71bac1b6249)
-- [meta] add Automatic Rebase and Require Allow Edits workflows [`fb349b2`](https://github.com/ljharb/call-bind/commit/fb349b2e48defbec8b5ec8a8395cc8f69f220b13)
-- [meta] add `auto-changelog` [`c4001fc`](https://github.com/ljharb/call-bind/commit/c4001fc43031799ef908211c98d3b0fb2b60fde4)
-- [meta] add "funding"; create `FUNDING.yml` [`d4d6d29`](https://github.com/ljharb/call-bind/commit/d4d6d2974a14bc2e98830468eda7fe6d6a776717)
-- [Tests] add `npm run lint` [`dedfb98`](https://github.com/ljharb/call-bind/commit/dedfb98bd0ecefb08ddb9a94061bd10cde4332af)
-- Only apps should have lockfiles [`54ac776`](https://github.com/ljharb/call-bind/commit/54ac77653db45a7361dc153d2f478e743f110650)
-- [meta] add `safe-publish-latest` [`9ea8e43`](https://github.com/ljharb/call-bind/commit/9ea8e435b950ce9b705559cd651039f9bf40140f)
diff --git a/json_server/node_modules/call-bind/LICENSE b/json_server/node_modules/call-bind/LICENSE
deleted file mode 100644
index 48f05d01..00000000
--- a/json_server/node_modules/call-bind/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2020 Jordan Harband
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/json_server/node_modules/call-bind/README.md b/json_server/node_modules/call-bind/README.md
deleted file mode 100644
index 53649eb4..00000000
--- a/json_server/node_modules/call-bind/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# call-bind
-Robustly `.call.bind()` a function.
diff --git a/json_server/node_modules/call-bind/callBound.js b/json_server/node_modules/call-bind/callBound.js
deleted file mode 100644
index 8374adfd..00000000
--- a/json_server/node_modules/call-bind/callBound.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-
-var GetIntrinsic = require('get-intrinsic');
-
-var callBind = require('./');
-
-var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
-
-module.exports = function callBoundIntrinsic(name, allowMissing) {
- var intrinsic = GetIntrinsic(name, !!allowMissing);
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
- return callBind(intrinsic);
- }
- return intrinsic;
-};
diff --git a/json_server/node_modules/call-bind/index.js b/json_server/node_modules/call-bind/index.js
deleted file mode 100644
index 6fa3e4af..00000000
--- a/json_server/node_modules/call-bind/index.js
+++ /dev/null
@@ -1,47 +0,0 @@
-'use strict';
-
-var bind = require('function-bind');
-var GetIntrinsic = require('get-intrinsic');
-
-var $apply = GetIntrinsic('%Function.prototype.apply%');
-var $call = GetIntrinsic('%Function.prototype.call%');
-var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
-
-var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
-var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
-var $max = GetIntrinsic('%Math.max%');
-
-if ($defineProperty) {
- try {
- $defineProperty({}, 'a', { value: 1 });
- } catch (e) {
- // IE 8 has a broken defineProperty
- $defineProperty = null;
- }
-}
-
-module.exports = function callBind(originalFunction) {
- var func = $reflectApply(bind, $call, arguments);
- if ($gOPD && $defineProperty) {
- var desc = $gOPD(func, 'length');
- if (desc.configurable) {
- // original length, plus the receiver, minus any additional arguments (after the receiver)
- $defineProperty(
- func,
- 'length',
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
- );
- }
- }
- return func;
-};
-
-var applyBind = function applyBind() {
- return $reflectApply(bind, $apply, arguments);
-};
-
-if ($defineProperty) {
- $defineProperty(module.exports, 'apply', { value: applyBind });
-} else {
- module.exports.apply = applyBind;
-}
diff --git a/json_server/node_modules/call-bind/package.json b/json_server/node_modules/call-bind/package.json
deleted file mode 100644
index 4360556a..00000000
--- a/json_server/node_modules/call-bind/package.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "name": "call-bind",
- "version": "1.0.2",
- "description": "Robustly `.call.bind()` a function",
- "main": "index.js",
- "exports": {
- ".": [
- {
- "default": "./index.js"
- },
- "./index.js"
- ],
- "./callBound": [
- {
- "default": "./callBound.js"
- },
- "./callBound.js"
- ],
- "./package.json": "./package.json"
- },
- "scripts": {
- "prepublish": "safe-publish-latest",
- "lint": "eslint --ext=.js,.mjs .",
- "pretest": "npm run lint",
- "tests-only": "nyc tape 'test/*'",
- "test": "npm run tests-only",
- "posttest": "aud --production",
- "version": "auto-changelog && git add CHANGELOG.md",
- "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/ljharb/call-bind.git"
- },
- "keywords": [
- "javascript",
- "ecmascript",
- "es",
- "js",
- "callbind",
- "callbound",
- "call",
- "bind",
- "bound",
- "call-bind",
- "call-bound",
- "function",
- "es-abstract"
- ],
- "author": "Jordan Harband ",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- },
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/ljharb/call-bind/issues"
- },
- "homepage": "https://github.com/ljharb/call-bind#readme",
- "devDependencies": {
- "@ljharb/eslint-config": "^17.3.0",
- "aud": "^1.1.3",
- "auto-changelog": "^2.2.1",
- "eslint": "^7.17.0",
- "nyc": "^10.3.2",
- "safe-publish-latest": "^1.1.4",
- "tape": "^5.1.1"
- },
- "dependencies": {
- "function-bind": "^1.1.1",
- "get-intrinsic": "^1.0.2"
- },
- "auto-changelog": {
- "output": "CHANGELOG.md",
- "template": "keepachangelog",
- "unreleased": false,
- "commitLimit": false,
- "backfillLimit": false,
- "hideCredit": true
- }
-}
diff --git a/json_server/node_modules/call-bind/test/callBound.js b/json_server/node_modules/call-bind/test/callBound.js
deleted file mode 100644
index 209ce3cc..00000000
--- a/json_server/node_modules/call-bind/test/callBound.js
+++ /dev/null
@@ -1,55 +0,0 @@
-'use strict';
-
-var test = require('tape');
-
-var callBound = require('../callBound');
-
-test('callBound', function (t) {
- // static primitive
- t.equal(callBound('Array.length'), Array.length, 'Array.length yields itself');
- t.equal(callBound('%Array.length%'), Array.length, '%Array.length% yields itself');
-
- // static non-function object
- t.equal(callBound('Array.prototype'), Array.prototype, 'Array.prototype yields itself');
- t.equal(callBound('%Array.prototype%'), Array.prototype, '%Array.prototype% yields itself');
- t.equal(callBound('Array.constructor'), Array.constructor, 'Array.constructor yields itself');
- t.equal(callBound('%Array.constructor%'), Array.constructor, '%Array.constructor% yields itself');
-
- // static function
- t.equal(callBound('Date.parse'), Date.parse, 'Date.parse yields itself');
- t.equal(callBound('%Date.parse%'), Date.parse, '%Date.parse% yields itself');
-
- // prototype primitive
- t.equal(callBound('Error.prototype.message'), Error.prototype.message, 'Error.prototype.message yields itself');
- t.equal(callBound('%Error.prototype.message%'), Error.prototype.message, '%Error.prototype.message% yields itself');
-
- // prototype function
- t.notEqual(callBound('Object.prototype.toString'), Object.prototype.toString, 'Object.prototype.toString does not yield itself');
- t.notEqual(callBound('%Object.prototype.toString%'), Object.prototype.toString, '%Object.prototype.toString% does not yield itself');
- t.equal(callBound('Object.prototype.toString')(true), Object.prototype.toString.call(true), 'call-bound Object.prototype.toString calls into the original');
- t.equal(callBound('%Object.prototype.toString%')(true), Object.prototype.toString.call(true), 'call-bound %Object.prototype.toString% calls into the original');
-
- t['throws'](
- function () { callBound('does not exist'); },
- SyntaxError,
- 'nonexistent intrinsic throws'
- );
- t['throws'](
- function () { callBound('does not exist', true); },
- SyntaxError,
- 'allowMissing arg still throws for unknown intrinsic'
- );
-
- /* globals WeakRef: false */
- t.test('real but absent intrinsic', { skip: typeof WeakRef !== 'undefined' }, function (st) {
- st['throws'](
- function () { callBound('WeakRef'); },
- TypeError,
- 'real but absent intrinsic throws'
- );
- st.equal(callBound('WeakRef', true), undefined, 'allowMissing arg avoids exception');
- st.end();
- });
-
- t.end();
-});
diff --git a/json_server/node_modules/call-bind/test/index.js b/json_server/node_modules/call-bind/test/index.js
deleted file mode 100644
index bf6769c7..00000000
--- a/json_server/node_modules/call-bind/test/index.js
+++ /dev/null
@@ -1,66 +0,0 @@
-'use strict';
-
-var callBind = require('../');
-var bind = require('function-bind');
-
-var test = require('tape');
-
-/*
- * older engines have length nonconfigurable
- * in io.js v3, it is configurable except on bound functions, hence the .bind()
- */
-var functionsHaveConfigurableLengths = !!(
- Object.getOwnPropertyDescriptor
- && Object.getOwnPropertyDescriptor(bind.call(function () {}), 'length').configurable
-);
-
-test('callBind', function (t) {
- var sentinel = { sentinel: true };
- var func = function (a, b) {
- // eslint-disable-next-line no-invalid-this
- return [this, a, b];
- };
- t.equal(func.length, 2, 'original function length is 2');
- t.deepEqual(func(), [undefined, undefined, undefined], 'unbound func with too few args');
- t.deepEqual(func(1, 2), [undefined, 1, 2], 'unbound func with right args');
- t.deepEqual(func(1, 2, 3), [undefined, 1, 2], 'unbound func with too many args');
-
- var bound = callBind(func);
- t.equal(bound.length, func.length + 1, 'function length is preserved', { skip: !functionsHaveConfigurableLengths });
- t.deepEqual(bound(), [undefined, undefined, undefined], 'bound func with too few args');
- t.deepEqual(bound(1, 2), [1, 2, undefined], 'bound func with right args');
- t.deepEqual(bound(1, 2, 3), [1, 2, 3], 'bound func with too many args');
-
- var boundR = callBind(func, sentinel);
- t.equal(boundR.length, func.length, 'function length is preserved', { skip: !functionsHaveConfigurableLengths });
- t.deepEqual(boundR(), [sentinel, undefined, undefined], 'bound func with receiver, with too few args');
- t.deepEqual(boundR(1, 2), [sentinel, 1, 2], 'bound func with receiver, with right args');
- t.deepEqual(boundR(1, 2, 3), [sentinel, 1, 2], 'bound func with receiver, with too many args');
-
- var boundArg = callBind(func, sentinel, 1);
- t.equal(boundArg.length, func.length - 1, 'function length is preserved', { skip: !functionsHaveConfigurableLengths });
- t.deepEqual(boundArg(), [sentinel, 1, undefined], 'bound func with receiver and arg, with too few args');
- t.deepEqual(boundArg(2), [sentinel, 1, 2], 'bound func with receiver and arg, with right arg');
- t.deepEqual(boundArg(2, 3), [sentinel, 1, 2], 'bound func with receiver and arg, with too many args');
-
- t.test('callBind.apply', function (st) {
- var aBound = callBind.apply(func);
- st.deepEqual(aBound(sentinel), [sentinel, undefined, undefined], 'apply-bound func with no args');
- st.deepEqual(aBound(sentinel, [1], 4), [sentinel, 1, undefined], 'apply-bound func with too few args');
- st.deepEqual(aBound(sentinel, [1, 2], 4), [sentinel, 1, 2], 'apply-bound func with right args');
-
- var aBoundArg = callBind.apply(func);
- st.deepEqual(aBoundArg(sentinel, [1, 2, 3], 4), [sentinel, 1, 2], 'apply-bound func with too many args');
- st.deepEqual(aBoundArg(sentinel, [1, 2], 4), [sentinel, 1, 2], 'apply-bound func with right args');
- st.deepEqual(aBoundArg(sentinel, [1], 4), [sentinel, 1, undefined], 'apply-bound func with too few args');
-
- var aBoundR = callBind.apply(func, sentinel);
- st.deepEqual(aBoundR([1, 2, 3], 4), [sentinel, 1, 2], 'apply-bound func with receiver and too many args');
- st.deepEqual(aBoundR([1, 2], 4), [sentinel, 1, 2], 'apply-bound func with receiver and right args');
- st.deepEqual(aBoundR([1], 4), [sentinel, 1, undefined], 'apply-bound func with receiver and too few args');
-
- st.end();
- });
-
- t.end();
-});
diff --git a/json_server/node_modules/chalk/index.d.ts b/json_server/node_modules/chalk/index.d.ts
deleted file mode 100644
index 9cd88f38..00000000
--- a/json_server/node_modules/chalk/index.d.ts
+++ /dev/null
@@ -1,415 +0,0 @@
-/**
-Basic foreground colors.
-
-[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support)
-*/
-declare type ForegroundColor =
- | 'black'
- | 'red'
- | 'green'
- | 'yellow'
- | 'blue'
- | 'magenta'
- | 'cyan'
- | 'white'
- | 'gray'
- | 'grey'
- | 'blackBright'
- | 'redBright'
- | 'greenBright'
- | 'yellowBright'
- | 'blueBright'
- | 'magentaBright'
- | 'cyanBright'
- | 'whiteBright';
-
-/**
-Basic background colors.
-
-[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support)
-*/
-declare type BackgroundColor =
- | 'bgBlack'
- | 'bgRed'
- | 'bgGreen'
- | 'bgYellow'
- | 'bgBlue'
- | 'bgMagenta'
- | 'bgCyan'
- | 'bgWhite'
- | 'bgGray'
- | 'bgGrey'
- | 'bgBlackBright'
- | 'bgRedBright'
- | 'bgGreenBright'
- | 'bgYellowBright'
- | 'bgBlueBright'
- | 'bgMagentaBright'
- | 'bgCyanBright'
- | 'bgWhiteBright';
-
-/**
-Basic colors.
-
-[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support)
-*/
-declare type Color = ForegroundColor | BackgroundColor;
-
-declare type Modifiers =
- | 'reset'
- | 'bold'
- | 'dim'
- | 'italic'
- | 'underline'
- | 'inverse'
- | 'hidden'
- | 'strikethrough'
- | 'visible';
-
-declare namespace chalk {
- /**
- Levels:
- - `0` - All colors disabled.
- - `1` - Basic 16 colors support.
- - `2` - ANSI 256 colors support.
- - `3` - Truecolor 16 million colors support.
- */
- type Level = 0 | 1 | 2 | 3;
-
- interface Options {
- /**
- Specify the color support for Chalk.
-
- By default, color support is automatically detected based on the environment.
-
- Levels:
- - `0` - All colors disabled.
- - `1` - Basic 16 colors support.
- - `2` - ANSI 256 colors support.
- - `3` - Truecolor 16 million colors support.
- */
- level?: Level;
- }
-
- /**
- Return a new Chalk instance.
- */
- type Instance = new (options?: Options) => Chalk;
-
- /**
- Detect whether the terminal supports color.
- */
- interface ColorSupport {
- /**
- The color level used by Chalk.
- */
- level: Level;
-
- /**
- Return whether Chalk supports basic 16 colors.
- */
- hasBasic: boolean;
-
- /**
- Return whether Chalk supports ANSI 256 colors.
- */
- has256: boolean;
-
- /**
- Return whether Chalk supports Truecolor 16 million colors.
- */
- has16m: boolean;
- }
-
- interface ChalkFunction {
- /**
- Use a template string.
-
- @remarks Template literals are unsupported for nested calls (see [issue #341](https://github.com/chalk/chalk/issues/341))
-
- @example
- ```
- import chalk = require('chalk');
-
- log(chalk`
- CPU: {red ${cpu.totalPercent}%}
- RAM: {green ${ram.used / ram.total * 100}%}
- DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%}
- `);
- ```
-
- @example
- ```
- import chalk = require('chalk');
-
- log(chalk.red.bgBlack`2 + 3 = {bold ${2 + 3}}`)
- ```
- */
- (text: TemplateStringsArray, ...placeholders: unknown[]): string;
-
- (...text: unknown[]): string;
- }
-
- interface Chalk extends ChalkFunction {
- /**
- Return a new Chalk instance.
- */
- Instance: Instance;
-
- /**
- The color support for Chalk.
-
- By default, color support is automatically detected based on the environment.
-
- Levels:
- - `0` - All colors disabled.
- - `1` - Basic 16 colors support.
- - `2` - ANSI 256 colors support.
- - `3` - Truecolor 16 million colors support.
- */
- level: Level;
-
- /**
- Use HEX value to set text color.
-
- @param color - Hexadecimal value representing the desired color.
-
- @example
- ```
- import chalk = require('chalk');
-
- chalk.hex('#DEADED');
- ```
- */
- hex(color: string): Chalk;
-
- /**
- Use keyword color value to set text color.
-
- @param color - Keyword value representing the desired color.
-
- @example
- ```
- import chalk = require('chalk');
-
- chalk.keyword('orange');
- ```
- */
- keyword(color: string): Chalk;
-
- /**
- Use RGB values to set text color.
- */
- rgb(red: number, green: number, blue: number): Chalk;
-
- /**
- Use HSL values to set text color.
- */
- hsl(hue: number, saturation: number, lightness: number): Chalk;
-
- /**
- Use HSV values to set text color.
- */
- hsv(hue: number, saturation: number, value: number): Chalk;
-
- /**
- Use HWB values to set text color.
- */
- hwb(hue: number, whiteness: number, blackness: number): Chalk;
-
- /**
- Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set text color.
-
- 30 <= code && code < 38 || 90 <= code && code < 98
- For example, 31 for red, 91 for redBright.
- */
- ansi(code: number): Chalk;
-
- /**
- Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color.
- */
- ansi256(index: number): Chalk;
-
- /**
- Use HEX value to set background color.
-
- @param color - Hexadecimal value representing the desired color.
-
- @example
- ```
- import chalk = require('chalk');
-
- chalk.bgHex('#DEADED');
- ```
- */
- bgHex(color: string): Chalk;
-
- /**
- Use keyword color value to set background color.
-
- @param color - Keyword value representing the desired color.
-
- @example
- ```
- import chalk = require('chalk');
-
- chalk.bgKeyword('orange');
- ```
- */
- bgKeyword(color: string): Chalk;
-
- /**
- Use RGB values to set background color.
- */
- bgRgb(red: number, green: number, blue: number): Chalk;
-
- /**
- Use HSL values to set background color.
- */
- bgHsl(hue: number, saturation: number, lightness: number): Chalk;
-
- /**
- Use HSV values to set background color.
- */
- bgHsv(hue: number, saturation: number, value: number): Chalk;
-
- /**
- Use HWB values to set background color.
- */
- bgHwb(hue: number, whiteness: number, blackness: number): Chalk;
-
- /**
- Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set background color.
-
- 30 <= code && code < 38 || 90 <= code && code < 98
- For example, 31 for red, 91 for redBright.
- Use the foreground code, not the background code (for example, not 41, nor 101).
- */
- bgAnsi(code: number): Chalk;
-
- /**
- Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set background color.
- */
- bgAnsi256(index: number): Chalk;
-
- /**
- Modifier: Resets the current color chain.
- */
- readonly reset: Chalk;
-
- /**
- Modifier: Make text bold.
- */
- readonly bold: Chalk;
-
- /**
- Modifier: Emitting only a small amount of light.
- */
- readonly dim: Chalk;
-
- /**
- Modifier: Make text italic. (Not widely supported)
- */
- readonly italic: Chalk;
-
- /**
- Modifier: Make text underline. (Not widely supported)
- */
- readonly underline: Chalk;
-
- /**
- Modifier: Inverse background and foreground colors.
- */
- readonly inverse: Chalk;
-
- /**
- Modifier: Prints the text, but makes it invisible.
- */
- readonly hidden: Chalk;
-
- /**
- Modifier: Puts a horizontal line through the center of the text. (Not widely supported)
- */
- readonly strikethrough: Chalk;
-
- /**
- Modifier: Prints the text only when Chalk has a color support level > 0.
- Can be useful for things that are purely cosmetic.
- */
- readonly visible: Chalk;
-
- readonly black: Chalk;
- readonly red: Chalk;
- readonly green: Chalk;
- readonly yellow: Chalk;
- readonly blue: Chalk;
- readonly magenta: Chalk;
- readonly cyan: Chalk;
- readonly white: Chalk;
-
- /*
- Alias for `blackBright`.
- */
- readonly gray: Chalk;
-
- /*
- Alias for `blackBright`.
- */
- readonly grey: Chalk;
-
- readonly blackBright: Chalk;
- readonly redBright: Chalk;
- readonly greenBright: Chalk;
- readonly yellowBright: Chalk;
- readonly blueBright: Chalk;
- readonly magentaBright: Chalk;
- readonly cyanBright: Chalk;
- readonly whiteBright: Chalk;
-
- readonly bgBlack: Chalk;
- readonly bgRed: Chalk;
- readonly bgGreen: Chalk;
- readonly bgYellow: Chalk;
- readonly bgBlue: Chalk;
- readonly bgMagenta: Chalk;
- readonly bgCyan: Chalk;
- readonly bgWhite: Chalk;
-
- /*
- Alias for `bgBlackBright`.
- */
- readonly bgGray: Chalk;
-
- /*
- Alias for `bgBlackBright`.
- */
- readonly bgGrey: Chalk;
-
- readonly bgBlackBright: Chalk;
- readonly bgRedBright: Chalk;
- readonly bgGreenBright: Chalk;
- readonly bgYellowBright: Chalk;
- readonly bgBlueBright: Chalk;
- readonly bgMagentaBright: Chalk;
- readonly bgCyanBright: Chalk;
- readonly bgWhiteBright: Chalk;
- }
-}
-
-/**
-Main Chalk object that allows to chain styles together.
-Call the last one as a method with a string argument.
-Order doesn't matter, and later styles take precedent in case of a conflict.
-This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`.
-*/
-declare const chalk: chalk.Chalk & chalk.ChalkFunction & {
- supportsColor: chalk.ColorSupport | false;
- Level: chalk.Level;
- Color: Color;
- ForegroundColor: ForegroundColor;
- BackgroundColor: BackgroundColor;
- Modifiers: Modifiers;
- stderr: chalk.Chalk & {supportsColor: chalk.ColorSupport | false};
-};
-
-export = chalk;
diff --git a/json_server/node_modules/chalk/license b/json_server/node_modules/chalk/license
deleted file mode 100644
index e7af2f77..00000000
--- a/json_server/node_modules/chalk/license
+++ /dev/null
@@ -1,9 +0,0 @@
-MIT License
-
-Copyright (c) Sindre Sorhus (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/json_server/node_modules/chalk/package.json b/json_server/node_modules/chalk/package.json
deleted file mode 100644
index 47c23f29..00000000
--- a/json_server/node_modules/chalk/package.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "name": "chalk",
- "version": "4.1.2",
- "description": "Terminal string styling done right",
- "license": "MIT",
- "repository": "chalk/chalk",
- "funding": "https://github.com/chalk/chalk?sponsor=1",
- "main": "source",
- "engines": {
- "node": ">=10"
- },
- "scripts": {
- "test": "xo && nyc ava && tsd",
- "bench": "matcha benchmark.js"
- },
- "files": [
- "source",
- "index.d.ts"
- ],
- "keywords": [
- "color",
- "colour",
- "colors",
- "terminal",
- "console",
- "cli",
- "string",
- "str",
- "ansi",
- "style",
- "styles",
- "tty",
- "formatting",
- "rgb",
- "256",
- "shell",
- "xterm",
- "log",
- "logging",
- "command-line",
- "text"
- ],
- "dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- },
- "devDependencies": {
- "ava": "^2.4.0",
- "coveralls": "^3.0.7",
- "execa": "^4.0.0",
- "import-fresh": "^3.1.0",
- "matcha": "^0.7.0",
- "nyc": "^15.0.0",
- "resolve-from": "^5.0.0",
- "tsd": "^0.7.4",
- "xo": "^0.28.2"
- },
- "xo": {
- "rules": {
- "unicorn/prefer-string-slice": "off",
- "unicorn/prefer-includes": "off",
- "@typescript-eslint/member-ordering": "off",
- "no-redeclare": "off",
- "unicorn/string-content": "off",
- "unicorn/better-regex": "off"
- }
- }
-}
diff --git a/json_server/node_modules/chalk/readme.md b/json_server/node_modules/chalk/readme.md
deleted file mode 100644
index a055d21c..00000000
--- a/json_server/node_modules/chalk/readme.md
+++ /dev/null
@@ -1,341 +0,0 @@
-
-
-
-
-
-
-
-
-
-> Terminal string styling done right
-
-[](https://travis-ci.org/chalk/chalk) [](https://coveralls.io/github/chalk/chalk?branch=master) [](https://www.npmjs.com/package/chalk?activeTab=dependents) [](https://www.npmjs.com/package/chalk) [](https://www.youtube.com/watch?v=9auOCbH5Ns4) [](https://github.com/xojs/xo)  [](https://repl.it/github/chalk/chalk)
-
-
-
-
-
----
-
-
-
----
-
-
-
-## Highlights
-
-- Expressive API
-- Highly performant
-- Ability to nest styles
-- [256/Truecolor color support](#256-and-truecolor-color-support)
-- Auto-detects color support
-- Doesn't extend `String.prototype`
-- Clean and focused
-- Actively maintained
-- [Used by ~50,000 packages](https://www.npmjs.com/browse/depended/chalk) as of January 1, 2020
-
-## Install
-
-```console
-$ npm install chalk
-```
-
-## Usage
-
-```js
-const chalk = require('chalk');
-
-console.log(chalk.blue('Hello world!'));
-```
-
-Chalk comes with an easy to use composable API where you just chain and nest the styles you want.
-
-```js
-const chalk = require('chalk');
-const log = console.log;
-
-// Combine styled and normal strings
-log(chalk.blue('Hello') + ' World' + chalk.red('!'));
-
-// Compose multiple styles using the chainable API
-log(chalk.blue.bgRed.bold('Hello world!'));
-
-// Pass in multiple arguments
-log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz'));
-
-// Nest styles
-log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!'));
-
-// Nest styles of the same type even (color, underline, background)
-log(chalk.green(
- 'I am a green line ' +
- chalk.blue.underline.bold('with a blue substring') +
- ' that becomes green again!'
-));
-
-// ES2015 template literal
-log(`
-CPU: ${chalk.red('90%')}
-RAM: ${chalk.green('40%')}
-DISK: ${chalk.yellow('70%')}
-`);
-
-// ES2015 tagged template literal
-log(chalk`
-CPU: {red ${cpu.totalPercent}%}
-RAM: {green ${ram.used / ram.total * 100}%}
-DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%}
-`);
-
-// Use RGB colors in terminal emulators that support it.
-log(chalk.keyword('orange')('Yay for orange colored text!'));
-log(chalk.rgb(123, 45, 67).underline('Underlined reddish color'));
-log(chalk.hex('#DEADED').bold('Bold gray!'));
-```
-
-Easily define your own themes:
-
-```js
-const chalk = require('chalk');
-
-const error = chalk.bold.red;
-const warning = chalk.keyword('orange');
-
-console.log(error('Error!'));
-console.log(warning('Warning!'));
-```
-
-Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args):
-
-```js
-const name = 'Sindre';
-console.log(chalk.green('Hello %s'), name);
-//=> 'Hello Sindre'
-```
-
-## API
-
-### chalk.`
-
-
-
-
{title}
-
{statusCode} {error}
-
-
-
-