@equinor/fusion-framework-vite-plugin-spa 3.0.5 → 3.0.7-next.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @equinor/fusion-framework-vite-plugin-spa
2
2
 
3
+ ## 3.0.7-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`265bb76`](https://github.com/equinor/fusion-framework/commit/265bb767249989eeb1971e83f3fba94879e0813b) Thanks [@odinr](https://github.com/odinr)! - relase next
8
+
9
+ - Updated dependencies [[`265bb76`](https://github.com/equinor/fusion-framework/commit/265bb767249989eeb1971e83f3fba94879e0813b), [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8)]:
10
+ - @equinor/fusion-framework-module-telemetry@5.0.0-next.0
11
+ - @equinor/fusion-framework-module-http@7.0.6-next.0
12
+ - @equinor/fusion-framework-module@5.0.6-next.0
13
+ - @equinor/fusion-framework-module-msal@7.0.0-next.0
14
+ - @equinor/fusion-framework-module-service-discovery@9.0.5-next.0
15
+
16
+ ## 3.0.6
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [[`244d615`](https://github.com/equinor/fusion-framework/commit/244d615195721541870c98754ee37baca96b8584)]:
21
+ - @equinor/fusion-framework-module-msal@6.0.4
22
+
3
23
  ## 3.0.5
4
24
 
5
25
  ### Patch Changes
@@ -42,7 +62,6 @@
42
62
  ### Patch Changes
43
63
 
44
64
  - [#3714](https://github.com/equinor/fusion-framework/pull/3714) [`11fe961`](https://github.com/equinor/fusion-framework/commit/11fe961794e4960ccb987bc320268cc9b263f1f8) Thanks [@odinr](https://github.com/odinr)! - Fix MSAL v4 compatibility issues in SPA plugin.
45
-
46
65
  - Update MSAL client configuration to use nested auth object structure
47
66
  - Replace deprecated defaultAccount with account property
48
67
  - Update acquireToken calls to use MSAL v4 request structure
@@ -80,20 +99,17 @@
80
99
  This update addresses a security vulnerability in Vite's development server and includes bug fixes for improved compatibility. The update ensures secure development environments and better plugin ecosystem compatibility.
81
100
 
82
101
  **Changes:**
83
-
84
102
  - Updated Vite from v7.1.10 to v7.1.12
85
103
  - Includes security fix for development server file system checks
86
104
  - Includes compatibility fix for CommonJS plugin
87
105
  - No breaking changes or API modifications
88
106
 
89
107
  **Security Fix (v7.1.11):**
90
-
91
108
  - **dev**: trim trailing slash before `server.fs.deny` check ([#20968](https://github.com/vitejs/vite/issues/20968))
92
109
  - Prevents potential path traversal vulnerability in development server
93
110
  - Only affects development environment, not production builds
94
111
 
95
112
  **Bug Fix (v7.1.12):**
96
-
97
113
  - **deps**: downgrade commonjs plugin to 28.0.6 to avoid rollup/plugins issues ([#20990](https://github.com/vitejs/vite/issues/20990))
98
114
  - Improves compatibility with Rollup plugin ecosystem
99
115
  - Prevents potential build issues
@@ -109,19 +125,16 @@
109
125
  - [#3584](https://github.com/equinor/fusion-framework/pull/3584) [`0dd31cd`](https://github.com/equinor/fusion-framework/commit/0dd31cd1078b383ddab4a8cf1bb03d502e214715) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @rollup/plugin-node-resolve from 16.0.1 to 16.0.3
110
126
 
111
127
  Bug fixes:
112
-
113
128
  - fix: resolve bare targets of package "imports" using export maps; avoid fileURLToPath(null)
114
129
  - fix: error thrown with empty entry
115
130
 
116
131
  - [#3604](https://github.com/equinor/fusion-framework/pull/3604) [`31e2581`](https://github.com/equinor/fusion-framework/commit/31e2581fca2765dc7caf54f74db3db51020b53b7) Thanks [@odinr](https://github.com/odinr)! - Update SPA bootstrap telemetry configuration to use proper adapter identifiers.
117
132
 
118
133
  **Changes:**
119
-
120
134
  - Refactor console adapter setup for cleaner conditional logic
121
135
  - Update setAdapter calls to include required identifier parameter
122
136
 
123
137
  **Migration:**
124
-
125
138
  - No breaking changes for SPA consumers - internal implementation update only
126
139
 
127
140
  - Updated dependencies [[`6900d98`](https://github.com/equinor/fusion-framework/commit/6900d98142c84f4703095f8d03b09af57a1d7d2e), [`e1a94c5`](https://github.com/equinor/fusion-framework/commit/e1a94c5a1df4ac2ec92ed25b75648397a3dbfa7b), [`e1a94c5`](https://github.com/equinor/fusion-framework/commit/e1a94c5a1df4ac2ec92ed25b75648397a3dbfa7b), [`31e2581`](https://github.com/equinor/fusion-framework/commit/31e2581fca2765dc7caf54f74db3db51020b53b7), [`0bc6b38`](https://github.com/equinor/fusion-framework/commit/0bc6b38e61c98a2f9dea7b55fa9983f268f860be), [`a13de68`](https://github.com/equinor/fusion-framework/commit/a13de68b2f196a779ea850af055d8db7926941ce)]:
@@ -140,7 +153,6 @@
140
153
  Previously, the plugin was using direct `.pathname` access on URL objects which could cause issues on Windows due to path separator differences. This change replaces the direct pathname access with `fileURLToPath()` and `normalizePath()` from Vite to ensure proper cross-platform path handling.
141
154
 
142
155
  **Changes:**
143
-
144
156
  - Import `normalizePath` from Vite for consistent path normalization
145
157
  - Use `fileURLToPath()` to properly convert file URLs to paths
146
158
  - Apply `normalizePath()` to ensure consistent path separators across platforms
@@ -154,7 +166,6 @@
154
166
  - [#3579](https://github.com/equinor/fusion-framework/pull/3579) [`b6a64d9`](https://github.com/equinor/fusion-framework/commit/b6a64d94bad7248c06b3aa7d65d7d698052437c7) Thanks [@Noggling](https://github.com/Noggling)! - Add peer dependencies to SPA Vite plugin
155
167
 
156
168
  Added peer dependencies to ensure proper dependency resolution for the SPA Vite plugin. This change declares the Fusion Framework modules that the plugin expects to be available in the consuming application:
157
-
158
169
  - `@equinor/fusion-framework-module`
159
170
  - `@equinor/fusion-framework-module-http`
160
171
  - `@equinor/fusion-framework-module-msal`
@@ -168,7 +179,6 @@
168
179
  ### Minor Changes
169
180
 
170
181
  - [#3547](https://github.com/equinor/fusion-framework/pull/3547) [`99a3c26`](https://github.com/equinor/fusion-framework/commit/99a3c26275c2089c3708124f5819ce383d8dc3dc) Thanks [@odinr](https://github.com/odinr)! - Enhanced SPA plugin with portal proxy support for testing apps in real portal environments ([Issue #3546](https://github.com/equinor/fusion-framework/issues/3546)).
171
-
172
182
  - Added `proxy` option to portal configuration to enable `/portal-proxy` routing
173
183
  - Added `FUSION_SPA_PORTAL_PROXY` environment variable support
174
184
  - Updated TypeScript types to include portal proxy configuration
@@ -194,7 +204,6 @@
194
204
  ### Patch Changes
195
205
 
196
206
  - [#3490](https://github.com/equinor/fusion-framework/pull/3490) [`45954e5`](https://github.com/equinor/fusion-framework/commit/45954e5db471a2faa24e88e41fc6d6c18817d6d1) Thanks [@odinr](https://github.com/odinr)! - Remove logger level configuration from bootstrap template.
197
-
198
207
  - Removed `configurator.logger.level` assignment from `bootstrap.ts`
199
208
  - Logger level configuration should be handled elsewhere or is no longer needed
200
209
 
@@ -205,7 +214,6 @@
205
214
  This patch update fixes bugs and improves stability in the vite dependency.
206
215
 
207
216
  - [#3521](https://github.com/equinor/fusion-framework/pull/3521) [`d1098f7`](https://github.com/equinor/fusion-framework/commit/d1098f7eeff04380c9e05e4a7a7d6b16e1d95884) Thanks [@odinr](https://github.com/odinr)! - Add comprehensive telemetry integration to SPA bootstrap and service worker.
208
-
209
217
  - Enable telemetry in SPA bootstrap with ConsoleAdapter
210
218
  - Add configurable console logging levels via FUSION_SPA_TELEMETRY_CONSOLE_LEVEL environment variable
211
219
  - Track bootstrap performance for portal loading operations
@@ -215,7 +223,6 @@
215
223
  - Fix console level filtering logic to properly respect environment variable settings
216
224
 
217
225
  **Implementation Notes:**
218
-
219
226
  - Console level filtering defaults to `TelemetryLevel.Information` (1) when env var not set
220
227
  - Invalid env var values fallback to logging all telemetry (robust error handling)
221
228
  - Backward compatible: existing behavior unchanged when no FUSION_SPA_TELEMETRY_CONSOLE_LEVEL specified
@@ -228,7 +235,6 @@
228
235
  ### Patch Changes
229
236
 
230
237
  - [`56c27ec`](https://github.com/equinor/fusion-framework/commit/56c27ec9de03e07e725eecfdf2c028a1e29b6ece) Thanks [@odinr](https://github.com/odinr)! - Updated workspace dependencies to use exact version specifiers for consistent release behavior.
231
-
232
238
  - Changed workspace dependencies from `workspace:^` to `workspace:*` across CLI, dev-server, and SPA vite plugin packages
233
239
  - Ensures exact version resolution within the monorepo for predictable builds and releases
234
240
  - Affects both dependencies and devDependencies where applicable
@@ -242,19 +248,16 @@
242
248
  **Problem**: During hard refresh, the service worker would not intercept fetch requests, causing authenticated API requests to fail. The service worker could be stuck in "waiting" state or already active but not controlling the page (`navigator.serviceWorker.controller` was `undefined`).
243
249
 
244
250
  **Root Cause**: Two related issues in the service worker lifecycle during hard refresh:
245
-
246
251
  1. **Waiting state**: When code changes, the new service worker enters "waiting" state, but `skipWaiting()` only runs in the `install` event (which already fired)
247
252
  2. **No controller**: Even when active, `clients.claim()` only runs in the `activate` event, which doesn't fire again if the service worker is already active
248
253
 
249
254
  **Solution**:
250
-
251
255
  - **Force activation on config receipt**: When receiving `INIT_CONFIG`, immediately call both `skipWaiting()` and `clients.claim()` to ensure the service worker activates and takes control regardless of its current state
252
256
  - **Wait for controller**: Registration now waits for `navigator.serviceWorker.controller` to be set before proceeding, ensuring fetch interception is ready
253
257
  - **Disable service worker caching**: Added `updateViaCache: 'none'` to always fetch fresh service worker code during development
254
258
  - **Comprehensive state handling**: Handle service workers in installing, waiting, and active states
255
259
 
256
260
  **Changes**:
257
-
258
261
  1. **sw.ts**: Call `skipWaiting()` and `clients.claim()` when receiving `INIT_CONFIG` message
259
262
  2. **register-service-worker.ts**: Wait for controller with polling and timeout fallback; disable service worker HTTP caching
260
263
 
@@ -278,7 +281,6 @@
278
281
  - [#3349](https://github.com/equinor/fusion-framework/pull/3349) [`c511123`](https://github.com/equinor/fusion-framework/commit/c511123c835e24e9ddefcc4c47c2455f5df12087) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump vite from 6.x to 7.1.5
279
282
 
280
283
  Major version update of Vite build tool across all packages. This update includes:
281
-
282
284
  - Enhanced build performance and caching
283
285
  - Better error reporting with code frames
284
286
  - Improved TypeScript integration
@@ -286,7 +288,6 @@
286
288
  - New development server features
287
289
 
288
290
  ### Links
289
-
290
291
  - [Vite 7.1.5 Release Notes](https://github.com/vitejs/vite/releases/tag/v7.1.5)
291
292
  - [Vite 7.x Migration Guide](https://vitejs.dev/guide/migration)
292
293
 
@@ -295,7 +296,6 @@
295
296
  ### Patch Changes
296
297
 
297
298
  - [#3381](https://github.com/equinor/fusion-framework/pull/3381) [`bae9c95`](https://github.com/equinor/fusion-framework/commit/bae9c9554f335d0384b864436874bded47d00ed8) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update rollup from 4.49.0 to 4.50.2
298
-
299
299
  - Updated rollup dependency via vite transitive dependency
300
300
  - Includes bug fixes for tree-shaking array destructuring patterns
301
301
  - Performance improvements and platform support updates
@@ -304,7 +304,6 @@
304
304
  - [#2910](https://github.com/equinor/fusion-framework/pull/2910) [`07cc985`](https://github.com/equinor/fusion-framework/commit/07cc9857e1427b574e011cc319518e701dba784d) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated vitest from 2.1.9 to 3.2.4 across all packages.
305
305
 
306
306
  ## Breaking Changes
307
-
308
307
  - **Node.js Requirements**: Requires Node.js 18+ (already satisfied)
309
308
  - **Vite Compatibility**: Updated to work with Vite 7.x (already using Vite 7.1.5)
310
309
  - **Snapshot Format**: Snapshots now use backtick quotes (\`) instead of single quotes
@@ -312,18 +311,15 @@
312
311
  - **TypeScript Support**: Enhanced TypeScript integration and type definitions
313
312
 
314
313
  ## Security Updates
315
-
316
314
  - CVE-2025-24963: Browser mode serves arbitrary files (fixed in 2.1.9)
317
315
  - CVE-2025-24964: Remote Code Execution vulnerability (fixed in 2.1.9)
318
316
 
319
317
  ## Migration Notes
320
-
321
318
  - Test snapshots may need regeneration due to quote format changes
322
319
  - Some test configurations might need updates for new TypeScript support
323
320
  - Peer dependency warnings for @vitest/coverage-v8 are expected and safe to ignore
324
321
 
325
322
  ## Links
326
-
327
323
  - [Vitest 3.0 Migration Guide](https://vitest.dev/guide/migration)
328
324
  - [Vitest 3.2.4 Release Notes](https://github.com/vitest-dev/vitest/releases/tag/v3.2.4)
329
325
 
@@ -338,7 +334,6 @@
338
334
  This plugin represents a strategic modularization of the Fusion Framework CLI codebase. By extracting the SPA functionality into its own dedicated package, we've simplified the CLI's architecture while enabling greater flexibility. This modular design allows the SPA component to be replaced or reused by third-party developers independently of the CLI. The primary goal is to maintain a cleaner, more maintainable codebase through proper separation of concerns, with the CLI using this plugin rather than containing this functionality directly.
339
335
 
340
336
  **Key Features**:
341
-
342
337
  - **Fusion Framework Bootstrap**: Automatically initializes core modules and renders configured portals
343
338
  - **Service Discovery**: Enables dynamic service routing and eliminates hardcoded service endpoints
344
339
  - **MSAL Authentication**: Provides seamless Azure AD integration with configurable authentication flows
@@ -366,7 +361,6 @@
366
361
  ### Patch Changes
367
362
 
368
363
  - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`5973182`](https://github.com/equinor/fusion-framework/commit/5973182b156adb56137f1fc683635ae15274cc57) Thanks [@odinr](https://github.com/odinr)! - Update portal config and manifest API routes and types for consistency:
369
-
370
364
  - Change dev server API route for portal manifest/config from `/portals/portals/...` to `/portal-config/portals/...` for alignment with client usage.
371
365
  - Make portal config optional in dev server route and type definitions.
372
366
  - Update SPA bootstrap to use `portal-config` as the service discovery client key.
@@ -380,7 +374,6 @@
380
374
  ### Patch Changes
381
375
 
382
376
  - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`23fdc8a`](https://github.com/equinor/fusion-framework/commit/23fdc8a80d21ff063b17d8c596c0afc0a891305f) Thanks [@odinr](https://github.com/odinr)! - Fix dependency and devDependency declarations for lodash.mergewith:
383
-
384
377
  - Move "lodash.mergewith" to dependencies and ensure correct version for @types/lodash.mergewith in devDependencies.
385
378
  - Remove duplicate and misplaced entries for lodash.mergewith and its types.
386
379
  - Remove unused @equinor/fusion-framework-vite-plugin-api-service from devDependencies.
@@ -393,7 +386,6 @@
393
386
  ### Patch Changes
394
387
 
395
388
  - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`713cb15`](https://github.com/equinor/fusion-framework/commit/713cb15c5f1607e7f7285940a58165d97d8e41df) Thanks [@odinr](https://github.com/odinr)! - Refactor plugin internals for improved Vite compatibility and maintainability:
396
-
397
389
  - Made `resolveId` and `config` hooks async to support dynamic import resolution for virtual modules.
398
390
  - Improved resource alias resolution for `/@fusion-spa-bootstrap.js` and `/@fusion-spa-sw.js` using `import.meta.resolve` and `fileURLToPath`.
399
391
  - Enhanced environment variable handling by merging plugin and loaded environments, and defining them on `config.define`.
@@ -405,7 +397,6 @@
405
397
  ### Minor Changes
406
398
 
407
399
  - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`ea96493`](https://github.com/equinor/fusion-framework/commit/ea96493d95336f682e31a7b63161783ae7c99a63) Thanks [@odinr](https://github.com/odinr)! - Refactor build output and entrypoints for SPA Vite plugin:
408
-
409
400
  - Change main export entrypoint to `./dist/bin/index.js` (was `./dist/esm/index.js`).
410
401
  - Remove the `./html` export subpath.
411
402
  - Update Rollup config to bundle from `dist/esm` to `dist/bin` and adjust input/output accordingly.
@@ -419,7 +410,6 @@
419
410
  ### Patch Changes
420
411
 
421
412
  - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`8870e73`](https://github.com/equinor/fusion-framework/commit/8870e73bd6d4141142c69c11c67b5b154bc80023) Thanks [@odinr](https://github.com/odinr)! - Update build system and dependencies:
422
-
423
413
  - Switch build script to use Rollup with a new `rollup.config.js` for ESM output
424
414
  - Add postbuild script to emit TypeScript declarations
425
415
  - Move all dependencies to devDependencies for clarity
@@ -475,7 +465,6 @@
475
465
  This plugin enables building single-page applications (SPAs) with Vite. It provides features such as service discovery, MSAL authentication, and service worker configuration.
476
466
 
477
467
  **Features**:
478
-
479
468
  - **Service Discovery**: Fetch service discovery configurations and authenticate requests.
480
469
  - **MSAL Authentication**: Authenticate users with Azure AD.
481
470
  - **Service Worker**: Intercept fetch requests, apply authentication headers, and rewrite URLs.
@@ -524,7 +513,6 @@
524
513
  ```
525
514
 
526
515
  **Additional Details**:
527
-
528
516
  - **Custom Bootstrap**: Allows defining custom bootloader scripts.
529
517
  - **Dynamic Proxy**: Supports dynamic proxy services using `@equinor/fusion-framework-vite-plugin-api-service`.
530
518
  - **Environment Variables**: Automatically maps `.env` variables to `import.meta.env`.
@@ -534,7 +522,6 @@
534
522
  ### Patch Changes
535
523
 
536
524
  - [#3074](https://github.com/equinor/fusion-framework/pull/3074) [`6b034e5`](https://github.com/equinor/fusion-framework/commit/6b034e5459094cea0c0f2490335eef3092390a13) Thanks [@odinr](https://github.com/odinr)! - Fetch and pass portal config to portal render function in bootstrap.ts
537
-
538
525
  - The SPA bootstrap script now fetches the portal config from `/portals/{portalId}@{portalTag}/config` and passes it as `config` to the portal's render function.
539
526
  - This enables portals to receive their runtime configuration directly at startup.
540
527
 
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '3.0.5';
2
+ export const version = '3.0.7-next.0';
3
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,cAAc,CAAC"}
@@ -75,7 +75,7 @@ var hasRequiredRe;
75
75
  function requireRe () {
76
76
  if (hasRequiredRe) return re.exports;
77
77
  hasRequiredRe = 1;
78
- (function (module, exports) {
78
+ (function (module, exports$1) {
79
79
 
80
80
  const {
81
81
  MAX_SAFE_COMPONENT_LENGTH,
@@ -83,14 +83,14 @@ function requireRe () {
83
83
  MAX_LENGTH,
84
84
  } = requireConstants();
85
85
  const debug = requireDebug();
86
- exports = module.exports = {};
86
+ exports$1 = module.exports = {};
87
87
 
88
88
  // The actual regexps go on exports.re
89
- const re = exports.re = [];
90
- const safeRe = exports.safeRe = [];
91
- const src = exports.src = [];
92
- const safeSrc = exports.safeSrc = [];
93
- const t = exports.t = {};
89
+ const re = exports$1.re = [];
90
+ const safeRe = exports$1.safeRe = [];
91
+ const src = exports$1.src = [];
92
+ const safeSrc = exports$1.safeSrc = [];
93
+ const t = exports$1.t = {};
94
94
  let R = 0;
95
95
 
96
96
  const LETTERDASHNUMBER = '[a-zA-Z0-9-]';
@@ -254,7 +254,7 @@ function requireRe () {
254
254
  createToken('LONETILDE', '(?:~>?)');
255
255
 
256
256
  createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true);
257
- exports.tildeTrimReplace = '$1~';
257
+ exports$1.tildeTrimReplace = '$1~';
258
258
 
259
259
  createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
260
260
  createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
@@ -264,7 +264,7 @@ function requireRe () {
264
264
  createToken('LONECARET', '(?:\\^)');
265
265
 
266
266
  createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true);
267
- exports.caretTrimReplace = '$1^';
267
+ exports$1.caretTrimReplace = '$1^';
268
268
 
269
269
  createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
270
270
  createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
@@ -277,7 +277,7 @@ function requireRe () {
277
277
  // it modifies, so that `> 1.2.3` ==> `>1.2.3`
278
278
  createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]
279
279
  }\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
280
- exports.comparatorTrimReplace = '$1$2$3';
280
+ exports$1.comparatorTrimReplace = '$1$2$3';
281
281
 
282
282
  // Something like `1.2.3 - 1.2.4`
283
283
  // Note that these all use the loose form, because they'll be
@@ -5296,7 +5296,7 @@ class BaseModuleProvider {
5296
5296
  }
5297
5297
 
5298
5298
  // Generated by genversion.
5299
- const version$8 = '5.0.5';
5299
+ const version$8 = '5.0.6-next.0';
5300
5300
 
5301
5301
  /* eslint-disable @typescript-eslint/no-explicit-any */
5302
5302
  /**
@@ -19435,7 +19435,7 @@ class HttpClientConfigurator {
19435
19435
  }
19436
19436
 
19437
19437
  // Generated by genversion.
19438
- const version$6 = '7.0.5';
19438
+ const version$6 = '7.0.6-next.0';
19439
19439
 
19440
19440
  /**
19441
19441
  * Exception thrown when a client cannot be found.
@@ -20235,7 +20235,7 @@ class HttpClientMsal extends HttpClient {
20235
20235
  /**
20236
20236
  * HTTP module with MSAL authentication.
20237
20237
  */
20238
- const module$3 = {
20238
+ const module$4 = {
20239
20239
  name: 'http',
20240
20240
  /**
20241
20241
  * Configures the HTTP module with MSAL authentication.
@@ -20293,7 +20293,7 @@ const module$3 = {
20293
20293
  * @returns A module configurator that can be used to configure the HTTP module.
20294
20294
  */
20295
20295
  const configureHttpClient = (name, args) => ({
20296
- module: module$3,
20296
+ module: module$4,
20297
20297
  configure: (config) => {
20298
20298
  config.configureClient(name, args);
20299
20299
  },
@@ -21854,7 +21854,7 @@ class TelemetryConfigurator extends BaseConfigBuilder {
21854
21854
  }
21855
21855
 
21856
21856
  // Generated by genversion.
21857
- const version$5 = '4.6.0';
21857
+ const version$5 = '5.0.0-next.0';
21858
21858
 
21859
21859
  /**
21860
21860
  * Enum representing the severity levels of telemetry items.
@@ -21997,7 +21997,7 @@ var hasRequiredLodash_clonedeep;
21997
21997
  function requireLodash_clonedeep () {
21998
21998
  if (hasRequiredLodash_clonedeep) return lodash_clonedeep.exports;
21999
21999
  hasRequiredLodash_clonedeep = 1;
22000
- (function (module, exports) {
22000
+ (function (module, exports$1) {
22001
22001
  /** Used as the size to enable large array optimizations. */
22002
22002
  var LARGE_ARRAY_SIZE = 200;
22003
22003
 
@@ -22078,7 +22078,7 @@ function requireLodash_clonedeep () {
22078
22078
  var root = freeGlobal || freeSelf || Function('return this')();
22079
22079
 
22080
22080
  /** Detect free variable `exports`. */
22081
- var freeExports = exports && !exports.nodeType && exports;
22081
+ var freeExports = exports$1 && !exports$1.nodeType && exports$1;
22082
22082
 
22083
22083
  /** Detect free variable `module`. */
22084
22084
  var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
@@ -24459,7 +24459,7 @@ class TelemetryProvider extends BaseModuleProvider {
24459
24459
  * - @param args - Initialization arguments, including configuration and module dependencies.
24460
24460
  * - @returns A promise that resolves to an instance of ITelemetryProvider.
24461
24461
  */
24462
- const module$2 = {
24462
+ const module$3 = {
24463
24463
  name: 'telemetry',
24464
24464
  configure: () => new TelemetryConfigurator(),
24465
24465
  initialize: async (args) => {
@@ -24540,7 +24540,7 @@ const enableTelemetry = (
24540
24540
  // biome-ignore lint/suspicious/noExplicitAny: must be any to support all module types
24541
24541
  configurator, options) => {
24542
24542
  configurator.addConfig({
24543
- module: module$2,
24543
+ module: module$3,
24544
24544
  configure: async (builder, ref) => {
24545
24545
  {
24546
24546
  builder.attachItems(mapConfiguratorEvents(configurator));
@@ -42812,7 +42812,7 @@ const createClientLogCallback = (provider, metadata, scope) => {
42812
42812
  };
42813
42813
 
42814
42814
  // Generated by genversion.
42815
- const version$2 = '6.0.3';
42815
+ const version$2 = '7.0.0-next.0';
42816
42816
 
42817
42817
  /**
42818
42818
  * Zod schema for telemetry configuration validation.
@@ -43873,7 +43873,7 @@ class MsalProvider extends BaseModuleProvider {
43873
43873
  * ```
43874
43874
  */
43875
43875
  async acquireToken(options) {
43876
- const { behavior = 'redirect', silent = true, request } = options;
43876
+ const { behavior = 'redirect', silent = true, request = {}, } = options;
43877
43877
  const account = request.account ?? this.account ?? undefined;
43878
43878
  // Extract scopes from either new format (request.scopes) or legacy format (scopes)
43879
43879
  const scopes = options.request?.scopes ?? options?.scopes ?? [];
@@ -44220,7 +44220,7 @@ class MsalProvider extends BaseModuleProvider {
44220
44220
  * The module supports proxy providers for version compatibility, allowing v4 implementations
44221
44221
  * to work with v2-compatible code during migration periods.
44222
44222
  */
44223
- const module$1 = {
44223
+ const module$2 = {
44224
44224
  name: 'auth',
44225
44225
  version: new SemanticVersion(version$2),
44226
44226
  configure: () => new MsalConfigurator(),
@@ -44278,7 +44278,7 @@ const module$1 = {
44278
44278
  const enableMSAL = (
44279
44279
  // @biome-ignore lint/suspicious/noExplicitAny: must be any to support all module types
44280
44280
  configurator, configure) => {
44281
- const config = configure ? configureMsal(configure) : { module: module$1 };
44281
+ const config = configure ? configureMsal(configure) : { module: module$2 };
44282
44282
  configurator.addConfig(config);
44283
44283
  };
44284
44284
  /**
@@ -44296,7 +44296,7 @@ configurator, configure) => {
44296
44296
  * ```
44297
44297
  */
44298
44298
  const configureMsal = (configure) => ({
44299
- module: module$1,
44299
+ module: module$2,
44300
44300
  configure,
44301
44301
  });
44302
44302
 
@@ -46531,7 +46531,7 @@ class ServiceDiscoveryConfigurator extends BaseConfigBuilder {
46531
46531
  }
46532
46532
 
46533
46533
  // Generated by genversion.
46534
- const version$1 = '9.0.4';
46534
+ const version$1 = '9.0.5-next.0';
46535
46535
 
46536
46536
  class ServiceDiscoveryProvider extends BaseModuleProvider {
46537
46537
  config;
@@ -46588,7 +46588,7 @@ const moduleName = 'serviceDiscovery';
46588
46588
  * Additionally, the service discovery module requires the HTTP module to be initialized before it can
46589
46589
  * function properly.
46590
46590
  */
46591
- const module = {
46591
+ const module$1 = {
46592
46592
  name: moduleName,
46593
46593
  configure: () => new ServiceDiscoveryConfigurator(),
46594
46594
  initialize: async (init) => {
@@ -46627,7 +46627,7 @@ const module = {
46627
46627
  * ```
46628
46628
  */
46629
46629
  const configureServiceDiscovery = (callback) => ({
46630
- module,
46630
+ module: module$1,
46631
46631
  configure: (config) => callback(config),
46632
46632
  });
46633
46633
  /**
@@ -47050,7 +47050,7 @@ async function registerServiceWorker(framework) {
47050
47050
  }
47051
47051
 
47052
47052
  // Generated by genversion.
47053
- const version = '3.0.5';
47053
+ const version = '3.0.7-next.0';
47054
47054
 
47055
47055
  // Allow dynamic import without vite
47056
47056
  const importWithoutVite = (path) => import(/* @vite-ignore */ path);