Skip to content

Commit

Permalink
Merge branch 'main' into browser-extension
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarchaud authored Jul 2, 2021
2 parents 7920689 + 526f948 commit 13b830b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"rimraf": "3.0.2",
"sinon": "9.2.4",
"ts-mocha": "8.0.0",
"ts-node": "9.1.1",
"typescript": "4.3.5",
"cassandra-driver": "4.6.3"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"rimraf": "3.0.2",
"sinon": "9.2.4",
"ts-mocha": "8.0.0",
"ts-node": "9.1.1",
"typescript": "4.3.5"
},
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class DocumentLoadInstrumentation extends InstrumentationBase<unknown> {
* Collects information about performance and creates appropriate spans
*/
private _collectPerformance() {
const metaElement = [...document.getElementsByTagName('meta')].find(
const metaElement = Array.from(document.getElementsByTagName('meta')).find(
e => e.getAttribute('name') === TRACE_PARENT_HEADER
);
const entries = getPerformanceNavigationEntries();
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.base.esm.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./tsconfig.base.json",
"extends": "./tsconfig.es5.json",
"compilerOptions": {
"module": "ES6",
"moduleResolution": "node"
Expand Down
6 changes: 6 additions & 0 deletions tsconfig.es5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"target": "es5"
}
}

0 comments on commit 13b830b

Please sign in to comment.