We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package.json
shimmer
The file src/web-vitals-autoinstrumentation.ts#L39 includes an import of shimmer, but this is not defined as a dependency in package.json.
I believe this was introduced in v0.2.1 in #140.
Versions
0.2.1
Steps to reproduce
> npx depcheck Unused devDependencies * @types/jest * jest * jest-environment-jsdom * prettier * typescript Missing dependencies * shimmer: ./src/web-vitals-autoinstrumentation.ts
Additional context
This is reported by our build system (using esbuild + pnpm):
✘ [ERROR] Could not resolve "shimmer" node_modules/.aspect_rules_js/@[email protected]/node_modules/@honeycombio/opentelemetry-web/dist/src/web-vitals-autoinstrumentation.js:41:37: 41 │ const shimmer = __importStar(require("shimmer")); ╵ ~~~~~~~~~
The text was updated successfully, but these errors were encountered:
fix: Add missing dependency shimmer to package.json (#150)
2dc1eb9
<!-- Thank you for contributing to the project! 💜 Please see our [OSS process document](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md#) to get an idea of how we operate. --> Solves #149 ## Which problem is this PR solving? - Closes #149 ## Short description of the changes #140 added a dependency on [shimmer](https://www.npmjs.com/package/shimmer) in [src/web-vitals-autoinstrumentation.ts#L39](https://github.com/honeycombio/honeycomb-opentelemetry-web/blob/main/src/web-vitals-autoinstrumentation.ts#L39), but this is not defined in `package.json`. This change adds an explicit dependency for this. ## How to verify that this has the expected result Run `npx depcheck` to verify that all dependencies in the code are referenced in `package.json`.
Successfully merging a pull request may close this issue.
The file src/web-vitals-autoinstrumentation.ts#L39 includes an import of shimmer, but this is not defined as a dependency in package.json.
I believe this was introduced in v0.2.1 in #140.
Versions
0.2.1
Steps to reproduce
Additional context
This is reported by our build system (using esbuild + pnpm):
The text was updated successfully, but these errors were encountered: