diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90cd29a..651c9c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,14 +10,14 @@ on: jobs: nodejs: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 14 + node-version: 16 registry-url: 'https://registry.npmjs.org' - name: Install packages diff --git a/.nvmrc b/.nvmrc index 8351c19..19c7bdb 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14 +16 \ No newline at end of file diff --git a/package.json b/package.json index 5a49211..7aee9ef 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "test": "check-dts index.d.ts && mocha tests/*.test.js tests/**/*.test.js -R spec" }, "dependencies": { - "cookie": "^0.5.0", + "cookie": "<1", "lodash.take": "^4.1.1" }, "devDependencies": { @@ -84,6 +84,6 @@ }, "homepage": "https://authress.io", "engines": { - "node": ">=14" + "node": ">=16" } } diff --git a/yarn.lock b/yarn.lock index de8449c..bedd6ad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1870,10 +1870,10 @@ convert-source-map@^1.7.0: resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== -cookie@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" - integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== +cookie@<1: + version "0.7.2" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7" + integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w== core-js-compat@^3.25.1: version "3.26.0"