Skip to content

Commit

Permalink
Add missing tslib dependencies (#1264)
Browse files Browse the repository at this point in the history
### Changelog
TypeScript: Added missing dependencies on `tslib`

### Docs

None

### Description

Fixes #1262

When `importHelpers` is true in tsconfig.json (as it is by default with
`@foxglove/tsconfig`), `tslib` must be a dependency.
  • Loading branch information
jtbandes authored Oct 30, 2024
1 parent c3f39b9 commit ff0cb3c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
5 changes: 4 additions & 1 deletion typescript/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcap/browser",
"version": "1.0.0",
"version": "1.0.1",
"description": "Support library for using MCAP in the browser",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -53,5 +53,8 @@
"prettier": "3.1.0",
"ts-jest": "29.1.1",
"typescript": "5.2.2"
},
"dependencies": {
"tslib": "^2.5.0"
}
}
5 changes: 4 additions & 1 deletion typescript/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcap/nodejs",
"version": "1.0.1",
"version": "1.0.2",
"description": "Support library for using MCAP in Node.js",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -54,5 +54,8 @@
"prettier": "3.1.0",
"ts-jest": "29.1.1",
"typescript": "5.2.2"
},
"dependencies": {
"tslib": "^2.5.0"
}
}
5 changes: 3 additions & 2 deletions typescript/support/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcap/support",
"version": "1.0.1",
"version": "1.0.2",
"description": "Common decompression for use with MCAP files",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -57,6 +57,7 @@
"@foxglove/wasm-bz2": "^0.1.1",
"@foxglove/wasm-lz4": "^1.0.2",
"@foxglove/wasm-zstd": "^1.0.1",
"protobufjs": "^7.2.5"
"protobufjs": "^7.2.5",
"tslib": "^2.5.0"
}
}
3 changes: 3 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3511,6 +3511,7 @@ __metadata:
jest: 29.7.0
prettier: 3.1.0
ts-jest: 29.1.1
tslib: ^2.5.0
typescript: 5.2.2
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -3567,6 +3568,7 @@ __metadata:
jest: 29.7.0
prettier: 3.1.0
ts-jest: 29.1.1
tslib: ^2.5.0
typescript: 5.2.2
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -3596,6 +3598,7 @@ __metadata:
prettier: 3.1.0
protobufjs: ^7.2.5
ts-jest: 29.1.1
tslib: ^2.5.0
typescript: 5.2.2
languageName: unknown
linkType: soft
Expand Down

0 comments on commit ff0cb3c

Please sign in to comment.