Skip to content

Commit

Permalink
fix: set minimal supported Node.js version to 14 (#1160)
Browse files Browse the repository at this point in the history
* fix: set minimal supported Node.js version to 14

* chore: use matrix of node 14 and 16 for ci

* chore: bump @mswjs/interceptors to 0.15.1

* chore: bump "@mswjs/cookies" to 0.2.0
  • Loading branch information
kettanaito committed Mar 11, 2022
1 parent 6f7ed98 commit d7ab139
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -9,14 +9,17 @@ on:
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
node: [14, 16]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16.14.0
node-version: ${{ matrix.node }}
cache: yarn

- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -9,7 +9,7 @@
"msw": "cli/index.js"
},
"engines": {
"node": ">=16.x"
"node": ">=14"
},
"scripts": {
"start": "cross-env NODE_ENV=development rollup -c rollup.config.ts -w",
Expand Down Expand Up @@ -67,8 +67,8 @@
],
"sideEffects": false,
"dependencies": {
"@mswjs/cookies": "^0.1.7",
"@mswjs/interceptors": "^0.15.0",
"@mswjs/cookies": "^0.2.0",
"@mswjs/interceptors": "^0.15.1",
"@open-draft/until": "^1.0.3",
"@types/cookie": "^0.4.1",
"@types/js-levenshtein": "^1.1.1",
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Expand Up @@ -1694,18 +1694,18 @@
"@jridgewell/resolve-uri" "^3.0.3"
"@jridgewell/sourcemap-codec" "^1.4.10"

"@mswjs/cookies@^0.1.7":
version "0.1.7"
resolved "https://registry.yarnpkg.com/@mswjs/cookies/-/cookies-0.1.7.tgz#d334081b2c51057a61c1dd7b76ca3cac02251651"
integrity sha512-bDg1ReMBx+PYDB4Pk7y1Q07Zz1iKIEUWQpkEXiA2lEWg9gvOZ8UBmGXilCEUvyYoRFlmr/9iXTRR69TrgSwX/Q==
"@mswjs/cookies@^0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@mswjs/cookies/-/cookies-0.2.0.tgz#7ef2b5d7e444498bb27cf57720e61f76a4ce9f23"
integrity sha512-GTKYnIfXVP8GL8HRWrse+ujqDXCLKvu7+JoL6pvZFzS/d2i9pziByoWD69cOe35JNoSrx2DPNqrhUF+vgV3qUA==
dependencies:
"@types/set-cookie-parser" "^2.4.0"
set-cookie-parser "^2.4.6"

"@mswjs/interceptors@^0.15.0":
version "0.15.0"
resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.15.0.tgz#fb815fc03530f7a7c9933369a5de6ede83cb2a0c"
integrity sha512-g2B8eST3MMHRNG0SpfKuo3ueI1JDLe4nq8p3qxhbFaINy9W/9hR2vnsKbIDClfQXGU1MrPc4aawQjBj41fMnFQ==
"@mswjs/interceptors@^0.15.1":
version "0.15.1"
resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.15.1.tgz#4a0009f56e51bc2cd3176f1507065c7d2f6c0d5e"
integrity sha512-D5B+ZJNlfvBm6ZctAfRBdNJdCHYAe2Ix4My5qfbHV5WH+3lkt3mmsjiWJzEh5ZwGDauzY487TldI275If7DJVw==
dependencies:
"@open-draft/until" "^1.0.3"
"@xmldom/xmldom" "^0.7.5"
Expand Down

0 comments on commit d7ab139

Please sign in to comment.