diff --git a/package.json b/package.json index 49979c1..377d52f 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "homepage": "https://github.com/RaddishIoW/React-RelativeTime#readme", "dependencies": { "@babel/runtime": "^7.12.5", - "luxon": "^1.25.0", + "luxon": "^2.0.0", "react": "^16.0.0 || ^17.0.1 || ^17.0.1", "react-dom": "^16.0.0 || ^17.0.1 || ^17.0.1" }, @@ -51,7 +51,7 @@ "@types/babel__preset-env": "7.9.2", "@types/eslint": "7.29.0", "@types/jest": "26.0.24", - "@types/luxon": "1.27.1", + "@types/luxon": "2.3.1", "@types/react": "17.0.44", "@types/react-dom": "17.0.15", "@types/testing-library__jest-dom": "5.14.3", diff --git a/yarn.lock b/yarn.lock index b1b1aba..92017f6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2175,10 +2175,10 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= -"@types/luxon@1.27.1": - version "1.27.1" - resolved "https://registry.yarnpkg.com/@types/luxon/-/luxon-1.27.1.tgz#aceeb2d5be8fccf541237e184e37ecff5faa9096" - integrity sha512-cPiXpOvPFDr2edMnOXlz3UBDApwUfR+cpizvxCy0n3vp9bz/qe8BWzHPIEFcy+ogUOyjKuCISgyq77ELZPmkkg== +"@types/luxon@2.3.1": + version "2.3.1" + resolved "https://registry.yarnpkg.com/@types/luxon/-/luxon-2.3.1.tgz#e34763178b46232e4c5f079f1706e18692415519" + integrity sha512-nAPUltOT28fal2eDZz8yyzNhBjHw1NEymFBP7Q9iCShqpflWPybxHbD7pw/46jQmT+HXOy1QN5hNTms8MOTlOQ== "@types/mdast@^3.0.0", "@types/mdast@^3.0.3": version "3.0.3" @@ -6719,10 +6719,10 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -luxon@^1.25.0: - version "1.25.0" - resolved "https://registry.yarnpkg.com/luxon/-/luxon-1.25.0.tgz#d86219e90bc0102c0eb299d65b2f5e95efe1fe72" - integrity sha512-hEgLurSH8kQRjY6i4YLey+mcKVAWXbDNlZRmM6AgWDJ1cY3atl8Ztf5wEY7VBReFbmGnwQPz7KYJblL8B2k0jQ== +luxon@^2.0.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/luxon/-/luxon-2.3.1.tgz#f276b1b53fd9a740a60e666a541a7f6dbed4155a" + integrity sha512-I8vnjOmhXsMSlNMZlMkSOvgrxKJl0uOsEzdGgGNZuZPaS9KlefpE9KV95QFftlJSC+1UyCC9/I69R02cz/zcCA== lz-string@^1.4.4: version "1.4.4"