diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9eaf1386c..2f86bbc8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16.14.0 - name: Install dependencies uses: bahmutov/npm-install@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 562e9c5cf..b1b59dde4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16.14.0 - name: Install dependencies uses: bahmutov/npm-install@v1 diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 6080f138c..15f911c7b 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16.14.0 - name: Install dependencies uses: bahmutov/npm-install@v1 diff --git a/.nvmrc b/.nvmrc index f76f7d6b2..e2838c8b8 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v12.22.0 \ No newline at end of file +v16.14.0 \ No newline at end of file diff --git a/package.json b/package.json index c8cbb58e2..16407851a 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,9 @@ "bin": { "msw": "cli/index.js" }, + "engines": { + "node": ">=16.x" + }, "scripts": { "start": "cross-env NODE_ENV=development rollup -c rollup.config.ts -w", "clean": "rimraf lib {native,node}/lib", @@ -65,7 +68,7 @@ "sideEffects": false, "dependencies": { "@mswjs/cookies": "^0.1.7", - "@mswjs/interceptors": "^0.13.5", + "@mswjs/interceptors": "^0.13.6", "@open-draft/until": "^1.0.3", "@types/cookie": "^0.4.1", "@types/js-levenshtein": "^1.1.1", diff --git a/yarn.lock b/yarn.lock index 5489e8dd3..d73f53395 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1702,10 +1702,10 @@ "@types/set-cookie-parser" "^2.4.0" set-cookie-parser "^2.4.6" -"@mswjs/interceptors@^0.13.5": - version "0.13.5" - resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.13.5.tgz#51d8a10562a4313774eebdb417a9c55f5204c247" - integrity sha512-hZnq197mUDLfTBRgWYOxgPP39VNHavKYfCBqU1QGilGqPYgmHBLI3U2LmlCXggD7uOHmDiv7Dizu1K8u80jQOA== +"@mswjs/interceptors@^0.13.6": + version "0.13.6" + resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.13.6.tgz#db46ba29c9ec118aefcf6ef61ecc38b25837967f" + integrity sha512-28FzF44Q84h9vxQ0XBpEz940KC/q3fzlo+TtaIyfilnJ7+HeIcnVfRM4hkp0/q2Uh466PmgpD4BH7A0F0kCBbQ== dependencies: "@open-draft/until" "^1.0.3" "@xmldom/xmldom" "^0.7.5"