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

cye2e

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cye2e - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

.github/ISSUE_TEMPLATE/bug_report.md

2

package.json
{
"name": "cye2e",
"version": "2.0.2",
"version": "2.0.3",
"type": "module",

@@ -5,0 +5,0 @@ "description": "",

@@ -39,13 +39,16 @@ #!/usr/bin/env node

browserify: answers.configLanguage === 'JavaScript' ? `
const { defineConfig } = require('cypress');
const preprocessor = require("@badeball/cypress-cucumber-preprocessor");
const browserify = require("@badeball/cypress-cucumber-preprocessor/browserify");
const { defineConfig } = require("cypress");
const browserify = require("@cypress/browserify-preprocessor");
const { addCucumberPreprocessorPlugin } = require("@badeball/cypress-cucumber-preprocessor");
const { preprendTransformerToOptions } = require("@badeball/cypress-cucumber-preprocessor/browserify");
async function setupNodeEvents(on, config) {
await preprocessor.addCucumberPreprocessorPlugin(on, config);
await addCucumberPreprocessorPlugin(on, config);
on('file:preprocessor', browserify.default(config));
on(
"file:preprocessor",
browserify(preprendTransformerToOptions(config, browserify.defaultOptions))
);
return config;
}

@@ -61,10 +64,11 @@

` : `
import { defineConfig } from 'cypress';
import browserify from "@cypress/browserify-preprocessor";
import { addCucumberPreprocessorPlugin } from "@badeball/cypress-cucumber-preprocessor";
import browserify from "@badeball/cypress-cucumber-preprocessor/browserify";
import { preprendTransformerToOptions } from "@badeball/cypress-cucumber-preprocessor/browserify";
async function setupNodeEvents(
on: Cypress.PluginEvents,
config: Cypress.PluginConfigOptions
config: Cypress.PluginConfigOptions,
): Promise<Cypress.PluginConfigOptions> {
await addCucumberPreprocessorPlugin(on, config);

@@ -74,7 +78,9 @@

"file:preprocessor",
browserify(config, {
browserify({
...preprendTransformerToOptions(config, browserify.defaultOptions),
typescript: require.resolve("typescript"),
})
}),
);
return config;

@@ -81,0 +87,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