Skip to content

Commit 8a7abd8

Browse files
committed
Downgrade fastify for Node 12 compatibility
1 parent c88b07a commit 8a7abd8

File tree

3 files changed

+407
-278
lines changed

3 files changed

+407
-278
lines changed

wsi-test-helper/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import getPort from "get-port";
99
import puppeteer from "puppeteer";
1010
import Fastify from "fastify";
11-
import FastifyStatic from "@fastify/static";
11+
import FastifyStatic from "fastify-static";
1212
import { resolve } from "path";
1313
import type { Compiler, Stats } from "webpack";
1414

wsi-test-helper/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@
66
"license": "MIT",
77
"private": true,
88
"devDependencies": {
9-
"@fastify/static": "^6.8.0",
109
"@tsconfig/node12": "^1.0.9",
1110
"@types/connect": "^3.4.35",
11+
"@types/fastify-static": "^0.14.0",
1212
"@types/node": "^14.17.5",
1313
"@types/puppeteer": "^5.4.5",
1414
"@types/serve-static": "^1.13.10",
1515
"connect": "^3.7.0",
16-
"fastify": "^4.12.0",
16+
"fastify": "^3.29.5",
1717
"fastify-graceful-shutdown": "^3.4.0",
18+
"fastify-static": "^4.7.0",
1819
"get-port": "^5.1.1",
1920
"http-shutdown": "^1.2.2",
2021
"puppeteer": "^13.5.1",

0 commit comments

Comments
 (0)