Socket
Socket
Sign inDemoInstall

@cypress/webpack-dev-server

Package Overview
Dependencies
336
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.1 to 1.8.2

8

CHANGELOG.md

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

# [@cypress/webpack-dev-server-v1.8.2](https://github.com/cypress-io/cypress/compare/@cypress/webpack-dev-server-v1.8.1...@cypress/webpack-dev-server-v1.8.2) (2022-03-03)
### Bug Fixes
* avoid nextjs unsafeCache and watchOptions ([#20440](https://github.com/cypress-io/cypress/issues/20440)) ([9f60901](https://github.com/cypress-io/cypress/commit/9f6090170b0675d25b26b98cd0f987a5e395ab78))
* error regression - strip ansi colors out of cy.fixture() error message ([#20335](https://github.com/cypress-io/cypress/issues/20335)) ([e0bd6ac](https://github.com/cypress-io/cypress/commit/e0bd6ac2aaf8d00b9233fffefed8f6ed2484bf45))
# [@cypress/webpack-dev-server-v1.8.1](https://github.com/cypress-io/cypress/compare/@cypress/webpack-dev-server-v1.8.0...@cypress/webpack-dev-server-v1.8.1) (2022-02-08)

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

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

function makeWebpackConfig(userWebpackConfig, options) {
var _a;
return __awaiter(this, void 0, void 0, function* () {

@@ -90,2 +91,8 @@ const { projectRoot, devServerPublicPathRoute, files, supportFile, devServerEvents, template } = options;

}
if (typeof ((_a = userWebpackConfig === null || userWebpackConfig === void 0 ? void 0 : userWebpackConfig.module) === null || _a === void 0 ? void 0 : _a.unsafeCache) === 'function') {
const originalCachePredicate = userWebpackConfig.module.unsafeCache;
userWebpackConfig.module.unsafeCache = (module) => {
return originalCachePredicate(module) && !/[\\/]webpack-dev-server[\\/]dist[\\/]browser\.js/.test(module.resource);
};
}
const mergedConfig = (0, webpack_merge_1.merge)(userWebpackConfig, (0, webpack_config_1.default)(template), dynamicWebpackConfig);

@@ -92,0 +99,0 @@ mergedConfig.entry = entry;

2

package.json
{
"name": "@cypress/webpack-dev-server",
"version": "1.8.1",
"version": "1.8.2",
"description": "Launches Webpack Dev Server for Component Testing",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc