Skip to content

v5.2.1 #389

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

Merged
merged 3 commits into from
Jun 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Jira.js changelog

## 5.2.1

### Bug Fixes
- **Removed `~` alias** due to compatibility issues with some build systems. Thanks @ThomasTrepanier, for reporting.

## 5.2.0

### Build & Distribution Improvements
Expand Down
31 changes: 15 additions & 16 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import js from '@eslint/js';
import globals from 'globals';
import tseslint from 'typescript-eslint';
import { defineConfig } from 'eslint/config';
import stylisticJs from '@stylistic/eslint-plugin-js';
import stylisticTs from '@stylistic/eslint-plugin-ts';
import stylistic from '@stylistic/eslint-plugin';

export default defineConfig([
{ files: ['**/*.{js,mjs,cjs,ts}'], plugins: { js }, extends: ['js/recommended'] },
Expand All @@ -17,30 +16,31 @@ export default defineConfig([
},
},
plugins: {
'@stylistic/js': stylisticJs,
'@stylistic/ts': stylisticTs,
'@stylistic': stylistic,
},
rules: {
'@stylistic/js/no-trailing-spaces': 'error',
'@stylistic/ts/indent': ['error', 2],
'@stylistic/ts/lines-between-class-members': [
'@stylistic/comma-dangle': ['error', 'always-multiline'],
'@stylistic/indent': ['error', 2],
'@stylistic/lines-between-class-members': [
'error',
'always',
{
exceptAfterOverload: true,
exceptAfterSingleLine: true,
},
],
'@stylistic/ts/padding-line-between-statements': [
'@stylistic/no-trailing-spaces': 'error',
'@stylistic/object-curly-spacing': ['error', 'always'],
'@stylistic/padding-line-between-statements': [
'error',
// Return statements
{ blankLine: 'always', prev: '*', next: 'return' },
// Import statements
{ blankLine: 'always', prev: 'import', next: '*' },
{ blankLine: 'any', prev: 'import', next: 'import' },
],
'@stylistic/ts/quotes': ['error', 'single'],
'@stylistic/ts/semi': ['error', 'always'],
'@stylistic/quotes': ['error', 'single'],
'@stylistic/semi': ['error', 'always'],
'@typescript-eslint/consistent-type-imports': [
'error',
{
Expand All @@ -49,14 +49,13 @@ export default defineConfig([
},
],
'@typescript-eslint/no-empty-object-type': 'off',
'@typescript-eslint/no-redundant-type-constituents': 'off', // todo fix it
'@typescript-eslint/no-unnecessary-condition': 'error', // todo fix it
'@typescript-eslint/no-unsafe-argument': 'off', // todo fix it
'@typescript-eslint/no-unsafe-assignment': 'off', // todo fix it
'@typescript-eslint/no-unsafe-call': 'off', // todo fix it
'@typescript-eslint/no-redundant-type-constituents': 'off',
'@typescript-eslint/no-unnecessary-condition': 'error',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/prefer-optional-chain': 'error',
'@stylistic/ts/object-curly-spacing': ["error", "always"]
},
},
]);
55 changes: 27 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jira.js",
"version": "5.2.0",
"version": "5.2.1",
"description": "A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.",
"repository": "https://github.com/MrRefactoring/jira.js.git",
"homepage": "https://mrrefactoring.github.io/jira.js",
Expand All @@ -13,33 +13,33 @@
"exports": {
".": {
"types": "./dist/esm/types/index.d.ts",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs"
"require": "./dist/cjs/index.cjs",
"import": "./dist/esm/index.mjs"
},
"./*": {
"types": "./dist/esm/types/*.d.ts",
"import": "./dist/esm/*.mjs",
"require": "./dist/cjs/*.cjs"
"require": "./dist/cjs/*.cjs",
"import": "./dist/esm/*.mjs"
},
"./agile": {
"types": "./dist/esm/types/agile/index.d.ts",
"import": "./dist/esm/agile/index.mjs",
"require": "./dist/cjs/agile/index.cjs"
"require": "./dist/cjs/agile/index.cjs",
"import": "./dist/esm/agile/index.mjs"
},
"./serviceDesk": {
"types": "./dist/esm/types/serviceDesk/index.d.ts",
"require": "./dist/cjs/serviceDesk/index.cjs",
"import": "./dist/esm/serviceDesk/index.mjs"
},
"./version2": {
"types": "./dist/esm/types/version2/index.d.ts",
"import": "./dist/esm/version2/index.mjs",
"require": "./dist/cjs/version2/index.cjs"
"require": "./dist/cjs/version2/index.cjs",
"import": "./dist/esm/version2/index.mjs"
},
"./version3": {
"types": "./dist/esm/types/version3/index.d.ts",
"import": "./dist/esm/version3/index.mjs",
"require": "./dist/cjs/version3/index.cjs"
},
"./serviceDesk": {
"types": "./dist/esm/types/serviceDesk/index.d.ts",
"import": "./dist/esm/serviceDesk/index.mjs",
"require": "./dist/cjs/serviceDesk/index.cjs"
"require": "./dist/cjs/version3/index.cjs",
"import": "./dist/esm/version3/index.mjs"
},
"./package.json": "./package.json"
},
Expand Down Expand Up @@ -118,32 +118,31 @@
"dependencies": {
"axios": "^1.9.0",
"mime": "^4.0.7",
"zod": "^3.24.4"
"zod": "^3.25.63"
},
"devDependencies": {
"@eslint/js": "^9.26.0",
"@eslint/js": "^9.28.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.2",
"@stylistic/eslint-plugin-js": "^4.2.0",
"@stylistic/eslint-plugin-ts": "^4.2.0",
"@types/node": "^20.17.47",
"@stylistic/eslint-plugin": "^4.4.1",
"@types/node": "^20.19.0",
"@types/sinon": "^17.0.4",
"dotenv": "^16.5.0",
"eslint": "^9.26.0",
"globals": "^16.1.0",
"eslint": "^9.28.0",
"globals": "^16.2.0",
"jiti": "^2.4.2",
"prettier": "^3.5.3",
"prettier-plugin-jsdoc": "^1.3.2",
"rollup": "^4.40.2",
"rollup-plugin-esnext-to-nodenext": "^1.0.0",
"rollup": "^4.43.0",
"rollup-plugin-esnext-to-nodenext": "^1.0.1",
"rollup-plugin-node-externals": "^8.0.0",
"sinon": "^20.0.0",
"tslib": "^2.8.1",
"typedoc": "^0.28.4",
"typedoc": "^0.28.5",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1",
"vitest": "^3.1.3"
"typescript-eslint": "^8.34.0",
"vitest": "^3.2.3"
}
}
Loading