From 039cca5fdb4b948202e2bee51b68a4266f311dc7 Mon Sep 17 00:00:00 2001 From: Igor de Paula Date: Tue, 31 Oct 2023 13:45:09 +0000 Subject: [PATCH] fixes broken export --- package.json | 10 ++-- src/lib/captureErrorInSentry.ts | 2 +- yarn.lock | 93 ++++++++++----------------------- 3 files changed, 34 insertions(+), 71 deletions(-) diff --git a/package.json b/package.json index b0f1f415..a2e68900 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "word-wrap": "npm:@aashutoshrathi/word-wrap" }, "dependencies": { - "@sentry/browser": "7.43.0", + "@sentry/browser": "7.77.0", "@stripe/react-stripe-js": "2.1.0", "@stripe/stripe-js": "1.54.0", "classnames": "2.3.2", @@ -80,9 +80,9 @@ "@testing-library/react": "14.0.0", "@types/jest": "29.5.7", "@types/node": "18.15.11", - "@types/prompts": "2.4.4", - "@types/react": "18.0.32", - "@types/react-dom": "18.0.11", + "@types/prompts": "2.4.7", + "@types/react": "18.2.33", + "@types/react-dom": "18.2.14", "@typescript-eslint/eslint-plugin": "5.43.0", "@typescript-eslint/parser": "5.57.0", "babel-jest": "29.7.0", @@ -108,7 +108,7 @@ "storybook": "7.0.2", "ts-node": "10.9.1", "tsconfig-paths-webpack-plugin": "4.0.1", - "typescript": "5.0.4" + "typescript": "5.2.2" }, "engines": { "node": "~18.*" diff --git a/src/lib/captureErrorInSentry.ts b/src/lib/captureErrorInSentry.ts index 1f5a357e..ef51ddbe 100644 --- a/src/lib/captureErrorInSentry.ts +++ b/src/lib/captureErrorInSentry.ts @@ -1,4 +1,4 @@ -import * as Sentry from "@sentry/browser"; +import Sentry from "@sentry/browser"; let hasSentryInitiated = false; function initiateSentry() { diff --git a/yarn.lock b/yarn.lock index 4f0d19e4..45ab7691 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2015,16 +2015,16 @@ "@sentry/types" "7.77.0" "@sentry/utils" "7.77.0" -"@sentry/browser@7.43.0": - version "7.43.0" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.43.0.tgz#335f23ae020fc5be9aec2a89f65022e0e93d915f" - integrity sha512-NlRkBYKb9o5IQdGY8Ktps19Hz9RdSuqS1tlLC7Sjr+MqZqSHmhKq8MWJKciRynxBeMbeGt0smExi9BqpVQdCEg== +"@sentry/browser@7.77.0": + version "7.77.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.77.0.tgz#155440f1a0d3a1bbd5d564c28d6b0c9853a51d72" + integrity sha512-nJ2KDZD90H8jcPx9BysQLiQW+w7k7kISCWeRjrEMJzjtge32dmHA8G4stlUTRIQugy5F+73cOayWShceFP7QJQ== dependencies: - "@sentry/core" "7.43.0" - "@sentry/replay" "7.43.0" - "@sentry/types" "7.43.0" - "@sentry/utils" "7.43.0" - tslib "^1.9.3" + "@sentry-internal/tracing" "7.77.0" + "@sentry/core" "7.77.0" + "@sentry/replay" "7.77.0" + "@sentry/types" "7.77.0" + "@sentry/utils" "7.77.0" "@sentry/bundler-plugin-core@0.7.0": version "0.7.0" @@ -2051,15 +2051,6 @@ proxy-from-env "^1.1.0" which "^2.0.2" -"@sentry/core@7.43.0": - version "7.43.0" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.43.0.tgz#c78e79399172738c96e3b388244258153c49215f" - integrity sha512-zvMZgEi7ptLBwDnd+xR/u4zdSe5UzS4S3ZhoemdQrn1PxsaVySD/ptyzLoGSZEABqlRxGHnQrZ78MU1hUDvKuQ== - dependencies: - "@sentry/types" "7.43.0" - "@sentry/utils" "7.43.0" - tslib "^1.9.3" - "@sentry/core@7.77.0": version "7.77.0" resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.77.0.tgz#21100843132beeeff42296c8370cdcc7aa1d8510" @@ -2086,14 +2077,15 @@ "@sentry/utils" "7.77.0" https-proxy-agent "^5.0.0" -"@sentry/replay@7.43.0": - version "7.43.0" - resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.43.0.tgz#c77d5c6c4a3921cf67a58b69302ec4ea5eaa7fbe" - integrity sha512-2dGJS6p8uG1JZ7x/A3FyqnILTkXarbvfR+o1lC7z9lu34Wx0ZBeU2in/S2YHNGAE6XvfsePq3ya/s7LaNkk4qQ== +"@sentry/replay@7.77.0": + version "7.77.0" + resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.77.0.tgz#21d242c9cd70a7235237216174873fd140b6eb80" + integrity sha512-M9Ik2J5ekl+C1Och3wzLRZVaRGK33BlnBwfwf3qKjgLDwfKW+1YkwDfTHbc2b74RowkJbOVNcp4m8ptlehlSaQ== dependencies: - "@sentry/core" "7.43.0" - "@sentry/types" "7.43.0" - "@sentry/utils" "7.43.0" + "@sentry-internal/tracing" "7.77.0" + "@sentry/core" "7.77.0" + "@sentry/types" "7.77.0" + "@sentry/utils" "7.77.0" "@sentry/tracing@^7.19.0": version "7.77.0" @@ -2102,24 +2094,11 @@ dependencies: "@sentry-internal/tracing" "7.77.0" -"@sentry/types@7.43.0": - version "7.43.0" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.43.0.tgz#e621257601e9db2a39cdd3bd75e67fe338ed51eb" - integrity sha512-5XxCWqYWJNoS+P6Ie2ZpUDxLRCt7FTEzmlQkCdjW6MFWOX26hAbF/wEuOTYAFKZXMIXOz0Egofik1e8v1Cg6/A== - "@sentry/types@7.77.0": version "7.77.0" resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.77.0.tgz#c5d00fe547b89ccde59cdea59143bf145cee3144" integrity sha512-nfb00XRJVi0QpDHg+JkqrmEBHsqBnxJu191Ded+Cs1OJ5oPXEW6F59LVcBScGvMqe+WEk1a73eH8XezwfgrTsA== -"@sentry/utils@7.43.0": - version "7.43.0" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.43.0.tgz#ad16efb86b94ffe6dca2ed2b299d5230ba6d815b" - integrity sha512-f78YfMLcgNU7+suyWFCuQhQlneXXMS+egb0EFZh7iU7kANUPRX5T4b+0C+fwaPm5gA6XfGYskr4ZnzQJLOlSqg== - dependencies: - "@sentry/types" "7.43.0" - tslib "^1.9.3" - "@sentry/utils@7.77.0": version "7.77.0" resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.77.0.tgz#1f88501f0b8777de31b371cf859d13c82ebe1379" @@ -3400,10 +3379,10 @@ resolved "https://registry.yarnpkg.com/@types/pretty-hrtime/-/pretty-hrtime-1.0.2.tgz#9b6e102bc2e1eea1c1c7fadf144483ce2687f233" integrity sha512-vyv9knII8XeW8TnXDcGH7HqG6FeR56ESN6ExM34d/U8Zvs3xuG34euV6CVyB7KEYI7Ts4lQM8b4NL72e7UadnA== -"@types/prompts@2.4.4": - version "2.4.4" - resolved "https://registry.yarnpkg.com/@types/prompts/-/prompts-2.4.4.tgz#dd5a1d41cb1bcd0fc4464bf44a0c8354f36ea735" - integrity sha512-p5N9uoTH76lLvSAaYSZtBCdEXzpOOufsRjnhjVSrZGXikVGHX9+cc9ERtHRV4hvBKHyZb1bg4K+56Bd2TqUn4A== +"@types/prompts@2.4.7": + version "2.4.7" + resolved "https://registry.yarnpkg.com/@types/prompts/-/prompts-2.4.7.tgz#d9f2e53b00639721eddc949289843cef4fb1679b" + integrity sha512-5zTamE+QQM4nR6Ab3yHK+ovWuhLJXaa2ZLt3mT1en8U3ubWtjVT1vXDaVFC2+cL89uVn7Y+gIq5B3IcVvBl5xQ== dependencies: "@types/node" "*" kleur "^3.0.3" @@ -3430,21 +3409,14 @@ resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.6.tgz#7cb33992049fd7340d5b10c0098e104184dfcd2a" integrity sha512-+0autS93xyXizIYiyL02FCY8N+KkKPhILhcUSA276HxzreZ16kl+cmwvV2qAM/PuCCwPXzOXOWhiPcw20uSFcA== -"@types/react-dom@18.0.11": - version "18.0.11" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.11.tgz#321351c1459bc9ca3d216aefc8a167beec334e33" - integrity sha512-O38bPbI2CWtgw/OoQoY+BRelw7uysmXbWvw3nLWO21H1HSh+GOlqPuXshJfjmpNlKiiSDG9cc1JZAaMmVdcTlw== - dependencies: - "@types/react" "*" - -"@types/react-dom@^18.0.0": +"@types/react-dom@18.2.14", "@types/react-dom@^18.0.0": version "18.2.14" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.14.tgz#c01ba40e5bb57fc1dc41569bb3ccdb19eab1c539" integrity sha512-V835xgdSVmyQmI1KLV2BEIUgqEuinxp9O4G6g3FqO/SqLac049E53aysv0oEFD2kHfejeKU+ZqL2bcFWj9gLAQ== dependencies: "@types/react" "*" -"@types/react@*", "@types/react@>=16": +"@types/react@*", "@types/react@18.2.33", "@types/react@>=16": version "18.2.33" resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.33.tgz#055356243dc4350a9ee6c6a2c07c5cae12e38877" integrity sha512-v+I7S+hu3PIBoVkKGpSYYpiBT1ijqEzWpzQD62/jm4K74hPpSP7FF9BnKG6+fg2+62weJYkkBWDJlZt5JO/9hg== @@ -3453,15 +3425,6 @@ "@types/scheduler" "*" csstype "^3.0.2" -"@types/react@18.0.32": - version "18.0.32" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.32.tgz#5e88b2af6833251d54ec7fe86d393224499f41d5" - integrity sha512-gYGXdtPQ9Cj0w2Fwqg5/ak6BcK3Z15YgjSqtyDizWUfx7mQ8drs0NBUzRRsAdoFVTO8kJ8L2TL8Skm7OFPnLUw== - dependencies: - "@types/prop-types" "*" - "@types/scheduler" "*" - csstype "^3.0.2" - "@types/scheduler@*": version "0.16.5" resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.5.tgz#4751153abbf8d6199babb345a52e1eb4167d64af" @@ -9995,7 +9958,7 @@ tsconfig-paths@^4.1.2: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@^1.8.1, tslib@^1.9.3: +tslib@^1.8.1: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== @@ -10113,10 +10076,10 @@ types-ramda@^0.29.4: dependencies: ts-toolbelt "^9.6.0" -typescript@5.0.4: - version "5.0.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b" - integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw== +typescript@5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== uglify-js@^3.1.4: version "3.17.4"