Skip to content

feat: Remove tslib #9299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,7 @@
"${fileBasename}"
],

"skipFiles": [
"<node_internals>/**",
// this prevents us from landing in a neverending cycle of TS async-polyfill functions as we're stepping through
// our code
"${workspaceFolder}/node_modules/tslib/**/*"
],
"skipFiles": ["<node_internals>/**"],
"sourceMaps": true,
// this controls which files are sourcemapped
"outFiles": [
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@
"size-limit": "~9.0.0",
"ts-jest": "^27.1.4",
"ts-node": "10.9.1",
"tslib": "2.4.1",
"typedoc": "^0.18.0",
"typescript": "4.9.5",
"vitest": "^0.29.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"@sentry/core": "7.74.1",
"@sentry/replay": "7.74.1",
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"tslib": "^2.4.1 || ^1.9.3"
"@sentry/utils": "7.74.1"
},
"devDependencies": {
"@sentry-internal/integration-shims": "7.74.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
},
"dependencies": {
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"tslib": "^2.4.1 || ^1.9.3"
"@sentry/utils": "7.74.1"
},
"scripts": {
"build": "run-p build:transpile build:types",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"svelte": "^3.54.0",
"svelte-check": "^3.0.1",
"ts-node": "10.9.1",
"tslib": "2.4.1",
"typescript": "^5.0.0",
"vite": "^4.2.0",
"wait-port": "1.0.4"
Expand Down
3 changes: 1 addition & 2 deletions packages/feedback/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"dependencies": {
"@sentry/core": "7.70.0",
"@sentry/types": "7.70.0",
"@sentry/utils": "7.70.0",
"tslib": "^2.4.1 || ^1.9.3"
"@sentry/utils": "7.70.0"
},
"scripts": {
"build": "run-p build:transpile build:types build:bundle",
Expand Down
3 changes: 1 addition & 2 deletions packages/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"dependencies": {
"@sentry/core": "7.74.1",
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"tslib": "^2.4.1 || ^1.9.3"
"@sentry/utils": "7.74.1"
},
"scripts": {
"build": "run-p build:transpile build:types",
Expand Down
3 changes: 1 addition & 2 deletions packages/integrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"@sentry/core": "7.74.1",
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"localforage": "^1.8.1",
"tslib": "^2.4.1 || ^1.9.3"
"localforage": "^1.8.1"
},
"devDependencies": {
"@sentry/browser": "7.74.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"chalk": "3.0.0",
"resolve": "1.22.8",
"rollup": "2.78.0",
"stacktrace-parser": "^0.1.10",
"tslib": "^2.4.1 || ^1.9.3"
"stacktrace-parser": "^0.1.10"
},
"devDependencies": {
"@types/resolve": "1.20.3",
Expand Down
3 changes: 1 addition & 2 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"cookie": "^0.5.0",
"https-proxy-agent": "^5.0.0",
"tslib": "^2.4.1 || ^1.9.3"
"https-proxy-agent": "^5.0.0"
},
"devDependencies": {
"@types/cookie": "0.5.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"@sentry/browser": "7.74.1",
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"hoist-non-react-statics": "^3.3.2",
"tslib": "^2.4.1 || ^1.9.3"
"hoist-non-react-statics": "^3.3.2"
},
"peerDependencies": {
"react": "15.x || 16.x || 17.x || 18.x"
Expand Down
1 change: 0 additions & 1 deletion packages/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"glob": "^10.3.4",
"tslib": "^2.4.1 || ^1.9.3",
"yargs": "^17.6.0"
},
"devDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions packages/replay-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
},
"homepage": "https://docs.sentry.io/platforms/javascript/session-replay/",
"devDependencies": {
"@types/pako": "^2.0.0",
"tslib": "^2.4.1 || ^1.9.3"
"@types/pako": "^2.0.0"
},
"dependencies": {
"pako": "^2.1.0"
Expand Down
3 changes: 1 addition & 2 deletions packages/replay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
"@sentry-internal/replay-worker": "7.74.1",
"@sentry-internal/rrweb": "2.0.1",
"@sentry-internal/rrweb-snapshot": "2.0.1",
"jsdom-worker": "^0.2.1",
"tslib": "^2.4.1 || ^1.9.3"
"jsdom-worker": "^0.2.1"
},
"dependencies": {
"@sentry/core": "7.74.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"@types/aws-lambda": "^8.10.62",
"@types/express": "^4.17.14",
"tslib": "^2.4.1 || ^1.9.3"
"@types/express": "^4.17.14"
},
"devDependencies": {
"@google-cloud/bigquery": "^5.3.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"@sentry/browser": "7.74.1",
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"magic-string": "^0.30.0",
"tslib": "^2.4.1 || ^1.9.3"
"magic-string": "^0.30.0"
},
"peerDependencies": {
"svelte": "3.x || 4.x"
Expand Down
3 changes: 1 addition & 2 deletions packages/tracing-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"dependencies": {
"@sentry/core": "7.74.1",
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"tslib": "^2.4.1 || ^1.9.3"
"@sentry/utils": "7.74.1"
},
"devDependencies": {
"@types/express": "^4.17.14"
Expand Down
3 changes: 1 addition & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"access": "public"
},
"dependencies": {
"@sentry/types": "7.74.1",
"tslib": "^2.4.1 || ^1.9.3"
"@sentry/types": "7.74.1"
},
"devDependencies": {
"@types/array.prototype.flat": "^1.2.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/vercel-edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"dependencies": {
"@sentry/core": "7.74.1",
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"tslib": "^2.4.1 || ^1.9.3"
"@sentry/utils": "7.74.1"
},
"devDependencies": {
"@edge-runtime/jest-environment": "2.2.3",
Expand Down
3 changes: 1 addition & 2 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"@sentry/browser": "7.74.1",
"@sentry/core": "7.74.1",
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"tslib": "^2.4.1 || ^1.9.3"
"@sentry/utils": "7.74.1"
},
"peerDependencies": {
"vue": "2.x || 3.x"
Expand Down
3 changes: 1 addition & 2 deletions packages/wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"dependencies": {
"@sentry/browser": "7.74.1",
"@sentry/types": "7.74.1",
"@sentry/utils": "7.74.1",
"tslib": "^2.4.1 || ^1.9.3"
"@sentry/utils": "7.74.1"
},
"scripts": {
"build": "run-p build:transpile build:bundle build:types",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29387,11 +29387,6 @@ [email protected]:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz#803b8cdab3e12ba581a4ca41c8839bbb0dacb09e"
integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==

[email protected]:
version "2.4.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e"
integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==

tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0:
version "1.14.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
Expand Down