Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
aws-rum-web
Advanced tools
This is the CloudWatch RUM web client source code repository. It hosts a JavaScript library which performs real user monitoring (RUM) telemetry on web applications. Data collected by the RUM web client includes page load timing, JavaScript errors and HTTP requests.
See Installing as a JavaScript Module.
See Installing as an Embedded Script.
Use the following community resources for getting help with the SDK. We use the GitHub issues for tracking bugs and feature requests.
If you encounter a bug with the CloudWatch RUM web client, we want to hear about it. Before opening a new issue, search the existing issues to see if others are also experiencing the issue. Include the version of the CloudWatch RUM web client, Node.js runtime, and other dependencies if applicable. In addition, include the repro case when appropriate.
The GitHub issues are intended for bug reports and feature requests. For help and questions about using the CloudWatch RUM web client, use the resources listed in the Getting Help section. Keeping the list of open issues lean helps us respond in a timely manner.
We support and accept PRs from the community.
See CONTRIBUTING
The CloudWatch RUM web client is developed and built using Node.js version 16 or higher.
To build the CloudWatch RUM web client, run the release process:
npm install
npm run release
The release process creates (1) a web bundle and a debug map for distribution via CDN, and (2) JavaScript modules and TypeScript declaration files for distribution via NPM.
The CDN files are:
./build/assets/cwr.js
./build/assets/cwr.map.js
The NPM files are:
./dist/es/index.js
./dist/es/index.d.ts
./dist/cjs/index.js
./dist/cjs/index.d.ts
To perform exploratory testing, run the Webpack DevServer:
npm install
npm run server
In a browser, navigate to http://localhost:9000.
To run (Jest) unit tests:
npm run test
To run (TestCafe) browser integration tests:
npm run integ:headless
npm run integ:browser
To run (TestCafe) integration tests for a specific browser:
npm run integ -- (browserName)
# for example
npm run integ -- chrome:headless
npm run integ -- chrome
Some features perform monkey patching which is incompatible with TestCafe. In these cases, run Nightwatch as a separate browser integration test target:
npm run integ:local:nightwatch
The CloudWatch RUM web client uses pre-commit tasks to lint and format its source code. Before submitting code, check that all linter and formatter warnings have been resolved.
Attempt to automatically repair linter warnings:
npm run lint:fix
Format code:
npm run prettier:fix
See CONTRIBUTING for more information.
This project is licensed under the Apache-2.0 License.
FAQs
The Amazon CloudWatch RUM web client.
The npm package aws-rum-web receives a total of 83,800 weekly downloads. As such, aws-rum-web popularity was classified as popular.
We found that aws-rum-web demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.