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.2 to 1.2.3

7

CHANGELOG.md

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

# [@cypress/vite-dev-server-v1.2.3](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v1.2.2...@cypress/vite-dev-server-v1.2.3) (2021-04-22)
### Bug Fixes
* make vite-dev-server work on windows ([#16103](https://github.com/cypress-io/cypress/issues/16103)) ([a380d02](https://github.com/cypress-io/cypress/commit/a380d020a4211ddbb2f10a61308bd1a6d2e45057))
# [@cypress/vite-dev-server-v1.2.2](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v1.2.1...@cypress/vite-dev-server-v1.2.2) (2021-04-15)

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

9

dist/makeCypressPlugin.js

@@ -9,5 +9,8 @@ "use strict";

const pluginName = 'cypress-transform-html';
const INIT_FILEPATH = path_1.resolve(__dirname, '../client/initCypressTests.js');
const OSSepRE = new RegExp(`\\${path_1.sep}`, 'g');
const INIT_FILEPATH = path_1.resolve(__dirname, '../client/initCypressTests.js').replace(OSSepRE, '/');
const makeCypressPlugin = (projectRoot, supportFilePath, devServerEvents) => {
let base = '/';
const posixSupportFilePath = supportFilePath ? path_1.resolve(projectRoot, supportFilePath).replace(OSSepRE, '/') : undefined;
const normalizedSupportFilePath = posixSupportFilePath ? `${base}@fs/${posixSupportFilePath}` : undefined;
return {

@@ -20,3 +23,3 @@ name: pluginName,

define: {
'import.meta.env.__cypress_supportPath': JSON.stringify(supportFilePath ? path_1.resolve(projectRoot, supportFilePath) : undefined),
'import.meta.env.__cypress_supportPath': JSON.stringify(normalizedSupportFilePath),
'import.meta.env.__cypress_originAutUrl': JSON.stringify('__cypress/iframes/'),

@@ -38,3 +41,3 @@ },

attrs: { type: 'module' },
children: `import(${JSON.stringify(INIT_FILEPATH)})`,
children: `import(${JSON.stringify(`${base}@fs/${INIT_FILEPATH}`)})`,
},

@@ -41,0 +44,0 @@ ];

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