@module-federation/native-federation-tests 0.6.3 → 0.6.5
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/dist/CHANGELOG.md +12 -0
- package/dist/esbuild.d.cts +15 -4
- package/dist/esbuild.d.mts +15 -4
- package/dist/package.json +14 -3
- package/dist/rolldown.d.cts +2 -3
- package/dist/rolldown.d.mts +2 -3
- package/dist/rollup.d.cts +3 -3
- package/dist/rollup.d.mts +3 -3
- package/package.json +14 -3
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @module-federation/native-federation-tests
|
|
2
2
|
|
|
3
|
+
## 0.6.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 000f3fa: Addresses CVE-2026-76845 by upgrading `adm-zip` to `0.6.1`.
|
|
8
|
+
|
|
9
|
+
## 0.6.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 2f9007d: Update direct axios dependencies to the current security release.
|
|
14
|
+
|
|
3
15
|
## 0.6.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/esbuild.d.cts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { n as RemoteOptions, t as HostOptions } from "./HostOptions-D_JYre2E.cjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/esbuild@0.
|
|
3
|
+
//#region ../../node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/lib/main.d.ts
|
|
4
4
|
type Platform = 'browser' | 'node' | 'neutral';
|
|
5
5
|
type Format = 'iife' | 'cjs' | 'esm';
|
|
6
6
|
type Loader = 'base64' | 'binary' | 'copy' | 'css' | 'dataurl' | 'default' | 'empty' | 'file' | 'js' | 'json' | 'jsx' | 'local-css' | 'text' | 'ts' | 'tsx';
|
|
7
7
|
type LogLevel = 'verbose' | 'debug' | 'info' | 'warning' | 'error' | 'silent';
|
|
8
8
|
type Charset = 'ascii' | 'utf8';
|
|
9
9
|
type Drop = 'console' | 'debugger';
|
|
10
|
+
type AbsPaths = 'code' | 'log' | 'metafile';
|
|
10
11
|
interface CommonOptions {
|
|
11
12
|
/** Documentation: https://esbuild.github.io/api/#sourcemap */
|
|
12
13
|
sourcemap?: boolean | 'linked' | 'inline' | 'external' | 'both';
|
|
@@ -74,6 +75,8 @@ interface CommonOptions {
|
|
|
74
75
|
pure?: string[];
|
|
75
76
|
/** Documentation: https://esbuild.github.io/api/#keep-names */
|
|
76
77
|
keepNames?: boolean;
|
|
78
|
+
/** Documentation: https://esbuild.github.io/api/#abs-paths */
|
|
79
|
+
absPaths?: AbsPaths[];
|
|
77
80
|
/** Documentation: https://esbuild.github.io/api/#color */
|
|
78
81
|
color?: boolean;
|
|
79
82
|
/** Documentation: https://esbuild.github.io/api/#log-level */
|
|
@@ -163,10 +166,10 @@ interface BuildOptions extends CommonOptions {
|
|
|
163
166
|
[type: string]: string;
|
|
164
167
|
};
|
|
165
168
|
/** Documentation: https://esbuild.github.io/api/#entry-points */
|
|
166
|
-
entryPoints?: string
|
|
169
|
+
entryPoints?: (string | {
|
|
167
170
|
in: string;
|
|
168
171
|
out: string;
|
|
169
|
-
}[]
|
|
172
|
+
})[] | Record<string, string>;
|
|
170
173
|
/** Documentation: https://esbuild.github.io/api/#stdin */
|
|
171
174
|
stdin?: StdinOptions;
|
|
172
175
|
/** Documentation: https://esbuild.github.io/plugins/ */
|
|
@@ -235,8 +238,13 @@ interface ServeOptions {
|
|
|
235
238
|
keyfile?: string;
|
|
236
239
|
certfile?: string;
|
|
237
240
|
fallback?: string;
|
|
241
|
+
cors?: CORSOptions;
|
|
238
242
|
onRequest?: (args: ServeOnRequestArgs) => void;
|
|
239
243
|
}
|
|
244
|
+
/** Documentation: https://esbuild.github.io/api/#cors */
|
|
245
|
+
interface CORSOptions {
|
|
246
|
+
origin?: string | string[];
|
|
247
|
+
}
|
|
240
248
|
interface ServeOnRequestArgs {
|
|
241
249
|
remoteAddress: string;
|
|
242
250
|
method: string;
|
|
@@ -444,7 +452,10 @@ interface AnalyzeMetafileOptions {
|
|
|
444
452
|
color?: boolean;
|
|
445
453
|
verbose?: boolean;
|
|
446
454
|
}
|
|
447
|
-
|
|
455
|
+
/** Documentation: https://esbuild.github.io/api/#watch-arguments */
|
|
456
|
+
interface WatchOptions {
|
|
457
|
+
delay?: number; // In milliseconds
|
|
458
|
+
}
|
|
448
459
|
interface BuildContext<ProvidedOptions extends BuildOptions = BuildOptions> {
|
|
449
460
|
/** Documentation: https://esbuild.github.io/api/#rebuild */
|
|
450
461
|
rebuild(): Promise<BuildResult<ProvidedOptions>>;
|
package/dist/esbuild.d.mts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { n as RemoteOptions, t as HostOptions } from "./HostOptions-DW6TkBZo.mjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/esbuild@0.
|
|
3
|
+
//#region ../../node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/lib/main.d.ts
|
|
4
4
|
type Platform = 'browser' | 'node' | 'neutral';
|
|
5
5
|
type Format = 'iife' | 'cjs' | 'esm';
|
|
6
6
|
type Loader = 'base64' | 'binary' | 'copy' | 'css' | 'dataurl' | 'default' | 'empty' | 'file' | 'js' | 'json' | 'jsx' | 'local-css' | 'text' | 'ts' | 'tsx';
|
|
7
7
|
type LogLevel = 'verbose' | 'debug' | 'info' | 'warning' | 'error' | 'silent';
|
|
8
8
|
type Charset = 'ascii' | 'utf8';
|
|
9
9
|
type Drop = 'console' | 'debugger';
|
|
10
|
+
type AbsPaths = 'code' | 'log' | 'metafile';
|
|
10
11
|
interface CommonOptions {
|
|
11
12
|
/** Documentation: https://esbuild.github.io/api/#sourcemap */
|
|
12
13
|
sourcemap?: boolean | 'linked' | 'inline' | 'external' | 'both';
|
|
@@ -74,6 +75,8 @@ interface CommonOptions {
|
|
|
74
75
|
pure?: string[];
|
|
75
76
|
/** Documentation: https://esbuild.github.io/api/#keep-names */
|
|
76
77
|
keepNames?: boolean;
|
|
78
|
+
/** Documentation: https://esbuild.github.io/api/#abs-paths */
|
|
79
|
+
absPaths?: AbsPaths[];
|
|
77
80
|
/** Documentation: https://esbuild.github.io/api/#color */
|
|
78
81
|
color?: boolean;
|
|
79
82
|
/** Documentation: https://esbuild.github.io/api/#log-level */
|
|
@@ -163,10 +166,10 @@ interface BuildOptions extends CommonOptions {
|
|
|
163
166
|
[type: string]: string;
|
|
164
167
|
};
|
|
165
168
|
/** Documentation: https://esbuild.github.io/api/#entry-points */
|
|
166
|
-
entryPoints?: string
|
|
169
|
+
entryPoints?: (string | {
|
|
167
170
|
in: string;
|
|
168
171
|
out: string;
|
|
169
|
-
}[]
|
|
172
|
+
})[] | Record<string, string>;
|
|
170
173
|
/** Documentation: https://esbuild.github.io/api/#stdin */
|
|
171
174
|
stdin?: StdinOptions;
|
|
172
175
|
/** Documentation: https://esbuild.github.io/plugins/ */
|
|
@@ -235,8 +238,13 @@ interface ServeOptions {
|
|
|
235
238
|
keyfile?: string;
|
|
236
239
|
certfile?: string;
|
|
237
240
|
fallback?: string;
|
|
241
|
+
cors?: CORSOptions;
|
|
238
242
|
onRequest?: (args: ServeOnRequestArgs) => void;
|
|
239
243
|
}
|
|
244
|
+
/** Documentation: https://esbuild.github.io/api/#cors */
|
|
245
|
+
interface CORSOptions {
|
|
246
|
+
origin?: string | string[];
|
|
247
|
+
}
|
|
240
248
|
interface ServeOnRequestArgs {
|
|
241
249
|
remoteAddress: string;
|
|
242
250
|
method: string;
|
|
@@ -444,7 +452,10 @@ interface AnalyzeMetafileOptions {
|
|
|
444
452
|
color?: boolean;
|
|
445
453
|
verbose?: boolean;
|
|
446
454
|
}
|
|
447
|
-
|
|
455
|
+
/** Documentation: https://esbuild.github.io/api/#watch-arguments */
|
|
456
|
+
interface WatchOptions {
|
|
457
|
+
delay?: number; // In milliseconds
|
|
458
|
+
}
|
|
448
459
|
interface BuildContext<ProvidedOptions extends BuildOptions = BuildOptions> {
|
|
449
460
|
/** Documentation: https://esbuild.github.io/api/#rebuild */
|
|
450
461
|
rebuild(): Promise<BuildResult<ProvidedOptions>>;
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/native-federation-tests",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "Bundler agnostic unplugin to share federated tests",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -87,11 +87,22 @@
|
|
|
87
87
|
},
|
|
88
88
|
"license": "MIT",
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"adm-zip": "^0.
|
|
90
|
+
"adm-zip": "^0.6.1",
|
|
91
91
|
"ansi-colors": "^4.1.3",
|
|
92
|
-
"axios": "
|
|
92
|
+
"axios": "1.18.0",
|
|
93
93
|
"rambda": "^9.2.1",
|
|
94
94
|
"tsdown": "0.20.3",
|
|
95
95
|
"unplugin": "^1.10.1"
|
|
96
|
+
},
|
|
97
|
+
"devDependencies": {
|
|
98
|
+
"@rstest/core": "^0.10.6",
|
|
99
|
+
"directory-tree": "3.5.2",
|
|
100
|
+
"typescript": "6.0.3"
|
|
101
|
+
},
|
|
102
|
+
"scripts": {
|
|
103
|
+
"build": "tsdown --config tsdown.config.ts && cp package.json dist && cp *.md dist",
|
|
104
|
+
"lint": "ESLINT_USE_FLAT_CONFIG=false pnpm exec eslint --ignore-pattern node_modules \"**/*.ts\"",
|
|
105
|
+
"test": "pnpm exec rstest --passWithNoTests",
|
|
106
|
+
"pre-release": "pnpm run test && pnpm run build"
|
|
96
107
|
}
|
|
97
108
|
}
|
package/dist/rolldown.d.cts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { n as RemoteOptions, t as HostOptions } from "./HostOptions-D_JYre2E.cjs";
|
|
2
|
-
import * as unplugin from "unplugin";
|
|
3
2
|
|
|
4
3
|
//#region src/rolldown.d.ts
|
|
5
|
-
declare const NativeFederationTestsRemote: (options: RemoteOptions) =>
|
|
6
|
-
declare const NativeFederationTestsHost: (options: HostOptions) =>
|
|
4
|
+
declare const NativeFederationTestsRemote: (options: RemoteOptions) => any;
|
|
5
|
+
declare const NativeFederationTestsHost: (options: HostOptions) => any;
|
|
7
6
|
//#endregion
|
|
8
7
|
export { NativeFederationTestsHost, NativeFederationTestsRemote };
|
package/dist/rolldown.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { n as RemoteOptions, t as HostOptions } from "./HostOptions-DW6TkBZo.mjs";
|
|
2
|
-
import * as unplugin from "unplugin";
|
|
3
2
|
|
|
4
3
|
//#region src/rolldown.d.ts
|
|
5
|
-
declare const NativeFederationTestsRemote: (options: RemoteOptions) =>
|
|
6
|
-
declare const NativeFederationTestsHost: (options: HostOptions) =>
|
|
4
|
+
declare const NativeFederationTestsRemote: (options: RemoteOptions) => any;
|
|
5
|
+
declare const NativeFederationTestsHost: (options: HostOptions) => any;
|
|
7
6
|
//#endregion
|
|
8
7
|
export { NativeFederationTestsHost, NativeFederationTestsRemote };
|
package/dist/rollup.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as RemoteOptions, t as HostOptions } from "./HostOptions-D_JYre2E.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as unplugin from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/rollup.d.ts
|
|
5
|
-
declare const NativeFederationTestsRemote: (options: RemoteOptions) =>
|
|
6
|
-
declare const NativeFederationTestsHost: (options: HostOptions) =>
|
|
5
|
+
declare const NativeFederationTestsRemote: (options: RemoteOptions) => unplugin.RollupPlugin<any> | unplugin.RollupPlugin<any>[];
|
|
6
|
+
declare const NativeFederationTestsHost: (options: HostOptions) => unplugin.RollupPlugin<any> | unplugin.RollupPlugin<any>[];
|
|
7
7
|
//#endregion
|
|
8
8
|
export { NativeFederationTestsHost, NativeFederationTestsRemote };
|
package/dist/rollup.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as RemoteOptions, t as HostOptions } from "./HostOptions-DW6TkBZo.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as unplugin from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/rollup.d.ts
|
|
5
|
-
declare const NativeFederationTestsRemote: (options: RemoteOptions) =>
|
|
6
|
-
declare const NativeFederationTestsHost: (options: HostOptions) =>
|
|
5
|
+
declare const NativeFederationTestsRemote: (options: RemoteOptions) => unplugin.RollupPlugin<any> | unplugin.RollupPlugin<any>[];
|
|
6
|
+
declare const NativeFederationTestsHost: (options: HostOptions) => unplugin.RollupPlugin<any> | unplugin.RollupPlugin<any>[];
|
|
7
7
|
//#endregion
|
|
8
8
|
export { NativeFederationTestsHost, NativeFederationTestsRemote };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/native-federation-tests",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "Bundler agnostic unplugin to share federated tests",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -87,11 +87,22 @@
|
|
|
87
87
|
},
|
|
88
88
|
"license": "MIT",
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"adm-zip": "^0.
|
|
90
|
+
"adm-zip": "^0.6.1",
|
|
91
91
|
"ansi-colors": "^4.1.3",
|
|
92
|
-
"axios": "
|
|
92
|
+
"axios": "1.18.0",
|
|
93
93
|
"rambda": "^9.2.1",
|
|
94
94
|
"tsdown": "0.20.3",
|
|
95
95
|
"unplugin": "^1.10.1"
|
|
96
|
+
},
|
|
97
|
+
"devDependencies": {
|
|
98
|
+
"@rstest/core": "^0.10.6",
|
|
99
|
+
"directory-tree": "3.5.2",
|
|
100
|
+
"typescript": "6.0.3"
|
|
101
|
+
},
|
|
102
|
+
"scripts": {
|
|
103
|
+
"build": "tsdown --config tsdown.config.ts && cp package.json dist && cp *.md dist",
|
|
104
|
+
"lint": "ESLINT_USE_FLAT_CONFIG=false pnpm exec eslint --ignore-pattern node_modules \"**/*.ts\"",
|
|
105
|
+
"test": "pnpm exec rstest --passWithNoTests",
|
|
106
|
+
"pre-release": "pnpm run test && pnpm run build"
|
|
96
107
|
}
|
|
97
108
|
}
|