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

jira-connector

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jira-connector - npm Package Compare versions

Comparing version 2.15.2 to 2.15.3

4

api/issue.d.ts

@@ -74,4 +74,4 @@ export declare class Issue {

headers?: {
'X-Atlassian-Token': any,
charset: string | any,
'X-Atlassian-Token'?: string,
charset?: string,
[key: string]: any

@@ -78,0 +78,0 @@ }

@@ -887,3 +887,3 @@ "use strict";

var options = {
uri: this.jiraClient.buildURL('issue/' + opts.issueId || opts.issueKey + '/worklog'),
uri: this.jiraClient.buildURL('/issue/' + (opts.issueId || opts.issueKey) + '/worklog'),
method: 'POST',

@@ -930,3 +930,3 @@ json: true,

var options = {
uri: this.jiraClient.buildURL('issue/' + opts.issueId || opts.issueKey + '/worklog/' + opts.id || opts.worklogId),
uri: this.jiraClient.buildURL('/issue/' + (opts.issueId || opts.issueKey) + '/worklog/' + (opts.id || opts.worklogId)),
method: 'GET',

@@ -967,3 +967,3 @@ json: true,

var options = {
uri: this.jiraClient.buildURL('issue/' + opts.issueId || opts.issueKey + '/worklog/' + opts.id || opts.worklogId),
uri: this.jiraClient.buildURL('/issue/' + (opts.issueId || opts.issueKey) + '/worklog/' + (opts.id || opts.worklogId)),
method: 'PUT',

@@ -1019,3 +1019,3 @@ json: true,

var options = {
uri: this.jiraClient.buildURL('issue/' + opts.issueId || opts.issueKey + '/worklog/' + opts.id || opts.worklogId),
uri: this.jiraClient.buildURL('/issue/' + (opts.issueId || opts.issueKey) + '/worklog/' + (opts.id || opts.worklogId)),
method: 'DELETE',

@@ -1051,3 +1051,4 @@ json: true,

this.addAttachment = function (opts, callback) {
var attachments = opts.filename.map(function (filePath) {
var filename = Array.isArray(opts.filename) ? opts.filename : [opts.filename];
var attachments = filename.map(function (filePath) {
var filename = filePath.split('/').reverse()[0];

@@ -1064,8 +1065,13 @@ var mimeType = mime.lookup(filename);

var headers = {
charset: 'utf-8',
'X-Atlassian-Token': 'nocheck'
}
var options = {
uri: this.jiraClient.buildURL('issue/' + opts.issueId || opts.issueKey + '/attachments'),
uri: this.jiraClient.buildURL('/issue/' + (opts.issueId || opts.issueKey) + '/attachments'),
method: 'POST',
json: true,
followAllRedirects: true,
headers: Object.assign({ charset: 'utf-8' }, opts.headers || {}),
headers: Object.assign(headers, opts.headers || {}),
formData: {

@@ -1072,0 +1078,0 @@ file: attachments

{
"name": "jira-connector",
"version": "2.15.2",
"version": "2.15.3",
"description": "Easy to use NodeJS wrapper for the Jira REST API.",

@@ -5,0 +5,0 @@ "keywords": [

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