aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.eslintrc1
-rw-r--r--.husky/_/husky.sh30
-rw-r--r--package-lock.json808
-rw-r--r--package.json18
-rw-r--r--recipes/NewsBlur/webview.js2
-rw-r--r--recipes/air-droid/webview.js2
-rw-r--r--recipes/airtable/index.js2
-rw-r--r--recipes/airtable/webview.js1
-rw-r--r--recipes/android-messages/index.js4
-rw-r--r--recipes/android-messages/webview.js8
-rw-r--r--recipes/anonaddy/webview.js4
-rw-r--r--recipes/anydo/index.js1
-rw-r--r--recipes/anydo/webview.js25
-rw-r--r--recipes/asana/index.js4
-rw-r--r--recipes/asana/webview.js8
-rw-r--r--recipes/aws-workmail/webview.js28
-rw-r--r--recipes/azure-devops/webview.js4
-rw-r--r--recipes/basecamp/webview.js14
-rw-r--r--recipes/bigbluebutton/index.js2
-rw-r--r--recipes/bigbluebutton/webview.js1
-rw-r--r--recipes/bip/webview.js28
-rw-r--r--recipes/bitbucket/webview.js4
-rw-r--r--recipes/box/webview.js4
-rw-r--r--recipes/buffer/webview.js4
-rw-r--r--recipes/campuswire/index.js4
-rw-r--r--recipes/campuswire/webview.js4
-rw-r--r--recipes/canvas/index.js2
-rw-r--r--recipes/canvas/webview.js9
-rw-r--r--recipes/chatwork/index.js4
-rw-r--r--recipes/chatwork/webview.js16
-rw-r--r--recipes/ciscospark/index.js4
-rw-r--r--recipes/ciscospark/webview.js8
-rw-r--r--recipes/clickup/index.js2
-rw-r--r--recipes/clickup/webview.js2
-rw-r--r--recipes/cliq/index.js4
-rw-r--r--recipes/cliq/webview.js4
-rw-r--r--recipes/clockify/index.js4
-rw-r--r--recipes/clockify/webview.js4
-rw-r--r--recipes/clubhouse/webview.js2
-rw-r--r--recipes/devdocs/webview.js2
-rw-r--r--recipes/discord/webview.js35
-rw-r--r--recipes/disqus/index.js2
-rw-r--r--recipes/disqus/webview.js12
-rw-r--r--recipes/easy-redmine/webview.js4
-rw-r--r--recipes/element/index.js2
-rw-r--r--recipes/element/webview.js6
-rw-r--r--recipes/enterprise-owa/index.js2
-rw-r--r--recipes/enterprise-owa/webview.js6
-rw-r--r--recipes/epicgames/webview.js4
-rw-r--r--recipes/erepublik/webview.js16
-rwxr-xr-xrecipes/facebook/webview.js25
-rw-r--r--recipes/facebookpages/index.js4
-rw-r--r--recipes/facebookpages/webview.js4
-rw-r--r--recipes/fastmail/index.js4
-rw-r--r--recipes/fastmail/webview.js4
-rw-r--r--recipes/feedbin/webview.js2
-rw-r--r--recipes/feedly/index.js3
-rw-r--r--recipes/feedly/webview.js8
-rw-r--r--recipes/figma/webview.js2
-rw-r--r--recipes/fleep/webview.js6
-rw-r--r--recipes/flowdock/index.js4
-rw-r--r--recipes/flowdock/webview.js4
-rw-r--r--recipes/franz-custom-website/index.js2
-rw-r--r--recipes/franz-custom-website/webview.js4
-rw-r--r--recipes/gadugadu/index.js4
-rw-r--r--recipes/gadugadu/webview.js4
-rw-r--r--recipes/github/index.js4
-rw-r--r--recipes/github/webview.js17
-rw-r--r--recipes/github_entreprise/index.js8
-rw-r--r--recipes/github_entreprise/webview.js1
-rw-r--r--recipes/gitlab/webview.js4
-rw-r--r--recipes/gitter/index.js4
-rw-r--r--recipes/gitter/webview.js10
-rw-r--r--recipes/glowing-bear/index.js4
-rw-r--r--recipes/glowing-bear/webview.js24
-rw-r--r--recipes/gmail/index.js7
-rw-r--r--recipes/gmail/webview.js4
-rw-r--r--recipes/google-voice/index.js4
-rw-r--r--recipes/google-voice/webview.js4
-rw-r--r--recipes/googlecalendar/index.js5
-rw-r--r--recipes/googlecalendar/webview.js2
-rw-r--r--recipes/googleclassroom/index.js5
-rw-r--r--recipes/googleclassroom/webview.js10
-rw-r--r--recipes/googlecontacts/index.js1
-rw-r--r--recipes/googlecontacts/webview.js1
-rw-r--r--recipes/googledrive/index.js7
-rw-r--r--recipes/googledrive/webview.js2
-rw-r--r--recipes/googlekeep/index.js5
-rw-r--r--recipes/googlekeep/webview.js3
-rw-r--r--recipes/googlemeet/index.js5
-rw-r--r--recipes/googlemeet/webview.js8
-rw-r--r--recipes/googlepodcasts/index.js1
-rw-r--r--recipes/googlepodcasts/webview.js1
-rw-r--r--recipes/gotomeeting/index.js3
-rw-r--r--recipes/gotomeeting/webview.js8
-rw-r--r--recipes/grape/index.js8
-rw-r--r--recipes/grape/webview.js4
-rw-r--r--recipes/groupme/index.js4
-rw-r--r--recipes/groupme/webview.js4
-rw-r--r--recipes/guilded/index.js4
-rw-r--r--recipes/guilded/webview.js12
-rwxr-xr-xrecipes/habitica/index.js2
-rwxr-xr-xrecipes/habitica/webview.js4
-rw-r--r--recipes/hackmd/webview.js2
-rw-r--r--recipes/hangouts/index.js5
-rw-r--r--recipes/hangouts/webview.js4
-rw-r--r--recipes/hangoutschat/index.js7
-rw-r--r--recipes/hangoutschat/webview.js12
-rw-r--r--recipes/harvest/index.js3
-rw-r--r--recipes/harvest/webview.js1
-rw-r--r--recipes/hipchat/index.js10
-rw-r--r--recipes/hipchat/webview.js4
-rw-r--r--recipes/iCloud/webview.js2
-rw-r--r--recipes/icloud-reminders/webview.js2
-rw-r--r--recipes/icq/index.js4
-rw-r--r--recipes/icq/webview.js4
-rw-r--r--recipes/idobata/index.js4
-rw-r--r--recipes/idobata/webview.js4
-rw-r--r--recipes/infomaniak-mail/webview.js12
-rw-r--r--recipes/inoreader/webview.js6
-rw-r--r--recipes/instagram/index.js2
-rw-r--r--recipes/instagram/webview.js2
-rw-r--r--recipes/intercom/index.js2
-rw-r--r--recipes/intercom/webview.js20
-rw-r--r--recipes/irccloud/index.js4
-rw-r--r--recipes/irccloud/webview.js8
-rw-r--r--recipes/jira/index.js19
-rw-r--r--recipes/jira/webview.js6
-rw-r--r--recipes/jitsi/index.js9
-rw-r--r--recipes/jitsi/webview.js20
-rw-r--r--recipes/jollor/webview.js2
-rw-r--r--recipes/kaizala/index.js19
-rw-r--r--recipes/kaizala/webview.js4
-rw-r--r--recipes/keybase.io/index.js5
-rw-r--r--recipes/keybase.io/webview.js2
-rw-r--r--recipes/kimai-cloud/webview.js4
-rw-r--r--recipes/lark/webview.js2
-rw-r--r--recipes/lastpass/index.js5
-rw-r--r--recipes/lastpass/webview.js8
-rw-r--r--recipes/line.me/index.js5
-rw-r--r--recipes/line.me/webview.js2
-rw-r--r--recipes/linkedin/index.js4
-rw-r--r--recipes/linkedin/webview.js4
-rw-r--r--recipes/mailbox.org/index.js2
-rw-r--r--recipes/mailbox.org/webview.js1
-rw-r--r--recipes/mastodon/index.js20
-rw-r--r--recipes/mastodon/webview.js46
-rw-r--r--recipes/mattermost/index.js9
-rw-r--r--recipes/mattermost/webview.js2
-rw-r--r--recipes/messenger/index.js19
-rw-r--r--recipes/messenger/webview.js16
-rw-r--r--recipes/monday/index.js4
-rwxr-xr-xrecipes/monday/webview.js19
-rw-r--r--recipes/msteams/index.js4
-rw-r--r--recipes/msteams/webview.js2
-rw-r--r--recipes/mstodo/webview.js4
-rw-r--r--recipes/mysms/index.js4
-rw-r--r--recipes/mysms/webview.js6
-rw-r--r--recipes/netatmo-energy/index.js4
-rw-r--r--recipes/netatmo-energy/webview.js2
-rw-r--r--recipes/nextcloud-calendar/index.js2
-rw-r--r--recipes/nextcloud-calendar/webview.js8
-rw-r--r--recipes/nextcloud-carnet/index.js2
-rw-r--r--recipes/nextcloud-carnet/webview.js10
-rw-r--r--recipes/nextcloud-cospend/index.js2
-rw-r--r--recipes/nextcloud-cospend/webview.js10
-rw-r--r--recipes/nextcloud-talk/index.js2
-rw-r--r--recipes/nextcloud-talk/webview.js12
-rw-r--r--recipes/nextcloud-tasks/index.js2
-rw-r--r--recipes/nextcloud-tasks/webview.js10
-rw-r--r--recipes/nextcloud/index.js2
-rw-r--r--recipes/nextcloud/webview.js8
-rw-r--r--recipes/nextdoor/index.js4
-rw-r--r--recipes/nextdoor/webview.js10
-rw-r--r--recipes/nomadlist/webview.js4
-rw-r--r--recipes/notion/index.js2
-rw-r--r--recipes/notion/webview.js6
-rw-r--r--recipes/office365-owa/index.js13
-rw-r--r--recipes/office365-owa/webview.js6
-rw-r--r--recipes/onenote/webview.js4
-rw-r--r--recipes/outlook/index.js13
-rw-r--r--recipes/outlook/webview.js6
-rw-r--r--recipes/paymoapp/webview.js2
-rw-r--r--recipes/pinterest/webview.js2
-rw-r--r--recipes/pivotal-tracker/webview.js14
-rw-r--r--recipes/plan/webview.js4
-rw-r--r--recipes/pleroma/webview.js21
-rw-r--r--recipes/plurk/index.js4
-rw-r--r--recipes/plurk/webview.js4
-rw-r--r--recipes/pocket/index.js4
-rw-r--r--recipes/pocket/webview.js3
-rw-r--r--recipes/podio/webview.js2
-rw-r--r--recipes/pomodoro-tracker/webview.js4
-rw-r--r--recipes/proton-mail/webview.js26
-rwxr-xr-xrecipes/protonet/webview.js8
-rw-r--r--recipes/pulsesms/webview.js2
-rw-r--r--recipes/pushbullet/index.js30
-rw-r--r--recipes/pushbullet/webview.js3
-rw-r--r--recipes/rainloop/index.js4
-rw-r--r--recipes/rainloop/webview.js44
-rw-r--r--recipes/reddit/index.js2
-rw-r--r--recipes/reddit/webview.js22
-rw-r--r--recipes/redditchat/index.js2
-rw-r--r--recipes/redditchat/webview.js10
-rw-r--r--recipes/riseup/webview.js10
-rw-r--r--recipes/rocketchat/index.js9
-rw-r--r--recipes/rocketchat/webview.js6
-rw-r--r--recipes/roundcube/index.js4
-rw-r--r--recipes/roundcube/webview.js24
-rw-r--r--recipes/sendtask/index.js4
-rw-r--r--recipes/sendtask/webview.js4
-rw-r--r--recipes/simplenote/webview.js4
-rw-r--r--recipes/skype/index.js19
-rw-r--r--recipes/skype/webview.js10
-rw-r--r--recipes/slack/index.js4
-rw-r--r--recipes/slack/webview.js6
-rw-r--r--recipes/slite/index.js2
-rw-r--r--recipes/slite/webview.js8
-rw-r--r--recipes/snapdrop/index.js29
-rw-r--r--recipes/snapdrop/webview.js2
-rw-r--r--recipes/stackexchange/webview.js4
-rwxr-xr-xrecipes/standardnotes/index.js4
-rwxr-xr-xrecipes/standardnotes/webview.js3
-rw-r--r--recipes/steamchat/index.js21
-rw-r--r--recipes/steamchat/webview.js14
-rw-r--r--recipes/stride/index.js4
-rw-r--r--recipes/stride/webview.js12
-rw-r--r--recipes/superhuman-email/index.js2
-rw-r--r--recipes/superhuman-email/webview.js4
-rw-r--r--recipes/sync/webview.js4
-rw-r--r--recipes/tawk/index.js4
-rw-r--r--recipes/tawk/webview.js4
-rw-r--r--recipes/teamleader/webview.js14
-rw-r--r--recipes/teamwork-projects/index.js4
-rw-r--r--recipes/teamwork-projects/webview.js8
-rw-r--r--recipes/telegram-react/index.js4
-rw-r--r--recipes/telegram-react/webview.js8
-rw-r--r--recipes/telegram/index.js4
-rw-r--r--recipes/telegram/webview.js15
-rw-r--r--recipes/thelounge/index.js4
-rw-r--r--recipes/thelounge/webview.js26
-rw-r--r--recipes/threema/index.js4
-rw-r--r--recipes/threema/webview.js38
-rw-r--r--recipes/ticktick/index.js2
-rw-r--r--recipes/ticktick/webview.js3
-rw-r--r--recipes/todoist/index.js4
-rw-r--r--recipes/todoist/webview.js8
-rw-r--r--recipes/toggl/index.js4
-rw-r--r--recipes/toggl/webview.js4
-rw-r--r--recipes/trello/index.js4
-rw-r--r--recipes/trello/webview.js6
-rw-r--r--recipes/tutanota/webview.js4
-rw-r--r--recipes/tweetdeck/index.js30
-rw-r--r--recipes/tweetdeck/webview.js4
-rw-r--r--recipes/twist/index.js4
-rw-r--r--recipes/twist/webview.js4
-rw-r--r--recipes/twitch/index.js4
-rw-r--r--recipes/twitch/webview.js4
-rw-r--r--recipes/twitter-dm/index.js4
-rw-r--r--recipes/twitter-dm/webview.js4
-rw-r--r--recipes/twitter/index.js4
-rw-r--r--recipes/twitter/webview.js9
-rw-r--r--recipes/unraid/index.js4
-rw-r--r--recipes/unraid/webview.js6
-rw-r--r--recipes/vk/index.js4
-rw-r--r--recipes/vk/webview.js4
-rw-r--r--recipes/voxer/index.js4
-rw-r--r--recipes/voxer/webview.js4
-rw-r--r--recipes/webex-teams/index.js2
-rw-r--r--recipes/webex-teams/webview.js6
-rw-r--r--recipes/wechat/index.js4
-rw-r--r--recipes/wechat/webview.js14
-rw-r--r--recipes/whatsapp/index.js36
-rw-r--r--recipes/whatsapp/webview.js26
-rw-r--r--recipes/wire/webview.js61
-rw-r--r--recipes/withspectrum/index.js4
-rw-r--r--recipes/withspectrum/webview.js4
-rw-r--r--recipes/workplace/index.js4
-rw-r--r--recipes/workplace/webview.js6
-rw-r--r--recipes/wrike/index.js4
-rw-r--r--recipes/wrike/webview.js6
-rw-r--r--recipes/xing/index.js4
-rw-r--r--recipes/xing/webview.js4
-rw-r--r--recipes/yahoo-mail/index.js29
-rw-r--r--recipes/yahoo-mail/webview.js4
-rw-r--r--recipes/yammer/index.js4
-rw-r--r--recipes/yammer/webview.js8
-rw-r--r--recipes/youtrack/webview.js6
-rw-r--r--recipes/youtubemusic/index.js1
-rw-r--r--recipes/youtubemusic/webview.js1
-rw-r--r--recipes/zalo/index.js4
-rw-r--r--recipes/zalo/webview.js4
-rw-r--r--recipes/zendesk/index.js4
-rw-r--r--recipes/zendesk/webview.js6
-rw-r--r--recipes/zenhub/index.js2
-rw-r--r--recipes/zeplin/index.js2
-rw-r--r--recipes/zeplin/webview.js2
-rw-r--r--recipes/zimbra/index.js4
-rw-r--r--recipes/zimbra/webview.js6
-rw-r--r--recipes/zoho/webview.js6
-rw-r--r--recipes/zulip/index.js10
-rw-r--r--recipes/zulip/webview.js12
302 files changed, 1156 insertions, 1856 deletions
diff --git a/.eslintrc b/.eslintrc
index 023a0e7..5e9153b 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,4 +1,5 @@
1{ 1{
2 "root": true,
2 "parser": "babel-eslint", 3 "parser": "babel-eslint",
3 "rules": { 4 "rules": {
4 "consistent-return": 0, 5 "consistent-return": 0,
diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh
deleted file mode 100644
index ca2720e..0000000
--- a/.husky/_/husky.sh
+++ /dev/null
@@ -1,30 +0,0 @@
1#!/bin/sh
2if [ -z "$husky_skip_init" ]; then
3 debug () {
4 [ "$HUSKY_DEBUG" = "1" ] && echo "husky (debug) - $1"
5 }
6
7 readonly hook_name="$(basename "$0")"
8 debug "starting $hook_name..."
9
10 if [ "$HUSKY" = "0" ]; then
11 debug "HUSKY env variable is set to 0, skipping hook"
12 exit 0
13 fi
14
15 if [ -f ~/.huskyrc ]; then
16 debug "sourcing ~/.huskyrc"
17 . ~/.huskyrc
18 fi
19
20 export readonly husky_skip_init=1
21 sh -e "$0" "$@"
22 exitCode="$?"
23
24 if [ $exitCode != 0 ]; then
25 echo "husky - $hook_name hook exited with code $exitCode (error)"
26 exit $exitCode
27 fi
28
29 exit 0
30fi
diff --git a/package-lock.json b/package-lock.json
index fc538a8..fe9e298 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5,273 +5,122 @@
5 "requires": true, 5 "requires": true,
6 "dependencies": { 6 "dependencies": {
7 "@babel/code-frame": { 7 "@babel/code-frame": {
8 "version": "7.10.4", 8 "version": "7.14.5",
9 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", 9 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz",
10 "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", 10 "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==",
11 "dev": true, 11 "dev": true,
12 "requires": { 12 "requires": {
13 "@babel/highlight": "^7.10.4" 13 "@babel/highlight": "^7.14.5"
14 } 14 }
15 }, 15 },
16 "@babel/generator": { 16 "@babel/generator": {
17 "version": "7.14.1", 17 "version": "7.14.8",
18 "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.1.tgz", 18 "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.8.tgz",
19 "integrity": "sha512-TMGhsXMXCP/O1WtQmZjpEYDhCYC9vFhayWZPJSZCGkPJgUqX0rF0wwtrYvnzVxIjcF80tkUertXVk5cwqi5cAQ==", 19 "integrity": "sha512-cYDUpvIzhBVnMzRoY1fkSEhK/HmwEVwlyULYgn/tMQYd6Obag3ylCjONle3gdErfXBW61SVTlR9QR7uWlgeIkg==",
20 "dev": true, 20 "dev": true,
21 "requires": { 21 "requires": {
22 "@babel/types": "^7.14.1", 22 "@babel/types": "^7.14.8",
23 "jsesc": "^2.5.1", 23 "jsesc": "^2.5.1",
24 "source-map": "^0.5.0" 24 "source-map": "^0.5.0"
25 },
26 "dependencies": {
27 "source-map": {
28 "version": "0.5.7",
29 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
30 "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
31 "dev": true
32 }
33 } 25 }
34 }, 26 },
35 "@babel/helper-function-name": { 27 "@babel/helper-function-name": {
36 "version": "7.12.13", 28 "version": "7.14.5",
37 "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz", 29 "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz",
38 "integrity": "sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==", 30 "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==",
39 "dev": true, 31 "dev": true,
40 "requires": { 32 "requires": {
41 "@babel/helper-get-function-arity": "^7.12.13", 33 "@babel/helper-get-function-arity": "^7.14.5",
42 "@babel/template": "^7.12.13", 34 "@babel/template": "^7.14.5",
43 "@babel/types": "^7.12.13" 35 "@babel/types": "^7.14.5"
44 } 36 }
45 }, 37 },
46 "@babel/helper-get-function-arity": { 38 "@babel/helper-get-function-arity": {
47 "version": "7.12.13", 39 "version": "7.14.5",
48 "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz", 40 "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz",
49 "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==", 41 "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==",
50 "dev": true, 42 "dev": true,
51 "requires": { 43 "requires": {
52 "@babel/types": "^7.12.13" 44 "@babel/types": "^7.14.5"
45 }
46 },
47 "@babel/helper-hoist-variables": {
48 "version": "7.14.5",
49 "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz",
50 "integrity": "sha512-R1PXiz31Uc0Vxy4OEOm07x0oSjKAdPPCh3tPivn/Eo8cvz6gveAeuyUUPB21Hoiif0uoPQSSdhIPS3352nvdyQ==",
51 "dev": true,
52 "requires": {
53 "@babel/types": "^7.14.5"
53 } 54 }
54 }, 55 },
55 "@babel/helper-split-export-declaration": { 56 "@babel/helper-split-export-declaration": {
56 "version": "7.12.13", 57 "version": "7.14.5",
57 "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz", 58 "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz",
58 "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==", 59 "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==",
59 "dev": true, 60 "dev": true,
60 "requires": { 61 "requires": {
61 "@babel/types": "^7.12.13" 62 "@babel/types": "^7.14.5"
62 } 63 }
63 }, 64 },
64 "@babel/helper-validator-identifier": { 65 "@babel/helper-validator-identifier": {
65 "version": "7.10.4", 66 "version": "7.14.8",
66 "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", 67 "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.8.tgz",
67 "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", 68 "integrity": "sha512-ZGy6/XQjllhYQrNw/3zfWRwZCTVSiBLZ9DHVZxn9n2gip/7ab8mv2TWlKPIBk26RwedCBoWdjLmn+t9na2Gcow==",
68 "dev": true 69 "dev": true
69 }, 70 },
70 "@babel/highlight": { 71 "@babel/highlight": {
71 "version": "7.10.4", 72 "version": "7.14.5",
72 "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", 73 "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz",
73 "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", 74 "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==",
74 "dev": true, 75 "dev": true,
75 "requires": { 76 "requires": {
76 "@babel/helper-validator-identifier": "^7.10.4", 77 "@babel/helper-validator-identifier": "^7.14.5",
77 "chalk": "^2.0.0", 78 "chalk": "^2.0.0",
78 "js-tokens": "^4.0.0" 79 "js-tokens": "^4.0.0"
79 },
80 "dependencies": {
81 "ansi-styles": {
82 "version": "3.2.1",
83 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
84 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
85 "dev": true,
86 "requires": {
87 "color-convert": "^1.9.0"
88 }
89 },
90 "chalk": {
91 "version": "2.4.2",
92 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
93 "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
94 "dev": true,
95 "requires": {
96 "ansi-styles": "^3.2.1",
97 "escape-string-regexp": "^1.0.5",
98 "supports-color": "^5.3.0"
99 }
100 },
101 "supports-color": {
102 "version": "5.5.0",
103 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
104 "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
105 "dev": true,
106 "requires": {
107 "has-flag": "^3.0.0"
108 }
109 }
110 } 80 }
111 }, 81 },
112 "@babel/parser": { 82 "@babel/parser": {
113 "version": "7.14.1", 83 "version": "7.14.8",
114 "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.1.tgz", 84 "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.8.tgz",
115 "integrity": "sha512-muUGEKu8E/ftMTPlNp+mc6zL3E9zKWmF5sDHZ5MSsoTP9Wyz64AhEf9kD08xYJ7w6Hdcu8H550ircnPyWSIF0Q==", 85 "integrity": "sha512-syoCQFOoo/fzkWDeM0dLEZi5xqurb5vuyzwIMNZRNun+N/9A4cUZeQaE7dTrB8jGaKuJRBtEOajtnmw0I5hvvA==",
116 "dev": true 86 "dev": true
117 }, 87 },
118 "@babel/template": { 88 "@babel/template": {
119 "version": "7.12.13", 89 "version": "7.14.5",
120 "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz", 90 "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz",
121 "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==", 91 "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==",
122 "dev": true, 92 "dev": true,
123 "requires": { 93 "requires": {
124 "@babel/code-frame": "^7.12.13", 94 "@babel/code-frame": "^7.14.5",
125 "@babel/parser": "^7.12.13", 95 "@babel/parser": "^7.14.5",
126 "@babel/types": "^7.12.13" 96 "@babel/types": "^7.14.5"
127 },
128 "dependencies": {
129 "@babel/code-frame": {
130 "version": "7.12.13",
131 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz",
132 "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==",
133 "dev": true,
134 "requires": {
135 "@babel/highlight": "^7.12.13"
136 }
137 },
138 "@babel/helper-validator-identifier": {
139 "version": "7.14.0",
140 "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz",
141 "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==",
142 "dev": true
143 },
144 "@babel/highlight": {
145 "version": "7.14.0",
146 "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz",
147 "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==",
148 "dev": true,
149 "requires": {
150 "@babel/helper-validator-identifier": "^7.14.0",
151 "chalk": "^2.0.0",
152 "js-tokens": "^4.0.0"
153 }
154 },
155 "ansi-styles": {
156 "version": "3.2.1",
157 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
158 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
159 "dev": true,
160 "requires": {
161 "color-convert": "^1.9.0"
162 }
163 },
164 "chalk": {
165 "version": "2.4.2",
166 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
167 "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
168 "dev": true,
169 "requires": {
170 "ansi-styles": "^3.2.1",
171 "escape-string-regexp": "^1.0.5",
172 "supports-color": "^5.3.0"
173 }
174 },
175 "supports-color": {
176 "version": "5.5.0",
177 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
178 "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
179 "dev": true,
180 "requires": {
181 "has-flag": "^3.0.0"
182 }
183 }
184 } 97 }
185 }, 98 },
186 "@babel/traverse": { 99 "@babel/traverse": {
187 "version": "7.14.0", 100 "version": "7.14.8",
188 "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.0.tgz", 101 "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.8.tgz",
189 "integrity": "sha512-dZ/a371EE5XNhTHomvtuLTUyx6UEoJmYX+DT5zBCQN3McHemsuIaKKYqsc/fs26BEkHs/lBZy0J571LP5z9kQA==", 102 "integrity": "sha512-kexHhzCljJcFNn1KYAQ6A5wxMRzq9ebYpEDV4+WdNyr3i7O44tanbDOR/xjiG2F3sllan+LgwK+7OMk0EmydHg==",
190 "dev": true, 103 "dev": true,
191 "requires": { 104 "requires": {
192 "@babel/code-frame": "^7.12.13", 105 "@babel/code-frame": "^7.14.5",
193 "@babel/generator": "^7.14.0", 106 "@babel/generator": "^7.14.8",
194 "@babel/helper-function-name": "^7.12.13", 107 "@babel/helper-function-name": "^7.14.5",
195 "@babel/helper-split-export-declaration": "^7.12.13", 108 "@babel/helper-hoist-variables": "^7.14.5",
196 "@babel/parser": "^7.14.0", 109 "@babel/helper-split-export-declaration": "^7.14.5",
197 "@babel/types": "^7.14.0", 110 "@babel/parser": "^7.14.8",
111 "@babel/types": "^7.14.8",
198 "debug": "^4.1.0", 112 "debug": "^4.1.0",
199 "globals": "^11.1.0" 113 "globals": "^11.1.0"
200 },
201 "dependencies": {
202 "@babel/code-frame": {
203 "version": "7.12.13",
204 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz",
205 "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==",
206 "dev": true,
207 "requires": {
208 "@babel/highlight": "^7.12.13"
209 }
210 },
211 "@babel/helper-validator-identifier": {
212 "version": "7.14.0",
213 "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz",
214 "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==",
215 "dev": true
216 },
217 "@babel/highlight": {
218 "version": "7.14.0",
219 "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz",
220 "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==",
221 "dev": true,
222 "requires": {
223 "@babel/helper-validator-identifier": "^7.14.0",
224 "chalk": "^2.0.0",
225 "js-tokens": "^4.0.0"
226 }
227 },
228 "ansi-styles": {
229 "version": "3.2.1",
230 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
231 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
232 "dev": true,
233 "requires": {
234 "color-convert": "^1.9.0"
235 }
236 },
237 "chalk": {
238 "version": "2.4.2",
239 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
240 "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
241 "dev": true,
242 "requires": {
243 "ansi-styles": "^3.2.1",
244 "escape-string-regexp": "^1.0.5",
245 "supports-color": "^5.3.0"
246 }
247 },
248 "supports-color": {
249 "version": "5.5.0",
250 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
251 "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
252 "dev": true,
253 "requires": {
254 "has-flag": "^3.0.0"
255 }
256 }
257 } 114 }
258 }, 115 },
259 "@babel/types": { 116 "@babel/types": {
260 "version": "7.14.1", 117 "version": "7.14.8",
261 "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.1.tgz", 118 "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.8.tgz",
262 "integrity": "sha512-S13Qe85fzLs3gYRUnrpyeIrBJIMYv33qSTg1qoBwiG6nPKwUWAD9odSzWhEedpwOIzSEI6gbdQIWEMiCI42iBA==", 119 "integrity": "sha512-iob4soQa7dZw8nodR/KlOQkPh9S4I8RwCxwRIFuiMRYjOzH/KJzdUfDgz6cGi5dDaclXF4P2PAhCdrBJNIg68Q==",
263 "dev": true, 120 "dev": true,
264 "requires": { 121 "requires": {
265 "@babel/helper-validator-identifier": "^7.14.0", 122 "@babel/helper-validator-identifier": "^7.14.8",
266 "to-fast-properties": "^2.0.0" 123 "to-fast-properties": "^2.0.0"
267 },
268 "dependencies": {
269 "@babel/helper-validator-identifier": {
270 "version": "7.14.0",
271 "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz",
272 "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==",
273 "dev": true
274 }
275 } 124 }
276 }, 125 },
277 "@kwsites/file-exists": { 126 "@kwsites/file-exists": {
@@ -296,9 +145,9 @@
296 "dev": true 145 "dev": true
297 }, 146 },
298 "acorn-jsx": { 147 "acorn-jsx": {
299 "version": "5.3.1", 148 "version": "5.3.2",
300 "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", 149 "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
301 "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", 150 "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
302 "dev": true 151 "dev": true
303 }, 152 },
304 "ajv": { 153 "ajv": {
@@ -319,6 +168,21 @@
319 "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", 168 "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==",
320 "dev": true 169 "dev": true
321 }, 170 },
171 "ansi-regex": {
172 "version": "3.0.0",
173 "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
174 "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
175 "dev": true
176 },
177 "ansi-styles": {
178 "version": "3.2.1",
179 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
180 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
181 "dev": true,
182 "requires": {
183 "color-convert": "^1.9.0"
184 }
185 },
322 "argparse": { 186 "argparse": {
323 "version": "1.0.10", 187 "version": "1.0.10",
324 "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 188 "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
@@ -335,23 +199,23 @@
335 "dev": true 199 "dev": true
336 }, 200 },
337 "babel-eslint": { 201 "babel-eslint": {
338 "version": "10.1.0", 202 "version": "10.0.3",
339 "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz", 203 "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.0.3.tgz",
340 "integrity": "sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==", 204 "integrity": "sha512-z3U7eMY6r/3f3/JB9mTsLjyxrv0Yb1zb8PCWCLpguxfCzBIZUwy23R1t/XKewP+8mEN2Ck8Dtr4q20z6ce6SoA==",
341 "dev": true, 205 "dev": true,
342 "requires": { 206 "requires": {
343 "@babel/code-frame": "^7.0.0", 207 "@babel/code-frame": "^7.0.0",
344 "@babel/parser": "^7.7.0", 208 "@babel/parser": "^7.0.0",
345 "@babel/traverse": "^7.7.0", 209 "@babel/traverse": "^7.0.0",
346 "@babel/types": "^7.7.0", 210 "@babel/types": "^7.0.0",
347 "eslint-visitor-keys": "^1.0.0", 211 "eslint-visitor-keys": "^1.0.0",
348 "resolve": "^1.12.0" 212 "resolve": "^1.12.0"
349 } 213 }
350 }, 214 },
351 "balanced-match": { 215 "balanced-match": {
352 "version": "1.0.0", 216 "version": "1.0.2",
353 "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 217 "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
354 "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", 218 "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
355 "dev": true 219 "dev": true
356 }, 220 },
357 "bl": { 221 "bl": {
@@ -392,12 +256,32 @@
392 "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", 256 "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz",
393 "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=" 257 "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw="
394 }, 258 },
259 "caller-path": {
260 "version": "0.1.0",
261 "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz",
262 "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=",
263 "dev": true,
264 "requires": {
265 "callsites": "^0.2.0"
266 }
267 },
395 "callsites": { 268 "callsites": {
396 "version": "3.1.0", 269 "version": "0.2.0",
397 "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 270 "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz",
398 "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 271 "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=",
399 "dev": true 272 "dev": true
400 }, 273 },
274 "chalk": {
275 "version": "2.4.2",
276 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
277 "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
278 "dev": true,
279 "requires": {
280 "ansi-styles": "^3.2.1",
281 "escape-string-regexp": "^1.0.5",
282 "supports-color": "^5.3.0"
283 }
284 },
401 "chardet": { 285 "chardet": {
402 "version": "0.7.0", 286 "version": "0.7.0",
403 "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", 287 "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
@@ -409,6 +293,21 @@
409 "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", 293 "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
410 "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" 294 "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
411 }, 295 },
296 "circular-json": {
297 "version": "0.3.3",
298 "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz",
299 "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==",
300 "dev": true
301 },
302 "cli-cursor": {
303 "version": "2.1.0",
304 "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
305 "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
306 "dev": true,
307 "requires": {
308 "restore-cursor": "^2.0.0"
309 }
310 },
412 "cli-width": { 311 "cli-width": {
413 "version": "2.2.1", 312 "version": "2.2.1",
414 "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", 313 "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz",
@@ -452,20 +351,12 @@
452 "semver": "^5.5.0", 351 "semver": "^5.5.0",
453 "shebang-command": "^1.2.0", 352 "shebang-command": "^1.2.0",
454 "which": "^1.2.9" 353 "which": "^1.2.9"
455 },
456 "dependencies": {
457 "semver": {
458 "version": "5.7.1",
459 "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
460 "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
461 "dev": true
462 }
463 } 354 }
464 }, 355 },
465 "debug": { 356 "debug": {
466 "version": "4.3.1", 357 "version": "4.3.2",
467 "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", 358 "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",
468 "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", 359 "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",
469 "dev": true, 360 "dev": true,
470 "requires": { 361 "requires": {
471 "ms": "2.1.2" 362 "ms": "2.1.2"
@@ -483,9 +374,9 @@
483 "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==" 374 "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og=="
484 }, 375 },
485 "doctrine": { 376 "doctrine": {
486 "version": "3.0.0", 377 "version": "2.1.0",
487 "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 378 "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
488 "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 379 "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
489 "dev": true, 380 "dev": true,
490 "requires": { 381 "requires": {
491 "esutils": "^2.0.2" 382 "esutils": "^2.0.2"
@@ -512,105 +403,48 @@
512 "dev": true 403 "dev": true
513 }, 404 },
514 "eslint": { 405 "eslint": {
515 "version": "5.16.0", 406 "version": "5.10.0",
516 "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz", 407 "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.10.0.tgz",
517 "integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==", 408 "integrity": "sha512-HpqzC+BHULKlnPwWae9MaVZ5AXJKpkxCVXQHrFaRw3hbDj26V/9ArYM4Rr/SQ8pi6qUPLXSSXC4RBJlyq2Z2OQ==",
518 "dev": true, 409 "dev": true,
519 "requires": { 410 "requires": {
520 "@babel/code-frame": "^7.0.0", 411 "@babel/code-frame": "^7.0.0",
521 "ajv": "^6.9.1", 412 "ajv": "^6.5.3",
522 "chalk": "^2.1.0", 413 "chalk": "^2.1.0",
523 "cross-spawn": "^6.0.5", 414 "cross-spawn": "^6.0.5",
524 "debug": "^4.0.1", 415 "debug": "^4.0.1",
525 "doctrine": "^3.0.0", 416 "doctrine": "^2.1.0",
526 "eslint-scope": "^4.0.3", 417 "eslint-scope": "^4.0.0",
527 "eslint-utils": "^1.3.1", 418 "eslint-utils": "^1.3.1",
528 "eslint-visitor-keys": "^1.0.0", 419 "eslint-visitor-keys": "^1.0.0",
529 "espree": "^5.0.1", 420 "espree": "^5.0.0",
530 "esquery": "^1.0.1", 421 "esquery": "^1.0.1",
531 "esutils": "^2.0.2", 422 "esutils": "^2.0.2",
532 "file-entry-cache": "^5.0.1", 423 "file-entry-cache": "^2.0.0",
533 "functional-red-black-tree": "^1.0.1", 424 "functional-red-black-tree": "^1.0.1",
534 "glob": "^7.1.2", 425 "glob": "^7.1.2",
535 "globals": "^11.7.0", 426 "globals": "^11.7.0",
536 "ignore": "^4.0.6", 427 "ignore": "^4.0.6",
537 "import-fresh": "^3.0.0",
538 "imurmurhash": "^0.1.4", 428 "imurmurhash": "^0.1.4",
539 "inquirer": "^6.2.2", 429 "inquirer": "^6.1.0",
540 "js-yaml": "^3.13.0", 430 "js-yaml": "^3.12.0",
541 "json-stable-stringify-without-jsonify": "^1.0.1", 431 "json-stable-stringify-without-jsonify": "^1.0.1",
542 "levn": "^0.3.0", 432 "levn": "^0.3.0",
543 "lodash": "^4.17.11", 433 "lodash": "^4.17.5",
544 "minimatch": "^3.0.4", 434 "minimatch": "^3.0.4",
545 "mkdirp": "^0.5.1", 435 "mkdirp": "^0.5.1",
546 "natural-compare": "^1.4.0", 436 "natural-compare": "^1.4.0",
547 "optionator": "^0.8.2", 437 "optionator": "^0.8.2",
548 "path-is-inside": "^1.0.2", 438 "path-is-inside": "^1.0.2",
439 "pluralize": "^7.0.0",
549 "progress": "^2.0.0", 440 "progress": "^2.0.0",
550 "regexpp": "^2.0.1", 441 "regexpp": "^2.0.1",
442 "require-uncached": "^1.0.3",
551 "semver": "^5.5.1", 443 "semver": "^5.5.1",
552 "strip-ansi": "^4.0.0", 444 "strip-ansi": "^4.0.0",
553 "strip-json-comments": "^2.0.1", 445 "strip-json-comments": "^2.0.1",
554 "table": "^5.2.3", 446 "table": "^5.0.2",
555 "text-table": "^0.2.0" 447 "text-table": "^0.2.0"
556 },
557 "dependencies": {
558 "ansi-regex": {
559 "version": "3.0.0",
560 "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
561 "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
562 "dev": true
563 },
564 "ansi-styles": {
565 "version": "3.2.1",
566 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
567 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
568 "dev": true,
569 "requires": {
570 "color-convert": "^1.9.0"
571 }
572 },
573 "chalk": {
574 "version": "2.4.2",
575 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
576 "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
577 "dev": true,
578 "requires": {
579 "ansi-styles": "^3.2.1",
580 "escape-string-regexp": "^1.0.5",
581 "supports-color": "^5.3.0"
582 }
583 },
584 "ignore": {
585 "version": "4.0.6",
586 "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
587 "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
588 "dev": true
589 },
590 "semver": {
591 "version": "5.7.1",
592 "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
593 "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
594 "dev": true
595 },
596 "strip-ansi": {
597 "version": "4.0.0",
598 "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
599 "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
600 "dev": true,
601 "requires": {
602 "ansi-regex": "^3.0.0"
603 }
604 },
605 "supports-color": {
606 "version": "5.5.0",
607 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
608 "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
609 "dev": true,
610 "requires": {
611 "has-flag": "^3.0.0"
612 }
613 }
614 } 448 }
615 }, 449 },
616 "eslint-scope": { 450 "eslint-scope": {
@@ -730,43 +564,37 @@
730 "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", 564 "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
731 "dev": true 565 "dev": true
732 }, 566 },
567 "figures": {
568 "version": "2.0.0",
569 "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
570 "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",
571 "dev": true,
572 "requires": {
573 "escape-string-regexp": "^1.0.5"
574 }
575 },
733 "file-entry-cache": { 576 "file-entry-cache": {
734 "version": "5.0.1", 577 "version": "2.0.0",
735 "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", 578 "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz",
736 "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", 579 "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=",
737 "dev": true, 580 "dev": true,
738 "requires": { 581 "requires": {
739 "flat-cache": "^2.0.1" 582 "flat-cache": "^1.2.1",
583 "object-assign": "^4.0.1"
740 } 584 }
741 }, 585 },
742 "flat-cache": { 586 "flat-cache": {
743 "version": "2.0.1", 587 "version": "1.3.4",
744 "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", 588 "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz",
745 "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", 589 "integrity": "sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg==",
746 "dev": true, 590 "dev": true,
747 "requires": { 591 "requires": {
748 "flatted": "^2.0.0", 592 "circular-json": "^0.3.1",
749 "rimraf": "2.6.3", 593 "graceful-fs": "^4.1.2",
750 "write": "1.0.3" 594 "rimraf": "~2.6.2",
751 }, 595 "write": "^0.2.1"
752 "dependencies": {
753 "rimraf": {
754 "version": "2.6.3",
755 "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
756 "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
757 "dev": true,
758 "requires": {
759 "glob": "^7.1.3"
760 }
761 }
762 } 596 }
763 }, 597 },
764 "flatted": {
765 "version": "2.0.2",
766 "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz",
767 "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==",
768 "dev": true
769 },
770 "fs-constants": { 598 "fs-constants": {
771 "version": "1.0.0", 599 "version": "1.0.0",
772 "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", 600 "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
@@ -788,6 +616,12 @@
788 "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 616 "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
789 "dev": true 617 "dev": true
790 }, 618 },
619 "function-bind": {
620 "version": "1.1.1",
621 "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
622 "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
623 "dev": true
624 },
791 "functional-red-black-tree": { 625 "functional-red-black-tree": {
792 "version": "1.0.1", 626 "version": "1.0.1",
793 "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", 627 "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
@@ -795,9 +629,9 @@
795 "dev": true 629 "dev": true
796 }, 630 },
797 "glob": { 631 "glob": {
798 "version": "7.1.6", 632 "version": "7.1.7",
799 "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", 633 "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",
800 "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", 634 "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==",
801 "dev": true, 635 "dev": true,
802 "requires": { 636 "requires": {
803 "fs.realpath": "^1.0.0", 637 "fs.realpath": "^1.0.0",
@@ -815,9 +649,18 @@
815 "dev": true 649 "dev": true
816 }, 650 },
817 "graceful-fs": { 651 "graceful-fs": {
818 "version": "4.2.4", 652 "version": "4.2.6",
819 "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", 653 "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz",
820 "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" 654 "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ=="
655 },
656 "has": {
657 "version": "1.0.3",
658 "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
659 "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
660 "dev": true,
661 "requires": {
662 "function-bind": "^1.1.1"
663 }
821 }, 664 },
822 "has-flag": { 665 "has-flag": {
823 "version": "3.0.0", 666 "version": "3.0.0",
@@ -826,9 +669,9 @@
826 "dev": true 669 "dev": true
827 }, 670 },
828 "husky": { 671 "husky": {
829 "version": "6.0.0", 672 "version": "7.0.1",
830 "resolved": "https://registry.npmjs.org/husky/-/husky-6.0.0.tgz", 673 "resolved": "https://registry.npmjs.org/husky/-/husky-7.0.1.tgz",
831 "integrity": "sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==", 674 "integrity": "sha512-gceRaITVZ+cJH9sNHqx5tFwbzlLCVxtVZcusME8JYQ8Edy5mpGDOqD8QBCdMhpyo9a+JXddnujQ4rpY2Ff9SJA==",
832 "dev": true 675 "dev": true
833 }, 676 },
834 "iconv-lite": { 677 "iconv-lite": {
@@ -840,6 +683,12 @@
840 "safer-buffer": ">= 2.1.2 < 3" 683 "safer-buffer": ">= 2.1.2 < 3"
841 } 684 }
842 }, 685 },
686 "ignore": {
687 "version": "4.0.6",
688 "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
689 "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
690 "dev": true
691 },
843 "image-size": { 692 "image-size": {
844 "version": "1.0.0", 693 "version": "1.0.0",
845 "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.0.0.tgz", 694 "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.0.0.tgz",
@@ -848,16 +697,6 @@
848 "queue": "6.0.2" 697 "queue": "6.0.2"
849 } 698 }
850 }, 699 },
851 "import-fresh": {
852 "version": "3.3.0",
853 "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
854 "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
855 "dev": true,
856 "requires": {
857 "parent-module": "^1.0.0",
858 "resolve-from": "^4.0.0"
859 }
860 },
861 "imurmurhash": { 700 "imurmurhash": {
862 "version": "0.1.4", 701 "version": "0.1.4",
863 "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 702 "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
@@ -906,75 +745,6 @@
906 "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", 745 "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
907 "dev": true 746 "dev": true
908 }, 747 },
909 "ansi-styles": {
910 "version": "3.2.1",
911 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
912 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
913 "dev": true,
914 "requires": {
915 "color-convert": "^1.9.0"
916 }
917 },
918 "chalk": {
919 "version": "2.4.2",
920 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
921 "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
922 "dev": true,
923 "requires": {
924 "ansi-styles": "^3.2.1",
925 "escape-string-regexp": "^1.0.5",
926 "supports-color": "^5.3.0"
927 }
928 },
929 "cli-cursor": {
930 "version": "2.1.0",
931 "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
932 "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
933 "dev": true,
934 "requires": {
935 "restore-cursor": "^2.0.0"
936 }
937 },
938 "figures": {
939 "version": "2.0.0",
940 "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
941 "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",
942 "dev": true,
943 "requires": {
944 "escape-string-regexp": "^1.0.5"
945 }
946 },
947 "mimic-fn": {
948 "version": "1.2.0",
949 "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
950 "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",
951 "dev": true
952 },
953 "mute-stream": {
954 "version": "0.0.7",
955 "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz",
956 "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",
957 "dev": true
958 },
959 "onetime": {
960 "version": "2.0.1",
961 "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
962 "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
963 "dev": true,
964 "requires": {
965 "mimic-fn": "^1.0.0"
966 }
967 },
968 "restore-cursor": {
969 "version": "2.0.0",
970 "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
971 "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
972 "dev": true,
973 "requires": {
974 "onetime": "^2.0.0",
975 "signal-exit": "^3.0.2"
976 }
977 },
978 "strip-ansi": { 748 "strip-ansi": {
979 "version": "5.2.0", 749 "version": "5.2.0",
980 "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", 750 "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
@@ -983,18 +753,18 @@
983 "requires": { 753 "requires": {
984 "ansi-regex": "^4.1.0" 754 "ansi-regex": "^4.1.0"
985 } 755 }
986 },
987 "supports-color": {
988 "version": "5.5.0",
989 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
990 "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
991 "dev": true,
992 "requires": {
993 "has-flag": "^3.0.0"
994 }
995 } 756 }
996 } 757 }
997 }, 758 },
759 "is-core-module": {
760 "version": "2.5.0",
761 "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.5.0.tgz",
762 "integrity": "sha512-TXCMSDsEHMEEZ6eCA8rwRDbLu55MRGmrctljsBX/2v1d9/GzqHOxW5c5oPSgrUt2vBFXebu9rGqckXGPWOlYpg==",
763 "dev": true,
764 "requires": {
765 "has": "^1.0.3"
766 }
767 },
998 "is-docker": { 768 "is-docker": {
999 "version": "2.2.1", 769 "version": "2.2.1",
1000 "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", 770 "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
@@ -1032,9 +802,9 @@
1032 "dev": true 802 "dev": true
1033 }, 803 },
1034 "js-yaml": { 804 "js-yaml": {
1035 "version": "3.14.0", 805 "version": "3.14.1",
1036 "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", 806 "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
1037 "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", 807 "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
1038 "dev": true, 808 "dev": true,
1039 "requires": { 809 "requires": {
1040 "argparse": "^1.0.7", 810 "argparse": "^1.0.7",
@@ -1084,6 +854,12 @@
1084 "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", 854 "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
1085 "dev": true 855 "dev": true
1086 }, 856 },
857 "mimic-fn": {
858 "version": "1.2.0",
859 "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
860 "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",
861 "dev": true
862 },
1087 "minimatch": { 863 "minimatch": {
1088 "version": "3.0.4", 864 "version": "3.0.4",
1089 "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 865 "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
@@ -1112,6 +888,12 @@
1112 "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 888 "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
1113 "dev": true 889 "dev": true
1114 }, 890 },
891 "mute-stream": {
892 "version": "0.0.7",
893 "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz",
894 "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",
895 "dev": true
896 },
1115 "natural-compare": { 897 "natural-compare": {
1116 "version": "1.4.0", 898 "version": "1.4.0",
1117 "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 899 "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
@@ -1124,6 +906,12 @@
1124 "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", 906 "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
1125 "dev": true 907 "dev": true
1126 }, 908 },
909 "object-assign": {
910 "version": "4.1.1",
911 "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
912 "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
913 "dev": true
914 },
1127 "once": { 915 "once": {
1128 "version": "1.4.0", 916 "version": "1.4.0",
1129 "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 917 "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
@@ -1132,6 +920,15 @@
1132 "wrappy": "1" 920 "wrappy": "1"
1133 } 921 }
1134 }, 922 },
923 "onetime": {
924 "version": "2.0.1",
925 "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
926 "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
927 "dev": true,
928 "requires": {
929 "mimic-fn": "^1.0.0"
930 }
931 },
1135 "open": { 932 "open": {
1136 "version": "8.2.0", 933 "version": "8.2.0",
1137 "resolved": "https://registry.npmjs.org/open/-/open-8.2.0.tgz", 934 "resolved": "https://registry.npmjs.org/open/-/open-8.2.0.tgz",
@@ -1162,15 +959,6 @@
1162 "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", 959 "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
1163 "dev": true 960 "dev": true
1164 }, 961 },
1165 "parent-module": {
1166 "version": "1.0.1",
1167 "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
1168 "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
1169 "dev": true,
1170 "requires": {
1171 "callsites": "^3.0.0"
1172 }
1173 },
1174 "path-is-absolute": { 962 "path-is-absolute": {
1175 "version": "1.0.1", 963 "version": "1.0.1",
1176 "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 964 "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
@@ -1190,9 +978,15 @@
1190 "dev": true 978 "dev": true
1191 }, 979 },
1192 "path-parse": { 980 "path-parse": {
1193 "version": "1.0.6", 981 "version": "1.0.7",
1194 "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", 982 "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
1195 "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", 983 "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
984 "dev": true
985 },
986 "pluralize": {
987 "version": "7.0.0",
988 "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz",
989 "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==",
1196 "dev": true 990 "dev": true
1197 }, 991 },
1198 "prelude-ls": { 992 "prelude-ls": {
@@ -1202,9 +996,9 @@
1202 "dev": true 996 "dev": true
1203 }, 997 },
1204 "prettier": { 998 "prettier": {
1205 "version": "2.3.0", 999 "version": "2.3.2",
1206 "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", 1000 "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.2.tgz",
1207 "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", 1001 "integrity": "sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==",
1208 "dev": true 1002 "dev": true
1209 }, 1003 },
1210 "process-nextick-args": { 1004 "process-nextick-args": {
@@ -1268,21 +1062,51 @@
1268 "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", 1062 "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==",
1269 "dev": true 1063 "dev": true
1270 }, 1064 },
1065 "require-uncached": {
1066 "version": "1.0.3",
1067 "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz",
1068 "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=",
1069 "dev": true,
1070 "requires": {
1071 "caller-path": "^0.1.0",
1072 "resolve-from": "^1.0.0"
1073 }
1074 },
1271 "resolve": { 1075 "resolve": {
1272 "version": "1.17.0", 1076 "version": "1.20.0",
1273 "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", 1077 "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz",
1274 "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", 1078 "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==",
1275 "dev": true, 1079 "dev": true,
1276 "requires": { 1080 "requires": {
1081 "is-core-module": "^2.2.0",
1277 "path-parse": "^1.0.6" 1082 "path-parse": "^1.0.6"
1278 } 1083 }
1279 }, 1084 },
1280 "resolve-from": { 1085 "resolve-from": {
1281 "version": "4.0.0", 1086 "version": "1.0.1",
1282 "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 1087 "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz",
1283 "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 1088 "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=",
1284 "dev": true 1089 "dev": true
1285 }, 1090 },
1091 "restore-cursor": {
1092 "version": "2.0.0",
1093 "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
1094 "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
1095 "dev": true,
1096 "requires": {
1097 "onetime": "^2.0.0",
1098 "signal-exit": "^3.0.2"
1099 }
1100 },
1101 "rimraf": {
1102 "version": "2.6.3",
1103 "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
1104 "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
1105 "dev": true,
1106 "requires": {
1107 "glob": "^7.1.3"
1108 }
1109 },
1286 "run-async": { 1110 "run-async": {
1287 "version": "2.4.1", 1111 "version": "2.4.1",
1288 "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", 1112 "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz",
@@ -1309,6 +1133,12 @@
1309 "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 1133 "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
1310 "dev": true 1134 "dev": true
1311 }, 1135 },
1136 "semver": {
1137 "version": "5.7.1",
1138 "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
1139 "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
1140 "dev": true
1141 },
1312 "shebang-command": { 1142 "shebang-command": {
1313 "version": "1.2.0", 1143 "version": "1.2.0",
1314 "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", 1144 "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
@@ -1350,19 +1180,14 @@
1350 "ansi-styles": "^3.2.0", 1180 "ansi-styles": "^3.2.0",
1351 "astral-regex": "^1.0.0", 1181 "astral-regex": "^1.0.0",
1352 "is-fullwidth-code-point": "^2.0.0" 1182 "is-fullwidth-code-point": "^2.0.0"
1353 },
1354 "dependencies": {
1355 "ansi-styles": {
1356 "version": "3.2.1",
1357 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
1358 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
1359 "dev": true,
1360 "requires": {
1361 "color-convert": "^1.9.0"
1362 }
1363 }
1364 } 1183 }
1365 }, 1184 },
1185 "source-map": {
1186 "version": "0.5.7",
1187 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
1188 "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
1189 "dev": true
1190 },
1366 "sprintf-js": { 1191 "sprintf-js": {
1367 "version": "1.0.3", 1192 "version": "1.0.3",
1368 "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 1193 "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
@@ -1377,23 +1202,6 @@
1377 "requires": { 1202 "requires": {
1378 "is-fullwidth-code-point": "^2.0.0", 1203 "is-fullwidth-code-point": "^2.0.0",
1379 "strip-ansi": "^4.0.0" 1204 "strip-ansi": "^4.0.0"
1380 },
1381 "dependencies": {
1382 "ansi-regex": {
1383 "version": "3.0.0",
1384 "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
1385 "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
1386 "dev": true
1387 },
1388 "strip-ansi": {
1389 "version": "4.0.0",
1390 "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
1391 "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
1392 "dev": true,
1393 "requires": {
1394 "ansi-regex": "^3.0.0"
1395 }
1396 }
1397 } 1205 }
1398 }, 1206 },
1399 "string_decoder": { 1207 "string_decoder": {
@@ -1411,12 +1219,30 @@
1411 } 1219 }
1412 } 1220 }
1413 }, 1221 },
1222 "strip-ansi": {
1223 "version": "4.0.0",
1224 "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
1225 "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
1226 "dev": true,
1227 "requires": {
1228 "ansi-regex": "^3.0.0"
1229 }
1230 },
1414 "strip-json-comments": { 1231 "strip-json-comments": {
1415 "version": "2.0.1", 1232 "version": "2.0.1",
1416 "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 1233 "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
1417 "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", 1234 "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",
1418 "dev": true 1235 "dev": true
1419 }, 1236 },
1237 "supports-color": {
1238 "version": "5.5.0",
1239 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
1240 "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
1241 "dev": true,
1242 "requires": {
1243 "has-flag": "^3.0.0"
1244 }
1245 },
1420 "table": { 1246 "table": {
1421 "version": "5.4.6", 1247 "version": "5.4.6",
1422 "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", 1248 "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz",
@@ -1577,9 +1403,9 @@
1577 "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 1403 "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
1578 }, 1404 },
1579 "write": { 1405 "write": {
1580 "version": "1.0.3", 1406 "version": "0.2.1",
1581 "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", 1407 "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz",
1582 "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", 1408 "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=",
1583 "dev": true, 1409 "dev": true,
1584 "requires": { 1410 "requires": {
1585 "mkdirp": "^0.5.1" 1411 "mkdirp": "^0.5.1"
diff --git a/package.json b/package.json
index 8dd2cef..f275e5d 100644
--- a/package.json
+++ b/package.json
@@ -28,16 +28,16 @@
28 }, 28 },
29 "homepage": "https://github.com/getferdi/recipes#readme", 29 "homepage": "https://github.com/getferdi/recipes#readme",
30 "dependencies": { 30 "dependencies": {
31 "fs-extra": "^10.0.0", 31 "fs-extra": "10.0.0",
32 "image-size": "^1.0.0", 32 "image-size": "1.0.0",
33 "open": "^8.2.0", 33 "open": "8.2.0",
34 "targz": "^1.0.1" 34 "targz": "1.0.1"
35 }, 35 },
36 "devDependencies": { 36 "devDependencies": {
37 "babel-eslint": "^10.0.3", 37 "babel-eslint": "10.0.3",
38 "eslint": "^5.10.0", 38 "eslint": "5.10.0",
39 "husky": "^6.0.0", 39 "husky": "7.0.1",
40 "prettier": "^2.3.0", 40 "prettier": "2.3.2",
41 "simple-git": "^2.39.0" 41 "simple-git": "2.39.0"
42 } 42 }
43} 43}
diff --git a/recipes/NewsBlur/webview.js b/recipes/NewsBlur/webview.js
index 15704f4..67e7bbb 100644
--- a/recipes/NewsBlur/webview.js
+++ b/recipes/NewsBlur/webview.js
@@ -5,7 +5,7 @@ module.exports = (Franz, options) => {
5 const unreadCount = 0; 5 const unreadCount = 0;
6 6
7 Franz.setBadge(unreadCount); 7 Franz.setBadge(unreadCount);
8 } 8 };
9 9
10 Franz.loop(getMessages); 10 Franz.loop(getMessages);
11}; 11};
diff --git a/recipes/air-droid/webview.js b/recipes/air-droid/webview.js
index a544be5..eb3d0c2 100644
--- a/recipes/air-droid/webview.js
+++ b/recipes/air-droid/webview.js
@@ -11,4 +11,4 @@ module.exports = (Franz, options) => {
11 } 11 }
12 12
13 Franz.loop(getMessages); 13 Franz.loop(getMessages);
14} 14};
diff --git a/recipes/airtable/index.js b/recipes/airtable/index.js
index 8a99610..258da41 100644
--- a/recipes/airtable/index.js
+++ b/recipes/airtable/index.js
@@ -1,3 +1 @@
1'use strict';
2
3module.exports = Franz => Franz; module.exports = Franz => Franz;
diff --git a/recipes/airtable/webview.js b/recipes/airtable/webview.js
index 8b13789..e69de29 100644
--- a/recipes/airtable/webview.js
+++ b/recipes/airtable/webview.js
@@ -1 +0,0 @@
1
diff --git a/recipes/android-messages/index.js b/recipes/android-messages/index.js
index e8243fb..258da41 100644
--- a/recipes/android-messages/index.js
+++ b/recipes/android-messages/index.js
@@ -1,3 +1 @@
1"use strict"; module.exports = Franz => Franz;
2
3module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/android-messages/webview.js b/recipes/android-messages/webview.js
index 0ac39be..9f658c9 100644
--- a/recipes/android-messages/webview.js
+++ b/recipes/android-messages/webview.js
@@ -1,12 +1,10 @@
1"use strict";
2
3const { 1const {
4 remote 2 remote,
5} = require('electron'); 3} = require('electron');
6 4
7const webContents = remote.getCurrentWebContents(); 5const webContents = remote.getCurrentWebContents();
8const { 6const {
9 session 7 session,
10} = webContents; 8} = webContents;
11setTimeout(() => { 9setTimeout(() => {
12 const elem = document.querySelector('#af-error-container'); 10 const elem = document.querySelector('#af-error-container');
@@ -19,7 +17,7 @@ window.addEventListener('beforeunload', async () => {
19 try { 17 try {
20 session.flushStorageData(); 18 session.flushStorageData();
21 session.clearStorageData({ 19 session.clearStorageData({
22 storages: ['appcache', 'serviceworkers', 'cachestorage', 'websql', 'indexdb'] 20 storages: ['appcache', 'serviceworkers', 'cachestorage', 'websql', 'indexdb'],
23 }); 21 });
24 const registrations = await window.navigator.serviceWorker.getRegistrations(); 22 const registrations = await window.navigator.serviceWorker.getRegistrations();
25 registrations.forEach(r => { 23 registrations.forEach(r => {
diff --git a/recipes/anonaddy/webview.js b/recipes/anonaddy/webview.js
index ddd0b40..3ad4701 100644
--- a/recipes/anonaddy/webview.js
+++ b/recipes/anonaddy/webview.js
@@ -1,6 +1,4 @@
1"use strict"; 1const _path = _interopRequireDefault(require('path'));
2
3var _path = _interopRequireDefault(require("path"));
4 2
5function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6 4
diff --git a/recipes/anydo/index.js b/recipes/anydo/index.js
index a028916..46f936f 100644
--- a/recipes/anydo/index.js
+++ b/recipes/anydo/index.js
@@ -1,3 +1,2 @@
1"use strict";
2// just pass through Franz 1// just pass through Franz
3module.exports = Franz => Franz; 2module.exports = Franz => Franz;
diff --git a/recipes/anydo/webview.js b/recipes/anydo/webview.js
index aaff6dc..e35bfb5 100644
--- a/recipes/anydo/webview.js
+++ b/recipes/anydo/webview.js
@@ -1,20 +1,17 @@
1"use strict";
2
3module.exports = (Franz) => { 1module.exports = (Franz) => {
4 function getTasks() { 2 function getTasks() {
5 3 let incompleteCount = 0;
6 let incompleteCount = 0;
7 4
8 const countEls = document.querySelectorAll('.AppSidebarListsItems__itemContainer__sizeContainer:not([hidden]) > .AppSidebarListsItems__itemContainer__size'); 5 const countEls = document.querySelectorAll('.AppSidebarListsItems__itemContainer__sizeContainer:not([hidden]) > .AppSidebarListsItems__itemContainer__size');
9 6
10 if (countEls.length) { 7 if (countEls.length) {
11 Array.from(countEls).forEach((el) => { 8 Array.from(countEls).forEach((el) => {
12 incompleteCount += parseInt(el.innerHTML, 10); 9 incompleteCount += parseInt(el.innerHTML, 10);
13 }); 10 });
14 }
15
16 Franz.setBadge(incompleteCount);
17 } 11 }
18 12
19 Franz.loop(getTasks); 13 Franz.setBadge(incompleteCount);
14 }
15
16 Franz.loop(getTasks);
20}; 17};
diff --git a/recipes/asana/index.js b/recipes/asana/index.js
index 1a63b14..abbbeed 100644
--- a/recipes/asana/index.js
+++ b/recipes/asana/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndoYXRzYXBwL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoid2hhdHNhcHAvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndoYXRzYXBwL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoid2hhdHNhcHAvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19
diff --git a/recipes/asana/webview.js b/recipes/asana/webview.js
index e9b5810..2be4994 100644
--- a/recipes/asana/webview.js
+++ b/recipes/asana/webview.js
@@ -1,13 +1,11 @@
1'use strict';
2
3const path = require('path'); 1const path = require('path');
4 2
5module.exports = Franz => { 3module.exports = Franz => {
6 const getMessages = function getMessages() { 4 const getMessages = function getMessages() {
7 const hasNotification = document.querySelectorAll(".SidebarTopNavLinks-notificationsButton--hasNewNotifications"); 5 const hasNotification = document.querySelectorAll('.SidebarTopNavLinks-notificationsButton--hasNewNotifications');
8 let count = 0; 6 let count = 0;
9 if (hasNotification.length > 0) { 7 if (hasNotification.length > 0) {
10 count +=1; 8 count += 1;
11 } 9 }
12 10
13 // set Franz badge 11 // set Franz badge
@@ -20,4 +18,4 @@ module.exports = Franz => {
20 // check for new messages every second and update Franz badge 18 // check for new messages every second and update Franz badge
21 Franz.loop(getMessages); 19 Franz.loop(getMessages);
22}; 20};
23//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndoYXRzYXBwL3dlYnZpZXcuanMiXSwibmFtZXMiOlsicGF0aCIsInJlcXVpcmUiLCJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsImVsZW1lbnRzIiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yQWxsIiwiY291bnQiLCJpIiwibGVuZ3RoIiwic2V0QmFkZ2UiLCJpbmplY3RDU1MiLCJqb2luIiwiX19kaXJuYW1lIiwibG9vcCJdLCJtYXBwaW5ncyI6Ijs7QUFBQSxNQUFNQSxPQUFPQyxRQUFRLE1BQVIsQ0FBYjs7QUFFQUMsT0FBT0MsT0FBUCxHQUFrQkMsS0FBRCxJQUFXO0FBQzFCLFFBQU1DLGNBQWMsU0FBU0EsV0FBVCxHQUF1QjtBQUN6QyxVQUFNQyxXQUFXQyxTQUFTQyxnQkFBVCxDQUEwQixTQUExQixDQUF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tZXNzYWdlcyBldmVyeSBzZWNvbmQgYW5kIHVwZGF0ZSBGcmFueiBiYWRnZVxuICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKTtcbn07XG4iXX0=
diff --git a/recipes/aws-workmail/webview.js b/recipes/aws-workmail/webview.js
index a979903..c374b55 100644
--- a/recipes/aws-workmail/webview.js
+++ b/recipes/aws-workmail/webview.js
@@ -1,24 +1,22 @@
1module.exports = (Franz, options) => { 1module.exports = (Franz, options) => {
2 const reload = (EventType) => { 2 const reload = (EventType) => new Promise((resolve, reject) => {
3 return new Promise((resolve, reject) => { 3 const btn = document.getElementsByClassName('giraffe-hierarchy-node-refresh')[0];
4 const btn = document.getElementsByClassName('giraffe-hierarchy-node-refresh')[0]; 4 const EventObject = document.createEvent('Events');
5 const EventObject = document.createEvent('Events'); 5 EventObject.initEvent(EventType, true, false);
6 EventObject.initEvent(EventType, true, false);
7 6
8 if (btn.dispatchEvent(EventObject)) { 7 if (btn.dispatchEvent(EventObject)) {
9 resolve(); 8 resolve();
10 } else { 9 } else {
11 reject(); 10 reject();
12 } 11 }
13 }); 12 });
14 };
15 13
16 const getUnread = () => { 14 const getUnread = () => {
17 const nodes = document.getElementsByClassName('giraffe-hierarchy-node-counter'); 15 const nodes = document.getElementsByClassName('giraffe-hierarchy-node-counter');
18 let counter = 0; 16 let counter = 0;
19 17
20 for (var i = 0; i < nodes.length; i++) { 18 for (let i = 0; i < nodes.length; i++) {
21 let node = parseInt(nodes[i].innerText); 19 const node = parseInt(nodes[i].innerText);
22 counter += (node > 0) ? node : 0; 20 counter += (node > 0) ? node : 0;
23 } 21 }
24 22
@@ -28,7 +26,7 @@ module.exports = (Franz, options) => {
28 if (!window.location.pathname.includes('auth')) { 26 if (!window.location.pathname.includes('auth')) {
29 Franz.loop(getUnread); 27 Franz.loop(getUnread);
30 28
31 window.setInterval(function() { 29 window.setInterval(() => {
32 reload('click'); 30 reload('click');
33 }, 60000); 31 }, 60000);
34 } 32 }
diff --git a/recipes/azure-devops/webview.js b/recipes/azure-devops/webview.js
index 802350a..10157e9 100644
--- a/recipes/azure-devops/webview.js
+++ b/recipes/azure-devops/webview.js
@@ -1,6 +1,4 @@
1"use strict"; 1const _path = _interopRequireDefault(require('path'));
2
3var _path = _interopRequireDefault(require("path"));
4 2
5function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6 4
diff --git a/recipes/basecamp/webview.js b/recipes/basecamp/webview.js
index 80cb8de..85f78ee 100644
--- a/recipes/basecamp/webview.js
+++ b/recipes/basecamp/webview.js
@@ -11,13 +11,13 @@ module.exports = (Franz, options) => {
11 callback(); 11 callback();
12 } 12 }
13 }; 13 };
14 function showModal (text) { 14 function showModal(text) {
15 show(modal); 15 show(modal);
16 modal.querySelector('p').innerHTML = text; 16 modal.querySelector('p').innerHTML = text;
17 updates += 1; 17 updates += 1;
18 } 18 }
19 19
20 function hideModal () { 20 function hideModal() {
21 hide(modal); 21 hide(modal);
22 modal.querySelector('p').innerHTML = ''; 22 modal.querySelector('p').innerHTML = '';
23 updates -= 1; 23 updates -= 1;
@@ -30,20 +30,20 @@ module.exports = (Franz, options) => {
30 showModal.apply(oldAlert, arguments); 30 showModal.apply(oldAlert, arguments);
31 }; 31 };
32 32
33 function show (element) { 33 function show(element) {
34 element.style.display = 'inherit'; 34 element.style.display = 'inherit';
35 } 35 }
36 36
37 function hide (element) { 37 function hide(element) {
38 element.style.display = 'none'; 38 element.style.display = 'none';
39 } 39 }
40 40
41 const getMessages = () => { 41 const getMessages = () => {
42 // get unread messages 42 // get unread messages
43 //const updates = document.getElementById('franz').getAttribute('data-unread'); 43 // const updates = document.getElementById('franz').getAttribute('data-unread');
44 44
45 // get conversations in 'My Inbox' 45 // get conversations in 'My Inbox'
46 //const inbox = document.getElementById('franz').getAttribute('data-inbox'); 46 // const inbox = document.getElementById('franz').getAttribute('data-inbox');
47 47
48 // set Franz badge 48 // set Franz badge
49 // updates => passive unread count 49 // updates => passive unread count
@@ -56,7 +56,7 @@ module.exports = (Franz, options) => {
56 modal.querySelector('.close').addEventListener('click', hideModal); 56 modal.querySelector('.close').addEventListener('click', hideModal);
57 waitFor(() => document.body, () => document.body.appendChild(modal)); 57 waitFor(() => document.body, () => document.body.appendChild(modal));
58 58
59 document.addEventListener('keydown', function(e) { if (e.keyCode === 27) { hideModal(); } }) 59 document.addEventListener('keydown', (e) => { if (e.keyCode === 27) { hideModal(); } });
60 60
61 // inject franz.css stylesheet 61 // inject franz.css stylesheet
62 Franz.injectCSS(path.join(__dirname, 'css', 'modal.css')); 62 Franz.injectCSS(path.join(__dirname, 'css', 'modal.css'));
diff --git a/recipes/bigbluebutton/index.js b/recipes/bigbluebutton/index.js
index 9157a2e..258da41 100644
--- a/recipes/bigbluebutton/index.js
+++ b/recipes/bigbluebutton/index.js
@@ -1 +1 @@
module.exports = Franz => Franz; \ No newline at end of file module.exports = Franz => Franz;
diff --git a/recipes/bigbluebutton/webview.js b/recipes/bigbluebutton/webview.js
index 3918c74..e69de29 100644
--- a/recipes/bigbluebutton/webview.js
+++ b/recipes/bigbluebutton/webview.js
@@ -1 +0,0 @@
1"use strict";
diff --git a/recipes/bip/webview.js b/recipes/bip/webview.js
index d242716..e9e956b 100644
--- a/recipes/bip/webview.js
+++ b/recipes/bip/webview.js
@@ -1,22 +1,20 @@
1"use strict"; 1const _path = _interopRequireDefault(require('path'));
2
3var _path = _interopRequireDefault(require("path"));
4 2
5function _interopRequireDefault(obj) { 3function _interopRequireDefault(obj) {
6 return obj && obj.__esModule ? obj : {default: obj}; 4 return obj && obj.__esModule ? obj : { default: obj };
7} 5}
8 6
9module.exports = Ferdi => { 7module.exports = Ferdi => {
10 const getMessages = function getMessages() { 8 const getMessages = function getMessages() {
11 var elements = document.querySelectorAll(".contact-list__message__unread-badge-counter"); 9 const elements = document.querySelectorAll('.contact-list__message__unread-badge-counter');
12 var count = 0; 10 let count = 0;
13 for (var i = 0; i < elements.length; i++) { 11 for (let i = 0; i < elements.length; i++) {
14 var countValue = parseInt(elements[i].textContent || '0', 10); 12 const countValue = parseInt(elements[i].textContent || '0', 10);
15 count += countValue; 13 count += countValue;
16 } 14 }
17 Ferdi.setBadge(count, 0); 15 Ferdi.setBadge(count, 0);
18 }; 16 };
19 17
20 Ferdi.loop(getMessages); 18 Ferdi.loop(getMessages);
21 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); 19 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
22}; 20};
diff --git a/recipes/bitbucket/webview.js b/recipes/bitbucket/webview.js
index ddd0b40..3ad4701 100644
--- a/recipes/bitbucket/webview.js
+++ b/recipes/bitbucket/webview.js
@@ -1,6 +1,4 @@
1"use strict"; 1const _path = _interopRequireDefault(require('path'));
2
3var _path = _interopRequireDefault(require("path"));
4 2
5function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6 4
diff --git a/recipes/box/webview.js b/recipes/box/webview.js
index 8d854de..11308dd 100644
--- a/recipes/box/webview.js
+++ b/recipes/box/webview.js
@@ -1,3 +1,3 @@
1module.exports = (Franz, options) => { 1module.exports = (Franz, options) => {
2 2
3} 3};
diff --git a/recipes/buffer/webview.js b/recipes/buffer/webview.js
index b1acc10..080e809 100644
--- a/recipes/buffer/webview.js
+++ b/recipes/buffer/webview.js
@@ -1,6 +1,6 @@
1const path = require('path'); 1const path = require('path');
2 2
3module.exports = (Franz, options) => { 3module.exports = (Franz, options) => {
4 // inject franz.css stylesheet 4 // inject franz.css stylesheet
5 Franz.injectCSS(path.join(__dirname, 'css', 'franz.css')); 5 Franz.injectCSS(path.join(__dirname, 'css', 'franz.css'));
6}; 6};
diff --git a/recipes/campuswire/index.js b/recipes/campuswire/index.js
index e8243fb..258da41 100644
--- a/recipes/campuswire/index.js
+++ b/recipes/campuswire/index.js
@@ -1,3 +1 @@
1"use strict"; module.exports = Franz => Franz;
2
3module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/campuswire/webview.js b/recipes/campuswire/webview.js
index f52fa46..b65f25a 100644
--- a/recipes/campuswire/webview.js
+++ b/recipes/campuswire/webview.js
@@ -1,5 +1,3 @@
1"use strict";
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 let count = document.querySelectorAll('._5fx8:not(._569x),._1ht3:not(._569x)').length; 3 let count = document.querySelectorAll('._5fx8:not(._569x),._1ht3:not(._569x)').length;
@@ -15,7 +13,7 @@ module.exports = Franz => {
15 Franz.loop(getMessages); 13 Franz.loop(getMessages);
16 localStorage.setItem('_cs_desktopNotifsEnabled', JSON.stringify({ 14 localStorage.setItem('_cs_desktopNotifsEnabled', JSON.stringify({
17 __t: new Date().getTime(), 15 __t: new Date().getTime(),
18 __v: true 16 __v: true,
19 })); 17 }));
20 18
21 if (typeof Franz.onNotify === 'function') { 19 if (typeof Franz.onNotify === 'function') {
diff --git a/recipes/canvas/index.js b/recipes/canvas/index.js
index 415aeea..23607bd 100644
--- a/recipes/canvas/index.js
+++ b/recipes/canvas/index.js
@@ -1 +1 @@
module.exports = Ferdi => Ferdi; \ No newline at end of file module.exports = Ferdi => Ferdi;
diff --git a/recipes/canvas/webview.js b/recipes/canvas/webview.js
index 59d37e3..1bd3c84 100644
--- a/recipes/canvas/webview.js
+++ b/recipes/canvas/webview.js
@@ -1,17 +1,14 @@
1"use strict";
2
3module.exports = Ferdi => { 1module.exports = Ferdi => {
4 const getMessages = () => { 2 const getMessages = () => {
5 var direct = 0; 3 let direct = 0;
6 4
7 const MessageElement = document.querySelector('[id=global_nav_conversations_link]'); 5 const MessageElement = document.querySelector('[id=global_nav_conversations_link]');
8 if (MessageElement) { 6 if (MessageElement) {
9 direct += MessageElement.innerHTML; 7 direct += MessageElement.innerHTML;
10 } 8 }
11 9
12 Ferdi.setBadge(direct); 10 Ferdi.setBadge(direct);
13 }; 11 };
14 12
15 Ferdi.loop(getMessages); 13 Ferdi.loop(getMessages);
16 14};
17}; \ No newline at end of file
diff --git a/recipes/chatwork/index.js b/recipes/chatwork/index.js
index a409287..258da41 100644
--- a/recipes/chatwork/index.js
+++ b/recipes/chatwork/index.js
@@ -1,3 +1 @@
1'use strict'; module.exports = Franz => Franz;
2
3module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/chatwork/webview.js b/recipes/chatwork/webview.js
index 48a3fbf..c6465ec 100644
--- a/recipes/chatwork/webview.js
+++ b/recipes/chatwork/webview.js
@@ -1,23 +1,21 @@
1'use strict';
2
3module.exports = (Franz, options) => { 1module.exports = (Franz, options) => {
4 function getMessages() { 2 function getMessages() {
5 let groupCount = 0; 3 let groupCount = 0;
6 let individualCount = 0; 4 let individualCount = 0;
7 let directCount = 0; 5 let directCount = 0;
8 let indirectCount = 0; 6 let indirectCount = 0;
9 let roomInfoContainer = document.querySelectorAll('li.sc-dnqmqq'); 7 const roomInfoContainer = document.querySelectorAll('li.sc-dnqmqq');
10 Array.prototype.forEach.call(roomInfoContainer, function (room) { 8 Array.prototype.forEach.call(roomInfoContainer, (room) => {
11 let count = 0; 9 let count = 0;
12 let unreadBadge = room.querySelector("span.sc-kAzzGY"); 10 const unreadBadge = room.querySelector('span.sc-kAzzGY');
13 let unreadBadgeHasMention = room.querySelector("li._unreadBadge.sc-cSHVUG"); 11 const unreadBadgeHasMention = room.querySelector('li._unreadBadge.sc-cSHVUG');
14 12
15 if (unreadBadge && unreadBadge.innerText) { 13 if (unreadBadge && unreadBadge.innerText) {
16 count = parseInt(unreadBadge.innerText); 14 count = parseInt(unreadBadge.innerText);
17 } 15 }
18 16
19 if (0 < count) { 17 if (count > 0) {
20 if (room.querySelector("img.sc-gqjmRU").getAttribute('src').indexOf('avatar') < 0) { 18 if (room.querySelector('img.sc-gqjmRU').getAttribute('src').indexOf('avatar') < 0) {
21 groupCount += count; 19 groupCount += count;
22 20
23 if (unreadBadgeHasMention) { 21 if (unreadBadgeHasMention) {
@@ -35,4 +33,4 @@ module.exports = (Franz, options) => {
35 } 33 }
36 34
37 Franz.loop(getMessages); 35 Franz.loop(getMessages);
38}; \ No newline at end of file 36};
diff --git a/recipes/ciscospark/index.js b/recipes/ciscospark/index.js
index 7fc62b3..83aacd0 100644
--- a/recipes/ciscospark/index.js
+++ b/recipes/ciscospark/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNpc2Nvc3BhcmsvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWlCQyxTQUFTQSxLQUExQiIsImZpbGUiOiJjaXNjb3NwYXJrL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ== \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNpc2Nvc3BhcmsvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWlCQyxTQUFTQSxLQUExQiIsImZpbGUiOiJjaXNjb3NwYXJrL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ==
diff --git a/recipes/ciscospark/webview.js b/recipes/ciscospark/webview.js
index 4fa94da..7d7bae9 100644
--- a/recipes/ciscospark/webview.js
+++ b/recipes/ciscospark/webview.js
@@ -1,8 +1,6 @@
1'use strict'; 1const _path = require('path');
2 2
3var _path = require('path'); 3const _path2 = _interopRequireDefault(_path);
4
5var _path2 = _interopRequireDefault(_path);
6 4
7function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 5function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8 6
@@ -27,4 +25,4 @@ module.exports = Franz => {
27 Franz.loop(getMessages); 25 Franz.loop(getMessages);
28 Franz.injectCSS(_path2.default.join(__dirname, 'service.css')); 26 Franz.injectCSS(_path2.default.join(__dirname, 'service.css'));
29}; 27};
30//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNpc2Nvc3Bhcmsvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJVTlJFQURfQkFER0VfU0VMRUNUT1IiLCJnZXRNZXNzYWdlcyIsImRpcmVjdENvdW50IiwiaW5kaXJlY3RDb3VudCIsImVsZW1lbnRzIiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yQWxsIiwibGVuZ3RoIiwicXVlcnlTZWxlY3RvciIsInBhcnNlSW50IiwidGV4dENvbnRlbnQiLCJzZXRCYWRnZSIsImxvb3AiLCJpbmplY3RDU1MiLCJqb2luIiwiX19kaXJuYW1lIl0sIm1hcHBpbmdzIjoiOztBQUFBOzs7Ozs7QUFFQUEsT0FBT0MsT0FBUCxHQUFrQkMsS0FBRCxJQUFXO0FBQzFCLFFBQU1DLHdCQUF3Qiw4QkFBOUI7O0FBRUEsUUFBTUMsY0FBYyxTQUFTQSxXQUFULEdBQXVCO0FBQ3pDLFFBQUlDLGNBQWMsQ0FBbEI7QUFDQSxRQUFJQyxnQkFBZ0IsQ0FBcEI7O0FBRUEsVUFBTUMsV0FBV0MsU0FBU0MsZ0JBQVQsQ0FBMEIsdUNBQTFCLENBQWpCO0FBQ0EsUUFBSUYsU0FBU0csTUFBVCxHQUFrQixDQUFsQixJQUF1QkgsU0FBUyxDQUFULE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24tYmFyLWxpc3QgLmxpc3RJdGVtV3JhcHBlcicpO1xuICAgIGlmIChlbGVtZW50cy5sZW5ndGggPiAwICYmIGVsZW1lbnRzWzFdLnF1ZXJ5U2VsZWN0b3IoVU5SRUFEX0JBREdFX1NFTEVDVE9SKSkge1xuICAgICAgZGlyZWN0Q291bnQgPSBwYXJzZUludChlbGVtZW50c1sxXS5xdWVyeVNlbGVjdG9yKFVOUkVBRF9CQURHRV9TRUxFQ1RPUikudGV4dENvbnRlbnQsIDEwKTtcbiAgICB9XG4gICAgaWYgKGVsZW1lbnRzLmxlbmd0aCA+IDAgJiYgZWxlbWVudHNbMl0ucXVlcnlTZWxlY3RvcihVTlJFQURfQkFER0VfU0VMRUNUT1IpKSB7XG4gICAgICBpbmRpcmVjdENvdW50ID0gcGFyc2VJbnQoZWxlbWVudHNbMl0ucXVlcnlTZWxlY3RvcihVTlJFQURfQkFER0VfU0VMRUNUT1IpLnRleHRDb250ZW50LCAxMCk7XG4gICAgfVxuXG4gICAgRnJhbnouc2V0QmFkZ2UoZGlyZWN0Q291bnQsIGluZGlyZWN0Q291bnQpO1xuICB9O1xuXG4gIEZyYW56Lmxvb3AoZ2V0TWVzc2FnZXMpO1xuICBGcmFuei5pbmplY3RDU1MocGF0aC5qb2luKF9fZGlybmFtZSwgJ3NlcnZpY2UuY3NzJykpO1xufTtcbiJdfQ== \ No newline at end of file 28// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNpc2Nvc3Bhcmsvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJVTlJFQURfQkFER0VfU0VMRUNUT1IiLCJnZXRNZXNzYWdlcyIsImRpcmVjdENvdW50IiwiaW5kaXJlY3RDb3VudCIsImVsZW1lbnRzIiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yQWxsIiwibGVuZ3RoIiwicXVlcnlTZWxlY3Rv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1xuICB9O1xuXG4gIEZyYW56Lmxvb3AoZ2V0TWVzc2FnZXMpO1xuICBGcmFuei5pbmplY3RDU1MocGF0aC5qb2luKF9fZGlybmFtZSwgJ3NlcnZpY2UuY3NzJykpO1xufTtcbiJdfQ==
diff --git a/recipes/clickup/index.js b/recipes/clickup/index.js
index 8a99610..258da41 100644
--- a/recipes/clickup/index.js
+++ b/recipes/clickup/index.js
@@ -1,3 +1 @@
1'use strict';
2
3module.exports = Franz => Franz; module.exports = Franz => Franz;
diff --git a/recipes/clickup/webview.js b/recipes/clickup/webview.js
index ef7a41e..64bae62 100644
--- a/recipes/clickup/webview.js
+++ b/recipes/clickup/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 const elements = document.querySelectorAll('.unreadCount'); 3 const elements = document.querySelectorAll('.unreadCount');
diff --git a/recipes/cliq/index.js b/recipes/cliq/index.js
index e8243fb..258da41 100644
--- a/recipes/cliq/index.js
+++ b/recipes/cliq/index.js
@@ -1,3 +1 @@
1"use strict"; module.exports = Franz => Franz;
2
3module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/cliq/webview.js b/recipes/cliq/webview.js
index c6d1ae6..095c1b0 100644
--- a/recipes/cliq/webview.js
+++ b/recipes/cliq/webview.js
@@ -1,9 +1,7 @@
1"use strict";
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = () => { 2 const getMessages = () => {
5 Franz.setBadge(ConversationsList.getUnreadBadgeCount()); 3 Franz.setBadge(ConversationsList.getUnreadBadgeCount());
6 }; 4 };
7 5
8 Franz.loop(getMessages); 6 Franz.loop(getMessages);
9}; \ No newline at end of file 7};
diff --git a/recipes/clockify/index.js b/recipes/clockify/index.js
index e8243fb..258da41 100644
--- a/recipes/clockify/index.js
+++ b/recipes/clockify/index.js
@@ -1,3 +1 @@
1"use strict"; module.exports = Franz => Franz;
2
3module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/clockify/webview.js b/recipes/clockify/webview.js
index 5aab471..470b3ea 100644
--- a/recipes/clockify/webview.js
+++ b/recipes/clockify/webview.js
@@ -1,5 +1,3 @@
1"use strict";
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 const notifications = document.querySelectorAll('.notification--number'); 3 const notifications = document.querySelectorAll('.notification--number');
@@ -8,4 +6,4 @@ module.exports = Franz => {
8 }; 6 };
9 7
10 Franz.loop(getMessages); 8 Franz.loop(getMessages);
11}; \ No newline at end of file 9};
diff --git a/recipes/clubhouse/webview.js b/recipes/clubhouse/webview.js
index 51cd09d..9b2b782 100644
--- a/recipes/clubhouse/webview.js
+++ b/recipes/clubhouse/webview.js
@@ -7,4 +7,4 @@ module.exports = (Ferdi) => {
7 } 7 }
8 8
9 Ferdi.loop(getMessages); 9 Ferdi.loop(getMessages);
10} 10};
diff --git a/recipes/devdocs/webview.js b/recipes/devdocs/webview.js
index 7b5fee0..7e19dff 100644
--- a/recipes/devdocs/webview.js
+++ b/recipes/devdocs/webview.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Ferdi => { 1module.exports = Ferdi => {
4}; 2};
diff --git a/recipes/discord/webview.js b/recipes/discord/webview.js
index 2d68a44..270ca0e 100644
--- a/recipes/discord/webview.js
+++ b/recipes/discord/webview.js
@@ -1,28 +1,25 @@
1"use strict"; 1const _path = _interopRequireDefault(require('path'));
2
3var _path = _interopRequireDefault(require("path"));
4 2
5function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6 4
7module.exports = Franz => { 5module.exports = Franz => {
8 const getMessages = function getMessages() { 6 const getMessages = function getMessages() {
9 const direct = document.querySelector('[class*="guilds-"]').querySelectorAll('[class^="numberBadge-"]').length; 7 const direct = document.querySelector('[class*="guilds-"]').querySelectorAll('[class^="numberBadge-"]').length;
10 8
11 var indirect = 0; 9 let indirect = 0;
12 var guilds = document.querySelector("[data-ref-id=guildsnav]"); 10 const guilds = document.querySelector('[data-ref-id=guildsnav]');
13 if(guilds != null) { 11 if (guilds != null) {
14 var channelPills = [].slice.call(guilds.querySelectorAll("[class*=item-2hkk8m]")); 12 const channelPills = [].slice.call(guilds.querySelectorAll('[class*=item-2hkk8m]'));
15 indirect += channelPills.filter(y => y.clientHeight == 8).length; 13 indirect += channelPills.filter(y => y.clientHeight == 8).length;
16 14
17 var activeWindow = channelPills.find(y => y.clientHeight == 40); 15 const activeWindow = channelPills.find(y => y.clientHeight == 40);
18 if(activeWindow != null) { 16 if (activeWindow != null) {
19 var unreadChannels = document.querySelector("[class*=modeUnread]"); 17 const unreadChannels = document.querySelector('[class*=modeUnread]');
20 18
21 if(unreadChannels != null) 19 if (unreadChannels != null) indirect++;
22 indirect++; 20 }
23 } 21 }
24 } 22
25
26 Franz.setBadge(direct, indirect); 23 Franz.setBadge(direct, indirect);
27 }; 24 };
28 25
diff --git a/recipes/disqus/index.js b/recipes/disqus/index.js
index cd5b37c..23607bd 100644
--- a/recipes/disqus/index.js
+++ b/recipes/disqus/index.js
@@ -1,3 +1 @@
1"use strict";
2
3module.exports = Ferdi => Ferdi; module.exports = Ferdi => Ferdi;
diff --git a/recipes/disqus/webview.js b/recipes/disqus/webview.js
index 797db5f..6e10e29 100644
--- a/recipes/disqus/webview.js
+++ b/recipes/disqus/webview.js
@@ -1,19 +1,17 @@
1"use strict"; 1const _path = _interopRequireDefault(require('path'));
2
3var _path = _interopRequireDefault(require("path"));
4 2
5function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6 4
7let getInnerInt = selector => { 5const getInnerInt = selector => {
8 const element = document.querySelector(selector); 6 const element = document.querySelector(selector);
9 return element && parseInt(element.innerText); 7 return element && parseInt(element.innerText);
10} 8};
11 9
12module.exports = Ferdi => { 10module.exports = Ferdi => {
13 const getMessages = function getMessages() { 11 const getMessages = function getMessages() {
14 let direct = ( 12 const direct = (
15 getInnerInt("header div[data-role='unread-notification-count']") || 13 getInnerInt("header div[data-role='unread-notification-count']") ||
16 getInnerInt("a.has-notifs div.notif-count") || 14 getInnerInt('a.has-notifs div.notif-count') ||
17 0 15 0
18 ); 16 );
19 17
diff --git a/recipes/easy-redmine/webview.js b/recipes/easy-redmine/webview.js
index 8d854de..11308dd 100644
--- a/recipes/easy-redmine/webview.js
+++ b/recipes/easy-redmine/webview.js
@@ -1,3 +1,3 @@
1module.exports = (Franz, options) => { 1module.exports = (Franz, options) => {
2 2
3} 3};
diff --git a/recipes/element/index.js b/recipes/element/index.js
index 17daa35..258da41 100644
--- a/recipes/element/index.js
+++ b/recipes/element/index.js
@@ -1,3 +1 @@
1"use strict";
2
3module.exports = Franz => Franz; module.exports = Franz => Franz;
diff --git a/recipes/element/webview.js b/recipes/element/webview.js
index 7ccf97b..22ff738 100644
--- a/recipes/element/webview.js
+++ b/recipes/element/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 function getMessages() { 2 function getMessages() {
5 const badges = document.querySelectorAll('.mx_RoomSublist:not(.mx_RoomSublist_hidden) .mx_RoomSublist_badgeContainer'); 3 const badges = document.querySelectorAll('.mx_RoomSublist:not(.mx_RoomSublist_hidden) .mx_RoomSublist_badgeContainer');
@@ -7,13 +5,13 @@ module.exports = Franz => {
7 // Number of messages from People 5 // Number of messages from People
8 let direct_count = 0; 6 let direct_count = 0;
9 if (badges.length > 0 && badges[0].children.length > 0) { 7 if (badges.length > 0 && badges[0].children.length > 0) {
10 direct_count = parseInt(badges[0].textContent) 8 direct_count = parseInt(badges[0].textContent);
11 } 9 }
12 10
13 // Number of messages from Rooms 11 // Number of messages from Rooms
14 let indirect_count = 0; 12 let indirect_count = 0;
15 if (badges.length > 1 && badges[1].children.length > 0) { 13 if (badges.length > 1 && badges[1].children.length > 0) {
16 indirect_count = parseInt(badges[1].textContent) 14 indirect_count = parseInt(badges[1].textContent);
17 } 15 }
18 16
19 // set Franz badge 17 // set Franz badge
diff --git a/recipes/enterprise-owa/index.js b/recipes/enterprise-owa/index.js
index 9157a2e..258da41 100644
--- a/recipes/enterprise-owa/index.js
+++ b/recipes/enterprise-owa/index.js
@@ -1 +1 @@
module.exports = Franz => Franz; \ No newline at end of file module.exports = Franz => Franz;
diff --git a/recipes/enterprise-owa/webview.js b/recipes/enterprise-owa/webview.js
index e144c46..1fa1a12 100644
--- a/recipes/enterprise-owa/webview.js
+++ b/recipes/enterprise-owa/webview.js
@@ -1,16 +1,14 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 let unreadMail = 0; 3 let unreadMail = 0;
6 4
7 if (location.pathname.match(/\/owa/)) { 5 if (location.pathname.match(/\/owa/)) {
8 // classic app 6 // classic app
9 unreadMail = parseInt( 7 unreadMail = parseInt(
10 jQuery("span[title*='Inbox'] + div > span") 8 jQuery("span[title*='Inbox'] + div > span")
11 .first() 9 .first()
12 .text(), 10 .text(),
13 10 11 10,
14 ); 12 );
15 } else { 13 } else {
16 // new app 14 // new app
diff --git a/recipes/epicgames/webview.js b/recipes/epicgames/webview.js
index ddd0b40..3ad4701 100644
--- a/recipes/epicgames/webview.js
+++ b/recipes/epicgames/webview.js
@@ -1,6 +1,4 @@
1"use strict"; 1const _path = _interopRequireDefault(require('path'));
2
3var _path = _interopRequireDefault(require("path"));
4 2
5function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6 4
diff --git a/recipes/erepublik/webview.js b/recipes/erepublik/webview.js
index ca55df3..ebd3743 100644
--- a/recipes/erepublik/webview.js
+++ b/recipes/erepublik/webview.js
@@ -1,6 +1,4 @@
1'use strict'; 1const _path = _interopRequireDefault(require('path'));
2
3var _path = _interopRequireDefault(require('path'));
4 2
5function _interopRequireDefault(obj) { 3function _interopRequireDefault(obj) {
6 return obj && obj.__esModule ? obj : { default: obj }; 4 return obj && obj.__esModule ? obj : { default: obj };
@@ -8,7 +6,6 @@ function _interopRequireDefault(obj) {
8 6
9module.exports = Ferdi => { 7module.exports = Ferdi => {
10 const getMessages = function getMessages() { 8 const getMessages = function getMessages() {
11
12 const elementNotify = document.getElementsByClassName('notify'); 9 const elementNotify = document.getElementsByClassName('notify');
13 const elementFeed = document.getElementsByClassName('unreadCounter ng-binding ng-scope'); 10 const elementFeed = document.getElementsByClassName('unreadCounter ng-binding ng-scope');
14 11
@@ -16,17 +13,17 @@ module.exports = Ferdi => {
16 let countFeed = 0; 13 let countFeed = 0;
17 14
18 for (let i = 0; i < elementNotify.length; i++) { 15 for (let i = 0; i < elementNotify.length; i++) {
19 let splitText = elementNotify[i].title.split(':'); 16 const splitText = elementNotify[i].title.split(':');
20 let badgeNumber = parseInt(splitText[1], 10); 17 const badgeNumber = parseInt(splitText[1], 10);
21 if (badgeNumber) { 18 if (badgeNumber) {
22 countNotify = countNotify + badgeNumber; 19 countNotify += badgeNumber;
23 } 20 }
24 } 21 }
25 22
26 for (let i = 0; i < elementFeed.length; i++) { 23 for (let i = 0; i < elementFeed.length; i++) {
27 let feedNumber = parseInt(elementFeed[i].textContent, 10); 24 const feedNumber = parseInt(elementFeed[i].textContent, 10);
28 if (feedNumber) { 25 if (feedNumber) {
29 countFeed = countFeed + feedNumber; 26 countFeed += feedNumber;
30 } 27 }
31 } 28 }
32 29
@@ -34,7 +31,6 @@ module.exports = Ferdi => {
34 Ferdi.setBadge(countNotify, countFeed); 31 Ferdi.setBadge(countNotify, countFeed);
35 }; 32 };
36 33
37
38 Ferdi.loop(getMessages); 34 Ferdi.loop(getMessages);
39 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); 35 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
40 Ferdi.injectCSS(_path.default.join(__dirname, 'crpk-resources/fonts.css')); 36 Ferdi.injectCSS(_path.default.join(__dirname, 'crpk-resources/fonts.css'));
diff --git a/recipes/facebook/webview.js b/recipes/facebook/webview.js
index 392d891..17ab011 100755
--- a/recipes/facebook/webview.js
+++ b/recipes/facebook/webview.js
@@ -1,20 +1,19 @@
1module.exports = (Franz) => { 1module.exports = (Franz) => {
2 const getNotifications = function getNotifications() { 2 const getNotifications = function getNotifications() {
3 let count = 0;
3 4
4 var count = 0; 5 const elements = [
6 document.getElementById('requestsCountValue'),
7 // document.getElementById('mercurymessagesCountValue'),
8 document.getElementById('notificationsCountValue'),
9 document.querySelector('.k4urcfbm.qnrpqo6b.qt6c0cv9.jxrgncrl.jb3vyjys.taijpn5t.datstx6m.pq6dq46d.ljqsnud1.bp9cbjyn'),
10 ];
5 11
6 var elements = [ 12 elements.forEach((element) => {
7 document.getElementById('requestsCountValue'), 13 if (element !== null && parseInt(element.innerHTML, 10)) {
8 // document.getElementById('mercurymessagesCountValue'), 14 count += parseInt(element.innerHTML, 10);
9 document.getElementById('notificationsCountValue'), 15 }
10 document.querySelector('.k4urcfbm.qnrpqo6b.qt6c0cv9.jxrgncrl.jb3vyjys.taijpn5t.datstx6m.pq6dq46d.ljqsnud1.bp9cbjyn'), 16 });
11 ]
12
13 elements.forEach(function(element){
14 if(element !== null && parseInt(element.innerHTML, 10)){
15 count += parseInt(element.innerHTML, 10);
16 }
17 })
18 17
19 Franz.setBadge(count); 18 Franz.setBadge(count);
20 }; 19 };
diff --git a/recipes/facebookpages/index.js b/recipes/facebookpages/index.js
index e8243fb..258da41 100644
--- a/recipes/facebookpages/index.js
+++ b/recipes/facebookpages/index.js
@@ -1,3 +1 @@
1"use strict"; module.exports = Franz => Franz;
2
3module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/facebookpages/webview.js b/recipes/facebookpages/webview.js
index a0e5647..01ac1b6 100644
--- a/recipes/facebookpages/webview.js
+++ b/recipes/facebookpages/webview.js
@@ -1,5 +1,3 @@
1"use strict";
2
3module.exports = (Franz, options) => { 1module.exports = (Franz, options) => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 let messages = 0; 3 let messages = 0;
@@ -27,4 +25,4 @@ module.exports = (Franz, options) => {
27 localStorage.setItem('franz-needsRedirect', true); 25 localStorage.setItem('franz-needsRedirect', true);
28 } 26 }
29 }, 500); 27 }, 500);
30}; \ No newline at end of file 28};
diff --git a/recipes/fastmail/index.js b/recipes/fastmail/index.js
index 6012f4b..2d94af4 100644
--- a/recipes/fastmail/index.js
+++ b/recipes/fastmail/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZhc3RtYWlsL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiZmFzdG1haWwvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZhc3RtYWlsL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiZmFzdG1haWwvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19
diff --git a/recipes/fastmail/webview.js b/recipes/fastmail/webview.js
index df39728..48066fe 100644
--- a/recipes/fastmail/webview.js
+++ b/recipes/fastmail/webview.js
@@ -1,10 +1,8 @@
1'use strict';
2
3const path = require('path'); 1const path = require('path');
4 2
5module.exports = (Franz) => { 3module.exports = (Franz) => {
6 const getMessages = () => { 4 const getMessages = () => {
7 const inbox = document.querySelector(".v-MailboxSource--inbox .v-MailboxSource-badge"); 5 const inbox = document.querySelector('.v-MailboxSource--inbox .v-MailboxSource-badge');
8 if (!inbox) { 6 if (!inbox) {
9 return; 7 return;
10 } 8 }
diff --git a/recipes/feedbin/webview.js b/recipes/feedbin/webview.js
index f44122a..56ffd3c 100644
--- a/recipes/feedbin/webview.js
+++ b/recipes/feedbin/webview.js
@@ -5,4 +5,4 @@ module.exports = (Franz, options) => {
5 } 5 }
6 6
7 Franz.loop(getMessages); 7 Franz.loop(getMessages);
8} 8};
diff --git a/recipes/feedly/index.js b/recipes/feedly/index.js
index f6f75e3..258da41 100644
--- a/recipes/feedly/index.js
+++ b/recipes/feedly/index.js
@@ -1,2 +1 @@
1"use strict"; module.exports = Franz => Franz;
2module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/feedly/webview.js b/recipes/feedly/webview.js
index c0f625d..b5ac7dd 100644
--- a/recipes/feedly/webview.js
+++ b/recipes/feedly/webview.js
@@ -1,16 +1,14 @@
1module.exports = Franz => { 1module.exports = Franz => {
2
3 getMessages = () => { 2 getMessages = () => {
4 const newsDOM = document.querySelectorAll("div[title='All'] > .LeftnavListRow__count")[0].innerHTML; 3 const newsDOM = document.querySelectorAll("div[title='All'] > .LeftnavListRow__count")[0].innerHTML;
5 let counter = parseInt(newsDOM); 4 let counter = parseInt(newsDOM);
6 5
7 if (newsDOM.indexOf('K') !== -1 || newsDOM.indexOf('+') !== -1) { 6 if (newsDOM.indexOf('K') !== -1 || newsDOM.indexOf('+') !== -1) {
8 counter = newsDOM.substring(0, newsDOM.indexOf('K')) + '000'; 7 counter = `${newsDOM.substring(0, newsDOM.indexOf('K'))}000`;
9 } 8 }
10 9
11 Franz.setBadge(counter); 10 Franz.setBadge(counter);
12 }; 11 };
13 12
14 Franz.loop(getMessages); 13 Franz.loop(getMessages);
15 14};
16} \ No newline at end of file
diff --git a/recipes/figma/webview.js b/recipes/figma/webview.js
index 7b5fee0..7e19dff 100644
--- a/recipes/figma/webview.js
+++ b/recipes/figma/webview.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Ferdi => { 1module.exports = Ferdi => {
4}; 2};
diff --git a/recipes/fleep/webview.js b/recipes/fleep/webview.js
index f3d765d..46fe2c5 100644
--- a/recipes/fleep/webview.js
+++ b/recipes/fleep/webview.js
@@ -1,13 +1,11 @@
1"use strict"; 1const _path = _interopRequireDefault(require('path'));
2
3var _path = _interopRequireDefault(require("path"));
4 2
5function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6 4
7module.exports = Ferdi => { 5module.exports = Ferdi => {
8 const getMessages = function getMessages() { 6 const getMessages = function getMessages() {
9 // Count number of conversations or teams with unread messages 7 // Count number of conversations or teams with unread messages
10 let count = document.querySelectorAll(".unread-count").length; 8 const count = document.querySelectorAll('.unread-count').length;
11 Ferdi.setBadge(count, 0); 9 Ferdi.setBadge(count, 0);
12 }; 10 };
13 11
diff --git a/recipes/flowdock/index.js b/recipes/flowdock/index.js
index fbc00fa..582ee6e 100644
--- a/recipes/flowdock/index.js
+++ b/recipes/flowdock/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZsb3dkb2NrL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiZmxvd2RvY2svaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZsb3dkb2NrL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiZmxvd2RvY2svaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19
diff --git a/recipes/flowdock/webview.js b/recipes/flowdock/webview.js
index 8434483..704dc95 100644
--- a/recipes/flowdock/webview.js
+++ b/recipes/flowdock/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 const directMessages = document.querySelectorAll('.activity-indicator-mentions').length; 3 const directMessages = document.querySelectorAll('.activity-indicator-mentions').length;
@@ -11,4 +9,4 @@ module.exports = Franz => {
11 9
12 Franz.loop(getMessages); 10 Franz.loop(getMessages);
13}; 11};
14//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZsb3dkb2NrL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJkaXJlY3RNZXNzYWdlcyIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvckFsbCIsImxlbmd0aCIsImluZGlyZWN0TWVzc2FnZXMiLCJzZXRCYWRnZSIsImxvb3AiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU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ZGdlKGRpcmVjdE1lc3NhZ2VzLCBpbmRpcmVjdE1lc3NhZ2VzKTtcbiAgfTtcblxuICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKTtcbn07XG4iXX0=
diff --git a/recipes/franz-custom-website/index.js b/recipes/franz-custom-website/index.js
index d232644..db3da5e 100644
--- a/recipes/franz-custom-website/index.js
+++ b/recipes/franz-custom-website/index.js
@@ -1,5 +1,3 @@
1"use strict";
2
3module.exports = Franz => class CustomWebsite extends Franz { 1module.exports = Franz => class CustomWebsite extends Franz {
4 async validateUrl(url) { 2 async validateUrl(url) {
5 return true; 3 return true;
diff --git a/recipes/franz-custom-website/webview.js b/recipes/franz-custom-website/webview.js
index ed1c3a6..6df0aaa 100644
--- a/recipes/franz-custom-website/webview.js
+++ b/recipes/franz-custom-website/webview.js
@@ -1,7 +1,5 @@
1"use strict";
2
3const path = require('path'); 1const path = require('path');
4 2
5module.exports = Franz => { 3module.exports = Franz => {
6 Franz.injectCSS(path.join(__dirname, 'style.css')); 4 Franz.injectCSS(path.join(__dirname, 'style.css'));
7}; \ No newline at end of file 5};
diff --git a/recipes/gadugadu/index.js b/recipes/gadugadu/index.js
index 1ee848c..b9faf46 100644
--- a/recipes/gadugadu/index.js
+++ b/recipes/gadugadu/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdhZHVnYWR1L2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiZ2FkdWdhZHUvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56OyJdfQ== \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdhZHVnYWR1L2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiZ2FkdWdhZHUvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56OyJdfQ==
diff --git a/recipes/gadugadu/webview.js b/recipes/gadugadu/webview.js
index 320b6ee..50b5c02 100644
--- a/recipes/gadugadu/webview.js
+++ b/recipes/gadugadu/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3const path = require('path'); 1const path = require('path');
4 2
5module.exports = Franz => { 3module.exports = Franz => {
@@ -22,4 +20,4 @@ module.exports = Franz => {
22 Franz.injectCSS(path.join(__dirname, 'service.css')); 20 Franz.injectCSS(path.join(__dirname, 'service.css'));
23 Franz.loop(getMessages); 21 Franz.loop(getMessages);
24}; 22};
25//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdhZHVnYWR1L3dlYnZpZXcuanMiXSwibmFtZXMiOlsicGF0aCIsInJlcXVpcmUiLCJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsInVwZGF0ZXMiLCJwYXJzZUludCIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvciIsInRleHRDb250ZW50IiwibWVzc2FnZXMiLCJjb252ZXJzYXRpb25zIiwicXVlcnlTZWxlY3RvckFsbCIsImxlbmd0aCIsImkiLCJzZXRCYWRnZSIsImluamVjdENTUyIsImpvaW4iLCJfX2Rpcm5hbWUiLCJsb29wIl0sIm1hcHBpbmdzIjoiOztBQUFBLE1BQU1BLE9BQU9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2N1bWVudC5xdWVyeVNlbGVjdG9yKCdpI3NyLWxhc3QtY291bnRlcicpLnRleHRDb250ZW50LCAxMCk7XG4gICAgbGV0IG1lc3NhZ2VzID0gMDtcblxuICAgIGNvbnN0IGNvbnZlcnNhdGlvbnMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuY2hhdC1jb3VudGVyOm5vdCguZC1ub25lKScpLmxlbmd0aDtcbiAgICBpZiAoY29udmVyc2F0aW9ucyA9PT0gMCkge1xuICAgICAgbWVzc2FnZXMgPSAwO1xuICAgIH0gZWxzZSB7XG4gICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGNvbnZlcnNhdGlvbnM7IGkgKyAxKSB7XG4gICAgICAgIG1lc3NhZ2VzICs9IHBhcnNlSW50KGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5jaGF0LWNvdW50ZXI6bm90KC5kLW5vbmUpJylbaV0udGV4dENvbnRlbnQsIDEwKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICBGcmFuei5zZXRCYWRnZShtZXNzYWdlcywgdXBkYXRlcyk7XG4gIH07XG5cbiAgRnJhbnouaW5qZWN0Q1NTKHBhdGguam9pbihfX2Rpcm5hbWUsICdzZXJ2aWNlLmNzcycpKTtcbiAgRnJhbnoubG9vcChnZXRNZXNzYWdlcyk7XG59O1xuIl19 \ No newline at end of file 23// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdhZHVnYWR1L3dlYnZpZXcuanMiXSwibmFtZXMiOlsicGF0aCIsInJlcXVpcmUiLCJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsInVwZGF0ZXMiLCJwYXJzZUludCIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvciIsInRleHRDb250ZW50IiwibWVzc2FnZXMiLCJjb252ZXJzYXRpb25zIiwicXVlcnlTZWxlY3RvckFsbCIsImxlbmd0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5leHBvcnRzID0gKEZyYW56KSA9PiB7XG4gIGNvbnN0IGdldE1lc3NhZ2VzID0gKCkgPT4ge1xuICAgIGNvbnN0IHVwZGF0ZXMgPSBwYXJzZUludChkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCdpI3NyLWxhc3QtY291bnRlcicpLnRleHRDb250ZW50LCAxMCk7XG4gICAgbGV0IG1lc3NhZ2VzID0gMDtcblxuICAgIGNvbnN0IGNvbnZlcnNhdGlvbnMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuY2hhdC1jb3VudGVyOm5vdCguZC1ub25lKScpLmxlbmd0aDtcbiAgICBpZiAoY29udmVyc2F0aW9ucyA9PT0gMCkge1xuICAgICAgbWVzc2FnZXMgPSAwO1xuICAgIH0gZWxzZSB7XG4gICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGNvbnZlcnNhdGlvbnM7IGkgKyAxKSB7XG4gICAgICAgIG1lc3NhZ2VzICs9IHBhcnNlSW50KGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5jaGF0LWNvdW50ZXI6bm90KC5kLW5vbmUpJylbaV0udGV4dENvbnRlbnQsIDEwKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICBGcmFuei5zZXRCYWRnZShtZXNzYWdlcywgdXBkYXRlcyk7XG4gIH07XG5cbiAgRnJhbnouaW5qZWN0Q1NTKHBhdGguam9pbihfX2Rpcm5hbWUsICdzZXJ2aWNlLmNzcycpKTtcbiAgRnJhbnoubG9vcChnZXRNZXNzYWdlcyk7XG59O1xuIl19
diff --git a/recipes/github/index.js b/recipes/github/index.js
index 5c2d144..6889e69 100644
--- a/recipes/github/index.js
+++ b/recipes/github/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdpdGh1Yi9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBaUJDLFNBQVNBLEtBQTFCIiwiZmlsZSI6ImdpdGh1Yi9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gRnJhbnogPT4gRnJhbno7XG4iXX0= \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdpdGh1Yi9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBaUJDLFNBQVNBLEtBQTFCIiwiZmlsZSI6ImdpdGh1Yi9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gRnJhbnogPT4gRnJhbno7XG4iXX0=
diff --git a/recipes/github/webview.js b/recipes/github/webview.js
index c3e8729..3b5a286 100644
--- a/recipes/github/webview.js
+++ b/recipes/github/webview.js
@@ -1,20 +1,17 @@
1"use strict";
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 const directCountElement = document.querySelector('.filter-list .count'); 3 const directCountElement = document.querySelector('.filter-list .count');
6 const indirectCountElement = document.querySelector('[class*="mail-status unread"]') 4 const indirectCountElement = document.querySelector('[class*="mail-status unread"]');
7 let directCount, indirectCount 5 let directCount;
6 let indirectCount;
8 if (directCountElement) { 7 if (directCountElement) {
9 directCount = parseInt(directCountElement.innerHTML, 10); 8 directCount = parseInt(directCountElement.innerHTML, 10);
10 } else { 9 } else if (indirectCountElement) {
11 if (indirectCountElement) { 10 indirectCount = 1;
12 indirectCount = 1;
13 }
14 } 11 }
15 Franz.setBadge(directCount, indirectCount); 12 Franz.setBadge(directCount, indirectCount);
16 }; 13 };
17 14
18 Franz.loop(getMessages); 15 Franz.loop(getMessages);
19} 16};
20//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJnaXRodWIvd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbXX0= \ No newline at end of file 17// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJnaXRodWIvd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbXX0=
diff --git a/recipes/github_entreprise/index.js b/recipes/github_entreprise/index.js
index f15e5cb..2ffc5ee 100644
--- a/recipes/github_entreprise/index.js
+++ b/recipes/github_entreprise/index.js
@@ -1,5 +1,3 @@
1"use strict";
2
3module.exports = Franz => class GitHubEnterprise extends Franz { 1module.exports = Franz => class GitHubEnterprise extends Franz {
4 async validateUrl(url) { 2 async validateUrl(url) {
5 try { 3 try {
@@ -7,10 +5,10 @@ module.exports = Franz => class GitHubEnterprise extends Franz {
7 method: 'GET', 5 method: 'GET',
8 headers: { 6 headers: {
9 'Content-Type': 'application/json', 7 'Content-Type': 'application/json',
10 'Accept': 'application/vnd.github.v3+json' 8 Accept: 'application/vnd.github.v3+json',
11 }, 9 },
12 }); 10 });
13 //doc: https://developer.github.com/enterprise/2.17/v3/#current-version 11 // doc: https://developer.github.com/enterprise/2.17/v3/#current-version
14 return resp.status.toString().startsWith('2'); 12 return resp.status.toString().startsWith('2');
15 } catch (err) { 13 } catch (err) {
16 console.error(err); 14 console.error(err);
@@ -18,4 +16,4 @@ module.exports = Franz => class GitHubEnterprise extends Franz {
18 16
19 return false; 17 return false;
20 } 18 }
21}; \ No newline at end of file 19};
diff --git a/recipes/github_entreprise/webview.js b/recipes/github_entreprise/webview.js
index 3918c74..e69de29 100644
--- a/recipes/github_entreprise/webview.js
+++ b/recipes/github_entreprise/webview.js
@@ -1 +0,0 @@
1"use strict";
diff --git a/recipes/gitlab/webview.js b/recipes/gitlab/webview.js
index ddd0b40..3ad4701 100644
--- a/recipes/gitlab/webview.js
+++ b/recipes/gitlab/webview.js
@@ -1,6 +1,4 @@
1"use strict"; 1const _path = _interopRequireDefault(require('path'));
2
3var _path = _interopRequireDefault(require("path"));
4 2
5function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6 4
diff --git a/recipes/gitter/index.js b/recipes/gitter/index.js
index 349649f..8644398 100644
--- a/recipes/gitter/index.js
+++ b/recipes/gitter/index.js
@@ -1,6 +1,4 @@
1"use strict";
2
3// just pass through Franz 1// just pass through Franz
4 2
5module.exports = Franz => Franz; 3module.exports = Franz => Franz;
6//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRpc2NvcmQvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBOztBQUNBLE9BQU8sQUFBUCxVQUFpQixTQUFTLEFBQTFCIiwiZmlsZSI6ImRpc2NvcmQvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBqdXN0IHBhc3MgdGhyb3VnaCBGcmFuelxubW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ== \ No newline at end of file 4// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRpc2NvcmQvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBOztBQUNBLE9BQU8sQUFBUCxVQUFpQixTQUFTLEFBQTFCIiwiZmlsZSI6ImRpc2NvcmQvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBqdXN0IHBhc3MgdGhyb3VnaCBGcmFuelxubW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ==
diff --git a/recipes/gitter/webview.js b/recipes/gitter/webview.js
index d10eb2f..395ce00 100644
--- a/recipes/gitter/webview.js
+++ b/recipes/gitter/webview.js
@@ -1,8 +1,6 @@
1'use strict'; 1const _path = require('path');
2 2
3let _path = require('path'); 3const _path2 = _interopRequireDefault(_path);
4
5let _path2 = _interopRequireDefault(_path);
6 4
7function _interopRequireDefault(obj) { 5function _interopRequireDefault(obj) {
8 return obj && obj.__esModule ? obj : { default: obj }; 6 return obj && obj.__esModule ? obj : { default: obj };
@@ -12,7 +10,7 @@ module.exports = Franz => {
12 const getMessages = function getMessages() { 10 const getMessages = function getMessages() {
13 // get unread messages 11 // get unread messages
14 let count = 0; 12 let count = 0;
15 document.querySelectorAll("div.unread-indicator").forEach((node) => { 13 document.querySelectorAll('div.unread-indicator').forEach((node) => {
16 count += Number(node.innerText); 14 count += Number(node.innerText);
17 }); 15 });
18 16
@@ -27,4 +25,4 @@ module.exports = Franz => {
27 Franz.injectCSS(_path2.default.join(__dirname, 'service.css')); 25 Franz.injectCSS(_path2.default.join(__dirname, 'service.css'));
28}; 26};
29// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRpc2NvcmQvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsImNvdW50IiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yQWxsIiwibGVuZ3RoIiwic2V0QmFkZ2UiLCJsb29wIiwiaW5qZWN0Q1NTIiwiam9pbiIsIl9fZGlybmFtZSJdLCJtYXBwaW5ncyI6Ijs7QUFBQTs7Ozs7O0FBRUFB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XVkR1Z1ZENJNld5SnBiWEJ2Y25RZ2NHRjBhQ0JtY205dElDZHdZWFJvSnp0Y2JseHViVzlrZFd4bExtVjRjRzl5ZEhNZ1BTQW9SbkpoYm5vcElEMCtJSHRjYmlBZ1kyOXVjM1FnWjJWMFRXVnpjMkZuWlhNZ1BTQm1kVzVqZEdsdmJpQm5aWFJOWlhOellXZGxjeWdwSUh0Y2JpQWdJQ0F2THlCblpYUWdkVzV5WldGa0lHMWxjM05oWjJWelhHNGdJQ0FnWTI5dWMzUWdZMjkxYm5RZ1BTQmtiMk4xYldWdWRDNXhkV1Z5ZVZObGJHVmpkRzl5UVd4c0tDY3VaM1ZwYkdSekxYZHlZWEJ3WlhJZ0xtSmhaR2RsSnlrdWJHVnVaM1JvTzF4dVhHNGdJQ0FnTHk4Z2MyVjBJRVp5WVc1NklHSmhaR2RsWEc0Z0lDQWdSbkpoYm5vdWMyVjBRbUZrWjJVb1kyOTFiblFwTzF4dUlDQjlPMXh1WEc0Z0lDOHZJR05vWldOcklHWnZjaUJ1WlhjZ2JXVnpjMkZuWlhNZ1pYWmxjbmtnYzJWamIyNWtJR0Z1WkNCMWNHUmhkR1VnUm5KaGJub2dZbUZrWjJWY2JpQWdSbkpoYm5vdWJHOXZjQ2huWlhSTlpYTnpZV2RsY3lrN1hHNWNiaUFnTHk4Z1NHbGtaU0JrYjNkdWJHOWhaQ0J0WlhOellXZGxYRzRnSUVaeVlXNTZMbWx1YW1WamRFTlRVeWh3WVhSb0xtcHZhVzRvWDE5a2FYSnVZVzFsTENBbmMyVnlkbWxqWlM1amMzTW5LU2s3WEc1OU8xeHVJbDE5XG4iXX0=
diff --git a/recipes/glowing-bear/index.js b/recipes/glowing-bear/index.js
index 2af527c..c48e739 100644
--- a/recipes/glowing-bear/index.js
+++ b/recipes/glowing-bear/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsb3dpbmdiZWFyL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiZ2xvd2luZ2JlYXIvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56OyJdfQ== \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsb3dpbmdiZWFyL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiZ2xvd2luZ2JlYXIvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56OyJdfQ==
diff --git a/recipes/glowing-bear/webview.js b/recipes/glowing-bear/webview.js
index 1876a72..2af70dc 100644
--- a/recipes/glowing-bear/webview.js
+++ b/recipes/glowing-bear/webview.js
@@ -1,15 +1,13 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 let indirectElements = document.querySelectorAll('.badge:not(.danger)'); 3 const indirectElements = document.querySelectorAll('.badge:not(.danger)');
6 let direct = document.querySelectorAll('.badge.danger').length - 1; 4 const direct = document.querySelectorAll('.badge.danger').length - 1;
7 let indirect = -1; 5 let indirect = -1;
8 for (let i = 0; i < indirectElements.length; i += 1) { 6 for (let i = 0; i < indirectElements.length; i += 1) {
9 if (indirectElements[i].innerHTML.length > 0) indirect++; 7 if (indirectElements[i].innerHTML.length > 0) indirect++;
10 } 8 }
11 Franz.setBadge(Math.max(direct, 0), Math.max(indirect, 0)); 9 Franz.setBadge(Math.max(direct, 0), Math.max(indirect, 0));
12 }; 10 };
13 Franz.loop(getMessages); 11 Franz.loop(getMessages);
14}; 12};
15//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsb3dpbmdiZWFyL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJpbmRpcmVjdEVsZW1lbnRzIiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yQWxsIiwiZGlyZWN0IiwibGVuZ3RoIiwiaW5kaXJlY3QiLCJpIiwiaW5uZXJIVE1MIiwic2V0QmFkZ2UiLCJNYXRoIiwibWF4IiwibG9vcCJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBUztBQUN6QixPQUFNQyxjQUFjLFNBQVNBLFdBQVQsR0FBdUI7QUFDMUMsTUFBSUMsbUJBQW1CQyxTQUFTQyxnQkFBVCxDQUEwQixxQkFBMUIsQ0FBdkI7QUFDQSxNQUFJQyxTQUFTRixTQUFTQyxnQkFBVCxDQUEwQixlQUExQixFQUEyQ0UsTUFBM0MsR0FBb0QsQ0FBakU7QUFDQSxNQUFJQyxXQUFXLENBQUMsQ0FBaEI7QUFDQSxPQUFLLElBQUlDLElBQUksQ0FBYixFQUFnQkEsSUFBSU4saUJBQWlCSSxNQUFyQyxFQUE2Q0UsS0FBSyxDQUFsRCxFQUFxRDtBQUNwRCxPQUFJTixpQkFBaUJNLENBQWpCLEVBQW9CQyxTQUFwQixDQUE4QkgsTUFBOUIsR0FBdUMsQ0FBM0MsRUFBOENDO0FBQzlDO0FBQ0RQLFFBQU1VLFFBQU4sQ0FBZUMsS0FBS0MsR0FBTCxDQUFTUCxNQUFUL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bGV0IGluZGlyZWN0RWxlbWVudHMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuYmFkZ2U6bm90KC5kYW5nZXIpJyk7XG5cdFx0bGV0IGRpcmVjdCA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5iYWRnZS5kYW5nZXInKS5sZW5ndGggLSAxO1xuXHRcdGxldCBpbmRpcmVjdCA9IC0xO1xuXHRcdGZvciAobGV0IGkgPSAwOyBpIDwgaW5kaXJlY3RFbGVtZW50cy5sZW5ndGg7IGkgKz0gMSkge1xuXHRcdFx0aWYgKGluZGlyZWN0RWxlbWVudHNbaV0uaW5uZXJIVE1MLmxlbmd0aCA+IDApIGluZGlyZWN0Kys7XG5cdFx0fVxuXHRcdEZyYW56LnNldEJhZGdlKE1hdGgubWF4KGRpcmVjdCwgMCksIE1hdGgubWF4KGluZGlyZWN0LCAwKSk7XG5cdH07XG5cdEZyYW56Lmxvb3AoZ2V0TWVzc2FnZXMpO1xufTtcbiJdfQ==
diff --git a/recipes/gmail/index.js b/recipes/gmail/index.js
index 309bb87..e1896e4 100644
--- a/recipes/gmail/index.js
+++ b/recipes/gmail/index.js
@@ -1,5 +1,4 @@
1var os = require('os') 1const os = require('os');
2 2
3module.exports = Franz => 3module.exports = Franz => class Gmail extends Franz {
4 class Gmail extends Franz { 4};
5 };
diff --git a/recipes/gmail/webview.js b/recipes/gmail/webview.js
index a2c712e..681b36e 100644
--- a/recipes/gmail/webview.js
+++ b/recipes/gmail/webview.js
@@ -1,8 +1,8 @@
1const path = require("path"); 1const path = require('path');
2 2
3module.exports = (Franz) => { 3module.exports = (Franz) => {
4 // if the user is on gmail's landing page, go to the login page. 4 // if the user is on gmail's landing page, go to the login page.
5 if (location.hostname == 'www.google.com' && location.href.includes("gmail/about/")) { 5 if (location.hostname == 'www.google.com' && location.href.includes('gmail/about/')) {
6 location.href = 'https://accounts.google.com/AccountChooser?service=mail&continue=https://mail.google.com/mail/'; 6 location.href = 'https://accounts.google.com/AccountChooser?service=mail&continue=https://mail.google.com/mail/';
7 } 7 }
8 8
diff --git a/recipes/google-voice/index.js b/recipes/google-voice/index.js
index e8243fb..258da41 100644
--- a/recipes/google-voice/index.js
+++ b/recipes/google-voice/index.js
@@ -1,3 +1 @@
1"use strict"; module.exports = Franz => Franz;
2
3module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/google-voice/webview.js b/recipes/google-voice/webview.js
index 1a91455..aed66af 100644
--- a/recipes/google-voice/webview.js
+++ b/recipes/google-voice/webview.js
@@ -1,5 +1,3 @@
1"use strict";
2
3module.exports = Franz => { 1module.exports = Franz => {
4 function parseQuery(query) { 2 function parseQuery(query) {
5 const el = document.querySelector(query); 3 const el = document.querySelector(query);
@@ -23,4 +21,4 @@ module.exports = Franz => {
23 } 21 }
24 22
25 Franz.loop(getMessages); 23 Franz.loop(getMessages);
26}; \ No newline at end of file 24};
diff --git a/recipes/googlecalendar/index.js b/recipes/googlecalendar/index.js
index 8019e7a..f18361f 100644
--- a/recipes/googlecalendar/index.js
+++ b/recipes/googlecalendar/index.js
@@ -1,3 +1,2 @@
1module.exports = Franz => 1module.exports = Franz => class GoogleCalendar extends Franz {
2 class GoogleCalendar extends Franz { 2};
3 };
diff --git a/recipes/googlecalendar/webview.js b/recipes/googlecalendar/webview.js
index 729f400..2e34c8b 100644
--- a/recipes/googlecalendar/webview.js
+++ b/recipes/googlecalendar/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3const path = require('path'); 1const path = require('path');
4 2
5module.exports = Franz => { 3module.exports = Franz => {
diff --git a/recipes/googleclassroom/index.js b/recipes/googleclassroom/index.js
index b9fea14..193bd51 100644
--- a/recipes/googleclassroom/index.js
+++ b/recipes/googleclassroom/index.js
@@ -1,3 +1,2 @@
1module.exports = Franz => 1module.exports = Franz => class GoogleClassroom extends Franz {
2 class GoogleClassroom extends Franz { 2};
3 };
diff --git a/recipes/googleclassroom/webview.js b/recipes/googleclassroom/webview.js
index c53fe10..0421f21 100644
--- a/recipes/googleclassroom/webview.js
+++ b/recipes/googleclassroom/webview.js
@@ -1,11 +1,9 @@
1"use strict";
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 var homework = 0 3 let homework = 0;
6 const upcomingAssignment = document.getElementsByClassName('hrUpcomingAssignmentGroup') 4 const upcomingAssignment = document.getElementsByClassName('hrUpcomingAssignmentGroup');
7 if (upcomingAssignment.length != 0) { 5 if (upcomingAssignment.length != 0) {
8 var i; 6 let i;
9 for (i = 0; i < upcomingAssignment.length; i++) { 7 for (i = 0; i < upcomingAssignment.length; i++) {
10 homework += upcomingAssignment[i].childElementCount; 8 homework += upcomingAssignment[i].childElementCount;
11 } 9 }
@@ -14,4 +12,4 @@ module.exports = Franz => {
14 }; 12 };
15 13
16 Franz.loop(getMessages); 14 Franz.loop(getMessages);
17}; \ No newline at end of file 15};
diff --git a/recipes/googlecontacts/index.js b/recipes/googlecontacts/index.js
index 0f639fe..258da41 100644
--- a/recipes/googlecontacts/index.js
+++ b/recipes/googlecontacts/index.js
@@ -1,2 +1 @@
1"use strict";
2module.exports = Franz => Franz; module.exports = Franz => Franz;
diff --git a/recipes/googlecontacts/webview.js b/recipes/googlecontacts/webview.js
index 3918c74..e69de29 100644
--- a/recipes/googlecontacts/webview.js
+++ b/recipes/googlecontacts/webview.js
@@ -1 +0,0 @@
1"use strict";
diff --git a/recipes/googledrive/index.js b/recipes/googledrive/index.js
index 13e3f92..a882324 100644
--- a/recipes/googledrive/index.js
+++ b/recipes/googledrive/index.js
@@ -1,5 +1,4 @@
1var os = require('os') 1const os = require('os');
2 2
3module.exports = Franz => 3module.exports = Franz => class googledrive extends Franz {
4 class googledrive extends Franz { 4};
5 };
diff --git a/recipes/googledrive/webview.js b/recipes/googledrive/webview.js
index 1678825..7f8f7ad 100644
--- a/recipes/googledrive/webview.js
+++ b/recipes/googledrive/webview.js
@@ -1,5 +1,3 @@
1"use strict";
2
3const path = require('path'); 1const path = require('path');
4 2
5module.exports = (Franz) => { 3module.exports = (Franz) => {
diff --git a/recipes/googlekeep/index.js b/recipes/googlekeep/index.js
index fb830e3..63a0505 100644
--- a/recipes/googlekeep/index.js
+++ b/recipes/googlekeep/index.js
@@ -1,3 +1,2 @@
1module.exports = Franz => 1module.exports = Franz => class GoogleKeep extends Franz {
2 class GoogleKeep extends Franz { 2};
3 };
diff --git a/recipes/googlekeep/webview.js b/recipes/googlekeep/webview.js
index e1c06d0..bdbf506 100644
--- a/recipes/googlekeep/webview.js
+++ b/recipes/googlekeep/webview.js
@@ -1,2 +1 @@
1"use strict"; // # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJnb29nbGVrZWVwL3dlYnZpZXcuanMiLCJzb3VyY2VzQ29udGVudCI6W119
2//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJnb29nbGVrZWVwL3dlYnZpZXcuanMiLCJzb3VyY2VzQ29udGVudCI6W119 \ No newline at end of file
diff --git a/recipes/googlemeet/index.js b/recipes/googlemeet/index.js
index b20d6be..fe2ba1f 100644
--- a/recipes/googlemeet/index.js
+++ b/recipes/googlemeet/index.js
@@ -1,3 +1,2 @@
1module.exports = Franz => 1module.exports = Franz => class GoogleMeet extends Franz {
2 class GoogleMeet extends Franz { 2};
3 };
diff --git a/recipes/googlemeet/webview.js b/recipes/googlemeet/webview.js
index 8e91418..eb6f7f3 100644
--- a/recipes/googlemeet/webview.js
+++ b/recipes/googlemeet/webview.js
@@ -1,14 +1,12 @@
1"use strict";
2
3const { 1const {
4 remote 2 remote,
5} = require('electron'); 3} = require('electron');
6 4
7const path = require('path'); 5const path = require('path');
8 6
9const webContents = remote.getCurrentWebContents(); 7const webContents = remote.getCurrentWebContents();
10const { 8const {
11 session 9 session,
12} = webContents; 10} = webContents;
13 11
14window.onload = () => { 12window.onload = () => {
@@ -22,7 +20,7 @@ window.onload = () => {
22module.exports = Franz => { 20module.exports = Franz => {
23 session.flushStorageData(); 21 session.flushStorageData();
24 session.clearStorageData({ 22 session.clearStorageData({
25 storages: ['serviceworkers'] 23 storages: ['serviceworkers'],
26 }); 24 });
27 25
28 const getMessages = function getMessages() { 26 const getMessages = function getMessages() {
diff --git a/recipes/googlepodcasts/index.js b/recipes/googlepodcasts/index.js
index 0f639fe..258da41 100644
--- a/recipes/googlepodcasts/index.js
+++ b/recipes/googlepodcasts/index.js
@@ -1,2 +1 @@
1"use strict";
2module.exports = Franz => Franz; module.exports = Franz => Franz;
diff --git a/recipes/googlepodcasts/webview.js b/recipes/googlepodcasts/webview.js
index 3918c74..e69de29 100644
--- a/recipes/googlepodcasts/webview.js
+++ b/recipes/googlepodcasts/webview.js
@@ -1 +0,0 @@
1"use strict";
diff --git a/recipes/gotomeeting/index.js b/recipes/gotomeeting/index.js
index 0b3f51c..d779159 100644
--- a/recipes/gotomeeting/index.js
+++ b/recipes/gotomeeting/index.js
@@ -1,8 +1,5 @@
1"use strict";
2
3module.exports = Franz => class Gotomeeting extends Franz { 1module.exports = Franz => class Gotomeeting extends Franz {
4 overrideUserAgent() { 2 overrideUserAgent() {
5 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); 3 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, '');
6 } 4 }
7
8}; 5};
diff --git a/recipes/gotomeeting/webview.js b/recipes/gotomeeting/webview.js
index 1cd2168..6e0b370 100644
--- a/recipes/gotomeeting/webview.js
+++ b/recipes/gotomeeting/webview.js
@@ -1,10 +1,8 @@
1"use strict";
2
3const path = require('path'); 1const path = require('path');
4 2
5module.exports = Ferdi => { 3module.exports = Ferdi => {
6 Ferdi.injectCSS(path.join(__dirname, 'service.css')); 4 Ferdi.injectCSS(path.join(__dirname, 'service.css'));
7 if(document.location.href.match("after")){ 5 if (document.location.href.match('after')) {
8 document.location.href="https://app.gotomeeting.com/home.html"; 6 document.location.href = 'https://app.gotomeeting.com/home.html';
9 } 7 }
10}; 8};
diff --git a/recipes/grape/index.js b/recipes/grape/index.js
index 2c9cd0c..3232b47 100644
--- a/recipes/grape/index.js
+++ b/recipes/grape/index.js
@@ -1,13 +1,11 @@
1'use strict'; 1function _asyncToGenerator(fn) { return function () { const gen = fn.apply(this, arguments); return new Promise((resolve, reject) => { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then((value) => { step('next', value); }, (err) => { step('throw', err); }); } } return step('next'); }); }; }
2
3function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
4 2
5module.exports = Franz => class Grape extends Franz { 3module.exports = Franz => class Grape extends Franz {
6 validateUrl(url) { 4 validateUrl(url) {
7 return _asyncToGenerator(function* () { 5 return _asyncToGenerator(function* () {
8 try { 6 try {
9 const resp = yield window.fetch(url, { 7 const resp = yield window.fetch(url, {
10 method: 'GET' 8 method: 'GET',
11 }); 9 });
12 return resp.status === 200; 10 return resp.status === 200;
13 } catch (err) { 11 } catch (err) {
@@ -18,4 +16,4 @@ module.exports = Franz => class Grape extends Franz {
18 })(); 16 })();
19 } 17 }
20}; 18};
21//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdyYXBlL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiIsIkdyYXBlIiwidmFsaWRhdGVVcmwiLCJ1cmwiLCJyZXNwIiwid2luZG93IiwiZmV0Y2giLCJtZXRob2QiLCJzdGF0dXMiLCJlcnIiLCJjb25zb2xlIiwiZXJyb3IiXSwibWFwcGluZ3MiOiI7Ozs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBUyxNQUFNQyxLQUFOLFNBQW9CRCxLQUFwQixDQUEwQjtBQUM1Q0UsYUFBTixDQUFrQkMsR0FBbEIsRUFBdUI7QUFBQTtBQUNyQixVQUFJO0FBQ0YsY0FBTUMsT0FBTyxNQUFNQyxPQUFPQyxLQUFQLENBQWFILEdBQWIsRUFBa0I7QUFDbkNJLGtCQUFRO0FBRDJCLFNBQWxCLENBQW5CO0FBR0EsZUFBT0gsS0FBS0ksTUFBTCxLQUFnQixHQUF2QjtBQUNELE9BTEQsQ0FLRSxPQUFPQyxHQUFQLEVBQVk7QUFDWkMsZ0JBQVFDLEtBQVIsQ0FBY0YsR0FBZDtBQUNEOztBQUVELGFBQU8sS0FBUDtBQVZxQjtBQVd0QjtBQVppRCxDQUFwRCIsImZpbGUiOiJncmFwZS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gRnJhbnogPT4gY2xhc3MgR3JhcGUgZXh0ZW5kcyBGcmFueiB7XG4gIGFzeW5jIHZhbGlkYXRlVXJsKHVybCkge1xuICAgIHRyeSB7XG4gICAgICBjb25zdCByZXNwID0gYXdhaXQgd2luZG93LmZldGNoKHVybCwge1xuICAgICAgICBtZXRob2Q6ICdHRVQnLFxuICAgICAgfSk7XG4gICAgICByZXR1cm4gcmVzcC5zdGF0dXMgPT09IDIwMDtcbiAgICB9IGNhdGNoIChlcnIpIHtcbiAgICAgIGNvbnNvbGUuZXJyb3IoZXJyKTtcbiAgICB9XG5cbiAgICByZXR1cm4gZmFsc2U7XG4gIH1cbn07XG4iXX0= \ No newline at end of file 19// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdyYXBlL2lu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Fsc2U7XG4gIH1cbn07XG4iXX0=
diff --git a/recipes/grape/webview.js b/recipes/grape/webview.js
index 46fa1f7..e497c01 100644
--- a/recipes/grape/webview.js
+++ b/recipes/grape/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 const directMessages = document.querySelectorAll('.c0120').length; 3 const directMessages = document.querySelectorAll('.c0120').length;
@@ -10,4 +8,4 @@ module.exports = Franz => {
10 8
11 Franz.loop(getMessages); 9 Franz.loop(getMessages);
12}; 10};
13//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdyYXBlL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJkaXJlY3RNZXNzYWdlcyIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvckFsbCIsImxlbmd0aCIsImluZGlyZWN0TWVzc2FnZXMiLCJzZXRCYWRnZSIsImxvb3AiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBa0JDLEtBQUQsSUFBVztBQUMxQixRQUFNQyxjQUFjLFNBQVNBLFdBQVQsR0FBdUI7QUFDekMsVUFBTUMsaUJBQWlCQyxTQUFTQyxnQkFBVCxDQUEwQixRQUExQixFQUFvQ0MsTUFBM0Q7QUFDQSxVQUFNQyxtQkFBbUJILFNBQVNDLGdCQUFULENBQTBCLFFBQTFCLEVBQW9DQyxNQUE3RDs7QUFFQUwsVUFBTU8sUUFBTixDQUFlTCxjQUFmLEVBQStCSSxnQkFBL0I7QUFDRCxHQUxEOztBQU9BTixRQUFNUSxJQUFOLENBQVdQLFdBQVg7QUFDRCxDQVREIiwiZmlsZSI6ImdyYXBlL3dlYnZpZXcuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA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QVg7QUFDRCxDQVREIiwiZmlsZSI6ImdyYXBlL3dlYnZpZXcuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IChGcmFueikgPT4ge1xuICBjb25zdCBnZXRNZXNzYWdlcyA9IGZ1bmN0aW9uIGdldE1lc3NhZ2VzKCkge1xuICAgIGNvbnN0IGRpcmVjdE1lc3NhZ2VzID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvckFsbCgnLmMwMTIwJykubGVuZ3RoO1xuICAgIGNvbnN0IGluZGlyZWN0TWVzc2FnZXMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuYzAxMjEnKS5sZW5ndGg7XG5cbiAgICBGcmFuei5zZXRCYWRnZShkaXJlY3RNZXNzYWdlcywgaW5kaXJlY3RNZXNzYWdlcyk7XG4gIH07XG5cbiAgRnJhbnoubG9vcChnZXRNZXNzYWdlcyk7XG59O1xuIl19
diff --git a/recipes/groupme/index.js b/recipes/groupme/index.js
index 5bf6c97..e16d21f 100644
--- a/recipes/groupme/index.js
+++ b/recipes/groupme/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdyb3VwbWUvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWlCQyxTQUFTQSxLQUExQiIsImZpbGUiOiJncm91cG1lL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ== \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdyb3VwbWUvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWlCQyxTQUFTQSxLQUExQiIsImZpbGUiOiJncm91cG1lL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ==
diff --git a/recipes/groupme/webview.js b/recipes/groupme/webview.js
index b0638df..5ad4c9d 100644
--- a/recipes/groupme/webview.js
+++ b/recipes/groupme/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 const directMessages = document.querySelectorAll('.badge-count:not(.ng-hide)').length; 3 const directMessages = document.querySelectorAll('.badge-count:not(.ng-hide)').length;
@@ -10,4 +8,4 @@ module.exports = Franz => {
10 8
11 Franz.loop(getMessages); 9 Franz.loop(getMessages);
12}; 10};
13//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdyb3VwbWUvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsImRpcmVjdE1lc3NhZ2VzIiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yQWxsIiwibGVuZ3RoIiwic2V0QmFkZ2UiLCJsb29wIl0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWtCQyxLQUFELElBQVc7QUFDMUIsUUFBTUMsY0FBYyxTQUFTQSxXQUFULEdBQXVCO0FBQ3pDLFVBQU1DLGlCQUFpQkMsU0FBU0MsZ0JBQVQsQ0FBMEIsNEJBQTFCLEVBQXdEQyxNQUEvRTs7QUFFQTtBQUNBTCxVQUFNTSxRQUFOLENBQWVKLGNBQWY7QUFDRCxHQUxEOztBQU9BR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3VwbWUvd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gKEZyYW56KSA9PiB7XG4gIGNvbnN0IGdldE1lc3NhZ2VzID0gZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgY29uc3QgZGlyZWN0TWVzc2FnZXMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuYmFkZ2UtY291bnQ6bm90KC5uZy1oaWRlKScpLmxlbmd0aDtcblxuICAgIC8vIHNldCBGcmFueiBiYWRnZVxuICAgIEZyYW56LnNldEJhZGdlKGRpcmVjdE1lc3NhZ2VzKTtcbiAgfTtcblxuICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKTtcbn07XG4iXX0=
diff --git a/recipes/guilded/index.js b/recipes/guilded/index.js
index e8243fb..258da41 100644
--- a/recipes/guilded/index.js
+++ b/recipes/guilded/index.js
@@ -1,3 +1 @@
1"use strict"; module.exports = Franz => Franz;
2
3module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/guilded/webview.js b/recipes/guilded/webview.js
index 371fac8..72a49b4 100644
--- a/recipes/guilded/webview.js
+++ b/recipes/guilded/webview.js
@@ -1,15 +1,13 @@
1"use strict";
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 var unread = 0 3 let unread = 0;
6 const notificationBadge = document.getElementsByClassName('NavSelectorItem-unread-badge')[0] 4 const notificationBadge = document.getElementsByClassName('NavSelectorItem-unread-badge')[0];
7 if (notificationBadge != undefined) { 5 if (notificationBadge != undefined) {
8 const innerBadge = notificationBadge.getElementsByClassName('BadgeV2-count')[0] 6 const innerBadge = notificationBadge.getElementsByClassName('BadgeV2-count')[0];
9 unread = innerBadge.innerText; 7 unread = innerBadge.innerText;
10 } 8 }
11 Franz.setBadge(parseInt(unread, 10)); 9 Franz.setBadge(parseInt(unread, 10));
12 }; 10 };
13 11
14 Franz.loop(getMessages); 12 Franz.loop(getMessages);
15}; \ No newline at end of file 13};
diff --git a/recipes/habitica/index.js b/recipes/habitica/index.js
index 17daa35..258da41 100755
--- a/recipes/habitica/index.js
+++ b/recipes/habitica/index.js
@@ -1,3 +1 @@
1"use strict";
2
3module.exports = Franz => Franz; module.exports = Franz => Franz;
diff --git a/recipes/habitica/webview.js b/recipes/habitica/webview.js
index 66633cb..02b2e2d 100755
--- a/recipes/habitica/webview.js
+++ b/recipes/habitica/webview.js
@@ -1,9 +1,7 @@
1"use strict";
2
3module.exports = (Franz) => { 1module.exports = (Franz) => {
4 const getMessages = () => { 2 const getMessages = () => {
5 let count = 0; 3 let count = 0;
6 let element = document.querySelector(".message-count"); 4 const element = document.querySelector('.message-count');
7 if (element) { 5 if (element) {
8 count = Number(element.innerText); 6 count = Number(element.innerText);
9 if (Number.isNaN(count)) { 7 if (Number.isNaN(count)) {
diff --git a/recipes/hackmd/webview.js b/recipes/hackmd/webview.js
index 1977953..45cec03 100644
--- a/recipes/hackmd/webview.js
+++ b/recipes/hackmd/webview.js
@@ -1,4 +1,4 @@
1const path = require("path"); 1const path = require('path');
2 2
3module.exports = (Franz) => { 3module.exports = (Franz) => {
4 const getMessages = function getMessages() { 4 const getMessages = function getMessages() {
diff --git a/recipes/hangouts/index.js b/recipes/hangouts/index.js
index 049149c..4132ba2 100644
--- a/recipes/hangouts/index.js
+++ b/recipes/hangouts/index.js
@@ -1,3 +1,2 @@
1module.exports = (Franz) => 1module.exports = (Franz) => class Hangouts extends Franz {
2 class Hangouts extends Franz { 2};
3 };
diff --git a/recipes/hangouts/webview.js b/recipes/hangouts/webview.js
index 678d4d7..8d588e9 100644
--- a/recipes/hangouts/webview.js
+++ b/recipes/hangouts/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 // get unread messages 3 // get unread messages
@@ -12,4 +10,4 @@ module.exports = Franz => {
12 // check for new messages every second and update Franz badge 10 // check for new messages every second and update Franz badge
13 Franz.loop(getMessages); 11 Franz.loop(getMessages);
14}; 12};
15//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImhhbmdvdXRzL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJjb3VudCIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvciIsImNvbnRlbnRXaW5kb3ciLCJxdWVyeVNlbGVjdG9yQWxsIiwibGVuZ3RoIiwic2V0QmFkZ2UiLCJsb29wIl0sIm1hcHBpbmdzIjoiOztBQUFBOzs7Ozs7QUFFQUEsT0FBT0MsT0FBUCxHQUFrQkMsS0FBRCxJQUFXO0FBQzFCLFFBQU1DLGNBQWMsU0FBU0EsV0FBVCxHQUF1QjtBQUN6QztBQUNBLFVBQU1DLFFBQVFDLFNBQVNDLGFBQVQsQ0FBdUIsOEJBQXZCLEVBQ1hDLGFBRFcsQ0FDR0YsUUFESCxDQUNZRyxnQkFEWixDQUM2QixLQUQ3QixFQUVYQyxNQUZIOztBQUlBO0FBQ0FQLFVBQU1RLFFBQU4sQ0FBZU4sS0FBZjtBQUNELEdBUkQ7O0FBVUE7QUFDQUYsUUFBTVMsSUFBTixDQUFXUixXQUFYO0FBQ0QsQ0FiRCIsImZpbGUiOiJoYW5nb3V0cy93ZWJ2aWV3LmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHBhdGggZnJvbSAncGF0aCc7XG5cbm1vZHVsZS5leHBvcnRzID0gKEZyYW56KSA9PiB7XG4gIGNvbnN0IGdldE1lc3NhZ2VzID0gZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgLy8gZ2V0IHVucmVhZCBtZXNzYWdlc1xuICAgIGNvbnN0IGNvdW50ID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcignI2hhbmdvdXQtbGF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Nlc0NvbnRlbnQiOlsiaW1wb3J0IHBhdGggZnJvbSAncGF0aCc7XG5cbm1vZHVsZS5leHBvcnRzID0gKEZyYW56KSA9PiB7XG4gIGNvbnN0IGdldE1lc3NhZ2VzID0gZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgLy8gZ2V0IHVucmVhZCBtZXNzYWdlc1xuICAgIGNvbnN0IGNvdW50ID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcignI2hhbmdvdXQtbGFuZGluZy1jaGF0IGlmcmFtZScpXG4gICAgICAuY29udGVudFdpbmRvdy5kb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuZWUnKVxuICAgICAgLmxlbmd0aDtcblxuICAgIC8vIHNldCBGcmFueiBiYWRnZVxuICAgIEZyYW56LnNldEJhZGdlKGNvdW50KTtcbiAgfTtcblxuICAvLyBjaGVjayBmb3IgbmV3IG1lc3NhZ2VzIGV2ZXJ5IHNlY29uZCBhbmQgdXBkYXRlIEZyYW56IGJhZGdlXG4gIEZyYW56Lmxvb3AoZ2V0TWVzc2FnZXMpO1xufTtcbiJdfQ==
diff --git a/recipes/hangoutschat/index.js b/recipes/hangoutschat/index.js
index 2c8b220..c6173fa 100644
--- a/recipes/hangoutschat/index.js
+++ b/recipes/hangoutschat/index.js
@@ -1,6 +1,5 @@
1var os = require('os') 1const os = require('os');
2 2
3// just pass through Franz 3// just pass through Franz
4module.exports = Franz => 4module.exports = Franz => class HangoutsChat extends Franz {
5 class HangoutsChat extends Franz { 5};
6 };
diff --git a/recipes/hangoutschat/webview.js b/recipes/hangoutschat/webview.js
index d344ad7..0f17116 100644
--- a/recipes/hangoutschat/webview.js
+++ b/recipes/hangoutschat/webview.js
@@ -1,25 +1,25 @@
1module.exports = (Franz) => { 1module.exports = (Franz) => {
2 // class corresponding to the red badge that is visible for direct messages 2 // class corresponding to the red badge that is visible for direct messages
3 const directMessageSelector = "div.V6.CL.su.ahD.X9.Y2 span.akt span.XU"; 3 const directMessageSelector = 'div.V6.CL.su.ahD.X9.Y2 span.akt span.XU';
4 4
5 // class corresponding to the bold text that is visible for room messages 5 // class corresponding to the bold text that is visible for room messages
6 const indirectMessageSelector = "div.V6.CL.V2.X9.Y2 span.akt span.XU"; 6 const indirectMessageSelector = 'div.V6.CL.V2.X9.Y2 span.akt span.XU';
7 7
8 const getMessages = function getMessages() { 8 const getMessages = function getMessages() {
9 // get unread direct messages 9 // get unread direct messages
10 let directCount = Number(document.querySelector(directMessageSelector).innerText) 10 const directCount = Number(document.querySelector(directMessageSelector).innerText);
11 11
12 // get unread indirect messages 12 // get unread indirect messages
13 let indirectCount = Number(document.querySelector(indirectMessageSelector).innerText); 13 const indirectCount = Number(document.querySelector(indirectMessageSelector).innerText);
14 14
15 // set Franz badge 15 // set Franz badge
16 Franz.setBadge(directCount, indirectCount); 16 Franz.setBadge(directCount, indirectCount);
17 }; 17 };
18 18
19 document.addEventListener("click", (e) => { 19 document.addEventListener('click', (e) => {
20 const { tagName, target, href } = e.target; 20 const { tagName, target, href } = e.target;
21 21
22 if (tagName === "A" && target === "_blank") { 22 if (tagName === 'A' && target === '_blank') {
23 e.preventDefault(); 23 e.preventDefault();
24 e.stopImmediatePropagation(); 24 e.stopImmediatePropagation();
25 window.open(href); 25 window.open(href);
diff --git a/recipes/harvest/index.js b/recipes/harvest/index.js
index 31fc187..258da41 100644
--- a/recipes/harvest/index.js
+++ b/recipes/harvest/index.js
@@ -1,2 +1 @@
1'use strict' module.exports = Franz => Franz;
2module.exports = Franz => Franz; \ No newline at end of file
diff --git a/recipes/harvest/webview.js b/recipes/harvest/webview.js
index ad9a93a..e69de29 100644
--- a/recipes/harvest/webview.js
+++ b/recipes/harvest/webview.js
@@ -1 +0,0 @@
1'use strict';
diff --git a/recipes/hipchat/index.js b/recipes/hipchat/index.js
index f90186a..f39569a 100644
--- a/recipes/hipchat/index.js
+++ b/recipes/hipchat/index.js
@@ -1,6 +1,4 @@
1'use strict'; 1function _asyncToGenerator(fn) { return function () { const gen = fn.apply(this, arguments); return new Promise((resolve, reject) => { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then((value) => { step('next', value); }, (err) => { step('throw', err); }); } } return step('next'); }); }; }
2
3function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
4 2
5module.exports = Franz => class HipChat extends Franz { 3module.exports = Franz => class HipChat extends Franz {
6 validateUrl(url) { 4 validateUrl(url) {
@@ -9,8 +7,8 @@ module.exports = Franz => class HipChat extends Franz {
9 const resp = yield window.fetch(`${url}/api/features`, { 7 const resp = yield window.fetch(`${url}/api/features`, {
10 method: 'GET', 8 method: 'GET',
11 headers: { 9 headers: {
12 'Content-Type': 'application/json' 10 'Content-Type': 'application/json',
13 } 11 },
14 }); 12 });
15 const data = yield resp.json(); 13 const data = yield resp.json();
16 14
@@ -27,4 +25,4 @@ module.exports = Franz => class HipChat extends Franz {
27 return `${url}/chat`; 25 return `${url}/chat`;
28 } 26 }
29}; 27};
30//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImhpcGNoYXQvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiSGlwQ2hhdCIsInZhbGlkYXRlVXJsIiwidXJsIiwicmVzcCIsIndpbmRvdyIsImZldGNoIiwibWV0aG9kIiwiaGVhZGVycyIsImRhdGEiLCJqc29uIiwiT2JqZWN0IiwiaGFzT3duUHJvcGVydHkiLCJjYWxsIiwiZXJyIiwiY29uc29sZSIsImVycm9yIiwiYnVpbGRVcmwiXSwibWFwcGluZ3MiOiI7Ozs7QUFBQUEsT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AgICB9KTtcbiAgICAgIGNvbnN0IGRhdGEgPSBhd2FpdCByZXNwLmpzb24oKTtcblxuICAgICAgcmV0dXJuIE9iamVjdC5oYXNPd25Qcm9wZXJ0eS5jYWxsKGRhdGEsICdmZWF0dXJlcycpO1xuICAgIH0gY2F0Y2ggKGVycikge1xuICAgICAgY29uc29sZS5lcnJvcihlcnIpO1xuICAgIH1cblxuICAgIHJldHVybiBmYWxzZTtcbiAgfVxuXG4gIGJ1aWxkVXJsKHVybCkge1xuICAgIHJldHVybiBgJHt1cmx9L2NoYXRgO1xuICB9XG59O1xuIl19 \ No newline at end of file 28// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImhpcGNoYXQvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiSGlwQ2hhdCIsInZhbGlkYXRlVXJsIiwidXJsIiwicmVzcCIsIndpbmRvdyIsImZldGNoIiwibWV0aG9kIiwiaGVhZGVycyIsImRhdGEiLCJqc29uIiwiT2JqZWN0IiwiaGFzT3duUHJvcGVydHkiLCJjYWxsIiwiZXJyIiwiY29uc29sZSIsImVycm9yIiwiYnVpbGRVcmwiXSwibWFwcGluZ3MiOiI7Ozs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBUyxNQUFNQyxPQUFOLFNBQXNCRCxLQUF0QixDQUE0QjtBQUM5Q0UsYUFBTixDQUFrQkMsR0FBbEIsRUFBdUI7QUFBQTtBQUNyQixVQUFJO0FBQ0YsY0FBTUMsT0FBTyxNQUFNQyxPQUFPQyxLQUFQLENBQWMsR0FBRUgsR0FBSSxlQUFwQixFQUFvQztBQUNyREksa0JBQVEsS0FENkM7QUFFckRDLG1CQUFTO0FBQ1AsNEJBQWdCO0FBRFQ7QUFGNEMsU0FBcEMsQ0FBbkI7QUFNQSxjQUFNQyxPQUFPLE1BQU1MLEtBQUtNLElBQUwsRUFBbkI7O0FBRUEsZUFBT0MsT0FBT0MsY0FBUCxDQUFzQkMsSUFBdEIsQ0FBMkJKLElBQTNCLEVBQWlDLFVBQWpDLENBQVA7QUFDRCxPQVZELENBVUUsT0FBT0ssR0FBUCxFQUFZO0FBQ1pDLGdCQUFRQyxLQUFSLENBQWNGLEdBQWQ7QUFDRDs7QUFFRCxhQUFPLEtBQVA7QUFmcUI7QUFnQnRCOztBQUVERyxXQUFTZCxHQUFULEVBQWM7QUFDWixXQUFRLEdBQUVBLEdBQUksT0FBZDtBQUNEO0FBckJtRCxDQUF0RCIsImZpbGUiOiJoaXBjaGF0L2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBjbGFzcyBIaXBDaGF0IGV4dGVuZHMgRnJhbnoge1xuICBhc3luYyB2YWxpZGF0ZVVybCh1cmwpIHtcbiAgICB0cnkge1xuICAgICAgY29uc3QgcmVzcCA9IGF3YWl0IHdpbmRvdy5mZXRjaChgJHt1cmx9L2FwaS9mZWF0dXJlc2AsIHtcbiAgICAgICAgbWV0aG9kOiAnR0VUJyxcbiAgICAgICAgaGVhZGVyczoge1xuICAgICAgICAgICdDb250ZW50LVR5cGUnOiAnYXBwbGljYXRpb24vanNvbicsXG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICAgIGNvbnN0IGRhdGEgPSBhd2FpdCByZXNwLmpzb24oKTtcblxuICAgICAgcmV0dXJuIE9iamVjdC5oYXNPd25Qcm9wZXJ0eS5jYWxsKGRhdGEsICdmZWF0dXJlcycpO1xuICAgIH0gY2F0Y2ggKGVycikge1xuICAgICAgY29uc29sZS5lcnJvcihlcnIpO1xuICAgIH1cblxuICAgIHJldHVybiBmYWxzZTtcbiAgfVxuXG4gIGJ1aWxkVXJsKHVybCkge1xuICAgIHJldHVybiBgJHt1cmx9L2NoYXRgO1xuICB9XG59O1xuIl19
diff --git a/recipes/hipchat/webview.js b/recipes/hipchat/webview.js
index 1f072eb..b888e30 100644
--- a/recipes/hipchat/webview.js
+++ b/recipes/hipchat/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 const directMessages = document.querySelectorAll('.hc-mention').length; 3 const directMessages = document.querySelectorAll('.hc-mention').length;
@@ -10,4 +8,4 @@ module.exports = Franz => {
10 }; 8 };
11 Franz.loop(getMessages); 9 Franz.loop(getMessages);
12}; 10};
13//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImhpcGNoYXQvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsImRpcmVjdE1lc3NhZ2VzIiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yQWxsIiwibGVuZ3RoIiwiYWxsTWVzc2FnZXMiLCJzZXRCYWRnZSIsImxvb3AiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBa0JDLEtBQUQsSUFBVztBQUMxQixRQUFNQyxjQUFjLFNBQVNBLFdBQVQsR0FBdUI7QUFDekMsVUFBTUMsaUJBQWlCQyxTQUFTQyxnQkFBVCxDQUEwQixhQUExQixFQUF5Q0MsTUFBaEU7QUFDQSxVQUFNQyxjQUFjSCxTQUFTQyxnQkFBVCxDQUEwQiw2QkFBMUIsRUFBeURDLE1BQXpELEdBQWtFSCxjQUF0Rjs7QUFFQTtBQUNBRixVQUFNTyxRQUFOLENBQWVMLGNBQWYsRUFBK0JJLFdBQS9CO0FBQ0QsR0FORDtBQU9BTixRQUFNUSxJQUFOLENBQVdQLFdBQVg7QUFDRCxDQVREIiwiZmlsZSI6ImhpcGNoYXQvd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gKEZyYW56KSA9PiB7XG4gIGNvbnN0IGd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WVMLGNBQWYsRUFBK0JJLFdBQS9CO0FBQ0QsR0FORDtBQU9BTixRQUFNUSxJQUFOLENBQVdQLFdBQVg7QUFDRCxDQVREIiwiZmlsZSI6ImhpcGNoYXQvd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gKEZyYW56KSA9PiB7XG4gIGNvbnN0IGdldE1lc3NhZ2VzID0gZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgY29uc3QgZGlyZWN0TWVzc2FnZXMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuaGMtbWVudGlvbicpLmxlbmd0aDtcbiAgICBjb25zdCBhbGxNZXNzYWdlcyA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5hdWktYmFkZ2U6bm90KC5oYy1tZW50aW9uKScpLmxlbmd0aCAtIGRpcmVjdE1lc3NhZ2VzO1xuXG4gICAgLy8gc2V0IEZyYW56IGJhZGdlXG4gICAgRnJhbnouc2V0QmFkZ2UoZGlyZWN0TWVzc2FnZXMsIGFsbE1lc3NhZ2VzKTtcbiAgfTtcbiAgRnJhbnoubG9vcChnZXRNZXNzYWdlcyk7XG59O1xuIl19
diff --git a/recipes/iCloud/webview.js b/recipes/iCloud/webview.js
index a98cfd7..a71c1c5 100644
--- a/recipes/iCloud/webview.js
+++ b/recipes/iCloud/webview.js
@@ -1,2 +1,2 @@
1module.exports = (Franz, options) => { 1module.exports = (Franz, options) => {
2} 2};
diff --git a/recipes/icloud-reminders/webview.js b/recipes/icloud-reminders/webview.js
index 7b5fee0..7e19dff 100644
--- a/recipes/icloud-reminders/webview.js
+++ b/recipes/icloud-reminders/webview.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Ferdi => { 1module.exports = Ferdi => {
4}; 2};
diff --git a/recipes/icq/index.js b/recipes/icq/index.js
index 942e124..6b679ef 100644
--- a/recipes/icq/index.js
+++ b/recipes/icq/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImljcS9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBaUJDLFNBQVNBLEtBQTFCIiwiZmlsZSI6ImljcS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gRnJhbnogPT4gRnJhbno7XG4iXX0= \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImljcS9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBaUJDLFNBQVNBLEtBQTFCIiwiZmlsZSI6ImljcS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gRnJhbnogPT4gRnJhbno7XG4iXX0=
diff --git a/recipes/icq/webview.js b/recipes/icq/webview.js
index 34d03e0..07888c2 100644
--- a/recipes/icq/webview.js
+++ b/recipes/icq/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 let directs = 0; 3 let directs = 0;
@@ -24,4 +22,4 @@ module.exports = Franz => {
24 22
25 Franz.loop(getMessages); 23 Franz.loop(getMessages);
26}; 24};
27//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImljcS93ZWJ2aWV3LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFue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RCxDQXZCRCIsImZpbGUiOiJpY3Evd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gKEZyYW56KSA9PiB7XG4gIGNvbnN0IGdldE1lc3NhZ2VzID0gZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgbGV0IGRpcmVjdHMgPSAwO1xuXG4gICAgaWYgKGRvY3VtZW50LmdldEVsZW1lbnRzQnlDbGFzc05hbWUoJ253YS1tc2ctY291bnRlciBpY3EtcmVjZW50X3N0YXRlLXJlYWQnKS5sZW5ndGggPiAwKSB7XG4gICAgICBjb25zdCBlbGVtZW50cyA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlDbGFzc05hbWUoJ253YS1tc2ctY291bnRlciBpY3EtcmVjZW50X3N0YXRlLXJlYWQnKTtcbiAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgZWxlbWVudHMubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgY29uc3QgY291bnRMaW5lID0gcGFyc2VJbnQoZWxlbWVudHNbaV0uaW5uZXJUZXh0LnJlcGxhY2UoL1teMC05Ll0vZywgJycpLCAxMCk7XG4gICAgICAgIGlmICghaXNOYU4oZGlyZWN0cykgJiYgKGNvdW50TGluZSA+IDApKSB7XG4gICAgICAgICAgLy8gZGlyZWN0cyArPSBjb3VudF9saW5lOyAvLyBjb3VudCBldmVyeSBtZXNzYWdlXG4gICAgICAgICAgZGlyZWN0cyArPSAxOyAvLyBjb3VudCAxIHBlciBjaGFubmVsIHdpdGggbWVzc2FnZXNcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgIGlmIChpc05hTihkaXJlY3RzKSkge1xuICAgICAgZGlyZWN0cyA9IDA7XG4gICAgfVxuXG4gICAgRnJhbnouc2V0QmFkZ2UoZGlyZWN0cyk7XG4gIH07XG5cbiAgRnJhbnoubG9vcChnZXRNZXNzYWdlcyk7XG59O1xuIl19 \ No newline at end of file 25// # sourceMappingURL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uXG4gICAgRnJhbnouc2V0QmFkZ2UoZGlyZWN0cyk7XG4gIH07XG5cbiAgRnJhbnoubG9vcChnZXRNZXNzYWdlcyk7XG59O1xuIl19
diff --git a/recipes/idobata/index.js b/recipes/idobata/index.js
index 6b71e31..65d849e 100644
--- a/recipes/idobata/index.js
+++ b/recipes/idobata/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImlkb2JhdGEvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWlCQyxTQUFTQSxLQUExQiIsImZpbGUiOiJpZG9iYXRhL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ== \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImlkb2JhdGEvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWlCQyxTQUFTQSxLQUExQiIsImZpbGUiOiJpZG9iYXRhL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ==
diff --git a/recipes/idobata/webview.js b/recipes/idobata/webview.js
index 3e7352e..7d5c521 100644
--- a/recipes/idobata/webview.js
+++ b/recipes/idobata/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 function getMessages() { 2 function getMessages() {
5 const title = document.querySelector('title').innerHTML.match(/\d+/); 3 const title = document.querySelector('title').innerHTML.match(/\d+/);
@@ -10,4 +8,4 @@ module.exports = Franz => {
10 8
11 Franz.loop(getMessages); 9 Franz.loop(getMessages);
12}; 10};
13//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImlkb2JhdGEvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsInRpdGxlIiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yIiwiaW5uZXJIVE1MIiwibWF0Y2giLCJjb3VudCIsInNldEJhZGdlIiwibG9vcCJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFrQkMsS0FBRCxJQUFXO0FBQzFCLFdBQVNDLFdBQVQsR0FBdUI7QUFDckIsVUFBTUMsUUFBUUMsU0FBU0MsYUFBVCxDQUF1QixPQUF2QixFQUFnQ0MsU0FBaEMsQ0FBMENDLEtBQTFDLENBQWdELEtBQWhELENBQWQ7QUFDQSxVQUFNQyxRQUFRTCxVQUFVLElBQVYsR0FBaUJBLE1BQU0sQ0FBTixDQUFqQixHQUE0QixDQUExQzs7QUFFQUYsVUFBTVEsUUFBTixDQUFlRCxLQUFmO0FBQ0Q7O0FBRURQLFFBQU1TLElBQU4sQ0FBV1IsV0FBWDtBQUNELENBVEQiLCJmaWxlIjoiaWRvYmF0YS93ZWJ2aWV3LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSAoRnJhbnopID0+IHtcbiAgZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgY29uc3QgdGl0bGUgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCd0aXRsZScpLmlubmVySFRNTC5tYXRjaCgvXFxkKy8pO1xuICAgIGNvbnN0IGNvdW50ID0gdGl0bGUgIT09IG51bGwgPyB0aXRsZVswXS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ZVswXSA6IDA7XG5cbiAgICBGcmFuei5zZXRCYWRnZShjb3VudCk7XG4gIH1cblxuICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKTtcbn07XG4iXX0=
diff --git a/recipes/infomaniak-mail/webview.js b/recipes/infomaniak-mail/webview.js
index 71a022b..235a14d 100644
--- a/recipes/infomaniak-mail/webview.js
+++ b/recipes/infomaniak-mail/webview.js
@@ -1,7 +1,7 @@
1module.exports = Ferdi => { 1module.exports = Ferdi => {
2 function getMessages() { 2 function getMessages() {
3 const count = document.querySelector('.ws-tree-node-badge').innerText 3 const count = document.querySelector('.ws-tree-node-badge').innerText;
4 Ferdi.setBadge(count ? Number(count.substring(1, count.length - 1)) : 0) 4 Ferdi.setBadge(count ? Number(count.substring(1, count.length - 1)) : 0);
5 } 5 }
6 Ferdi.loop(getMessages) 6 Ferdi.loop(getMessages);
7} \ No newline at end of file 7};
diff --git a/recipes/inoreader/webview.js b/recipes/inoreader/webview.js
index a05abe2..eaf9022 100644
--- a/recipes/inoreader/webview.js
+++ b/recipes/inoreader/webview.js
@@ -1,13 +1,13 @@
1module.exports = (Franz) => { 1module.exports = (Franz) => {
2 const getMessages = () => { 2 const getMessages = () => {
3 const all_articles = document.querySelector('#unread_cnt_all_items') 3 const all_articles = document.querySelector('#unread_cnt_all_items');
4 if (!all_articles) return; 4 if (!all_articles) return;
5 5
6 const unread_articles_cnt = Number(all_articles.textContent.split('+')[0]) 6 const unread_articles_cnt = Number(all_articles.textContent.split('+')[0]);
7 if (!Number.isNaN(unread_articles_cnt)) { 7 if (!Number.isNaN(unread_articles_cnt)) {
8 Franz.setBadge(unread_articles_cnt); 8 Franz.setBadge(unread_articles_cnt);
9 } 9 }
10 }; 10 };
11 11
12 Franz.loop(getMessages); 12 Franz.loop(getMessages);
13} 13};
diff --git a/recipes/instagram/index.js b/recipes/instagram/index.js
index 12ff25a..2c7de64 100644
--- a/recipes/instagram/index.js
+++ b/recipes/instagram/index.js
@@ -2,7 +2,7 @@ module.exports = Franz => class Instagram extends Franz {
2 overrideUserAgent() { 2 overrideUserAgent() {
3 return window.navigator.userAgent.replace( 3 return window.navigator.userAgent.replace(
4 /(Ferdi|Electron)\/\S+ \([^)]+\)/g, 4 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
5 "" 5 '',
6 ); 6 );
7 } 7 }
8}; 8};
diff --git a/recipes/instagram/webview.js b/recipes/instagram/webview.js
index f4f7f94..be54317 100644
--- a/recipes/instagram/webview.js
+++ b/recipes/instagram/webview.js
@@ -1,4 +1,4 @@
1const path = require("path"); 1const path = require('path');
2 2
3module.exports = (Franz) => { 3module.exports = (Franz) => {
4 const getMessages = function getMessages() { 4 const getMessages = function getMessages() {
diff --git a/recipes/intercom/index.js b/recipes/intercom/index.js
index 415aeea..23607bd 100644
--- a/recipes/intercom/index.js
+++ b/recipes/intercom/index.js
@@ -1 +1 @@
module.exports = Ferdi => Ferdi; \ No newline at end of file module.exports = Ferdi => Ferdi;
diff --git a/recipes/intercom/webview.js b/recipes/intercom/webview.js
index 2277a4d..7882904 100644
--- a/recipes/intercom/webview.js
+++ b/recipes/intercom/webview.js
@@ -1,12 +1,12 @@
1module.exports = (Ferdi) => { 1module.exports = (Ferdi) => {
2 function getMessages() { 2 function getMessages() {
3 const numMessages = parseInt(document.querySelector('.left-nav [data-content="Inbox"] .unread__container .unread').innerHTML.trim()); 3 const numMessages = parseInt(document.querySelector('.left-nav [data-content="Inbox"] .unread__container .unread').innerHTML.trim());
4 if (numMessages >= 0) { 4 if (numMessages >= 0) {
5 Ferdi.setBadge(numMessages, 0); 5 Ferdi.setBadge(numMessages, 0);
6 } else { 6 } else {
7 Ferdi.setBadge(0, 0); 7 Ferdi.setBadge(0, 0);
8 }
9 } 8 }
10 9 }
11 Ferdi.loop(getMessages); 10
12 } \ No newline at end of file 11 Ferdi.loop(getMessages);
12};
diff --git a/recipes/irccloud/index.js b/recipes/irccloud/index.js
index c72c98f..45d4144 100644
--- a/recipes/irccloud/index.js
+++ b/recipes/irccloud/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImlyY2Nsb3VkL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiaXJjY2xvdWQvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImlyY2Nsb3VkL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiaXJjY2xvdWQvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19
diff --git a/recipes/irccloud/webview.js b/recipes/irccloud/webview.js
index de57ffd..1e98d4f 100644
--- a/recipes/irccloud/webview.js
+++ b/recipes/irccloud/webview.js
@@ -1,15 +1,13 @@
1"use strict";
2
3const path = require('path'); 1const path = require('path');
4 2
5module.exports = Franz => { 3module.exports = Franz => {
6 const getMessages = function getMessages() { 4 const getMessages = function getMessages() {
7 var directMessages = document.getElementsByClassName("buffer conversation active unread activeBadge").length; 5 const directMessages = document.getElementsByClassName('buffer conversation active unread activeBadge').length;
8 var indirectMessages = document.getElementsByClassName("buffer channel active unread").length; 6 const indirectMessages = document.getElementsByClassName('buffer channel active unread').length;
9 7
10 Franz.setBadge(directMessages, indirectMessages); 8 Franz.setBadge(directMessages, indirectMessages);
11 }; 9 };
12 10
13 Franz.loop(getMessages); 11 Franz.loop(getMessages);
14}; 12};
15//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImlyY2Nsb3VkL3dlYnZpZXcuanMiXSwibmFtZXMiOlsicGF0aCIsInJlcXVpcmUiLCJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsImRpcmVjdE1lc3NhZ2VzIiwiZG9jdW1lbnQiLCJnZXRFbGVtZW50c0J5Q2xhc3NOYW1lIiwibGVuZ3RoIiwiaW5kaXJlY3RNZXNzYWdlcyIsInNldEJhZGdlIiwibG9vcCJdLCJtYXBwaW5ncyI6Ijs7QUFBQSxNQUFNQSxPQUFPQyxRQUFRLE1BQVIsQ0FBYjs7QUFFQUMsT0FBT0MsT0FBUCxHQUFrQkMsS0FBRCxJQUFXO0FBQzFCLFFBQU1DLGNBQWMsU0FBU0EsV0FBVCxHQUF1QjtBQUN6QyxRQUFJQyxpQkFBaUJDLFNBQVNDLHNCQUFULENBQWdDLCtDQUFoQyxFQUFpRkMsTUFBdEc7QUFDQSxRQUFJQyxtQkFBbUJILFNBQVNDLHNCQUFULENBQWdDLDhCQUFoQyxFQUFnRUMsTUFBdkY7O0FBRUFMLFVBQU1PLFFBQU4sQ0FBZUwsY0FBZixFQUErQkksZ0JBQS9CO0FBQ0QsR0FMRDs7QUFPQU4sUUFBTVEsSUFBTixDQUFXUCxXQUFYO0FBQ0QsQ0FURCIsImZpbGUiOiJpcmNjbG91ZC93ZWJ2aWV3LmpzIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgcGF0aCA9IHJlcXVpcmUoJ3BhdGgnKTtcblxubW9kdWxlLmV4cG9ydHMgPSAoRnJhbnopID0+IHtcbiAgY29uc3QgZ2V0TWVzc2FnZXMgPSBmdW5jdGlvb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ENBQWdDLDhCQUFoQyxFQUFnRUMsTUFBdkY7O0FBRUFMLFVBQU1PLFFBQU4sQ0FBZUwsY0FBZixFQUErQkksZ0JBQS9CO0FBQ0QsR0FMRDs7QUFPQU4sUUFBTVEsSUFBTixDQUFXUCxXQUFYO0FBQ0QsQ0FURCIsImZpbGUiOiJpcmNjbG91ZC93ZWJ2aWV3LmpzIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgcGF0aCA9IHJlcXVpcmUoJ3BhdGgnKTtcblxubW9kdWxlLmV4cG9ydHMgPSAoRnJhbnopID0+IHtcbiAgY29uc3QgZ2V0TWVzc2FnZXMgPSBmdW5jdGlvbiBnZXRNZXNzYWdlcygpIHtcbiAgICB2YXIgZGlyZWN0TWVzc2FnZXMgPSBkb2N1bWVudC5nZXRFbGVtZW50c0J5Q2xhc3NOYW1lKFwiYnVmZmVyIGNvbnZlcnNhdGlvbiBhY3RpdmUgdW5yZWFkIGFjdGl2ZUJhZGdlXCIpLmxlbmd0aDtcbiAgICB2YXIgaW5kaXJlY3RNZXNzYWdlcyA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlDbGFzc05hbWUoXCJidWZmZXIgY2hhbm5lbCBhY3RpdmUgdW5yZWFkXCIpLmxlbmd0aDtcblxuICAgIEZyYW56LnNldEJhZGdlKGRpcmVjdE1lc3NhZ2VzLCBpbmRpcmVjdE1lc3NhZ2VzKTtcbiAgfTtcblxuICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKTtcbn07XG4iXX0=
diff --git a/recipes/jira/index.js b/recipes/jira/index.js
index 0431300..9fd312d 100644
--- a/recipes/jira/index.js
+++ b/recipes/jira/index.js
@@ -1,11 +1,8 @@
1"use strict"; 1module.exports = (Franz) => class Jira extends Franz {
2 2 overrideUserAgent() {
3module.exports = (Franz) => 3 return window.navigator.userAgent.replace(
4 class Jira extends Franz { 4 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
5 overrideUserAgent() { 5 '',
6 return window.navigator.userAgent.replace( 6 );
7 /(Ferdi|Electron)\/\S+ \([^)]+\)/g, 7 }
8 "" 8};
9 );
10 }
11 };
diff --git a/recipes/jira/webview.js b/recipes/jira/webview.js
index 42d32e8..aca65be 100644
--- a/recipes/jira/webview.js
+++ b/recipes/jira/webview.js
@@ -1,9 +1,7 @@
1"use strict";
2
3module.exports = (Franz) => { 1module.exports = (Franz) => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 // get unread messages 3 // get unread messages
6 let element = document.querySelector('#atlassian-navigation-notification-count span'); 4 const element = document.querySelector('#atlassian-navigation-notification-count span');
7 let count = element ? element.innerText : 0; 5 let count = element ? element.innerText : 0;
8 count = parseInt(count, 10); 6 count = parseInt(count, 10);
9 7
@@ -13,4 +11,4 @@ module.exports = (Franz) => {
13 11
14 // check for new messages every second and update Franz badge 12 // check for new messages every second and update Franz badge
15 Franz.loop(getMessages); 13 Franz.loop(getMessages);
16}; \ No newline at end of file 14};
diff --git a/recipes/jitsi/index.js b/recipes/jitsi/index.js
index 6e3a728..8de4268 100644
--- a/recipes/jitsi/index.js
+++ b/recipes/jitsi/index.js
@@ -1,6 +1,5 @@
1"use strict";
2module.exports = Franz => class Jitsi extends Franz { 1module.exports = Franz => class Jitsi extends Franz {
3 overrideUserAgent() { 2 overrideUserAgent() {
4 return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); 3 return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim();
5 } 4 }
6} \ No newline at end of file 5};
diff --git a/recipes/jitsi/webview.js b/recipes/jitsi/webview.js
index 563a3cf..69c468e 100644
--- a/recipes/jitsi/webview.js
+++ b/recipes/jitsi/webview.js
@@ -1,14 +1,12 @@
1"use strict";
2
3const NOTIFICATION_BADGE_CLASS = '.badge-round'; 1const NOTIFICATION_BADGE_CLASS = '.badge-round';
4 2
5module.exports = Ferdi => { 3module.exports = Ferdi => {
6 const getMessages = () => { 4 const getMessages = () => {
7 const badges = [...document.querySelectorAll(NOTIFICATION_BADGE_CLASS)]; 5 const badges = [...document.querySelectorAll(NOTIFICATION_BADGE_CLASS)];
8 const messages = badges.reduce((currentValue, element) => currentValue + Number(element.innerText), 0); 6 const messages = badges.reduce((currentValue, element) => currentValue + Number(element.innerText), 0);
9 7
10 Ferdi.setBadge(messages); 8 Ferdi.setBadge(messages);
11 } 9 };
12 10
13 Ferdi.loop(getMessages); 11 Ferdi.loop(getMessages);
14} \ No newline at end of file 12};
diff --git a/recipes/jollor/webview.js b/recipes/jollor/webview.js
index 6eb6b2a..a575eab 100644
--- a/recipes/jollor/webview.js
+++ b/recipes/jollor/webview.js
@@ -2,7 +2,7 @@ const path = require('path');
2 2
3module.exports = (Franz, options) => { 3module.exports = (Franz, options) => {
4 function getMessages() { 4 function getMessages() {
5 const count = document.querySelector(".user-menu-message-item-count").innerHTML; 5 const count = document.querySelector('.user-menu-message-item-count').innerHTML;
6 6
7 Franz.setBadge(count); 7 Franz.setBadge(count);
8 } 8 }
diff --git a/recipes/kaizala/index.js b/recipes/kaizala/index.js
index f9b8099..f122bf4 100644
--- a/recipes/kaizala/index.js
+++ b/recipes/kaizala/index.js
@@ -1,11 +1,8 @@
1"use strict"; 1module.exports = (Franz) => class Messenger extends Franz {
2 2 overrideUserAgent() {
3module.exports = (Franz) => 3 return window.navigator.userAgent.replace(
4 class Messenger extends Franz { 4 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
5 overrideUserAgent() { 5 '',
6 return window.navigator.userAgent.replace( 6 );
7 /(Ferdi|Electron)\/\S+ \([^)]+\)/g, 7 }
8 "" 8};
9 );
10 }
11 };
diff --git a/recipes/kaizala/webview.js b/recipes/kaizala/webview.js
index f77b276..f370ff1 100644
--- a/recipes/kaizala/webview.js
+++ b/recipes/kaizala/webview.js
@@ -1,5 +1,3 @@
1"use strict";
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 const count = document.querySelectorAll('.unseen-msg-count').length; 3 const count = document.querySelectorAll('.unseen-msg-count').length;
@@ -7,4 +5,4 @@ module.exports = Franz => {
7 }; 5 };
8 6
9 Franz.loop(getMessages); 7 Franz.loop(getMessages);
10}; \ No newline at end of file 8};
diff --git a/recipes/keybase.io/index.js b/recipes/keybase.io/index.js
index f6f7c6d..73ed231 100644
--- a/recipes/keybase.io/index.js
+++ b/recipes/keybase.io/index.js
@@ -1,3 +1,2 @@
1module.exports = (Franz) => 1module.exports = (Franz) => class LineMe extends Franz {
2 class LineMe extends Franz { 2};
3 };
diff --git a/recipes/keybase.io/webview.js b/recipes/keybase.io/webview.js
index 2df0724..8025966 100644
--- a/recipes/keybase.io/webview.js
+++ b/recipes/keybase.io/webview.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = (Franz) => { 1module.exports = (Franz) => {
4}; 2};
diff --git a/recipes/kimai-cloud/webview.js b/recipes/kimai-cloud/webview.js
index 8baf008..fd12ce8 100644
--- a/recipes/kimai-cloud/webview.js
+++ b/recipes/kimai-cloud/webview.js
@@ -3,9 +3,9 @@ module.exports = (Franz) => {
3 let count = 0; 3 let count = 0;
4 4
5 // get amount of running timesheets 5 // get amount of running timesheets
6 let label = document.querySelector('.main-header .navbar .dropdown.messages-menu .ticktac span.label'); 6 const label = document.querySelector('.main-header .navbar .dropdown.messages-menu .ticktac span.label');
7 if (label !== undefined) { 7 if (label !== undefined) {
8 count = label.textContent; 8 count = label.textContent;
9 } 9 }
10 10
11 // set Franz badge 11 // set Franz badge
diff --git a/recipes/lark/webview.js b/recipes/lark/webview.js
index a3b052d..d4e88e1 100644
--- a/recipes/lark/webview.js
+++ b/recipes/lark/webview.js
@@ -1,9 +1,7 @@
1const path = require('path'); 1const path = require('path');
2 2
3
4module.exports = (Franz) => { 3module.exports = (Franz) => {
5 const getMessages = function getMessages() { 4 const getMessages = function getMessages() {
6
7 const ele = document.querySelectorAll('.larkc-badge-count.navbarMenu-badge'); 5 const ele = document.querySelectorAll('.larkc-badge-count.navbarMenu-badge');
8 if (!ele.length) { 6 if (!ele.length) {
9 Franz.setBadge(0); 7 Franz.setBadge(0);
diff --git a/recipes/lastpass/index.js b/recipes/lastpass/index.js
index dd10055..16c9047 100644
--- a/recipes/lastpass/index.js
+++ b/recipes/lastpass/index.js
@@ -1,8 +1,5 @@
1"use strict";
2
3module.exports = Franz => class Messenger extends Franz { 1module.exports = Franz => class Messenger extends Franz {
4 overrideUserAgent() { 2 overrideUserAgent() {
5 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); 3 return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, '');
6 } 4 }
7 5};
8}; \ No newline at end of file
diff --git a/recipes/lastpass/webview.js b/recipes/lastpass/webview.js
index 2b8fc28..bed9a32 100644
--- a/recipes/lastpass/webview.js
+++ b/recipes/lastpass/webview.js
@@ -1,14 +1,12 @@
1"use strict";
2
3const { 1const {
4 remote 2 remote,
5} = require('electron'); 3} = require('electron');
6 4
7const path = require('path'); 5const path = require('path');
8 6
9const webContents = remote.getCurrentWebContents(); 7const webContents = remote.getCurrentWebContents();
10const { 8const {
11 session 9 session,
12} = webContents; 10} = webContents;
13setTimeout(() => { 11setTimeout(() => {
14 if (document.querySelector('body').innerHTML.includes('Google Chrome 36+')) { 12 if (document.querySelector('body').innerHTML.includes('Google Chrome 36+')) {
@@ -19,7 +17,7 @@ window.addEventListener('beforeunload', async () => {
19 try { 17 try {
20 session.flushStorageData(); 18 session.flushStorageData();
21 session.clearStorageData({ 19 session.clearStorageData({
22 storages: ['appcache', 'serviceworkers', 'cachestorage', 'websql', 'indexdb'] 20 storages: ['appcache', 'serviceworkers', 'cachestorage', 'websql', 'indexdb'],
23 }); 21 });
24 const registrations = await window.navigator.serviceWorker.getRegistrations(); 22 const registrations = await window.navigator.serviceWorker.getRegistrations();
25 registrations.forEach(r => { 23 registrations.forEach(r => {
diff --git a/recipes/line.me/index.js b/recipes/line.me/index.js
index f6f7c6d..73ed231 100644
--- a/recipes/line.me/index.js
+++ b/recipes/line.me/index.js
@@ -1,3 +1,2 @@
1module.exports = (Franz) => 1module.exports = (Franz) => class LineMe extends Franz {
2 class LineMe extends Franz { 2};
3 };
diff --git a/recipes/line.me/webview.js b/recipes/line.me/webview.js
index 2df0724..8025966 100644
--- a/recipes/line.me/webview.js
+++ b/recipes/line.me/webview.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = (Franz) => { 1module.exports = (Franz) => {
4}; 2};
diff --git a/recipes/linkedin/index.js b/recipes/linkedin/index.js
index a858833..4686493 100644
--- a/recipes/linkedin/index.js
+++ b/recipes/linkedin/index.js
@@ -1,4 +1,2 @@
1"use strict";
2
3module.exports = Franz => Franz; 1module.exports = Franz => Franz;
4//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpbmtlZGluL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoibGlua2VkaW4vaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 \ No newline at end of file 2// # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpbmtlZGluL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoibGlua2VkaW4vaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19
diff --git a/recipes/linkedin/webview.js b/recipes/linkedin/webview.js
index 792fee3..6aa851a 100644
--- a/recipes/linkedin/webview.js
+++ b/recipes/linkedin/webview.js
@@ -1,5 +1,3 @@
1'use strict';
2
3module.exports = Franz => { 1module.exports = Franz => {
4 const getMessages = function getMessages() { 2 const getMessages = function getMessages() {
5 let count = 0; 3 let count = 0;
@@ -21,4 +19,4 @@ module.exports = Franz => {
21 // check for new messages every second and update Franz badge 19 // check for new messages every second and update Franz badge
22 Franz.loop(getMessages); 20 Franz.loop(getMessages);
23}; 21};
24//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpbmtlZGluL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJjb3VudCIsIndpbmRvdyIsImxvY2F0aW9uIiwicGF0aG5hbWUiLCJpbmNsdWRlcyIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvckFsbCIsImxlbmd0aCIsImVsZW1lbnQiLCJxdWVyeVNlbGVjdG9yIiwicGFyc2VJbnQiLCJpbm5lckhUTUwiLCJzZXRCYWRnZSIsImxvb3AiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBa0JDLEtBQUQsSUFBVztBQUMxQixRQUFNQyxjQUFjLFNBQVNBLFdBQVQsR0FBdUI7QUFDekMsUUFBSUMsUUFBUSxDQUFaOztBQUVBLFFBQUlDLE9BQU9DLFFBQVAsQ0FBZ0JDLFFBQWhCLENBQXlCQyxRQUF6QixDQUFrQyxXQUFsQyxDQUFKLEVBQW9EO0FBQ2xESixjQUFRSyxTQUFTQyxnQkFBVCxDQUEwQixzQ0FBMUIsRUFBa0VDLE1BQTFFO0FBQ0QsS0FGRCxNQUVPO0FBQ0wsWUFBTUMsVUFBVUgsU0FBU0ksYUFBVCxDQUF1Qiw2Q0FBdkIsQ0FBaEI7O0FBRUEsVUFBSUQsT0FBSixFQUFhO0FBQ1hSLGd