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 1.2.0 to 1.2.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [@cypress/vite-dev-server-v1.2.1](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v1.2.0...@cypress/vite-dev-server-v1.2.1) (2021-04-13)
### Bug Fixes
* **vite-dev-server:** Use viteConfig.server.port if defined ([#15893](https://github.com/cypress-io/cypress/issues/15893)) ([d0dcf22](https://github.com/cypress-io/cypress/commit/d0dcf221018cf2c364bc00ff6f750146eb048e7d))
# [@cypress/vite-dev-server-v1.2.0](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v1.1.0...@cypress/vite-dev-server-v1.2.0) (2021-04-05)

@@ -2,0 +9,0 @@

1

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startDevServer = void 0;
const debug_1 = require("debug");

@@ -4,0 +5,0 @@ const startServer_1 = require("./startServer");

4

dist/makeCypressPlugin.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeCypressPlugin = void 0;
const path_1 = require("path");

@@ -9,3 +10,3 @@ const fs_1 = require("fs");

const INIT_FILEPATH = path_1.resolve(__dirname, '../client/initCypressTests.js');
exports.makeCypressPlugin = (projectRoot, supportFilePath, devServerEvents) => {
const makeCypressPlugin = (projectRoot, supportFilePath, devServerEvents) => {
let base = '/';

@@ -52,1 +53,2 @@ return {

};
exports.makeCypressPlugin = makeCypressPlugin;

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.start = void 0;
const debug_1 = __importDefault(require("debug"));

@@ -30,3 +31,3 @@ const vite_1 = require("vite");

finalConfig.server = finalConfig.server || {};
finalConfig.server.port = await get_port_1.default({ port: 3000, host: 'localhost' }),
finalConfig.server.port = await get_port_1.default({ port: finalConfig.server.port || 3000, host: 'localhost' }),
debug(`the resolved server config is ${JSON.stringify(finalConfig, null, 2)}`);

@@ -33,0 +34,0 @@ return finalConfig;

{
"name": "@cypress/vite-dev-server",
"version": "1.2.0",
"version": "1.2.1",
"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