Skip to content

Commit

Permalink
Replace tiny-warning with warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jan 5, 2024
1 parent 7fc3da6 commit 1916b0e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 11 deletions.
3 changes: 2 additions & 1 deletion packages/react-calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@
"clsx": "^2.0.0",
"get-user-locale": "^2.2.1",
"prop-types": "^15.6.0",
"tiny-warning": "^1.0.0"
"warning": "^4.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@types/node": "*",
"@types/react": "*",
"@types/warning": "^3.0.0",
"cpy-cli": "^5.0.0",
"eslint": "^8.26.0",
"eslint-config-wojtekmaj": "^0.9.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-calendar/src/shared/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warning from 'tiny-warning';
import warning from 'warning';

import { CALENDAR_TYPES, DEPRECATED_CALENDAR_TYPES } from './const.js';
import { getRange } from './dates.js';
Expand Down
28 changes: 19 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,13 @@ __metadata:
languageName: node
linkType: hard

"@types/warning@npm:^3.0.0":
version: 3.0.3
resolution: "@types/warning@npm:3.0.3"
checksum: 82c1235bd05d7f6940f80012404844e225d589ad338aa4585b231a2c8deacc695b683f4168757c82c10047b81854cbeaaeefd60536dd67bb48f8a65e20410652
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:^6.0.0":
version: 6.0.0
resolution: "@typescript-eslint/eslint-plugin@npm:6.0.0"
Expand Down Expand Up @@ -3229,7 +3236,7 @@ __metadata:
languageName: node
linkType: hard

"loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0":
"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0":
version: 1.4.0
resolution: "loose-envify@npm:1.4.0"
dependencies:
Expand Down Expand Up @@ -4116,6 +4123,7 @@ __metadata:
"@testing-library/react": "npm:^14.0.0"
"@types/node": "npm:*"
"@types/react": "npm:*"
"@types/warning": "npm:^3.0.0"
"@wojtekmaj/date-utils": "npm:^1.1.3"
clsx: "npm:^2.0.0"
cpy-cli: "npm:^5.0.0"
Expand All @@ -4129,9 +4137,9 @@ __metadata:
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
rimraf: "npm:^3.0.0"
tiny-warning: "npm:^1.0.0"
typescript: "npm:^5.3.2"
vitest: "npm:^1.0.2"
warning: "npm:^4.0.0"
peerDependencies:
"@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0
Expand Down Expand Up @@ -4828,13 +4836,6 @@ __metadata:
languageName: node
linkType: hard

"tiny-warning@npm:^1.0.0":
version: 1.0.3
resolution: "tiny-warning@npm:1.0.3"
checksum: ef8531f581b30342f29670cb41ca248001c6fd7975ce22122bd59b8d62b4fc84ad4207ee7faa95cde982fa3357cd8f4be650142abc22805538c3b1392d7084fa
languageName: node
linkType: hard

"tinybench@npm:^2.5.1":
version: 2.5.1
resolution: "tinybench@npm:2.5.1"
Expand Down Expand Up @@ -5134,6 +5135,15 @@ __metadata:
languageName: node
linkType: hard

"warning@npm:^4.0.0":
version: 4.0.3
resolution: "warning@npm:4.0.3"
dependencies:
loose-envify: "npm:^1.0.0"
checksum: aebab445129f3e104c271f1637fa38e55eb25f968593e3825bd2f7a12bd58dc3738bb70dc8ec85826621d80b4acfed5a29ebc9da17397c6125864d72301b937e
languageName: node
linkType: hard

"webidl-conversions@npm:^7.0.0":
version: 7.0.0
resolution: "webidl-conversions@npm:7.0.0"
Expand Down

0 comments on commit 1916b0e

Please sign in to comment.