@@ -25,7 +25,7 @@ jobs:
fetch-depth: 100 # for revision index in version and the `has-changed-path` action
- uses: actions/setup-node@v2
with:
- node-version: '16'
+ node-version: '18'
- name: Build
env:
@@ -18,7 +18,7 @@ jobs:
- name: Prepare
run: yarn && node scripts/action-helper.js
@@ -17,7 +17,7 @@ jobs:
@@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v2
- name: Install deps
run: yarn
- name: Update translations
- name: Upload translations
@@ -45,7 +45,6 @@
"husky": "^8.0.1",
"jest-environment-jsdom": "^29.0.3",
"js-yaml": "^4.1.0",
- "node-fetch": "^3.2.10",
"plugin-error": "^2.0.0",
"postcss-scss": "^4.0.4",
"postcss-simple-vars": "^6.0.3",
@@ -73,7 +72,7 @@
"vueleton": "^2.0.2"
},
"engines": {
- "node": ">=16"
+ "node": ">=18"
"jest": {
"setupFilesAfterEnv": [
@@ -1,7 +1,6 @@
import { readFile, writeFile, mkdir } from 'fs/promises';
import spawn from 'cross-spawn';
import yaml from 'js-yaml';
-import fetch from 'node-fetch';
const PROJECT_ID = 'o:violentmonkey:p:violentmonkey-nex';
const RESOURCE_ID = `${PROJECT_ID}:r:messagesjson`;
@@ -7512,7 +7512,7 @@ node-fetch@^2.3.0, node-fetch@^2.6.7:
dependencies:
whatwg-url "^5.0.0"
-node-fetch@^3.2.10, node-fetch@^3.2.6:
+node-fetch@^3.2.6:
version "3.2.10"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.2.10.tgz#e8347f94b54ae18b57c9c049ef641cef398a85c8"
integrity sha512-MhuzNwdURnZ1Cp4XTazr69K0BTizsBroX7Zx3UgDSVcZYKF/6p0CBe4EUb/hLqmzVhl0UpYfgRljQ4yxE+iCxA==