@modern-js/types 2.58.2 → 2.58.3

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.
package/common/babel.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type {
2
- TransformOptions as BabelTransformOptions,
3
2
  PluginItem as BabelPlugin,
3
+ TransformOptions as BabelTransformOptions,
4
4
  } from '@babel/core';
5
5
 
6
6
  export type {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.58.2",
18
+ "version": "2.58.3",
19
19
  "types": "./index.d.ts",
20
20
  "exports": {
21
21
  ".": {
@@ -45,8 +45,8 @@
45
45
  "http-proxy-middleware": "^2.0.4",
46
46
  "jest": "^29",
47
47
  "type-fest": "2.15.0",
48
- "@scripts/build": "2.58.2",
49
- "@scripts/jest-config": "2.58.2"
48
+ "@scripts/build": "2.58.3",
49
+ "@scripts/jest-config": "2.58.3"
50
50
  },
51
51
  "sideEffects": false,
52
52
  "publishConfig": {
@@ -1,12 +1,12 @@
1
1
  import type {
2
+ Server as HttpServer,
3
+ IncomingHttpHeaders,
2
4
  IncomingMessage,
3
5
  ServerResponse,
4
- IncomingHttpHeaders,
5
- Server as HttpServer,
6
6
  } from 'http';
7
7
  import type qs from 'querystring';
8
8
  import type { SSRMode } from 'common';
9
- import type { Metrics, Logger, Reporter, ServerTiming } from './utils';
9
+ import type { Logger, Metrics, Reporter, ServerTiming } from './utils';
10
10
 
11
11
  export interface RequestPayload {
12
12
  [key: string]: unknown;
@@ -1,5 +1,5 @@
1
1
  import type { IncomingMessage, ServerResponse } from 'http';
2
- import type { NextFunction, BffProxyOptions } from './utils';
2
+ import type { BffProxyOptions, NextFunction } from './utils';
3
3
 
4
4
  export type DevServerHttpsOptions = boolean | { key: string; cert: string };
5
5
 
package/server/hook.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import type {
2
+ IncomingHttpHeaders,
2
3
  IncomingMessage,
3
4
  ServerResponse,
4
- IncomingHttpHeaders,
5
5
  } from 'http';
6
- import type { Reporter } from './utils';
7
6
  import type { ServerRoute } from './route';
7
+ import type { Reporter } from './utils';
8
8
 
9
9
  export type CookieAPI = {
10
10
  /**
package/server/utils.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { IncomingMessage, ServerResponse } from 'http';
2
2
  import type {
3
- Options as ProxyOptions,
4
3
  Filter as ProxyFilter,
4
+ Options as ProxyOptions,
5
5
  } from 'http-proxy-middleware';
6
6
 
7
7
  export interface Metrics {