From ada07ff95d1d6c4707f09fd8cc296638367a476d Mon Sep 17 00:00:00 2001 From: Justin Poehnelt Date: Fri, 27 Aug 2021 11:16:28 -0600 Subject: [PATCH] fix: use react as peer dependency (#141) --- package-lock.json | 17 +++++++++++------ package.json | 7 +++++-- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9ea88191..30617aff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4785,7 +4785,8 @@ "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true }, "js-yaml": { "version": "3.14.1", @@ -4987,6 +4988,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, "requires": { "js-tokens": "^3.0.0 || ^4.0.0" } @@ -5544,7 +5546,8 @@ "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true }, "object-copy": { "version": "0.1.0", @@ -6067,12 +6070,14 @@ } }, "react": { - "version": "17.0.1", - "resolved": "https://registry.npmjs.org/react/-/react-17.0.1.tgz", - "integrity": "sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w==", + "version": "16.14.0", + "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", + "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", + "dev": true, "requires": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "object-assign": "^4.1.1", + "prop-types": "^15.6.2" } }, "react-dom": { diff --git a/package.json b/package.json index 728e2c31..3ea32284 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "jest": "^26.6.3", "prettier": "^2.0.4", "react-dom": "^17.0.1", + "react": "^16.8.0", "rollup": "^2.40.0", "rollup-plugin-filesize": "^9.0.0", "rollup-plugin-terser": "^7.0.2", @@ -64,7 +65,9 @@ "registry": "https://wombat-dressing-room.appspot.com" }, "dependencies": { - "@googlemaps/js-api-loader": "^1.11.1", - "react": "^17.0.1" + "@googlemaps/js-api-loader": "^1.11.1" + }, + "peerDependencies": { + "react": "^16.8.0" } }