Skip to content

feat: Remove tslib as a dependency #5331

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

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 0 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@

"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/**/*"
],
"sourceMaps": true,
// this controls which files are sourcemapped
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
"size-limit": "^4.5.5",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"tslib": "^2.3.1",
"typedoc": "^0.18.0",
"typescript": "3.8.3"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"dependencies": {
"@sentry/core": "7.3.1",
"@sentry/types": "7.3.1",
"@sentry/utils": "7.3.1",
"tslib": "^1.9.3"
"@sentry/utils": "7.3.1"
},
"devDependencies": {
"@types/md5": "2.1.33",
Expand Down
3 changes: 1 addition & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"dependencies": {
"@sentry/hub": "7.3.1",
"@sentry/types": "7.3.1",
"@sentry/utils": "7.3.1",
"tslib": "^1.9.3"
"@sentry/utils": "7.3.1"
},
"scripts": {
"build": "run-p build:rollup build:types",
Expand Down
3 changes: 1 addition & 2 deletions packages/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
},
"dependencies": {
"@sentry/types": "7.3.1",
"@sentry/utils": "7.3.1",
"tslib": "^1.9.3"
"@sentry/utils": "7.3.1"
},
"scripts": {
"build": "run-p build:rollup 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 @@ -18,8 +18,7 @@
"dependencies": {
"@sentry/types": "7.3.1",
"@sentry/utils": "7.3.1",
"localforage": "^1.8.1",
"tslib": "^1.9.3"
"localforage": "^1.8.1"
},
"devDependencies": {
"chai": "^4.1.2"
Expand Down
3 changes: 1 addition & 2 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"@sentry/tracing": "7.3.1",
"@sentry/types": "7.3.1",
"@sentry/utils": "7.3.1",
"@sentry/webpack-plugin": "1.18.9",
"tslib": "^1.9.3"
"@sentry/webpack-plugin": "1.18.9"
},
"devDependencies": {
"@types/webpack": "^4.41.31",
Expand Down
3 changes: 1 addition & 2 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"@sentry/utils": "7.3.1",
"cookie": "^0.4.1",
"https-proxy-agent": "^5.0.0",
"lru_map": "^0.3.3",
"tslib": "^1.9.3"
"lru_map": "^0.3.3"
},
"devDependencies": {
"@types/cookie": "0.3.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 @@ -19,8 +19,7 @@
"@sentry/browser": "7.3.1",
"@sentry/types": "7.3.1",
"@sentry/utils": "7.3.1",
"hoist-non-react-statics": "^3.3.2",
"tslib": "^1.9.3"
"hoist-non-react-statics": "^3.3.2"
},
"peerDependencies": {
"react": "15.x || 16.x || 17.x || 18.x"
Expand Down
3 changes: 1 addition & 2 deletions packages/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"@sentry/tracing": "7.3.1",
"@sentry/types": "7.3.1",
"@sentry/utils": "7.3.1",
"@sentry/webpack-plugin": "1.18.9",
"tslib": "^1.9.3"
"@sentry/webpack-plugin": "1.18.9"
},
"devDependencies": {
"@remix-run/node": "^1.4.3",
Expand Down
3 changes: 1 addition & 2 deletions packages/serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"@sentry/types": "7.3.1",
"@sentry/utils": "7.3.1",
"@types/aws-lambda": "^8.10.62",
"@types/express": "^4.17.2",
"tslib": "^1.9.3"
"@types/express": "^4.17.2"
},
"devDependencies": {
"@google-cloud/bigquery": "^5.3.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"dependencies": {
"@sentry/hub": "7.3.1",
"@sentry/types": "7.3.1",
"@sentry/utils": "7.3.1",
"tslib": "^1.9.3"
"@sentry/utils": "7.3.1"
},
"devDependencies": {
"@sentry/browser": "7.3.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"access": "public"
},
"dependencies": {
"@sentry/types": "7.3.1",
"tslib": "^1.9.3"
"@sentry/types": "7.3.1"
},
"devDependencies": {
"@types/array.prototype.flat": "^1.2.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
"@sentry/browser": "7.3.1",
"@sentry/core": "7.3.1",
"@sentry/types": "7.3.1",
"@sentry/utils": "7.3.1",
"tslib": "^1.9.3"
"@sentry/utils": "7.3.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 @@ -18,8 +18,7 @@
"dependencies": {
"@sentry/browser": "7.3.1",
"@sentry/types": "7.3.1",
"@sentry/utils": "7.3.1",
"tslib": "^1.9.3"
"@sentry/utils": "7.3.1"
},
"devDependencies": {
"@types/jest-environment-puppeteer": "^4.4.0",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25158,7 +25158,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.1.tgz#410eb0d113e5b6356490eec749603725b021b43e"
integrity sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ==

tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3:
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"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
Expand Down