Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
cypress-plugin-xhr-toggle
Advanced tools
A small Cypress helper that de-clutters your timeline by hiding XHR requests.
Install this package:
npm i cypress-plugin-xhr-toggle
# or
yarn add cypress-plugin-xhr-toggle
Import the plugin into your cypress/support/e2e.js
file:
import 'cypress-plugin-xhr-toggle'
// or
require('cypress-plugin-xhr-toggle')
Open Cypress in GUI mode and see a new button. Click on it to hide all your XHR lines to de-clutter your timeline. You can set this up as default behavior by setting up hideXhr
into your env
object:
import { defineConfig } from "cypress";
export default defineConfig({
fixturesFolder: false,
e2e: {
setupNodeEvents(on, config) {},
env: {
hideXhr: true
}
},
});
...powered by coffee and love ❤️ Filip Hric
FAQs
Turn off xhr requests in Cypress timeline
We found that cypress-plugin-xhr-toggle demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.