Skip to content

Commit af68edb

Browse files
Vulnerabilities fixes (#156)
* test folder renamed from e2e to integration * 2.6.1
1 parent 51c2456 commit af68edb

35 files changed

+82
-75
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
echo API_TOKEN=${{ secrets.API_TOKEN }} >> .env
2828
- run: npm run build
2929
- run: npm run test:unit
30-
- run: npm run test:e2e
30+
- run: npm run test:integration
3131
- run: npm run lint
3232
env:
3333
CI: true

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Jira.js changelog
22

3+
### 2.6.1
4+
5+
- Common improvements:
6+
- Fixing vulnerabilities in dependencies.
7+
- Version 2, Version 3:
8+
- Caught a mistake in issue attachment API [#152](https://github.com/MrRefactoring/jira.js/pull/152). Thanks [prasanna](https://github.com/balaprasanna)!
9+
310
### 2.6.0
411

512
- Agile:

package-lock.json

Lines changed: 61 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jira.js",
3-
"version": "2.6.0",
3+
"version": "2.6.1",
44
"description": "jira.js is a powerful Node.JS/Browser module that allows you to interact with the Jira API very easily",
55
"main": "out/index.js",
66
"types": "out/index.d.ts",
@@ -29,9 +29,9 @@
2929
"lint:base": "eslint --ext .ts",
3030
"lint:fix": "npm run lint:tests -- --fix && npm run lint:src:agile -- --fix && npm run lint:src:clients -- --fix && npm run lint:src:services -- --fix && npm run lint:src:version2 -- --fix && npm run lint:src:version3 -- --fix && npm run lint:src:files -- --fix",
3131
"doc": "typedoc --name Jira.js --out docs ./src",
32-
"test": "npm run test:unit && npm run test:e2e",
32+
"test": "npm run test:unit && npm run test:integration",
3333
"test:unit": "jest tests/unit",
34-
"test:e2e": "jest tests/e2e --setupFiles=./tests/setup.ts --runInBand",
34+
"test:integration": "jest tests/integration --setupFiles=./tests/setup.ts --runInBand",
3535
"test:verbose": "npm run test -- --verbose",
3636
"test:coverage": "npm run test:unit:coverage && npm run test:system:coverage",
3737
"test:unit:coverage": "npm run test:unit -- --coverage",
@@ -44,11 +44,11 @@
4444
"devDependencies": {
4545
"@types/express": "^4.17.13",
4646
"@types/jest": "^26.0.24",
47-
"@types/node": "^16.7.6",
47+
"@types/node": "^16.7.13",
4848
"@types/oauth": "^0.9.1",
4949
"@types/sinon": "^10.0.2",
50-
"@typescript-eslint/eslint-plugin": "^4.29.3",
51-
"@typescript-eslint/parser": "^4.29.3",
50+
"@typescript-eslint/eslint-plugin": "^4.31.0",
51+
"@typescript-eslint/parser": "^4.31.0",
5252
"dotenv": "^10.0.0",
5353
"eslint": "^7.32.0",
5454
"eslint-config-airbnb": "^18.2.1",
@@ -57,15 +57,15 @@
5757
"eslint-plugin-import": "^2.24.2",
5858
"jest": "^26.6.3",
5959
"prettier": "^2.3.2",
60-
"prettier-plugin-jsdoc": "^0.3.23",
60+
"prettier-plugin-jsdoc": "^0.3.24",
6161
"sinon": "^11.1.2",
6262
"ts-jest": "^26.5.6",
6363
"typedoc": "^0.21.9",
6464
"typescript": "^4.4.2"
6565
},
6666
"dependencies": {
67-
"atlassian-jwt": "^2.0.1",
68-
"axios": "^0.21.1",
67+
"atlassian-jwt": "^2.0.2",
68+
"axios": "^0.21.4",
6969
"form-data": "^4.0.0",
7070
"oauth": "^0.9.15",
7171
"telemetry.jira.js": "<2",

src/clients/baseClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ export class BaseClient implements Client {
8484
bodyExists: !!requestConfig.data,
8585
callbackUsed: !!callback,
8686
headersExists: !!requestConfig.headers,
87-
libVersion: '2.6.0',
88-
libVersionHash: '72812e30873455dcee2ce2d1ee26e4ab',
87+
libVersion: '2.6.1',
88+
libVersionHash: '9cb9e5c146becbfbe208da9b67fe97e5',
8989
methodName: telemetryData?.methodName || 'sendRequest',
9090
onErrorMiddlewareUsed: !!this.config.middlewares?.onError,
9191
onResponseMiddlewareUsed: !!this.config.middlewares?.onResponse,
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)