Skip to content

Commit 0c2352b

Browse files
Samarpan  BhattacharyaSamarpan  Bhattacharya
authored andcommitted
fix(chore): version update and lint checks
gh-0
1 parent f815c13 commit 0c2352b

File tree

8 files changed

+1163
-445
lines changed

8 files changed

+1163
-445
lines changed

package-lock.json

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

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,44 +43,44 @@
4343
"!*/__tests__"
4444
],
4545
"dependencies": {
46-
"@loopback/boot": "^4.1.0",
47-
"@loopback/context": "^4.1.0",
48-
"@loopback/core": "^3.1.0",
49-
"@loopback/rest": "^11.1.0",
50-
"proxyquire": "^2.1.3",
51-
"tslib": "^2.3.1"
46+
"@loopback/boot": "^4.1.1",
47+
"@loopback/context": "^4.1.1",
48+
"@loopback/core": "^3.1.1",
49+
"@loopback/rest": "^11.1.1",
50+
"tslib": "^2.0.0"
5251
},
5352
"devDependencies": {
5453
"@commitlint/cli": "^13.1.0",
5554
"@commitlint/config-conventional": "^13.1.0",
56-
"@loopback/build": "^8.1.0",
57-
"@loopback/eslint-config": "^12.0.2",
58-
"@loopback/testlab": "^4.1.0",
55+
"@loopback/build": "^8.1.1",
56+
"@loopback/eslint-config": "^12.0.3",
57+
"@loopback/testlab": "^4.1.1",
5958
"@semantic-release/changelog": "^5.0.1",
6059
"@semantic-release/git": "^9.0.0",
61-
"@types/node": "^12.20.43",
60+
"@types/node": "^12.20.46",
6261
"@types/nodemailer": "^6.4.4",
6362
"@types/proxyquire": "^1.3.28",
6463
"@types/pubnub": "^4.27.3",
6564
"@types/socket.io-client": "^1.4.33",
66-
"aws-sdk": "^2.1048.0",
65+
"aws-sdk": "^2.1084.0",
6766
"commitizen": "^4.2.4",
6867
"cz-conventional-changelog": "^3.3.0",
6968
"cz-customizable": "^6.3.0",
7069
"cz-customizable-ghooks": "^2.0.0",
71-
"eslint": "^8.8.0",
70+
"eslint": "^8.10.0",
7271
"firebase-admin": "^10.0.1",
7372
"husky": "^7.0.1",
7473
"nodemailer": "^6.7.2",
7574
"nyc": "^15.1.0",
75+
"proxyquire": "^2.1.3",
7676
"pubnub": "^4.37.0",
7777
"semantic-release": "^17.4.4",
7878
"socket.io-client": "^4.4.0",
7979
"source-map-support": "^0.5.21",
8080
"typescript": "~4.5.5"
8181
},
8282
"peerDependencies": {
83-
"aws-sdk": "^2.1048.0",
83+
"aws-sdk": "^2.1084.0",
8484
"firebase-admin": "^10.0.1",
8585
"nodemailer": "^6.7.2",
8686
"pubnub": "^4.37.0",

src/__tests__/unit/fcm.provider.unit.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('FCM Service', () => {
88
const fcmProvider = new FcmProvider(app);
99

1010
describe('fcm configration addition', () => {
11-
it('returns error message when no firebase config', async () => {
11+
it('returns error message when no firebase config', () => {
1212
try {
1313
/* eslint-disable @typescript-eslint/no-unused-vars */
1414
const fcmProvider = new FcmProvider();
@@ -18,7 +18,7 @@ describe('FCM Service', () => {
1818
}
1919
});
2020

21-
it('returns error message on passing reciever length as zero', async () => {
21+
it('returns error message on passing reciever length as zero', () => {
2222
const message: FcmMessage = {
2323
receiver: {
2424
to: [],
@@ -37,7 +37,7 @@ describe('FCM Service', () => {
3737
}
3838
});
3939

40-
it('returns error message on passing reciever length as zero in value function', async () => {
40+
it('returns error message on passing reciever length as zero in value function', () => {
4141
const message: FcmMessage = {
4242
receiver: {
4343
to: [],
@@ -56,7 +56,7 @@ describe('FCM Service', () => {
5656
}
5757
});
5858

59-
it('returns error message on having no message subject', async () => {
59+
it('returns error message on having no message subject', () => {
6060
const message: FcmMessage = {
6161
receiver: {
6262
to: [
@@ -78,7 +78,7 @@ describe('FCM Service', () => {
7878
}
7979
});
8080

81-
it('returns error message on having no message subject using value function', async () => {
81+
it('returns error message on having no message subject using value function', () => {
8282
const message: FcmMessage = {
8383
receiver: {
8484
to: [
@@ -100,7 +100,7 @@ describe('FCM Service', () => {
100100
}
101101
});
102102

103-
it('returns array for sending push to conditions', async () => {
103+
it('returns array for sending push to conditions', () => {
104104
const message: FcmMessage = {
105105
receiver: {
106106
to: [
@@ -130,7 +130,7 @@ describe('FCM Service', () => {
130130
expect(result).which.eql([]);
131131
}).timeout(5000);
132132

133-
it('returns array for sending push to receive tokens', async () => {
133+
it('returns array for sending push to receive tokens', () => {
134134
const message: FcmMessage = {
135135
receiver: {
136136
to: [
@@ -160,7 +160,7 @@ describe('FCM Service', () => {
160160
expect(result).to.have.Array();
161161
}).timeout(5000);
162162

163-
it('returns array for sending push to topics', async () => {
163+
it('returns array for sending push to topics', () => {
164164
const message: FcmMessage = {
165165
receiver: {
166166
to: [
@@ -190,7 +190,7 @@ describe('FCM Service', () => {
190190
expect(result).which.eql([]);
191191
}).timeout(5000);
192192

193-
it('returns array for sending in value function', async () => {
193+
it('returns array for sending in value function', () => {
194194
const message: FcmMessage = {
195195
receiver: {
196196
to: [

src/__tests__/unit/nodemailer.provider.unit.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/no-misused-promises */
12
import {Constructor} from '@loopback/core';
23
import {expect, sinon} from '@loopback/testlab';
34
import proxyquire from 'proxyquire';
@@ -11,7 +12,7 @@ describe('Nodemailer Service', () => {
1112
};
1213
beforeEach(setupMockNodemailer);
1314
describe('nodemailer configration addition', () => {
14-
it('return error when config is not passed', async () => {
15+
it('return error when config is not passed', () => {
1516
try {
1617
// eslint-disable-next-line @typescript-eslint/no-unused-vars
1718
const nodemailerProvider = new NodemailerProviderMock();

src/__tests__/unit/pubnub.provider.unit.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/no-misused-promises */
12
import {Constructor} from '@loopback/core';
23
import {expect, sinon} from '@loopback/testlab';
34
import proxyquire from 'proxyquire';

src/__tests__/unit/ses.provider.unit.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/no-misused-promises */
12
import {Constructor} from '@loopback/core';
23
import {expect, sinon} from '@loopback/testlab';
34
import proxyquire from 'proxyquire';

src/__tests__/unit/sns.provider.unit.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/no-misused-promises */
12
import {Constructor} from '@loopback/core';
23
import {expect, sinon} from '@loopback/testlab';
34
import proxyquire from 'proxyquire';

src/__tests__/unit/socketio.provider.unit.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/no-misused-promises */
12
import {Constructor} from '@loopback/core';
23
import {expect, sinon} from '@loopback/testlab';
34
import proxyquire from 'proxyquire';

0 commit comments

Comments
 (0)