@cypress/webpack-dev-server 3.9.0 → 3.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ export interface CypressCTWebpackPluginOptions {
9
9
  webpack: Function;
10
10
  indexHtmlFile: string;
11
11
  }
12
- export declare type CypressCTContextOptions = Omit<CypressCTWebpackPluginOptions, 'devServerEvents' | 'webpack'>;
12
+ export type CypressCTContextOptions = Omit<CypressCTWebpackPluginOptions, 'devServerEvents' | 'webpack'>;
13
13
  export interface CypressCTWebpackContext {
14
14
  _cypress: CypressCTContextOptions;
15
15
  }
@@ -2,10 +2,10 @@
2
2
  /// <reference types="node" />
3
3
  import type { Configuration } from 'webpack';
4
4
  import { SourceRelativeWebpackResult } from './helpers/sourceRelativeWebpackModules';
5
- export declare type Frameworks = Extract<Cypress.DevServerConfigOptions, {
5
+ export type Frameworks = Extract<Cypress.DevServerConfigOptions, {
6
6
  bundler: 'webpack';
7
7
  }>['framework'];
8
- declare type FrameworkConfig = {
8
+ type FrameworkConfig = {
9
9
  framework?: Exclude<Frameworks, 'angular'>;
10
10
  } | {
11
11
  framework: 'angular';
@@ -13,8 +13,8 @@ declare type FrameworkConfig = {
13
13
  projectConfig: Cypress.AngularDevServerProjectConfig;
14
14
  };
15
15
  };
16
- export declare type ConfigHandler = Partial<Configuration> | (() => Partial<Configuration> | Promise<Partial<Configuration>>);
17
- export declare type WebpackDevServerConfig = {
16
+ export type ConfigHandler = Partial<Configuration> | (() => Partial<Configuration> | Promise<Partial<Configuration>>);
17
+ export type WebpackDevServerConfig = {
18
18
  specs: Cypress.Spec[];
19
19
  cypressConfig: Cypress.PluginConfigOptions;
20
20
  devServerEvents: NodeJS.EventEmitter;
@@ -37,7 +37,7 @@ export declare namespace devServer {
37
37
  version: 3 | 4 | 5;
38
38
  }>;
39
39
  }
40
- export declare type PresetHandlerResult = {
40
+ export type PresetHandlerResult = {
41
41
  frameworkConfig: Configuration;
42
42
  sourceWebpackModulesResult: SourceRelativeWebpackResult;
43
43
  };
@@ -1,15 +1,15 @@
1
1
  /// <reference types="cypress" />
2
2
  import type { PresetHandlerResult, WebpackDevServerConfig } from '../devServer';
3
- export declare type BuildOptions = Record<string, any>;
4
- export declare type AngularWebpackDevServerConfig = Extract<WebpackDevServerConfig, {
3
+ export type BuildOptions = Record<string, any>;
4
+ export type AngularWebpackDevServerConfig = Extract<WebpackDevServerConfig, {
5
5
  framework: 'angular';
6
6
  }>;
7
- declare type Configurations = {
7
+ type Configurations = {
8
8
  configurations?: {
9
9
  [configuration: string]: BuildOptions;
10
10
  };
11
11
  };
12
- export declare type AngularJsonProjectConfig = {
12
+ export type AngularJsonProjectConfig = {
13
13
  projectType: string;
14
14
  root: string;
15
15
  sourceRoot: string;
@@ -19,7 +19,7 @@ export declare type AngularJsonProjectConfig = {
19
19
  } & Configurations;
20
20
  };
21
21
  };
22
- declare type AngularJson = {
22
+ type AngularJson = {
23
23
  defaultProject?: string;
24
24
  projects: {
25
25
  [project: string]: AngularJsonProjectConfig;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import Module from 'module';
3
3
  import type { WebpackDevServerConfig } from '../devServer';
4
- export declare type ModuleClass = typeof Module & {
4
+ export type ModuleClass = typeof Module & {
5
5
  _load(id: string, parent: Module, isMain: boolean): any;
6
6
  _resolveFilename(request: string, parent: Module, isMain: boolean, options?: {
7
7
  paths: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cypress/webpack-dev-server",
3
- "version": "3.9.0",
3
+ "version": "3.10.1",
4
4
  "description": "Launches Webpack Dev Server for Component Testing",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -25,7 +25,7 @@
25
25
  "semver": "^7.5.3",
26
26
  "speed-measure-webpack-plugin": "1.4.2",
27
27
  "tslib": "^2.3.1",
28
- "webpack-dev-server": "^4.7.4",
28
+ "webpack-dev-server": "^4.15.2",
29
29
  "webpack-merge": "^5.4.0"
30
30
  },
31
31
  "devDependencies": {