From ec503b33afadda11e3e44caba6d7eb339904cf16 Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Mon, 9 Oct 2023 16:04:37 +0300 Subject: [PATCH] chore: update Node version (#3) * chore: update Node version * chore(deps): update crowdin-api-client --- .github/workflows/deploy.yml | 2 +- .github/workflows/tests.yml | 2 +- package-lock.json | 68 ++++++++++++++++++++++-------------- package.json | 6 ++-- 4 files changed, 46 insertions(+), 32 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index af86258..bd95ee8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 18.x cache: 'npm' - run: npm install - run: npm install -g zapier-platform-cli diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 09d0cf3..072de76 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,7 +30,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 18.x cache: 'npm' - run: npm install - run: npm install -g zapier-platform-cli diff --git a/package-lock.json b/package-lock.json index 857c41c..8370e98 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,14 +1,14 @@ { "name": "crowdin", - "version": "1.0.12", + "version": "1.0.13", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "crowdin", - "version": "1.0.12", + "version": "1.0.13", "dependencies": { - "@crowdin/crowdin-api-client": "^1.18.1", + "@crowdin/crowdin-api-client": "1.24.0", "axios": "^0.27.2", "zapier-platform-core": "12.0.3" }, @@ -17,27 +17,29 @@ "should": "^13.2.3" }, "engines": { - "node": ">=v14", - "npm": ">=5.6.0" + "node": ">=v18", + "npm": ">=9.0.0" } }, "node_modules/@crowdin/crowdin-api-client": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/@crowdin/crowdin-api-client/-/crowdin-api-client-1.18.1.tgz", - "integrity": "sha512-U3ERDrd+EsQXoeLuVZPQdtTOSHOqgLJMe8xfFvGIZX4KM/vcltvXVfehSOUcUo0tG+DNAwFRsrnIcgbK6S534w==", + "version": "1.24.0", + "resolved": "https://registry.npmjs.org/@crowdin/crowdin-api-client/-/crowdin-api-client-1.24.0.tgz", + "integrity": "sha512-nf7UoV5Y/gafrDP3Lp0Q2qm3PCXJ6r0NrhqTGtCZWAQHwZs0QVNNXpggBWlbu+yCnoDvIECM74wCqtd2VGrHwA==", "dependencies": { - "axios": "0.21.3" + "axios": "^1" }, "engines": { "node": ">=12.9.0" } }, "node_modules/@crowdin/crowdin-api-client/node_modules/axios": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.3.tgz", - "integrity": "sha512-JtoZ3Ndke/+Iwt5n+BgSli/3idTvpt5OjKyoCmz4LX5+lPiY5l7C1colYezhlxThjNa/NhngCUWZSZFypIFuaA==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.1.tgz", + "integrity": "sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A==", "dependencies": { - "follow-redirects": "^1.14.0" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "node_modules/@types/node": { @@ -422,9 +424,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.14.9", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", - "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==", + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", + "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", "funding": [ { "type": "individual", @@ -909,6 +911,11 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", @@ -1239,19 +1246,21 @@ }, "dependencies": { "@crowdin/crowdin-api-client": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/@crowdin/crowdin-api-client/-/crowdin-api-client-1.18.1.tgz", - "integrity": "sha512-U3ERDrd+EsQXoeLuVZPQdtTOSHOqgLJMe8xfFvGIZX4KM/vcltvXVfehSOUcUo0tG+DNAwFRsrnIcgbK6S534w==", + "version": "1.24.0", + "resolved": "https://registry.npmjs.org/@crowdin/crowdin-api-client/-/crowdin-api-client-1.24.0.tgz", + "integrity": "sha512-nf7UoV5Y/gafrDP3Lp0Q2qm3PCXJ6r0NrhqTGtCZWAQHwZs0QVNNXpggBWlbu+yCnoDvIECM74wCqtd2VGrHwA==", "requires": { - "axios": "0.21.3" + "axios": "^1" }, "dependencies": { "axios": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.3.tgz", - "integrity": "sha512-JtoZ3Ndke/+Iwt5n+BgSli/3idTvpt5OjKyoCmz4LX5+lPiY5l7C1colYezhlxThjNa/NhngCUWZSZFypIFuaA==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.1.tgz", + "integrity": "sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A==", "requires": { - "follow-redirects": "^1.14.0" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } } } @@ -1542,9 +1551,9 @@ "dev": true }, "follow-redirects": { - "version": "1.14.9", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", - "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==" + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", + "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==" }, "form-data": { "version": "4.0.0", @@ -1874,6 +1883,11 @@ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", diff --git a/package.json b/package.json index 6534ccc..5a579a6 100644 --- a/package.json +++ b/package.json @@ -9,11 +9,11 @@ "env": "zapier env:set 1.0.5 ${npm_config_var}=${npm_config_val}" }, "engines": { - "node": ">=v14", - "npm": ">=5.6.0" + "node": ">=v18", + "npm": ">=9.0.0" }, "dependencies": { - "@crowdin/crowdin-api-client": "^1.18.1", + "@crowdin/crowdin-api-client": "1.24.0", "axios": "^0.27.2", "zapier-platform-core": "12.0.3" },