aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2023-02-13 06:44:28 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2023-02-13 06:49:51 +0530
commitd8399ea0f1940d6483bfef59e3eb94ba41137b12 (patch)
treee9b58bcbb46c21784ed46b20d5c8481828deb39a /recipes
parentfix #936: Rectify serviceUrls for known problematic services (diff)
downloadferdium-recipes-d8399ea0f1940d6483bfef59e3eb94ba41137b12.tar.gz
ferdium-recipes-d8399ea0f1940d6483bfef59e3eb94ba41137b12.tar.zst
ferdium-recipes-d8399ea0f1940d6483bfef59e3eb94ba41137b12.zip
Upgrade 'pnpm' to '7.27.0'; Upgrade other npm modules and fix errors
Diffstat (limited to 'recipes')
-rw-r--r--recipes/hey/package.json2
-rw-r--r--recipes/hey/webview.js2
-rw-r--r--recipes/stride/package.json2
-rw-r--r--recipes/stride/webview.js4
4 files changed, 5 insertions, 5 deletions
diff --git a/recipes/hey/package.json b/recipes/hey/package.json
index e3bc1e2..090dbaa 100644
--- a/recipes/hey/package.json
+++ b/recipes/hey/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "hey", 2 "id": "hey",
3 "name": "Hey", 3 "name": "Hey",
4 "version": "1.1.0", 4 "version": "1.1.1",
5 "repository": "https://github.com/cpwood/recipe-hey", 5 "repository": "https://github.com/cpwood/recipe-hey",
6 "config": { 6 "config": {
7 "serviceURL": "https://app.hey.com", 7 "serviceURL": "https://app.hey.com",
diff --git a/recipes/hey/webview.js b/recipes/hey/webview.js
index d92490b..d0b885a 100644
--- a/recipes/hey/webview.js
+++ b/recipes/hey/webview.js
@@ -19,7 +19,7 @@ module.exports = Ferdium => {
19 for (const p of postings) { 19 for (const p of postings) {
20 if ( 20 if (
21 p.nodeName == 'ARTICLE' && 21 p.nodeName == 'ARTICLE' &&
22 p.getAttribute('data-seen') !== 'true' 22 p.dataset.seen !== 'true'
23 ) { 23 ) {
24 unread++; 24 unread++;
25 } 25 }
diff --git a/recipes/stride/package.json b/recipes/stride/package.json
index 0016f53..d3dcb60 100644
--- a/recipes/stride/package.json
+++ b/recipes/stride/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "stride", 2 "id": "stride",
3 "name": "Stride", 3 "name": "Stride",
4 "version": "1.3.0", 4 "version": "1.3.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://app.stride.com", 7 "serviceURL": "https://app.stride.com",
diff --git a/recipes/stride/webview.js b/recipes/stride/webview.js
index 08114c1..3ab132d 100644
--- a/recipes/stride/webview.js
+++ b/recipes/stride/webview.js
@@ -11,9 +11,9 @@ module.exports = Ferdium => {
11 11
12 // get unread direct messages by tring to read the badge values 12 // get unread direct messages by tring to read the badge values
13 for (const item of allBadges) { 13 for (const item of allBadges) {
14 if (item.hasAttribute('data-count')) { 14 if (item.dataset.count) {
15 // Count for DMs should be in the data-count attribute 15 // Count for DMs should be in the data-count attribute
16 directCount += Math.max(1, +item.getAttribute('data-count')); 16 directCount += Math.max(1, +item.dataset.count);
17 } else { 17 } else {
18 // this will be the case for indirect messages 18 // this will be the case for indirect messages
19 indirectCount++; 19 indirectCount++;