Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cypress-replay

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-replay - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

lib/index.d.ts

@@ -9,2 +9,2 @@ export type ReplayConfig = {

}
export default function enableCypressReplay(mode: ReplayMode | undefined): void;
export default function enableCypressReplay(mode?: ReplayMode | null): void;

@@ -14,4 +14,4 @@ "use strict";

})(ReplayMode = exports.ReplayMode || (exports.ReplayMode = {}));
function enableCypressReplay(mode) {
const replayMode = mode !== undefined ? mode : (Cypress.env('REPLAY_RECORD_REQUESTS') ? ReplayMode.Recording : ReplayMode.Replaying);
function enableCypressReplay(mode = null) {
const replayMode = mode !== null ? mode : (Cypress.env('REPLAY_RECORD_REQUESTS') ? ReplayMode.Recording : ReplayMode.Replaying);
if (replayMode === ReplayMode.Recording) {

@@ -18,0 +18,0 @@ (0, recordRequests_1.default)();

{
"name": "cypress-replay",
"version": "1.0.0",
"version": "1.0.1",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "types": "lib/index.d.ts",

@@ -11,2 +11,7 @@ Cypress Replay

```
yarn add --dev cypress-replay
npm install --save-dev cypress-replay
```
Add the following configuration line to your `cypress.config.ts` file:

@@ -13,0 +18,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc