Skip to content

Commit

Permalink
Add tslib to resolve unsound dependencies. (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky authored Jan 3, 2024
1 parent a8b2a23 commit 7b93e7b
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .changeset/khaki-steaks-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@segment/analytics-consent-tools': patch
'@segment/analytics-consent-wrapper-onetrust': patch
'@segment/analytics-generic-utils': patch
---

Add tslib to resolve unsound dependency warning.
3 changes: 3 additions & 0 deletions packages/consent/consent-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@
"directory": "packages/consent/consent-tools",
"type": "git",
"url": "https://github.com/segmentio/analytics-next"
},
"dependencies": {
"tslib": "^2.4.1"
}
}
3 changes: 2 additions & 1 deletion packages/consent/consent-wrapper-onetrust/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"webpack": "yarn run -T webpack"
},
"dependencies": {
"@segment/analytics-consent-tools": "1.1.0"
"@segment/analytics-consent-tools": "1.1.0",
"tslib": "^2.4.1"
},
"peerDependencies": {
"@segment/analytics-next": ">=1.53.1"
Expand Down
5 changes: 4 additions & 1 deletion packages/generic-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
"concurrently": "yarn run -T concurrently",
"jest": "yarn run -T jest"
},
"packageManager": "yarn@3.4.1"
"packageManager": "yarn@3.4.1",
"dependencies": {
"tslib": "^2.4.1"
}
}
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3909,6 +3909,7 @@ __metadata:
"@internal/config": "workspace:^"
"@internal/test-helpers": "workspace:^"
"@segment/analytics-next": "workspace:^"
tslib: ^2.4.1
peerDependencies:
"@segment/analytics-next": ">=1.53.1"
peerDependenciesMeta:
Expand All @@ -3924,6 +3925,7 @@ __metadata:
"@internal/config-webpack": "workspace:^"
"@internal/test-helpers": "workspace:^"
"@segment/analytics-consent-tools": 1.1.0
tslib: ^2.4.1
peerDependencies:
"@segment/analytics-next": ">=1.53.1"
peerDependenciesMeta:
Expand All @@ -3946,6 +3948,8 @@ __metadata:
"@segment/analytics-generic-utils@1.1.0, @segment/analytics-generic-utils@workspace:packages/generic-utils":
version: 0.0.0-use.local
resolution: "@segment/analytics-generic-utils@workspace:packages/generic-utils"
dependencies:
tslib: ^2.4.1
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 7b93e7b

Please sign in to comment.