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

storypointer

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storypointer - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

2

package.json
{
"name": "storypointer",
"version": "1.8.0",
"version": "1.8.1",
"description": "Small CLI tool to set JIRA Story Points and Priority",

@@ -5,0 +5,0 @@ "main": "src/main.ts",

@@ -116,3 +116,3 @@ # JIRA StoryPointer

🐛 RHEL-1234 - In Progress - Assignee
Add new feature to curl
curl - Add new feature to curl
See more: https://issues.redhat.com/browse/RHEL-1234

@@ -119,0 +119,0 @@

@@ -34,3 +34,3 @@ import chalk from 'chalk';

)
.version('1.8.0');
.version('1.8.1');

@@ -302,3 +302,3 @@ program

logger.log(`Setting ${message.join(' and ')}`);
await jira.setValues(issue.key, priority, storyPoints, severity);
await jira.setValues(issue.key, priority, severity, storyPoints);
}

@@ -305,0 +305,0 @@ };

@@ -89,12 +89,16 @@ import { Version2Client } from 'jira.js';

priority: Priority,
size: Size,
severity: Severity
severity: Severity,
size: Size
) {
const priorityValue = priority
? { [this.fields.priority]: { name: priority } }
: {};
const severityValue = severity
? { [this.fields.severity]: { value: severity } }
: {};
const storyPointsValue = size ? { [this.fields.storyPoints]: size } : {};
const response = await this.api.issues.editIssue({
issueIdOrKey: issue,
fields: {
[this.fields.storyPoints]: size,
[this.fields.priority]: { name: priority },
[this.fields.severity]: { value: severity },
},
fields: { ...priorityValue, ...severityValue, ...storyPointsValue },
});

@@ -101,0 +105,0 @@ }

@@ -9,3 +9,3 @@ import chalk from 'chalk';

<TYPE> <ISSUE-KEY> - ${chalk.bold('<STATUS>')} - ${chalk.italic('<ASSIGNEE>')}
${chalk.italic('<ISSUE DESCRIPTION>')}
${chalk.underline('<COMPONENTS>')} - ${chalk.italic('<ISSUE DESCRIPTION>')}
See more: ${chalk.italic.underline('<URL>')}

@@ -12,0 +12,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc