New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kanbancast-components

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kanbancast-components - npm Package Compare versions

Comparing version

to
1.0.16

2

package.json
{
"name": "kanbancast-components",
"private": false,
"version": "1.0.15",
"version": "1.0.16",
"type": "module",

@@ -6,0 +6,0 @@ "types": "dist/board-view.d.ts",

@@ -27,3 +27,70 @@ // src/BoardView.ts

@property({ type: Array }) statuses: Status[] = [
{
id: 1,
title: "Pending",
slug: "pending",
order: 3,
tasks: [],
},
{
id: 2,
title: "To Do",
slug: "to-do",
order: 1,
tasks: [
{
id: 1,
title: "Task 1",
description: "Description of Task 1",
order: 1,
votes: 1,
status_id: 1,
},
{
id: 2,
title: "Task 2",
description: "Description of Task 2",
order: 2,
votes: 1,
status_id: 1,
},
],
},
{
id: 3,
title: "In Progress",
slug: "in-progress",
order: 2,
tasks: [
{
id: 3,
title: "Task 3",
description: "Description of Task 3",
order: 1,
votes: 1,
status_id: 2,
},
],
},
{
id: 4,
title: "Review",
slug: "review",
order: 3,
tasks: [],
},
{
id: 5,
title: "Done",
slug: "done",
order: 4,
tasks: [],
},
{
id: 6,
title: "Published",
slug: "published",
order: 4,
tasks: [],
},
];

@@ -111,3 +178,3 @@ @property({ type: Number }) projectId: number = 0;

return this.statuses
return (this.statuses || [])
.filter(status => relevantStatuses.includes(status.title))

@@ -114,0 +181,0 @@ .flatMap(status => status.tasks.map(task => ({ ...task, status: status })));