Skip to content

Convert Instrumenter to a class#1307

Merged
waltjones merged 3 commits into
masterfrom
waltjones/instrumenter-class
Sep 10, 2025
Merged

Convert Instrumenter to a class#1307
waltjones merged 3 commits into
masterfrom
waltjones/instrumenter-class

Conversation

@waltjones

Copy link
Copy Markdown
Contributor

Description of the change

  • Converts Instrumeter prototype functions to clas syntax.
  • Removes some IE11 code.
  • Converts some for loops to for ... in.
  • Converts var to const/let.

Type of change

  • Maintenance

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

@matux matux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It all looks good! This is great, @waltjones!

@matux

matux commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

Interesting, it seems the Angular example broke. I'm not sure why.

@waltjones

Copy link
Copy Markdown
Contributor Author

Angular failed on

STDERR:
npm error code ETARGET
npm error notarget No matching version found for @angular-devkit/[email protected].

where package.json has

"@angular/core": "^19.0.0",

In a separate run, react-19-typescript failed on

 code: 'MODULE_NOT_FOUND',
  path: '/Users/waltjones/projects/rollbar/rollbar.js/examples/react-19-typescript/node_modules/hoopy/package.json',
  requestPath: 'hoopy'

The examples don't have lock files, so there's no way to know what versions CI will try to resolve. There seems to be something going on with npm today causing multiple issues with package resolution.

@waltjones waltjones merged commit 1ed58d8 into master Sep 10, 2025
4 checks passed
@waltjones waltjones deleted the waltjones/instrumenter-class branch September 10, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants