diff --git a/.nvmrc b/.nvmrc index b6a7d89c6..47979412e 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +16.20.1 diff --git a/.travis.yml b/.travis.yml index 5b1cfa07d..a159fb95d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ dist: focal language: node_js node_js: - - 16 + - 16.20.1 env: global: - MATTERMOST_CHANNEL='{"dev":"app---home","beta":"app---home,publication","stable":"app---home,publication"}' @@ -29,7 +29,7 @@ jobs: - name: Lint stage: lint node_js: - - 16 + - 16.20.1 script: yarn lint - name: Test stage: test @@ -37,7 +37,7 @@ jobs: - name: Build stage: build node_js: - - 16 + - 16.20.1 before_install: - 'if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then openssl aes-256-cbc -K $encrypted_8431ed5600b0_key -iv $encrypted_8431ed5600b0_iv -in ./scripts/id_rsa.enc -out /tmp/deploy_rsa -d; fi' - 'if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then eval "$(ssh-agent -s)"; fi' diff --git a/package.json b/package.json index 4808c8618..179617a25 100644 --- a/package.json +++ b/package.json @@ -56,18 +56,18 @@ "lodash": "4.17.21", "moment": "2.29.4", "papaparse": "5.3.1", - "prop-types": "^15.8.1", + "prop-types": "15.8.1", "react": "18.2.0", "react-dom": "18.2.0", "react-inspector": "5.1.1", "react-markdown": "4.3.1", "react-redux": "7.2.6", - "react-remove-scroll": "^2.5.5", + "react-remove-scroll": "2.5.5", "react-router-dom": "6.6.2", "react-swipeable-views": "0.14.0", "redux": "4.2.0", "redux-logger": "3.0.6", - "redux-persist": "^6.0.0", + "redux-persist": "6.0.0", "redux-thunk": "2.3.0", "terser-webpack-plugin": "1.4.4" }, @@ -85,9 +85,9 @@ "cozy-scripts": "^6.4.0", "eslint": "8.9.0", "eslint-config-cozy-app": "4.0.0", - "eslint-import-resolver-alias": "^1.1.2", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-import-alias": "^1.2.0", + "eslint-import-resolver-alias": "1.1.2", + "eslint-plugin-import": "2.26.0", + "eslint-plugin-import-alias": "1.2.0", "git-directory-deploy": "1.5.1", "husky": "1.3.1", "ignore-not-found-export-webpack-plugin": "1.0.2", @@ -97,7 +97,7 @@ "lint-staged": "8.2.1", "mockdate": "3.0.5", "npm-run-all": "4.1.5", - "react-hot-loader": "^4.13.0", + "react-hot-loader": "4.13.0", "react-test-renderer": "18.2.0", "remark-preset-lint-recommended": "5.0.0", "stylint": "2.0.0", diff --git a/yarn.lock b/yarn.lock index b3906ecee..998011eb1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10617,7 +10617,7 @@ eslint-config-prettier@^8.3.0: resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz#f7471b20b6fe8a9a9254cc684454202886a2dd7a" integrity sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew== -eslint-import-resolver-alias@^1.1.2: +eslint-import-resolver-alias@1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/eslint-import-resolver-alias/-/eslint-import-resolver-alias-1.1.2.tgz#297062890e31e4d6651eb5eba9534e1f6e68fc97" integrity sha512-WdviM1Eu834zsfjHtcGHtGfcu+F30Od3V7I9Fi57uhBEwPkjDcii7/yW8jAT+gOhn4P/vOxxNAXbFAKsrrc15w== @@ -10649,12 +10649,12 @@ eslint-module-utils@^2.7.3: debug "^3.2.7" find-up "^2.1.0" -eslint-plugin-import-alias@^1.2.0: +eslint-plugin-import-alias@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/eslint-plugin-import-alias/-/eslint-plugin-import-alias-1.2.0.tgz#93bd701cea442e0807c099c385a9adfb074f1c37" integrity sha512-hxhpWtaXgBTeCUmQa6EzjKI8vnrk7uej9e+ln2etTMPFAM7Q8xNPdBywSGrWf2mSB018D66sR1ZfdThonXCplg== -eslint-plugin-import@^2.26.0: +eslint-plugin-import@2.26.0: version "2.26.0" resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b" integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA== @@ -17780,7 +17780,7 @@ prompts@^2.4.0: kleur "^3.0.3" sisteransi "^1.0.5" -prop-types@^15.0.0, prop-types@^15.8.1: +prop-types@15.8.1, prop-types@^15.0.0: version "15.8.1" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== @@ -18118,7 +18118,7 @@ react-final-form@^3.7.0: dependencies: "@babel/runtime" "^7.1.2" -react-hot-loader@^4.13.0: +react-hot-loader@4.13.0: version "4.13.0" resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.13.0.tgz#c27e9408581c2a678f5316e69c061b226dc6a202" integrity sha512-JrLlvUPqh6wIkrK2hZDfOyq/Uh/WeVEr8nc7hkn2/3Ul0sx1Kr5y4kOGNacNRoj7RhwLNcQ3Udf1KJXrqc0ZtA== @@ -18270,6 +18270,17 @@ react-remove-scroll-bar@^2.3.3: react-style-singleton "^2.2.1" tslib "^2.0.0" +react-remove-scroll@2.5.5: + version "2.5.5" + resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + react-remove-scroll@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.4.1.tgz#e0af6126621083a5064591d367291a81b2d107f5" @@ -18281,17 +18292,6 @@ react-remove-scroll@^2.4.0: use-callback-ref "^1.2.3" use-sidecar "^1.0.1" -react-remove-scroll@^2.5.5: - version "2.5.5" - resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" - integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== - dependencies: - react-remove-scroll-bar "^2.3.3" - react-style-singleton "^2.2.1" - tslib "^2.1.0" - use-callback-ref "^1.3.0" - use-sidecar "^1.1.2" - react-router-dom@6.6.2: version "6.6.2" resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.6.2.tgz#bbf1f9b45855b218d22fc2d294b79408a084740a" @@ -18636,7 +18636,7 @@ redux-logger@3.0.6: dependencies: deep-diff "^0.3.5" -redux-persist@^6.0.0: +redux-persist@6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/redux-persist/-/redux-persist-6.0.0.tgz#b4d2972f9859597c130d40d4b146fecdab51b3a8" integrity sha512-71LLMbUq2r02ng2We9S215LtPu3fY0KgaGE0k8WRgl6RkqxtGfl7HUozz1Dftwsb0D/5mZ8dwAaPbtnzfvbEwQ==