From bda473698f7b0a83ee7b816daeadea048835ca74 Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Mon, 9 Dec 2024 00:37:30 +0300 Subject: [PATCH] chore: override whatwg-url version --- demo/nextjs/package.json | 5 ++- package.json | 5 ++- packages/better-auth/package.json | 5 ++- pnpm-lock.yaml | 75 +++++++------------------------ 4 files changed, 27 insertions(+), 63 deletions(-) diff --git a/demo/nextjs/package.json b/demo/nextjs/package.json index c3fac6c579..58fd476664 100644 --- a/demo/nextjs/package.json +++ b/demo/nextjs/package.json @@ -97,5 +97,8 @@ "postcss": "^8.4.49", "tailwindcss": "^3.4.16", "typescript": "^5.7.2" + }, + "overrides": { + "whatwg-url": "^14.0.0" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 49bab78ce1..e10b0fb8d9 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,8 @@ "mdast-util-frontmatter": "2.0.1", "remark-mdx": "3.0.0", "remark-parse": "11.0.0", - "unified": "11.0.4" + "unified": "11.0.4", + "whatwg-url": "^14.0.0" } } -} +} \ No newline at end of file diff --git a/packages/better-auth/package.json b/packages/better-auth/package.json index f78b77e851..104d4f9907 100644 --- a/packages/better-auth/package.json +++ b/packages/better-auth/package.json @@ -416,7 +416,10 @@ "uncrypto": "^0.1.3", "zod": "^3.23.8" }, + "overrides": { + "whatwg-url": "^14.0.0" + }, "files": [ "dist" ] -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a6c61838b8..f7d42cd44b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,10 +5,11 @@ settings: excludeLinksFromLockfile: false overrides: - remark-mdx: 3.0.0 - unified: 11.0.4 - remark-parse: 11.0.0 mdast-util-frontmatter: 2.0.1 + remark-mdx: 3.0.0 + remark-parse: 11.0.0 + unified: 11.0.4 + whatwg-url: ^14.0.0 importers: @@ -12156,9 +12157,6 @@ packages: lodash.pick@4.4.0: resolution: {integrity: sha512-hXt6Ul/5yWjfklSGvLQl8vM//l3FtyHZeuelpzK6mm99pNvN9yTDruNZPEJZD1oWrqo+izBmB7oUfWgcCX7s4Q==} - lodash.sortby@4.7.0: - resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} - lodash.throttle@4.1.1: resolution: {integrity: sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==} @@ -15898,15 +15896,9 @@ packages: resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} engines: {node: '>=6'} - tr46@0.0.3: - resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - - tr46@1.0.1: - resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} - - tr46@4.1.1: - resolution: {integrity: sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==} - engines: {node: '>=14'} + tr46@5.0.0: + resolution: {integrity: sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==} + engines: {node: '>=18'} traverse@0.6.10: resolution: {integrity: sha512-hN4uFRxbK+PX56DxYiGHsTn2dME3TVr9vbNqlQGcGcPhJAn+tdP126iA+TArMpI4YSgnTkMWyoLl5bf81Hi5TA==} @@ -17014,12 +17006,6 @@ packages: web-worker@1.3.0: resolution: {integrity: sha512-BSR9wyRsy/KOValMgd5kMyr3JzpdeoR9KVId8u5GVlTTAtNChlsE4yTxeY7zMdNSyOmoKBv8NH2qeRY9Tg+IaA==} - webidl-conversions@3.0.1: - resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - - webidl-conversions@4.0.2: - resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} - webidl-conversions@5.0.0: resolution: {integrity: sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==} engines: {node: '>=8'} @@ -17042,15 +17028,9 @@ packages: resolution: {integrity: sha512-HoKuzZrUlgpz35YO27XgD28uh/WJH4B0+3ttFqRo//lmq+9T/mIOJ6kqmINI9HpUpz1imRC/nR/lxKpJiv0uig==} engines: {node: '>=10'} - whatwg-url@13.0.0: - resolution: {integrity: sha512-9WWbymnqj57+XEuqADHrCJ2eSXzn8WXIW/YSGaZtb2WKAInQ6CHfaUUcTyyver0p8BDg5StLQq8h1vtZuwmOig==} - engines: {node: '>=16'} - - whatwg-url@5.0.0: - resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - - whatwg-url@7.1.0: - resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + whatwg-url@14.1.0: + resolution: {integrity: sha512-jlf/foYIKywAt3x/XWKZ/3rz8OSJPiWktjmk891alJUEjiVxKX9LEO92qH3hv4aJ0mN3MWPvGMCy8jQi95xK4w==} + engines: {node: '>=18'} which-boxed-primitive@1.0.2: resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} @@ -30796,8 +30776,6 @@ snapshots: lodash.pick@4.4.0: {} - lodash.sortby@4.7.0: {} - lodash.throttle@4.1.1: {} lodash.uniq@4.5.0: {} @@ -32088,7 +32066,7 @@ snapshots: mongodb-connection-string-url@3.0.1: dependencies: '@types/whatwg-url': 11.0.5 - whatwg-url: 13.0.0 + whatwg-url: 14.1.0 mongodb@6.11.0: dependencies: @@ -32544,7 +32522,7 @@ snapshots: node-fetch@2.7.0(encoding@0.1.13): dependencies: - whatwg-url: 5.0.0 + whatwg-url: 14.1.0 optionalDependencies: encoding: 0.1.13 @@ -35174,7 +35152,7 @@ snapshots: source-map@0.8.0-beta.0: dependencies: - whatwg-url: 7.1.0 + whatwg-url: 14.1.0 space-separated-tokens@2.0.2: {} @@ -35845,13 +35823,7 @@ snapshots: totalist@3.0.1: {} - tr46@0.0.3: {} - - tr46@1.0.1: - dependencies: - punycode: 2.3.1 - - tr46@4.1.1: + tr46@5.0.0: dependencies: punycode: 2.3.1 @@ -37203,10 +37175,6 @@ snapshots: web-worker@1.3.0: {} - webidl-conversions@3.0.1: {} - - webidl-conversions@4.0.2: {} - webidl-conversions@5.0.0: {} webidl-conversions@7.0.0: {} @@ -37223,22 +37191,11 @@ snapshots: punycode: 2.3.1 webidl-conversions: 5.0.0 - whatwg-url@13.0.0: + whatwg-url@14.1.0: dependencies: - tr46: 4.1.1 + tr46: 5.0.0 webidl-conversions: 7.0.0 - whatwg-url@5.0.0: - dependencies: - tr46: 0.0.3 - webidl-conversions: 3.0.1 - - whatwg-url@7.1.0: - dependencies: - lodash.sortby: 4.7.0 - tr46: 1.0.1 - webidl-conversions: 4.0.2 - which-boxed-primitive@1.0.2: dependencies: is-bigint: 1.0.4