Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 0e32ae6

Browse files
dependabot[bot]black-puppydog
authored andcommitted
Bump scuttle-tag from 0.4.0 to 0.5.0
Bumps [scuttle-tag](https://github.com/ssbc/scuttle-tag) from 0.4.0 to 0.5.0. - [Release notes](https://github.com/ssbc/scuttle-tag/releases) - [Commits](https://github.com/ssbc/scuttle-tag/commits) Signed-off-by: dependabot[bot] <[email protected]>
1 parent 85f2e5b commit 0e32ae6

File tree

3 files changed

+9
-61
lines changed

3 files changed

+9
-61
lines changed

lib/depject/page/html/render/tag.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ exports.create = function (api) {
4444
const taggedMessages = MutantArray([])
4545
let messageStream
4646
if (tagId === 'all' && author === 'all') {
47-
messageStream = scuttleTag.pull.messagesTagged()
47+
messageStream = scuttleTag.pull.allTags()
4848
} else if (tagId === 'all' && author !== 'all') {
49-
messageStream = scuttleTag.pull.messagesTaggedBy(author)
49+
messageStream = scuttleTag.pull.tagsFrom(author)
5050
} else if (tagId !== 'all' && author === 'all') {
51-
messageStream = scuttleTag.pull.messagesTaggedWith(tagId)
51+
messageStream = scuttleTag.pull.tagsOf(tagId)
5252
} else {
53-
messageStream = scuttleTag.pull.messagesTaggedWithBy(tagId, author)
53+
messageStream = scuttleTag.pull.tagsOfFrom(tagId, author)
5454
}
5555
pull(
5656
messageStream,
57-
pull.map(api.message.obs.get),
57+
pull.map((msg) => api.message.obs.get(msg.value.content.message)),
5858
pull.drain((msg) => taggedMessages.push(msg))
5959
)
6060

package-lock.json

Lines changed: 3 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"require-style": "^1.1.0",
6262
"run-parallel": "^1.1.9",
6363
"scuttle-blog": "^1.0.1",
64-
"scuttle-tag": "^0.4.0",
64+
"scuttle-tag": "^0.5.0",
6565
"secret-stack": "^6.3.1",
6666
"sorted-array-functions": "^1.2.0",
6767
"spacetime": "^6.4.1",

0 commit comments

Comments
 (0)