Skip to content

Commit 75a71be

Browse files
authored
Update async version to 3.2.0 (#5821)
1 parent 272a247 commit 75a71be

File tree

19 files changed

+155
-81
lines changed

19 files changed

+155
-81
lines changed

examples/data-objects/scribe/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@fluidframework/sequence": "^0.39.0",
5050
"@fluidframework/view-interfaces": "^0.39.0",
5151
"@types/node": "^12.19.0",
52-
"async": "^2.6.1",
52+
"async": "^3.2.0",
5353
"axios": "^0.21.1",
5454
"bootstrap": "^3.3.7",
5555
"css-loader": "^1.0.0",
@@ -61,7 +61,7 @@
6161
"@fluidframework/build-common": "^0.21.0-0",
6262
"@fluidframework/eslint-config-fluid": "^0.23.0",
6363
"@fluidframework/webpack-fluid-loader": "^0.39.0",
64-
"@types/async": "^2.0.50",
64+
"@types/async": "^3.2.6",
6565
"@types/lodash": "^4.14.118",
6666
"@typescript-eslint/eslint-plugin": "~4.14.0",
6767
"@typescript-eslint/parser": "~4.14.0",

examples/data-objects/scribe/src/tools-core/author.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ export async function typeFile(
222222
metricsArray.push(metric);
223223
});
224224
}
225-
q.drain = () => {
225+
q.drain(() => {
226226
const now = Date.now();
227227
metrics.time = now - startTime;
228228
resolve(metricsArray[0]);
229-
};
229+
});
230230
});
231231
}
232232
}

lerna-package-lock.json

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

server/auspkn/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@types/request": "^2.47.0",
5353
"@types/request-promise-native": "^1.0.14",
5454
"@types/supertest": "^2.0.4",
55-
"async": "^2.5.0",
55+
"async": "^3.2.0",
5656
"concurrently": "^5.2.0",
5757
"mocha": "^8.1.1",
5858
"moniker": "^0.1.2",

server/gitrest/package-lock.json

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

server/gitrest/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"devDependencies": {
4242
"@fluidframework/build-common": "^0.19.2",
4343
"@fluidframework/eslint-config-fluid": "^0.23.0",
44-
"@types/async": "^2.0.50",
44+
"@types/async": "^3.2.6",
4545
"@types/cors": "^2.8.4",
4646
"@types/debug": "^4.1.5",
4747
"@types/lorem-ipsum": "^1.0.2",
@@ -56,7 +56,7 @@
5656
"@types/winston": "^2.4.4",
5757
"@typescript-eslint/eslint-plugin": "~4.2.0",
5858
"@typescript-eslint/parser": "~4.2.0",
59-
"async": "^2.5.0",
59+
"async": "^3.2.0",
6060
"concurrently": "^3.5.1",
6161
"eslint": "~7.9.0",
6262
"eslint-plugin-eslint-comments": "~3.2.0",

server/gitrest/src/test/routes.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -493,17 +493,17 @@ describe("GitRest", () => {
493493
5);
494494

495495
const resultP = new Promise<void>((resolve, reject) => {
496-
queue.drain = () => {
496+
queue.drain(() => {
497497
resolve();
498-
};
498+
});
499499

500-
queue.error = (error) => {
500+
queue.error((error) => {
501501
reject(error);
502-
};
502+
});
503503
});
504504

505505
for (let i = 0; i < 100; i++) {
506-
queue.push(i);
506+
void queue.push(i);
507507
}
508508

509509
return resultP;

server/gitrest/src/test/treebuilder.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ describe("Treebuilder", () => {
4949
});
5050
}, concurrency);
5151

52-
q.drain = () => {
52+
q.drain(() => {
5353
resolve();
54-
};
54+
});
5555

5656
for (let i = 0; i < treeCount; i++) {
57-
q.push(1);
57+
void q.push(1);
5858
}
5959
});
6060
});

server/historian/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@types/supertest": "^2.0.7",
5656
"@typescript-eslint/eslint-plugin": "~4.14.0",
5757
"@typescript-eslint/parser": "~4.14.0",
58-
"async": "^2.5.0",
58+
"async": "^3.2.0",
5959
"concurrently": "^5.2.0",
6060
"copyfiles": "^2.1.0",
6161
"eslint": "~7.18.0",

server/historian/packages/historian-base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@types/uuid": "^3.4.4",
6262
"@typescript-eslint/eslint-plugin": "~4.14.0",
6363
"@typescript-eslint/parser": "~4.14.0",
64-
"async": "^2.5.0",
64+
"async": "^3.2.0",
6565
"axios-mock-adapter": "^1.19.0",
6666
"concurrently": "^5.2.0",
6767
"eslint": "~7.18.0",

0 commit comments

Comments
 (0)