Skip to content

Commit b5ae5b0

Browse files
committed
upgrade deps, strange problem (nestjs/nest#8320)
1 parent 25c0401 commit b5ae5b0

File tree

3 files changed

+25
-23
lines changed

3 files changed

+25
-23
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,23 @@
3434
},
3535
"homepage": "https://github.com/wechaty/friday#readme",
3636
"dependencies": {
37-
"@nestjs/common": "^8.2.6",
38-
"@nestjs/core": "^8.2.6",
39-
"@nestjs/cqrs": "^8.0.1",
37+
"@nestjs/common": "^8.3.1",
38+
"@nestjs/core": "^8.3.1",
39+
"@nestjs/cqrs": "^8.0.2",
4040
"@nestjs/mapped-types": "*",
41-
"@nestjs/platform-express": "^8.2.6",
41+
"@nestjs/platform-express": "^8.3.1",
4242
"@nestjs/schedule": "^1.0.2",
43-
"axios": "^0.25.0",
43+
"axios": "^0.26.0",
4444
"cli-color": "^2.0.1",
4545
"cross-fetch": "^3.1.5",
46-
"dotenv": "^14.3.2",
46+
"dotenv": "^16.0.0",
4747
"env-var": "^7.1.1",
48-
"express": "^4.17.2",
48+
"express": "^4.17.3",
4949
"finis": "^0.4.5",
5050
"moment": "^2.29.1",
5151
"node-cron": "^3.0.0",
52-
"read-pkg-up": "^9.0.0",
53-
"rxjs": "^7.5.2",
52+
"read-pkg-up": "^9.1.0",
53+
"rxjs": "^7.5.4",
5454
"sheet-db": "^1.0.1",
5555
"time-constants": "^1.0.3",
5656
"vorpal-hacker-news": "^1.0.6",
@@ -73,8 +73,8 @@
7373
"@chatie/eslint-config": "^1.0.4",
7474
"@chatie/git-scripts": "^0.6.2",
7575
"@chatie/tsconfig": "^4.6.2",
76-
"@nestjs/cli": "^8.2.0",
77-
"@nestjs/schematics": "^8.0.5",
76+
"@nestjs/cli": "^8.2.1",
77+
"@nestjs/schematics": "^8.0.6",
7878
"@nestjs/testing": "^8.3.1",
7979
"@types/cli-color": "^2.0.2",
8080
"@types/cron": "^1.7.3",

src/application/ai-lib/dreamily-api.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ async function dreamilyApi (options: DreamilyApiOptions): Promise<string> {
3737
}
3838
// console.info('payload:', payload)
3939

40+
// Huan(202202)
41+
// FIXME: change axios -> fetch
4042
const response = await Axios.post<typeof payload & {
4143
data?: any
4244
}>(

src/core/statuspage/sagas/statuspage.saga.spec.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ test.only('messageReceived()', async t => {
4444
const PUPPET_ID = 'PUPPET_ID'
4545
const MESSAGE_ID = 'MESSAGE_ID'
4646

47-
const EVENT0 = new MessageMobileTerminatedEvent(PUPPET_ID, MESSAGE_ID + 0)
48-
const EVENT1 = new MessageMobileTerminatedEvent(PUPPET_ID, MESSAGE_ID + 1)
49-
const EVENT2 = new MessageMobileTerminatedEvent(PUPPET_ID, MESSAGE_ID + 2)
47+
const EVENT_0 = new MessageMobileTerminatedEvent(PUPPET_ID, MESSAGE_ID + 0)
48+
const EVENT_1 = new MessageMobileTerminatedEvent(PUPPET_ID, MESSAGE_ID + 1)
49+
const EVENT_2 = new MessageMobileTerminatedEvent(PUPPET_ID, MESSAGE_ID + 2)
5050

51-
const COMMAND0 = new SubmitMessagesMobileTerminatedCountCommand(0)
52-
const COMMAND1 = new SubmitMessagesMobileTerminatedCountCommand(1)
53-
const COMMAND2 = new SubmitMessagesMobileTerminatedCountCommand(2)
51+
const COMMAND_0 = new SubmitMessagesMobileTerminatedCountCommand(0)
52+
const COMMAND_1 = new SubmitMessagesMobileTerminatedCountCommand(1)
53+
const COMMAND_2 = new SubmitMessagesMobileTerminatedCountCommand(2)
5454

5555
const values = {
56-
a: EVENT0,
57-
b: EVENT1,
58-
c: EVENT2,
56+
a: EVENT_0,
57+
b: EVENT_1,
58+
c: EVENT_2,
5959

60-
x: COMMAND0,
61-
y: COMMAND1,
62-
z: COMMAND2,
60+
x: COMMAND_0,
61+
y: COMMAND_1,
62+
z: COMMAND_2,
6363
}
6464

6565
const actual = 'a - b - 4m 59s 996ms - c'

0 commit comments

Comments
 (0)