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.7 to 2.0.8

index.d.ts

9

CHANGELOG.md

@@ -0,1 +1,10 @@

# [@cypress/vite-dev-server-v2.0.8](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v2.0.7...@cypress/vite-dev-server-v2.0.8) (2021-08-30)
### Bug Fixes
* prevent vite from crashing where there are no support files or specs found ([#17624](https://github.com/cypress-io/cypress/issues/17624)) ([ae0ea87](https://github.com/cypress-io/cypress/commit/ae0ea87802168c524ee5cfe04d0aa59a46195a7d)), closes [#17373](https://github.com/cypress-io/cypress/issues/17373)
* publish the types for vite-dev-server ([#17786](https://github.com/cypress-io/cypress/issues/17786)) ([a94ff69](https://github.com/cypress-io/cypress/commit/a94ff69d09564140ad0cc890771175396eb351cc)), closes [#17648](https://github.com/cypress-io/cypress/issues/17648)
* repair re-run of vite-dev-server issues ([4139631](https://github.com/cypress-io/cypress/commit/4139631b159bac159bd6d2d4c020b5d8b3aa0fa7))
# [@cypress/vite-dev-server-v2.0.7](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v2.0.6...@cypress/vite-dev-server-v2.0.7) (2021-08-12)

@@ -2,0 +11,0 @@

15

dist/makeCypressPlugin.js

@@ -96,6 +96,2 @@ "use strict";

}
// to avoid circular updates, keep track of what we updated
if (mod.file) {
exploredFiles.add(mod.file);
}
}

@@ -111,2 +107,8 @@ // get all the modules that import the current one

exports.makeCypressPlugin = makeCypressPlugin;
/**
* Gets all the modules that import the set of modules passed in parameters
* @param modules the set of module whose dependents to return
* @param alreadyExploredFiles set of files that have already been looked at and should be avoided in case of circular dependency
* @returns a set of ModuleMode that import directly the current modules
*/
function getImporters(modules, alreadyExploredFiles) {

@@ -116,3 +118,6 @@ const allImporters = new Set();

if (m.file && !alreadyExploredFiles.has(m.file)) {
m.importers.forEach((imp) => allImporters.add(imp));
alreadyExploredFiles.add(m.file);
m.importers.forEach((imp) => {
allImporters.add(imp);
});
}

@@ -119,0 +124,0 @@ });

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

@@ -37,3 +37,4 @@ "main": "index.js",

"client",
"index.html"
"index.html",
"index.d.ts"
],

@@ -40,0 +41,0 @@ "license": "MIT",

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