Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@currents/cli
Advanced tools
Integrate Cypress with Currents - a drop-in replacement for Cypress Cloud
Integrate Cypress with Currents - a drop-in replacement for Cypress Cloud
Currents | Changelog | Compatibility | Documentation
Integrate Cypress with Currents Dashboard. The command passes down all the CLI flags to Cypress.
npm install @currents/cli cypress
npx currents run --parallel --record --key XXXXXX --ci-build-id build-001
run
Run Cypress via its Module API
run(config: CypressCommandLine.CypressRunOptions): Promise<CypressCommandLine.CypressRunResult | CypressCommandLine.CypressFailedRunResult>
Example:
import { run } from "@currents/cli";
const cypressOptions: Partial<CypressCommandLine.CypressRunOptions> = {
browser: "chrome",
parallel: true,
record: true,
key: "Currents key from https://app.currents.dev",
tag: "smoke",
};
const results = await run(cypressOptions);
spawn
Spawn Cypress as a child process and inherit all the flags and environment variables. It invokes process.exit
with the child process' exit code.
spawn(): Promise<void>
Example:
import { spawn } from "@currents/cli";
await spawn();
Version 4+ doesn't modify the local installation of Cypress. The following complimentary binaries were deprecated:
currents-prepare
script is deprecated. Use run
or spawn
API instead.currents-reset
script is deprecated, use run
or spawn
API instead.patch
API is deprecated. Use run
or spawn
instead.4.0.1 (2023-01-19)
Version 4+ is fully compatible with Cypress 12+ 🎉. It leaves the local installation of Cypress intact and uses the public Cypress APIs to enable the integration.
The following complimentary scripts from v3 were deprecated:
currents-prepare
script is deprecated. Use run
or spawn
API instead.currents-reset
script is deprecated, use run
or spawn
API instead.
patch API is deprecated. Use run or spawn instead.FAQs
Integrate Cypress with Currents - a drop-in replacement for Cypress Cloud
The npm package @currents/cli receives a total of 16,213 weekly downloads. As such, @currents/cli popularity was classified as popular.
We found that @currents/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.