@nordicsemiconductor/pc-nrfconnect-shared 92.0.0 → 94.0.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
@@ -7,6 +7,31 @@ This project does _not_ adhere to
7
7
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html) but contrary to it
8
8
  every new version is a new major version.
9
9
 
10
+ ## 94 - 2023-08-25
11
+
12
+ ### Changed
13
+
14
+ - Updated react to v18
15
+
16
+ ## 93 - 2023-08-25
17
+
18
+ ### Added
19
+
20
+ - Nrfutil progress now has a new property `totalProgressPercentage` that
21
+ computes the progress across all steps
22
+
23
+ ### Changed
24
+
25
+ - Nrfutil progress properties `step` and `amountOfSteps` are now always
26
+ present
27
+ - Nrfutil progress properties `progressPercentage` has been renamed to
28
+ `stepProgressPercentage`
29
+
30
+ ### Steps to upgrade
31
+
32
+ - Any usage of Nrfutil property `progressPercentage` need to be renamed to
33
+ `stepProgressPercentage`
34
+
10
35
  ## 92 - 2023-08-24
11
36
 
12
37
  ### Added
@@ -17,6 +17,8 @@ module.exports = (disabledMocks = []) => ({
17
17
  '^electron$': `${mockDir}/electronMock.ts`,
18
18
  '^electron-store$': `${mockDir}/electronStoreMock.ts`,
19
19
  '@electron/remote': `${mockDir}/remoteMock.ts`,
20
+ 'react-markdown':
21
+ '<rootDir>/node_modules/react-markdown/react-markdown.min.js',
20
22
  ...(disabledMocks.includes('packageJson')
21
23
  ? {}
22
24
  : {
@@ -33,7 +35,6 @@ module.exports = (disabledMocks = []) => ({
33
35
  'node_modules/(?!(@nordicsemiconductor/pc-nrfconnect-shared)/)',
34
36
  ],
35
37
  setupFilesAfterEnv: [`${__dirname}/../test/setupTests.ts`],
36
- snapshotSerializers: ['enzyme-to-json/serializer'],
37
38
  resolver: `${__dirname}/../test/jestResolver.js`,
38
39
  modulePathIgnorePatterns: ['dist'],
39
40
  });