Skip to content
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"downlevelIteration": true,
"lib": ["es2015", "es2016", "es2017", "esnext.array", "esnext.asynciterable", "dom"],
"lib": ["es2015", "es2016", "es2017", "esnext.string","esnext.array", "esnext.asynciterable", "dom"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you verify that we polyfill these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not everything, but I tested replaceAll. What else should I look for?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we basically need to make sure that it works in any browser we support (not just local) - so either it's been implemented in all that we support, or safer - that core-js polyfills replaceall (I think that's all that comes in here, right?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that I did check.

We are good on all modern browsers.

https://caniuse.com/?search=replaceAll

"paths": {
"@hypertrace/assets-library": ["projects/assets-library/src/public-api.ts"],
"@hypertrace/common": ["projects/common/src/public-api.ts"],
Expand Down