git ssb

1+

Daan Patchwork / patchwork



Commit 0e32ae6c44d7e8b7d23b7186a73876e16c6faa1c

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] <support@github.com>
dependabot[bot] authored on 1/7/2021, 9:37:06 AM
Daan Wynen committed on 1/11/2021, 3:01:01 PM
Parent: 85f2e5bf11baa8a44a2598af7cac2815eb9b5e67

Files changed

lib/depject/page/html/render/tag.jschanged
package-lock.jsonchanged
package.jsonchanged
lib/depject/page/html/render/tag.jsView
@@ -43,19 +43,19 @@
4343 const name = tagId === 'all' ? i18n('All Tags') : api.about.obs.name(tagId)
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
6161 return h('SplitView -tags', [
package-lock.jsonView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 413372 bytes
New file size: 411128 bytes
package.jsonView
@@ -60,9 +60,9 @@
6060 "pull-stream": "^3.6.14",
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",
6868 "ssb-about": "github:ssbc/ssb-about#use-await-ready",

Built with git-ssb-web