Skip to content

Commit 7eaf541

Browse files
authored
Merge pull request #41 from erezrokah/chore/update_dependencies
chore: update dependencies to fix security issue
2 parents 4648df5 + 2196f6e commit 7eaf541

File tree

9 files changed

+658
-711
lines changed

9 files changed

+658
-711
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "aws-testing-library",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "Chai and Jest matchers for aws services",
55
"scripts": {
66
"lint": "tslint 'src/**/*.ts'",
77
"build": "tsc -p tsconfig.json",
88
"test": "jest",
99
"test:watch": "jest --watch",
10-
"test:ci": "JEST_JUNIT_OUTPUT=./reports/junit/${npm_package_name}-test-results.xml jest --runInBand --ci",
10+
"test:ci": "JEST_JUNIT_OUTPUT_DIR=./reports/junit JEST_JUNIT_OUTPUT_NAME=${npm_package_name}-test-results.xml jest --runInBand --ci",
1111
"coverage": "jest --coverage",
1212
"prettier": "prettier --write src/**/*.ts",
1313
"prettier:ci": "prettier --list-different src/**/*.ts",
@@ -58,8 +58,8 @@
5858
"@types/uuid": "^3.4.4",
5959
"chai": "^4.2.0",
6060
"husky": "^3.0.4",
61-
"jest": "^24.8.0",
62-
"jest-junit": "^6.4.0",
61+
"jest": "^24.9.0",
62+
"jest-junit": "^8.0.0",
6363
"mockdate": "^2.0.2",
6464
"prettier": "^1.17.1",
6565
"ts-jest": "^24.0.2",

src/jest/api.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('api matchers', () => {
1616
isNot: false,
1717
utils: {
1818
...originalUtils,
19-
diff: jest.fn(),
19+
diff: jest.fn() as any,
2020
getType: jest.fn(),
2121
matcherHint: jest.fn(i => i),
2222
printExpected: jest.fn(i => i),

src/jest/cloudwatch.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('cloudwatch matchers', () => {
1818
isNot: false,
1919
utils: {
2020
...originalUtils,
21-
diff: jest.fn(),
21+
diff: jest.fn() as any,
2222
getType: jest.fn(),
2323
matcherHint: jest.fn(i => i),
2424
printExpected: jest.fn(i => i),

src/jest/dynamoDb.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('dynamoDb matchers', () => {
1515
isNot: false,
1616
utils: {
1717
...originalUtils,
18-
diff: jest.fn(),
18+
diff: jest.fn() as any,
1919
getType: jest.fn(),
2020
matcherHint: jest.fn(i => i),
2121
printExpected: jest.fn(i => i),

src/jest/kinesis.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('kinesis matchers', () => {
1414
isNot: false,
1515
utils: {
1616
...originalUtils,
17-
diff: jest.fn(),
17+
diff: jest.fn() as any,
1818
getType: jest.fn(),
1919
matcherHint: jest.fn(i => i),
2020
printExpected: jest.fn(i => i),

src/jest/s3.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('s3 matchers', () => {
1515
isNot: false,
1616
utils: {
1717
...originalUtils,
18-
diff: jest.fn(),
18+
diff: jest.fn() as any,
1919
getType: jest.fn(),
2020
matcherHint: jest.fn(i => i),
2121
printExpected: jest.fn(i => i),

src/jest/sqs.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('sqs matchers', () => {
1414
isNot: false,
1515
utils: {
1616
...originalUtils,
17-
diff: jest.fn(),
17+
diff: jest.fn() as any,
1818
getType: jest.fn(),
1919
matcherHint: jest.fn(i => i),
2020
printExpected: jest.fn(i => i),

src/jest/stepFunctions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('stepFunctions matchers', () => {
1414
isNot: false,
1515
utils: {
1616
...originalUtils,
17-
diff: jest.fn(),
17+
diff: jest.fn() as any,
1818
getType: jest.fn(),
1919
matcherHint: jest.fn(i => i),
2020
printExpected: jest.fn(i => i),

0 commit comments

Comments
 (0)