@equinor/fusion-framework-vite-plugin-spa 4.0.0 → 4.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @equinor/fusion-framework-vite-plugin-spa
2
2
 
3
+ ## 4.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - @equinor/fusion-framework-module-telemetry@5.0.1
8
+
9
+ ## 4.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [02a5859]
14
+ - @equinor/fusion-framework-module-msal@8.0.2
15
+
16
+ ## 4.0.1
17
+
18
+ ### Patch Changes
19
+
20
+ - 8f16c97: Update rollup (4.59.0 → 4.60.1) used to produce the published bundles for both packages.
21
+
22
+ rollup 4.60.1 fixes a bug where side-effect imports could be silently dropped during bundling due to a namespace re-export caching issue ([rollup#6274](https://github.com/rollup/rollup/issues/6274)). Both packages use rollup to bundle their published output, so the fix ensures the emitted artifacts are correct.
23
+
24
+ No API or behaviour changes for consumers.
25
+
26
+ - Updated dependencies [244b995]
27
+ - @equinor/fusion-framework-module-msal@8.0.1
28
+
3
29
  ## 4.0.0
4
30
 
5
31
  ### Major Changes
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '4.0.0';
2
+ export const version = '4.0.3';
3
3
  //# sourceMappingURL=version.js.map
@@ -23303,7 +23303,7 @@ class TelemetryConfigurator extends BaseConfigBuilder {
23303
23303
  }
23304
23304
 
23305
23305
  // Generated by genversion.
23306
- const version$5 = '5.0.0';
23306
+ const version$5 = '5.0.1';
23307
23307
 
23308
23308
  /**
23309
23309
  * Enum representing the severity levels of telemetry items.
@@ -31765,7 +31765,7 @@ async function sha256Digest(dataString) {
31765
31765
  * Populates buffer with cryptographically random values.
31766
31766
  * @param dataBuffer
31767
31767
  */
31768
- function getRandomValues$1(dataBuffer) {
31768
+ function getRandomValues(dataBuffer) {
31769
31769
  return window.crypto.getRandomValues(dataBuffer);
31770
31770
  }
31771
31771
  /**
@@ -36696,7 +36696,7 @@ function generateCodeVerifier(performanceClient, logger, correlationId) {
36696
36696
  try {
36697
36697
  // Generate random values as utf-8
36698
36698
  const buffer = new Uint8Array(RANDOM_BYTE_ARR_LENGTH);
36699
- invoke(getRandomValues$1, GetRandomValues, logger, performanceClient, correlationId)(buffer);
36699
+ invoke(getRandomValues, GetRandomValues, logger, performanceClient, correlationId)(buffer);
36700
36700
  // encode verifier as base64
36701
36701
  const pkceCodeVerifierB64 = urlEncodeArr(buffer);
36702
36702
  return pkceCodeVerifierB64;
@@ -40731,7 +40731,7 @@ const createClientLogCallback = (provider, metadata, scope) => {
40731
40731
  };
40732
40732
 
40733
40733
  // Generated by genversion.
40734
- const version$2 = '8.0.0';
40734
+ const version$2 = '8.0.2';
40735
40735
 
40736
40736
  /**
40737
40737
  * Zod schema for telemetry configuration validation.
@@ -42597,16 +42597,9 @@ function unsafeStringify(arr, offset = 0) {
42597
42597
  byteToHex[arr[offset + 15]]).toLowerCase();
42598
42598
  }
42599
42599
 
42600
- let getRandomValues;
42601
42600
  const rnds8 = new Uint8Array(16);
42602
42601
  function rng() {
42603
- if (!getRandomValues) {
42604
- if (typeof crypto === 'undefined' || !crypto.getRandomValues) {
42605
- throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
42606
- }
42607
- getRandomValues = crypto.getRandomValues.bind(crypto);
42608
- }
42609
- return getRandomValues(rnds8);
42602
+ return crypto.getRandomValues(rnds8);
42610
42603
  }
42611
42604
 
42612
42605
  function stringToBytes(str) {
@@ -42635,7 +42628,10 @@ function v35(version, hash, value, namespace, buf, offset) {
42635
42628
  bytes[6] = (bytes[6] & 0x0f) | version;
42636
42629
  bytes[8] = (bytes[8] & 0x3f) | 0x80;
42637
42630
  if (buf) {
42638
- offset = offset || 0;
42631
+ offset ??= 0;
42632
+ if (offset < 0 || offset + 16 > buf.length) {
42633
+ throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
42634
+ }
42639
42635
  for (let i = 0; i < 16; ++i) {
42640
42636
  buf[offset + i] = bytes[i];
42641
42637
  }
@@ -42644,9 +42640,12 @@ function v35(version, hash, value, namespace, buf, offset) {
42644
42640
  return unsafeStringify(bytes);
42645
42641
  }
42646
42642
 
42647
- const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
42648
- var native = { randomUUID };
42649
-
42643
+ function v4(options, buf, offset) {
42644
+ if (crypto.randomUUID) {
42645
+ return crypto.randomUUID();
42646
+ }
42647
+ return _v4(options);
42648
+ }
42650
42649
  function _v4(options, buf, offset) {
42651
42650
  options = options || {};
42652
42651
  const rnds = options.random ?? options.rng?.() ?? rng();
@@ -42657,12 +42656,6 @@ function _v4(options, buf, offset) {
42657
42656
  rnds[8] = (rnds[8] & 0x3f) | 0x80;
42658
42657
  return unsafeStringify(rnds);
42659
42658
  }
42660
- function v4(options, buf, offset) {
42661
- if (native.randomUUID && true && !options) {
42662
- return native.randomUUID();
42663
- }
42664
- return _v4(options);
42665
- }
42666
42659
 
42667
42660
  function f(s, x, y, z) {
42668
42661
  switch (s) {
@@ -42700,7 +42693,7 @@ function sha1(bytes) {
42700
42693
  }
42701
42694
  M[i] = arr;
42702
42695
  }
42703
- M[N - 1][14] = ((bytes.length - 1) * 8) / Math.pow(2, 32);
42696
+ M[N - 1][14] = ((bytes.length - 1) * 8) / 2 ** 32;
42704
42697
  M[N - 1][14] = Math.floor(M[N - 1][14]);
42705
42698
  M[N - 1][15] = ((bytes.length - 1) * 8) & 0xffffffff;
42706
42699
  for (let i = 0; i < N; ++i) {
@@ -45498,7 +45491,7 @@ async function registerServiceWorker(framework) {
45498
45491
  }
45499
45492
 
45500
45493
  // Generated by genversion.
45501
- const version = '4.0.0';
45494
+ const version = '4.0.3';
45502
45495
 
45503
45496
  // Allow dynamic import without vite
45504
45497
  const importWithoutVite = (path) => import(/* @vite-ignore */ path);