Browse Source

Update Jest to v26, raise Companion requirements to Node.js >= 10.20.1 (#2472)

Renée Kooi 4 years ago
parent
commit
f3721ba16a
4 changed files with 316 additions and 418 deletions
  1. 2 10
      .travis.yml
  2. 311 405
      package-lock.json
  3. 2 2
      package.json
  4. 1 1
      packages/@uppy/companion/package.json

+ 2 - 10
.travis.yml

@@ -82,16 +82,8 @@ jobs:
       services:
         - docker
       script:
-        - nvm install 10.0.0
-        - nvm use 10.0.0
-        - npm run test:companion
-    - name: 'Run Companion tests (Node.js 8)'
-      node_js: 12
-      services:
-        - docker
-      script:
-        - nvm install 8.16.0
-        - nvm use 8.16.0
+        - nvm install 10.20.1
+        - nvm use 10.20.1
         - npm run test:companion
     # Build the website when things are merged to master
     # https://docs.travis-ci.com/user/deployment/#Conditional-Releases-with-on

File diff suppressed because it is too large
+ 311 - 405
package-lock.json


+ 2 - 2
package.json

@@ -119,7 +119,7 @@
     "aliasify": "2.1.0",
     "autoprefixer": "9.7.4",
     "aws-sdk": "^2.715.0",
-    "babel-jest": "25.5.1",
+    "babel-jest": "26.3.0",
     "babel-plugin-inline-package-json": "2.0.0",
     "babelify": "10.0.0",
     "brake": "1.0.1",
@@ -156,7 +156,7 @@
     "gzip-size": "5.1.1",
     "http-proxy": "1.18.0",
     "isomorphic-fetch": "2.2.1",
-    "jest": "25.5.4",
+    "jest": "26.4.0",
     "json3": "3.3.3",
     "last-commit-message": "1.0.0",
     "lerna": "^3.22.1",

+ 1 - 1
packages/@uppy/companion/package.json

@@ -90,6 +90,6 @@
     "test:watch": "npm test -- --watch"
   },
   "engines": {
-    "node": ">=6.0.0"
+    "node": ">=10.20.1"
   }
 }

Some files were not shown because too many files changed in this diff