@nordicsemiconductor/pc-nrfconnect-shared 116.0.0 → 117.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,12 @@ 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
+ ## 117 - 2023-10-04
11
+
12
+ ### Fixed
13
+
14
+ - `nrfutil device program` did now throw error when files buffers where used
15
+
10
16
  ## 116 - 2023-10-03
11
17
 
12
18
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" ?>
2
2
  <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
3
- <coverage lines-valid="3209" lines-covered="1788" line-rate="0.5571" branches-valid="1541" branches-covered="448" branch-rate="0.2907" timestamp="1696334939734" complexity="0" version="0.1">
3
+ <coverage lines-valid="3210" lines-covered="1788" line-rate="0.557" branches-valid="1541" branches-covered="448" branch-rate="0.2907" timestamp="1696437275176" complexity="0" version="0.1">
4
4
  <sources>
5
5
  <source>/home/vsts/work/1/s</source>
6
6
  </sources>
@@ -932,7 +932,7 @@
932
932
  </class>
933
933
  </classes>
934
934
  </package>
935
- <package name="nrfutil.device" line-rate="0.2463" branch-rate="0">
935
+ <package name="nrfutil.device" line-rate="0.24539999999999998" branch-rate="0">
936
936
  <classes>
937
937
  <class name="batch.ts" filename="nrfutil/device/batch.ts" line-rate="0.07139999999999999" branch-rate="0">
938
938
  <methods>
@@ -1437,7 +1437,7 @@
1437
1437
  <line number="95" hits="0" branch="false"/>
1438
1438
  </lines>
1439
1439
  </class>
1440
- <class name="program.ts" filename="nrfutil/device/program.ts" line-rate="0.2452" branch-rate="0">
1440
+ <class name="program.ts" filename="nrfutil/device/program.ts" line-rate="0.2407" branch-rate="0">
1441
1441
  <methods>
1442
1442
  <method name="(anonymous_7)" hits="0" signature="()V">
1443
1443
  <lines>
@@ -1491,7 +1491,7 @@
1491
1491
  </method>
1492
1492
  <method name="(anonymous_17)" hits="0" signature="()V">
1493
1493
  <lines>
1494
- <line number="158" hits="0"/>
1494
+ <line number="159" hits="0"/>
1495
1495
  </lines>
1496
1496
  </method>
1497
1497
  </methods>
@@ -1545,10 +1545,11 @@
1545
1545
  <line number="144" hits="0" branch="false"/>
1546
1546
  <line number="145" hits="0" branch="false"/>
1547
1547
  <line number="154" hits="0" branch="false"/>
1548
- <line number="158" hits="3" branch="false"/>
1549
- <line number="166" hits="0" branch="true" condition-coverage="0% (0/2)"/>
1550
- <line number="167" hits="0" branch="false"/>
1551
- <line number="176" hits="0" branch="false"/>
1548
+ <line number="155" hits="0" branch="false"/>
1549
+ <line number="159" hits="3" branch="false"/>
1550
+ <line number="167" hits="0" branch="true" condition-coverage="0% (0/2)"/>
1551
+ <line number="168" hits="0" branch="false"/>
1552
+ <line number="177" hits="0" branch="false"/>
1552
1553
  </lines>
1553
1554
  </class>
1554
1555
  <class name="recover.ts" filename="nrfutil/device/recover.ts" line-rate="0.6666" branch-rate="0">
@@ -152,6 +152,7 @@ const programBuffer = async (
152
152
  );
153
153
  } catch (error) {
154
154
  fs.unlinkSync(tempFilePath);
155
+ throw error;
155
156
  }
156
157
  };
157
158
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordicsemiconductor/pc-nrfconnect-shared",
3
- "version": "116.0.0",
3
+ "version": "117.0.0",
4
4
  "description": "Shared commodities for developing pc-nrfconnect-* packages",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +1 @@
1
- {"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../../../../nrfutil/device/program.ts"],"names":[],"mappings":";AAWA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACH,UAAU,EAGV,6BAA6B,EAC7B,SAAS,EACZ,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,cAAc,GAAG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