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

@cypress/vite-dev-server

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cypress/vite-dev-server - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

8

CHANGELOG.md

@@ -0,1 +1,9 @@

# [@cypress/vite-dev-server-v2.0.4](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v2.0.3...@cypress/vite-dev-server-v2.0.4) (2021-07-31)
### Bug Fixes
* **server:** correctly include projectRoot when adding a CI project from GUI ([#17514](https://github.com/cypress-io/cypress/issues/17514)) ([e49b3a4](https://github.com/cypress-io/cypress/commit/e49b3a4b9fc99bb392235b7cad36139faff08eec))
* only rerun if current spec+deps changed ([#17269](https://github.com/cypress-io/cypress/issues/17269)) ([1433b64](https://github.com/cypress-io/cypress/commit/1433b64d25f186774471593892c1c03aa954c4e3))
# [@cypress/vite-dev-server-v2.0.3](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v2.0.2...@cypress/vite-dev-server-v2.0.3) (2021-07-27)

@@ -2,0 +10,0 @@

4

dist/makeCypressPlugin.js

@@ -83,5 +83,5 @@ "use strict";

debug('handleHotUpdate - mod.file', mod.file);
if (specsPathsSet.has(mod.file)) {
if (mod.file && specsPathsSet.has(mod.file)) {
debug('handleHotUpdate - compile success');
devServerEvents.emit('dev-server:compile:success');
devServerEvents.emit('dev-server:compile:success', { specFile: mod.file });
return [];

@@ -88,0 +88,0 @@ }

@@ -20,3 +20,3 @@ "use strict";

const finalConfig = { ...viteConfig, ...requiredOptions };
finalConfig.plugins = [...(viteConfig.plugins || []), makeCypressPlugin_1.makeCypressPlugin(projectRoot, supportFile, options.devServerEvents, options.specs)];
finalConfig.plugins = [...(finalConfig.plugins || []), makeCypressPlugin_1.makeCypressPlugin(projectRoot, supportFile, options.devServerEvents, options.specs)];
// This alias is necessary to avoid a "prefixIdentifiers" issue from slots mounting

@@ -23,0 +23,0 @@ // only cjs compiler-core accepts using prefixIdentifiers in slots which vue test utils use.

{
"name": "@cypress/vite-dev-server",
"version": "2.0.3",
"version": "2.0.4",
"description": "Launches Vite Dev Server for Component Testing",

@@ -5,0 +5,0 @@ "main": "index.js",

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