diff --git a/app/gabsocial/utils/__tests__/features-test.js b/app/gabsocial/utils/__tests__/features-test.js new file mode 100644 index 0000000000..7f2960831b Binary files /dev/null and b/app/gabsocial/utils/__tests__/features-test.js differ diff --git a/app/gabsocial/utils/features.js b/app/gabsocial/utils/features.js new file mode 100644 index 0000000000..6ef0ba8340 Binary files /dev/null and b/app/gabsocial/utils/features.js differ diff --git a/package.json b/package.json index bbec290c97..a4b5bbd343 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,13 @@ "description": "Soapbox frontend for Pleroma.", "homepage": "https://soapbox.pub/", "repository": { - "type" : "git", - "url" : "https://gitlab.com/soapbox-pub/soapbox-fe.git" + "type": "git", + "url": "https://gitlab.com/soapbox-pub/soapbox-fe.git" }, - "keywords": ["fediverse", "pleroma"], + "keywords": [ + "fediverse", + "pleroma" + ], "bugs": { "url": "https://gitlab.com/soapbox-pub/soapbox-fe/-/issues" }, @@ -125,6 +128,7 @@ "rimraf": "^3.0.0", "sass": "^1.20.3", "sass-loader": "^8.0.0", + "semver": "^7.3.2", "stringz": "^2.0.0", "substring-trie": "^1.0.2", "throng": "^4.0.0", diff --git a/yarn.lock b/yarn.lock index 5054c8b876..6125a25663 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9388,6 +9388,11 @@ semver@^6.1.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.1.1.tgz#53f53da9b30b2103cd4f15eab3a18ecbcb210c9b" integrity sha512-rWYq2e5iYW+fFe/oPPtYJxYgjBm8sC4rmoGdUOgBB7VnwKt6HrL793l2voH1UlsyYZpJ4g0wfjnTEO1s1NP2eQ== +semver@^7.3.2: + version "7.3.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" + integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== + send@0.17.1: version "0.17.1" resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8"