From d32f1efed3adcbc7fe907aa4051eb319564a16f0 Mon Sep 17 00:00:00 2001 From: theLAZYmd Date: Sun, 11 Apr 2021 03:01:15 +0100 Subject: [PATCH] Update to latest react --- package-lock.json | 83 ++++++++++++++++++++++++++++++++++++----------- package.json | 8 +++-- 2 files changed, 69 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index c38b68d..70cff16 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,26 +1,25 @@ { "name": "reactjs-google-calendar", - "version": "2.0.1", + "version": "2.1.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "reactjs-google-calendar", - "version": "2.0.1", + "version": "2.1.3", "license": "MIT", "dependencies": { "axios": "^0.21.1", "classnames": "^2.2.6", "he": "^1.2.0", - "react": "^17.0.2", - "react-icons": "^4.2.0" + "reactjs-google-calendar": "^2.1.3" }, "devDependencies": { "@rollup/plugin-json": "^4.1.0", "@types/classnames": "^2.2.11", "@types/he": "^1.1.0", "@types/node": "^14.14.37", - "@types/react": "^16.9.12", + "@types/react": "^17.0.3", "react-scripts": "^4.0.3", "rollup": "^1.32.1", "rollup-plugin-commonjs": "^10.1.0", @@ -30,6 +29,10 @@ "rollup-plugin-typescript2": "^0.30.0", "tslib": "^2.1.0", "typescript": "^4.2.3" + }, + "peerDependencies": { + "react": "^17.0.2", + "react-icons": "^4.2.0" } }, "node_modules/@babel/code-frame": { @@ -2738,13 +2741,14 @@ "dev": true }, "node_modules/@types/react": { - "version": "16.9.12", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.12.tgz", - "integrity": "sha512-tc2xuDvJ8uhGmRg/WVpn2IltHoGqijmxntSNkl2tgbMH2boX78ptcAWdyXPgxD0FoaYw8CczUdvjD1G8Y0JtSw==", + "version": "17.0.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.3.tgz", + "integrity": "sha512-wYOUxIgs2HZZ0ACNiIayItyluADNbONl7kt8lkLjVK8IitMH5QMyAh75Fwhmo37r1m7L2JaFj03sIfxBVDvRAg==", "dev": true, "dependencies": { "@types/prop-types": "*", - "csstype": "^2.2.0" + "@types/scheduler": "*", + "csstype": "^3.0.2" } }, "node_modules/@types/resolve": { @@ -2756,6 +2760,12 @@ "@types/node": "*" } }, + "node_modules/@types/scheduler": { + "version": "0.16.1", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.1.tgz", + "integrity": "sha512-EaCxbanVeyxDRTQBkdLb3Bvl/HK7PBK6UJjsSixB0iHKoWxE5uu2Q/DgtpOhPIojN0Zl1whvOd7PoHs2P0s5eA==", + "dev": true + }, "node_modules/@types/source-list-map": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz", @@ -5936,9 +5946,9 @@ "dev": true }, "node_modules/csstype": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.7.tgz", - "integrity": "sha512-9Mcn9sFbGBAdmimWb2gLVDtFJzeKtDGIr76TUqmjZrw9LFXBMSU70lcs+C0/7fyCd6iBDqmksUcCOUIkisPHsQ==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz", + "integrity": "sha512-KxnUB0ZMlnUWCsx2Z8MUsr6qV6ja1w9ArPErJaJaF8a5SOWoHLIszeCTKGRGRgtLgYrs1E8CHkNSP1VZTTPc9g==", "dev": true }, "node_modules/cyclist": { @@ -16051,6 +16061,7 @@ "version": "17.0.2", "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "peer": true, "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" @@ -16233,6 +16244,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.2.0.tgz", "integrity": "sha512-rmzEDFt+AVXRzD7zDE21gcxyBizD/3NqjbX6cmViAgdqfJ2UiLer8927/QhhrXQV7dEj/1EGuOTPp7JnLYVJKQ==", + "peer": true, "peerDependencies": { "react": "*" } @@ -16327,6 +16339,20 @@ "fsevents": "^2.1.3" } }, + "node_modules/reactjs-google-calendar": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/reactjs-google-calendar/-/reactjs-google-calendar-2.1.3.tgz", + "integrity": "sha512-TDEu/3Q+NnyBEyAkirYv760GIrujz9UzEwV0a+cK7K5YzkOc6mJHJ+eYk0SDgrYeBcD4KMRmQYfgkEunO4oF0A==", + "dependencies": { + "axios": "^0.21.1", + "classnames": "^2.2.6", + "he": "^1.2.0" + }, + "peerDependencies": { + "react": "^17.0.2", + "react-icons": "^4.2.0" + } + }, "node_modules/read-pkg": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", @@ -24303,13 +24329,14 @@ "dev": true }, "@types/react": { - "version": "16.9.12", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.12.tgz", - "integrity": "sha512-tc2xuDvJ8uhGmRg/WVpn2IltHoGqijmxntSNkl2tgbMH2boX78ptcAWdyXPgxD0FoaYw8CczUdvjD1G8Y0JtSw==", + "version": "17.0.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.3.tgz", + "integrity": "sha512-wYOUxIgs2HZZ0ACNiIayItyluADNbONl7kt8lkLjVK8IitMH5QMyAh75Fwhmo37r1m7L2JaFj03sIfxBVDvRAg==", "dev": true, "requires": { "@types/prop-types": "*", - "csstype": "^2.2.0" + "@types/scheduler": "*", + "csstype": "^3.0.2" } }, "@types/resolve": { @@ -24321,6 +24348,12 @@ "@types/node": "*" } }, + "@types/scheduler": { + "version": "0.16.1", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.1.tgz", + "integrity": "sha512-EaCxbanVeyxDRTQBkdLb3Bvl/HK7PBK6UJjsSixB0iHKoWxE5uu2Q/DgtpOhPIojN0Zl1whvOd7PoHs2P0s5eA==", + "dev": true + }, "@types/source-list-map": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz", @@ -27097,9 +27130,9 @@ } }, "csstype": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.7.tgz", - "integrity": "sha512-9Mcn9sFbGBAdmimWb2gLVDtFJzeKtDGIr76TUqmjZrw9LFXBMSU70lcs+C0/7fyCd6iBDqmksUcCOUIkisPHsQ==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz", + "integrity": "sha512-KxnUB0ZMlnUWCsx2Z8MUsr6qV6ja1w9ArPErJaJaF8a5SOWoHLIszeCTKGRGRgtLgYrs1E8CHkNSP1VZTTPc9g==", "dev": true }, "cyclist": { @@ -35527,6 +35560,7 @@ "version": "17.0.2", "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "peer": true, "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" @@ -35672,6 +35706,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.2.0.tgz", "integrity": "sha512-rmzEDFt+AVXRzD7zDE21gcxyBizD/3NqjbX6cmViAgdqfJ2UiLer8927/QhhrXQV7dEj/1EGuOTPp7JnLYVJKQ==", + "peer": true, "requires": {} }, "react-is": { @@ -35753,6 +35788,16 @@ "workbox-webpack-plugin": "5.1.4" } }, + "reactjs-google-calendar": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/reactjs-google-calendar/-/reactjs-google-calendar-2.1.3.tgz", + "integrity": "sha512-TDEu/3Q+NnyBEyAkirYv760GIrujz9UzEwV0a+cK7K5YzkOc6mJHJ+eYk0SDgrYeBcD4KMRmQYfgkEunO4oF0A==", + "requires": { + "axios": "^0.21.1", + "classnames": "^2.2.6", + "he": "^1.2.0" + } + }, "read-pkg": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", diff --git a/package.json b/package.json index 0cc7329..411d85f 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "types": "./lib/index.d.ts", "scripts": { "build": "rollup -c", - "test": "react-scripts start" + "test": "react-scripts start", + "deploy": "npm publish" }, "repository": { "type": "git", @@ -30,7 +31,8 @@ "dependencies": { "axios": "^0.21.1", "classnames": "^2.2.6", - "he": "^1.2.0" + "he": "^1.2.0", + "reactjs-google-calendar": "^2.1.3" }, "peerDependencies": { "react": "^17.0.2", @@ -41,7 +43,7 @@ "@types/classnames": "^2.2.11", "@types/he": "^1.1.0", "@types/node": "^14.14.37", - "@types/react": "^16.9.12", + "@types/react": "^17.0.3", "react-scripts": "^4.0.3", "rollup": "^1.32.1", "rollup-plugin-commonjs": "^10.1.0",