From a06dca5d24db3459c70b35c184e275c7768dfe75 Mon Sep 17 00:00:00 2001 From: siya Date: Fri, 3 Dec 2021 12:21:17 +0200 Subject: [PATCH 1/2] updated react peer dependencies --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d702d063..3ad6554d 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,10 @@ "name": "react-input-range", "version": "1.3.0", "description": "React component for inputting numeric values within a range", + "engines": { + "node": "16.13.0", + "npm": "7.0.0" + }, "keywords": [ "react", "react-component", @@ -38,7 +42,7 @@ "conventional-changelog-cli": "~1.2.0", "css-loader": "^0.27.3", "dom4": "^1.8.3", - "enzyme": "^2.7.1", + "enzyme": "^3.11.0", "esdoc": "^0.5.2", "esdoc-importpath-plugin": "^0.1.0", "eslint": "^3.14.0", @@ -72,8 +76,8 @@ "webpack-dev-server": "^2.4.2" }, "peerDependencies": { - "react": "^15.0.0 || ^16.0.0", - "react-dom": "^15.0.0 || ^16.0.0" + "react": "^15.0.0 || ^16.0.0 || ^17.0.2", + "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.2" }, "scripts": { "prebuild": "npm test && rm -rf lib", From 78a2d1689af3d63e4e62ad1834b44ee62c055e56 Mon Sep 17 00:00:00 2001 From: siya Date: Tue, 14 Dec 2021 06:59:57 +0200 Subject: [PATCH 2/2] Updated react and react-dom --- .travis.yml | 2 +- package.json | 23 +++++++++-------------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6889a228..420e3646 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: node_js node_js: - - 6 + - 16.13.1 sudo: false cache: yarn diff --git a/package.json b/package.json index 3ad6554d..cdf0d47b 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,6 @@ "name": "react-input-range", "version": "1.3.0", "description": "React component for inputting numeric values within a range", - "engines": { - "node": "16.13.0", - "npm": "7.0.0" - }, "keywords": [ "react", "react-component", @@ -25,12 +21,12 @@ "author": "David Chin", "license": "MIT", "devDependencies": { - "@types/react": "^15.0.1", + "@types/react": "^17.0.2", "autoprefixer": "^6.6.1", "babel-cli": "^6.22.2", "babel-core": "^6.22.1", "babel-eslint": "^7.1.1", - "babel-loader": "^6.2.10", + "babel-loader": "^8.2.3", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-istanbul": "^3.1.2", "babel-plugin-transform-decorators-legacy": "^1.3.4", @@ -51,7 +47,7 @@ "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^4.0.0", "eslint-plugin-react": "^6.9.0", - "extract-text-webpack-plugin": "^2.1.0", + "extract-text-webpack-plugin": "^3.0.2", "jasmine-core": "^2.5.2", "karma": "^1.4.0", "karma-babel-preprocessor": "^6.0.1", @@ -61,19 +57,18 @@ "karma-phantomjs-launcher": "^1.0.2", "karma-sourcemap-loader": "^0.3.7", "karma-webpack": "^2.0.1", - "node-sass": "^4.3.0", + "node-sass": "^7.0.0", "postcss-loader": "^1.2.2", - "react": "^15.5.4", - "react-addons-test-utils": "^15.4.2", - "react-dom": "^15.5.4", + "react": "^17.0.2", + "react-dom": "^17.0.2", "sass-lint": "^1.10.2", - "sass-loader": "^6.0.3", + "sass-loader": "^12.4.0", "sasslint-webpack-plugin": "^1.0.4", "style-loader": "^0.14.0", "uglify-js": "^2.8.16", "uglifyjs-webpack-plugin": "^0.3.1", - "webpack": "^2.2.1", - "webpack-dev-server": "^2.4.2" + "webpack": "^4.39.3", + "webpack-dev-server": "^4.6.0" }, "peerDependencies": { "react": "^15.0.0 || ^16.0.0 || ^17.0.2",