Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency jira.js to v4.0.6 #70

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 1, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
jira.js 4.0.2 -> 4.0.6 age adoption passing confidence

Release Notes

MrRefactoring/jira.js (jira.js)

v4.0.6

Compare Source


v4.0.5

Compare Source

  • #​344: Replaced the mime-types library with mime to ensure browser compatibility, as mime-types relies on the path module from Node.js. Thanks to kang for reporting the issue and proposing the fix.

v4.0.4

Compare Source

  • #​320: Resolved a tree-shaking issue where importing a single client would still include all clients in the output bundle when using bundlers. Now, only the required client code is included. Thanks to Nao Yonashiro for reporting the issue and proposing a fix.
  • #​327: Replaced the form-data library with formdata-node to enable compatibility with ESM projects when adding attachments via the issueAttachment.addAttachment method. Thanks to Paweł Król for reporting the issue and Matyáš Kroupa for implementing the fix.
  • Improvement: The type of the projectIdOrKey property was updated from string to number | string for project update operations. This enhancement improves type safety and flexibility when handling project identifiers.
  • Enhancement: Added a mimeType property to the version2.issueAttachments.addAttachment, version3.issueAttachments.addAttachment, and serviceDesk.serviceDesk.attachTemporaryFile methods. This allows specifying the file type. If mimeType is not provided, a default type is inferred from the filename.
Examples:

👎 Before:

const client = new Version2Client() || new Version3Client() || new ServiceDeskClient();

const attachment = await client.issueAttachments.addAttachment({
    issueIdOrKey: issue.key,
    attachment: {
        filename: 'issueAttachments.test.ts',
        file: fs.readFileSync('./tests/integration/version2/issueAttachments.test.ts'),
    },
});

console.log(attachment[0].mimeType); // Will be 'video/mp2t'

👍 Now:

const client = new Version2Client() || new Version3Client() || new ServiceDeskClient();

const attachment = await client.issueAttachments.addAttachment({
    issueIdOrKey: issue.key,
    attachment: {
        filename: 'issueAttachments.test.ts',
        file: fs.readFileSync('./tests/integration/version2/issueAttachments.test.ts'),
        mimeType: 'application/typescript',
    },
});

console.log(attachment[0].mimeType); // Will be 'application/typescript'

v4.0.3

Compare Source

  • Bug Fix: Fixed an issue with the Users.createUser method by adding the required products property. Thanks to Appelberg-s for the fix.
  • Documentation Update: Corrected an error in README.md. Thanks to Maurice de Bruyn for the contribution.
  • Dependencies: Updated all dependencies to their latest versions.


Configuration

📅 Schedule: Branch creation - "* 0-3 1 * *" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added javascript Pull requests that update Javascript code type: dependencies labels Feb 1, 2025
Copy link

codecov bot commented Feb 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 22.94%. Comparing base (294b418) to head (be67dcb).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #70   +/-   ##
=======================================
  Coverage   22.94%   22.94%           
=======================================
  Files          13       13           
  Lines         523      523           
  Branches       17       17           
=======================================
  Hits          120      120           
  Misses        399      399           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code type: dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants