@nordicsemiconductor/pc-nrfconnect-shared 231.0.0 → 233.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 +25 -0
- package/config/eslintrc.js +9 -0
- package/main/index.ts +7 -0
- package/nrfutil/device/batch.ts +8 -6
- package/nrfutil/device/program.ts +11 -30
- package/nrfutil/fs.ts +49 -0
- package/nrfutil/sandbox.ts +52 -4
- package/package.json +1 -1
- package/release_notes.md +1 -20
- package/scripts/check-versions.ts +51 -0
- package/scripts/esbuild-renderer.ts +3 -1
- package/scripts/versions.ts +11 -0
- package/src/Device/deviceSlice.ts +0 -1
- package/src/Log/LogEntry.tsx +1 -1
- package/src/Parsers/shellParser.test.ts +0 -4
- package/typings/generated/main/index.d.ts +2 -0
- package/typings/generated/main/index.d.ts.map +1 -1
- package/typings/generated/nrfutil/device/batch.d.ts.map +1 -1
- package/typings/generated/nrfutil/device/program.d.ts +0 -1
- package/typings/generated/nrfutil/device/program.d.ts.map +1 -1
- package/typings/generated/nrfutil/fs.d.ts +12 -0
- package/typings/generated/nrfutil/fs.d.ts.map +1 -0
- package/typings/generated/nrfutil/sandbox.d.ts +2 -0
- package/typings/generated/nrfutil/sandbox.d.ts.map +1 -1
- package/typings/generated/scripts/check-versions.d.ts +3 -0
- package/typings/generated/scripts/check-versions.d.ts.map +1 -0
- package/typings/generated/scripts/esbuild-renderer.d.ts.map +1 -1
- package/typings/generated/scripts/versions.d.ts +5 -0
- package/typings/generated/scripts/versions.d.ts.map +1 -0
- package/typings/generated/src/Device/deviceSlice.d.ts.map +1 -1
- package/typings/generated/src/Parsers/shellParser.test.d.ts.map +1 -1
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
|
+
## 233.0.0 - 2025-10-10
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Use correct Chrome version when building for the renderer process.
|
|
15
|
+
|
|
16
|
+
## 232.0.0 - 2025-10-10
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Disabled deprecated `no-return-await` ESLint rule.
|
|
21
|
+
- Changed `no-unused-vars` ESLint rule config so that only unused args and vars
|
|
22
|
+
beginning with an underscore are allowed.
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- Functions `createDisposableTempDir` and `createDisposableTempFile` for use in
|
|
27
|
+
the main process.
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- `nrfutil-core` is now directly installed with the requested version. Before
|
|
32
|
+
the bootstrap-version was first installed, which can lead to problems, if the
|
|
33
|
+
bootstrap-version does not run correctly.
|
|
34
|
+
|
|
10
35
|
## 231.0.0 - 2025-10-07
|
|
11
36
|
|
|
12
37
|
### Changed
|
package/config/eslintrc.js
CHANGED
|
@@ -129,6 +129,15 @@ module.exports = {
|
|
|
129
129
|
'error',
|
|
130
130
|
{ allow: ['arrowFunctions', 'constructors'] },
|
|
131
131
|
],
|
|
132
|
+
'no-return-await': 'off',
|
|
133
|
+
'@typescript-eslint/no-unused-vars': [
|
|
134
|
+
'error',
|
|
135
|
+
{
|
|
136
|
+
args: 'all',
|
|
137
|
+
argsIgnorePattern: '^_',
|
|
138
|
+
varsIgnorePattern: '^_',
|
|
139
|
+
},
|
|
140
|
+
],
|
|
132
141
|
},
|
|
133
142
|
overrides: [
|
|
134
143
|
{
|
package/main/index.ts
CHANGED
package/nrfutil/device/batch.ts
CHANGED
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
* SPDX-License-Identifier: LicenseRef-Nordic-4-Clause
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import fs from 'fs';
|
|
8
|
-
|
|
9
7
|
import { getModule } from '..';
|
|
8
|
+
import { createDisposableTempFile } from '../fs';
|
|
10
9
|
import { TaskEnd } from '../sandboxTypes';
|
|
11
10
|
import { BatchOperationWrapper, Callbacks } from './batchTypes';
|
|
12
11
|
import {
|
|
@@ -21,7 +20,6 @@ import { DeviceCoreInfo } from './getCoreInfo';
|
|
|
21
20
|
import { FWInfo } from './getFwInfo';
|
|
22
21
|
import { GetProtectionStatusResult } from './getProtectionStatus';
|
|
23
22
|
import {
|
|
24
|
-
createTempFile,
|
|
25
23
|
Firmware,
|
|
26
24
|
ProgrammingOptions,
|
|
27
25
|
programmingOptionsToArgs,
|
|
@@ -246,11 +244,15 @@ export class Batch {
|
|
|
246
244
|
if (typeof firmware === 'string') {
|
|
247
245
|
args.unshift('--firmware', firmware);
|
|
248
246
|
} else {
|
|
249
|
-
const
|
|
250
|
-
|
|
247
|
+
const tempFile = createDisposableTempFile(
|
|
248
|
+
firmware.buffer,
|
|
249
|
+
firmware.type,
|
|
250
|
+
);
|
|
251
|
+
args.unshift('--firmware', tempFile.path);
|
|
251
252
|
|
|
252
253
|
newCallbacks.onTaskEnd = (taskEnd: TaskEnd<unknown>) => {
|
|
253
|
-
|
|
254
|
+
using _ = tempFile; // Dispose the temp file at the end of this function
|
|
255
|
+
|
|
254
256
|
callbacks?.onTaskEnd?.(taskEnd);
|
|
255
257
|
};
|
|
256
258
|
}
|
|
@@ -4,11 +4,7 @@
|
|
|
4
4
|
* SPDX-License-Identifier: LicenseRef-Nordic-4-Clause
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import
|
|
8
|
-
import os from 'os';
|
|
9
|
-
import path from 'path';
|
|
10
|
-
import { v4 as uuid } from 'uuid';
|
|
11
|
-
|
|
7
|
+
import { createDisposableTempFile } from '../fs';
|
|
12
8
|
import { type OnProgress } from '../sandboxTypes';
|
|
13
9
|
import {
|
|
14
10
|
coreArg,
|
|
@@ -119,17 +115,6 @@ const program = (
|
|
|
119
115
|
],
|
|
120
116
|
);
|
|
121
117
|
|
|
122
|
-
export const createTempFile = (firmware: FirmwareBuffer): string => {
|
|
123
|
-
let tempFilePath;
|
|
124
|
-
do {
|
|
125
|
-
tempFilePath = path.join(os.tmpdir(), `${uuid()}.${firmware.type}`);
|
|
126
|
-
} while (fs.existsSync(tempFilePath));
|
|
127
|
-
|
|
128
|
-
fs.writeFileSync(tempFilePath, firmware.buffer);
|
|
129
|
-
|
|
130
|
-
return tempFilePath;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
118
|
const programBuffer = async (
|
|
134
119
|
device: NrfutilDevice,
|
|
135
120
|
firmware: FirmwareBuffer,
|
|
@@ -138,20 +123,16 @@ const programBuffer = async (
|
|
|
138
123
|
programmingOptions?: ProgrammingOptions,
|
|
139
124
|
controller?: AbortController,
|
|
140
125
|
) => {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
} catch (error) {
|
|
152
|
-
fs.unlinkSync(tempFilePath);
|
|
153
|
-
throw error;
|
|
154
|
-
}
|
|
126
|
+
using tempFile = createDisposableTempFile(firmware.buffer, firmware.type);
|
|
127
|
+
|
|
128
|
+
await program(
|
|
129
|
+
device,
|
|
130
|
+
tempFile.path,
|
|
131
|
+
onProgress,
|
|
132
|
+
core,
|
|
133
|
+
programmingOptions,
|
|
134
|
+
controller,
|
|
135
|
+
);
|
|
155
136
|
};
|
|
156
137
|
|
|
157
138
|
export default async (
|
package/nrfutil/fs.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2025 Nordic Semiconductor ASA
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: LicenseRef-Nordic-4-Clause
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { mkdtempSync, rmSync, writeFileSync } from 'fs';
|
|
8
|
+
import { tmpdir } from 'os';
|
|
9
|
+
import { join, sep } from 'path';
|
|
10
|
+
import { v4 as uuid } from 'uuid';
|
|
11
|
+
|
|
12
|
+
// When we reliably use at least Node v24.4.0, the implementation below can be replaced with this:
|
|
13
|
+
// export const createDisposableTempDir = () => mkdtempDisposableSync(`${tmpdir()}${sep}`);
|
|
14
|
+
export const createDisposableTempDir = () => {
|
|
15
|
+
const tmpDir = mkdtempSync(`${tmpdir()}${sep}`);
|
|
16
|
+
|
|
17
|
+
const remove = () => {
|
|
18
|
+
rmSync(tmpDir, { recursive: true, force: true });
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
return {
|
|
22
|
+
path: tmpDir,
|
|
23
|
+
remove,
|
|
24
|
+
[Symbol.dispose]: remove,
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const createDisposableTempFile = (
|
|
29
|
+
content: Parameters<typeof writeFileSync>[1],
|
|
30
|
+
fileExtension?: string,
|
|
31
|
+
) => {
|
|
32
|
+
const disposableTempDir = createDisposableTempDir();
|
|
33
|
+
|
|
34
|
+
const effectiveFileExtension =
|
|
35
|
+
fileExtension == null ? '' : `.${fileExtension}`;
|
|
36
|
+
|
|
37
|
+
const filePath = join(
|
|
38
|
+
disposableTempDir.path,
|
|
39
|
+
`${uuid()}${effectiveFileExtension}`,
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
writeFileSync(filePath, content);
|
|
43
|
+
|
|
44
|
+
return {
|
|
45
|
+
...disposableTempDir,
|
|
46
|
+
|
|
47
|
+
path: filePath,
|
|
48
|
+
};
|
|
49
|
+
};
|
package/nrfutil/sandbox.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { exec, spawn } from 'child_process';
|
|
|
8
8
|
import fs from 'fs';
|
|
9
9
|
import os from 'os';
|
|
10
10
|
import path from 'path';
|
|
11
|
+
import process from 'process';
|
|
11
12
|
import treeKill from 'tree-kill';
|
|
12
13
|
|
|
13
14
|
import describeError from '../src/logging/describeError';
|
|
@@ -19,6 +20,7 @@ import {
|
|
|
19
20
|
convertNrfutilProgress,
|
|
20
21
|
parseJsonBuffers,
|
|
21
22
|
} from './common';
|
|
23
|
+
import { createDisposableTempDir } from './fs';
|
|
22
24
|
import { getNrfutilLogger } from './nrfutilLogger';
|
|
23
25
|
import type {
|
|
24
26
|
BackgroundTask,
|
|
@@ -37,6 +39,23 @@ import {
|
|
|
37
39
|
|
|
38
40
|
const CORE_VERSION_FOR_LEGACY_APPS = '8.1.1';
|
|
39
41
|
|
|
42
|
+
export const getTriplet = () => {
|
|
43
|
+
switch (process.platform) {
|
|
44
|
+
case 'darwin':
|
|
45
|
+
return process.arch === 'arm64'
|
|
46
|
+
? 'aarch64-apple-darwin'
|
|
47
|
+
: 'x86_64-apple-darwin';
|
|
48
|
+
case 'linux':
|
|
49
|
+
return process.arch === 'arm64'
|
|
50
|
+
? 'aarch64-unknown-linux-gnu'
|
|
51
|
+
: 'x86_64-unknown-linux-gnu';
|
|
52
|
+
case 'win32':
|
|
53
|
+
return 'x86_64-pc-windows-msvc';
|
|
54
|
+
default:
|
|
55
|
+
throw new Error(`Unsupported platform: ${process.platform}`);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
|
|
40
59
|
export class NrfutilSandbox {
|
|
41
60
|
private readonly onLoggingHandlers: ((
|
|
42
61
|
logging: LogMessage,
|
|
@@ -186,14 +205,43 @@ export class NrfutilSandbox {
|
|
|
186
205
|
}
|
|
187
206
|
};
|
|
188
207
|
|
|
189
|
-
private installNrfUtilCore = (onProgress?: OnProgress) =>
|
|
190
|
-
|
|
208
|
+
private installNrfUtilCore = async (onProgress?: OnProgress) => {
|
|
209
|
+
using tmpDir = createDisposableTempDir();
|
|
210
|
+
|
|
211
|
+
const nrfutilTarGzFile = await this.downloadNrfutilTarGz(tmpDir.path);
|
|
212
|
+
|
|
213
|
+
await this.install(
|
|
191
214
|
'core',
|
|
192
215
|
this.coreVersion,
|
|
193
|
-
'
|
|
194
|
-
[
|
|
216
|
+
'--version',
|
|
217
|
+
[],
|
|
195
218
|
onProgress,
|
|
219
|
+
undefined,
|
|
220
|
+
undefined,
|
|
221
|
+
undefined,
|
|
222
|
+
env => ({
|
|
223
|
+
...env,
|
|
224
|
+
NRFUTIL_BOOTSTRAP_TARBALL_PATH: nrfutilTarGzFile,
|
|
225
|
+
}),
|
|
196
226
|
);
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
private downloadNrfutilTarGz = async (folder: string) => {
|
|
230
|
+
const baseUrl =
|
|
231
|
+
'https://files.nordicsemi.com/ui/api/v1/download?isNativeBrowsing=true&repoKey=swtools&path=external/nrfutil/packages/nrfutil/';
|
|
232
|
+
const fileName = `nrfutil-${getTriplet()}-${this.coreVersion}.tar.gz`;
|
|
233
|
+
const url = baseUrl + fileName;
|
|
234
|
+
|
|
235
|
+
const response = await fetch(url);
|
|
236
|
+
if (!response.ok) {
|
|
237
|
+
throw new Error(`Failed to fetch ${url}: ${response.statusText}`);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
const filePath = path.join(folder, fileName);
|
|
241
|
+
fs.writeFileSync(filePath, new DataView(await response.arrayBuffer()));
|
|
242
|
+
|
|
243
|
+
return filePath;
|
|
244
|
+
};
|
|
197
245
|
|
|
198
246
|
public installNrfUtilCommand = (onProgress?: OnProgress) =>
|
|
199
247
|
this.install(
|
package/package.json
CHANGED
package/release_notes.md
CHANGED
|
@@ -1,22 +1,3 @@
|
|
|
1
1
|
### Changed
|
|
2
2
|
|
|
3
|
-
-
|
|
4
|
-
- Updated typescript-eslint 5.57.1 → 8.45.0
|
|
5
|
-
- Updated TypeScript 4.9.5 → 5.9.2
|
|
6
|
-
|
|
7
|
-
### Steps to upgrade when using this package
|
|
8
|
-
|
|
9
|
-
- The new version of prettier will lead to some formatting changes, especially
|
|
10
|
-
added commas and changed whitespaces, but most of those should be
|
|
11
|
-
automatically solvable by running `npm run check:lint -- --fix`.
|
|
12
|
-
- Some linting rules slightly changed and you may need to update some
|
|
13
|
-
constructs. E.g. if in a `catch` block the exception is intentionally not
|
|
14
|
-
used, then you must now remove it: `try {…} catch (e) {/* Ignore */}` →
|
|
15
|
-
`try {…} catch {/* Ignore */}`.
|
|
16
|
-
- Run `npm run check:types` to check if the new TypeScript version breaks the
|
|
17
|
-
type checks. As described at
|
|
18
|
-
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-9.html#libdts-changes,
|
|
19
|
-
a typical problem occurs when you use `Buffer`. First run
|
|
20
|
-
`npm update @types/node --save-dev`, because that might already fix most
|
|
21
|
-
problems. For the rest, also first check what is written in the above linked
|
|
22
|
-
section of the release notes of TypeScript 5.9.
|
|
3
|
+
- Use correct Chrome version when building for the renderer process.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
#!/usr/bin/env tsx
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Copyright (c) 2025 Nordic Semiconductor ASA
|
|
5
|
+
*
|
|
6
|
+
* SPDX-License-Identifier: LicenseRef-Nordic-4-Clause
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { execSync } from 'child_process';
|
|
10
|
+
|
|
11
|
+
import * as versions from './versions';
|
|
12
|
+
|
|
13
|
+
const main = async () => {
|
|
14
|
+
const npmLsElectronResult = execSync('npm ls electron --json', {
|
|
15
|
+
encoding: 'utf8',
|
|
16
|
+
});
|
|
17
|
+
const installedElectronVersion =
|
|
18
|
+
JSON.parse(npmLsElectronResult).dependencies.electron.version;
|
|
19
|
+
|
|
20
|
+
const electronReleases = await (
|
|
21
|
+
await fetch('https://releases.electronjs.org/releases.json')
|
|
22
|
+
).json();
|
|
23
|
+
const currentElectronRelease = electronReleases.find(
|
|
24
|
+
(release: { version: string }) =>
|
|
25
|
+
release.version === installedElectronVersion,
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
if (
|
|
29
|
+
currentElectronRelease.version !== versions.electron ||
|
|
30
|
+
currentElectronRelease.chrome !== versions.chrome ||
|
|
31
|
+
currentElectronRelease.node !== versions.node
|
|
32
|
+
) {
|
|
33
|
+
console.error(
|
|
34
|
+
`Version mismatch! scripts/versions.ts contains the following versions:
|
|
35
|
+
|
|
36
|
+
- electron: ${versions.electron}
|
|
37
|
+
- chrome: ${versions.chrome}
|
|
38
|
+
- node: ${versions.node}
|
|
39
|
+
|
|
40
|
+
but it should contain these:
|
|
41
|
+
|
|
42
|
+
- electron: ${currentElectronRelease.version}
|
|
43
|
+
- chrome: ${currentElectronRelease.chrome}
|
|
44
|
+
- node: ${currentElectronRelease.node}
|
|
45
|
+
`,
|
|
46
|
+
);
|
|
47
|
+
process.exit(1);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
main();
|
|
@@ -14,6 +14,8 @@ import * as module from 'node:module';
|
|
|
14
14
|
import * as path from 'node:path';
|
|
15
15
|
import tailwindcss from 'tailwindcss';
|
|
16
16
|
|
|
17
|
+
import { chromeWithoutBuild } from './versions';
|
|
18
|
+
|
|
17
19
|
const packageJson = JSON.parse(fs.readFileSync('package.json', 'utf8'));
|
|
18
20
|
|
|
19
21
|
const projectSpecificTailwindConfigPath = path.join(
|
|
@@ -42,7 +44,7 @@ const options = (
|
|
|
42
44
|
({
|
|
43
45
|
format: 'iife',
|
|
44
46
|
...outfileOrDir(additionalOptions),
|
|
45
|
-
target:
|
|
47
|
+
target: `chrome${chromeWithoutBuild}`,
|
|
46
48
|
sourcemap: true,
|
|
47
49
|
metafile: false,
|
|
48
50
|
minify: process.argv.includes('--prod'),
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2025 Nordic Semiconductor ASA
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: LicenseRef-Nordic-4-Clause
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export const electron = '32.1.2';
|
|
8
|
+
export const chrome = '128.0.6613.162';
|
|
9
|
+
export const node = '20.17.0';
|
|
10
|
+
|
|
11
|
+
export const chromeWithoutBuild = chrome.replace(/^(\d+\.\d+\.\d+).*$/, '$1');
|
|
@@ -124,7 +124,6 @@ const slice = createSlice({
|
|
|
124
124
|
vComIndex !== undefined &&
|
|
125
125
|
vComIndex !== -1
|
|
126
126
|
) {
|
|
127
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- used to filter out the path property
|
|
128
127
|
const { path: _, ...serialPortOptions } = action.payload;
|
|
129
128
|
|
|
130
129
|
persistSerialPortSettingsToStore(
|
package/src/Log/LogEntry.tsx
CHANGED
|
@@ -30,7 +30,7 @@ const regex = /(.*?)(https?:\/\/[^\s]+)/g;
|
|
|
30
30
|
*/
|
|
31
31
|
function hrefReplacer(str: string) {
|
|
32
32
|
const message = [];
|
|
33
|
-
const remainder = str.replace(regex, (
|
|
33
|
+
const remainder = str.replace(regex, (_match, before, href, index) => {
|
|
34
34
|
message.push(before);
|
|
35
35
|
message.push(
|
|
36
36
|
<a
|
|
@@ -29,22 +29,18 @@ const setupMocks = () => {
|
|
|
29
29
|
return () => {};
|
|
30
30
|
});
|
|
31
31
|
|
|
32
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
33
32
|
const mockOnClose = jest.fn((_handler: () => void) => () => {});
|
|
34
33
|
|
|
35
34
|
const mockOnUpdate = jest.fn(
|
|
36
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
37
35
|
(_handler: (newOptions: UpdateOptions) => void) => () => {},
|
|
38
36
|
);
|
|
39
37
|
|
|
40
38
|
const mockOnSet = jest.fn(
|
|
41
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
42
39
|
(_handler: (newOptions: SetOptions) => void) => () => {},
|
|
43
40
|
);
|
|
44
41
|
|
|
45
42
|
const mockOnChange = jest.fn(
|
|
46
43
|
(
|
|
47
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
48
44
|
_handler: (
|
|
49
45
|
newOptions: SerialPortOpenOptions<AutoDetectTypes>,
|
|
50
46
|
) => void,
|
|
@@ -61,4 +61,6 @@ export { type PackageJsonLegacyApp, type PackageJsonApp, parsePackageJsonLegacyA
|
|
|
61
61
|
export { type OverwriteOptions } from '../ipc/serialPort';
|
|
62
62
|
export type { OpenAppOptions } from '../ipc/open';
|
|
63
63
|
export { isOpenAppOptionsDevicePort, isOpenAppOptionsDeviceSN, } from '../ipc/open';
|
|
64
|
+
export { createDisposableTempDir, createDisposableTempFile, } from '../nrfutil/fs';
|
|
65
|
+
export { getTriplet } from '../nrfutil/sandbox';
|
|
64
66
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../main/index.ts"],"names":[],"mappings":"AAiBA,OAAO,EACH,8BAA8B,EAC9B,4BAA4B,GAC/B,MAAM,sCAAsC,CAAC;AAE9C,eAAO,MAAM,UAAU;;;;CAAyC,CAAC;AACjE,eAAO,MAAM,IAAI;;;;;CAAmC,CAAC;AACrD,eAAO,MAAM,cAAc;;;;CAA6C,CAAC;AACzE,eAAO,MAAM,IAAI;;;;;;;;CAAmC,CAAC;AACrD,eAAO,MAAM,YAAY;;;;;CAA2C,CAAC;AACrE,eAAO,MAAM,WAAW;;;;;;CAEvB,CAAC;AACF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;CAGtB,CAAC;AAEF,OAAO,EACH,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,aAAa,GACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,yBAAyB,EACzB,mBAAmB,GACtB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EACH,0BAA0B,EAC1B,wBAAwB,GAC3B,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../main/index.ts"],"names":[],"mappings":"AAiBA,OAAO,EACH,8BAA8B,EAC9B,4BAA4B,GAC/B,MAAM,sCAAsC,CAAC;AAE9C,eAAO,MAAM,UAAU;;;;CAAyC,CAAC;AACjE,eAAO,MAAM,IAAI;;;;;CAAmC,CAAC;AACrD,eAAO,MAAM,cAAc;;;;CAA6C,CAAC;AACzE,eAAO,MAAM,IAAI;;;;;;;;CAAmC,CAAC;AACrD,eAAO,MAAM,YAAY;;;;;CAA2C,CAAC;AACrE,eAAO,MAAM,WAAW;;;;;;CAEvB,CAAC;AACF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;CAGtB,CAAC;AAEF,OAAO,EACH,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,aAAa,GACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,yBAAyB,EACzB,mBAAmB,GACtB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EACH,0BAA0B,EAC1B,wBAAwB,GAC3B,MAAM,aAAa,CAAC;AAErB,OAAO,EACH,uBAAuB,EACvB,wBAAwB,GAC3B,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../../../nrfutil/device/batch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../../../nrfutil/device/batch.ts"],"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,CAAC;IAUzD,mBAAmB,CACtB,IAAI,EAAE,UAAU,EAChB,SAAS,CAAC,EAAE,SAAS,CAAC,yBAAyB,CAAC;IAW7C,OAAO,CACV,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,UAAU,EAChB,kBAAkB,CAAC,EAAE,kBAAkB,EACvC,YAAY,CAAC,EAAE,YAAY,EAC3B,SAAS,CAAC,EAAE,gBAAgB;IA6BzB,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,SAAS;IAU/C,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,SAAS,CAAC,EAAE,SAAS;IAWhE,OAAO,CACV,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,CAAC,cAAc,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,KAAK,IAAI;IAW7C,GAAG,CACZ,MAAM,EAAE,aAAa,EACrB,UAAU,CAAC,EAAE,eAAe,GAAG,SAAS,GACzC,OAAO,CAAC,OAAO,EAAE,CAAC;CAyGxB"}
|
|
@@ -22,7 +22,6 @@ interface NordicDfuProgrammingOptions {
|
|
|
22
22
|
}
|
|
23
23
|
export declare const isNordicDfuProgrammingOptions: (options: ProgrammingOptions) => options is NordicDfuProgrammingOptions;
|
|
24
24
|
export declare const programmingOptionsToArgs: (options?: ProgrammingOptions) => string[];
|
|
25
|
-
export declare const createTempFile: (firmware: FirmwareBuffer) => string;
|
|
26
25
|
declare const _default: (device: NrfutilDevice, firmware: Firmware, onProgress?: OnProgress, core?: DeviceCore, programmingOptions?: ProgrammingOptions, controller?: AbortController) => Promise<void>;
|
|
27
26
|
export default _default;
|
|
28
27
|
//# sourceMappingURL=program.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../../../../nrfutil/device/program.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../../../../nrfutil/device/program.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAEH,UAAU,EAGV,aAAa,EACb,SAAS,EACZ,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,KAAK,CAAC;AAE1C,KAAK,cAAc,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,aAAa,CAAA;CAAE,CAAC;AAC9D,MAAM,MAAM,QAAQ,GAAG,cAAc,GAAG,MAAM,CAAC;AAE/C,MAAM,MAAM,kBAAkB,GACxB,uBAAuB,GACvB,yBAAyB,GACzB,2BAA2B,CAAC;AAElC,UAAU,uBAAuB;IAC7B,aAAa,EAAE,WAAW,GAAG,YAAY,CAAC;IAC1C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,aAAa,GAAG,aAAa,GAAG,aAAa,CAAC;CAC1D;AAED,UAAU,yBAAyB;IAC/B,WAAW,CAAC,EAAE,6BAA6B,GAAG,6BAA6B,CAAC;IAC5E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,2BAA2B;IACjC,WAAW,EAAE,6BAA6B,GAAG,6BAA6B,CAAC;CAC9E;AAaD,eAAO,MAAM,6BAA6B,GACtC,SAAS,kBAAkB,KAC5B,OAAO,IAAI,2BAEwD,CAAC;AA+BvE,eAAO,MAAM,wBAAwB,GAAI,UAAU,kBAAkB,aAIpE,CAAC;yBA6CE,QAAQ,aAAa,EACrB,UAAU,QAAQ,EAClB,aAAa,UAAU,EACvB,OAAO,UAAU,EACjB,qBAAqB,kBAAkB,EACvC,aAAa,eAAe;AANhC,wBA2BE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { writeFileSync } from 'fs';
|
|
2
|
+
export declare const createDisposableTempDir: () => {
|
|
3
|
+
path: string;
|
|
4
|
+
remove: () => void;
|
|
5
|
+
[Symbol.dispose]: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const createDisposableTempFile: (content: Parameters<typeof writeFileSync>[1], fileExtension?: string) => {
|
|
8
|
+
path: string;
|
|
9
|
+
remove: () => void;
|
|
10
|
+
[Symbol.dispose]: () => void;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=fs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../../nrfutil/fs.ts"],"names":[],"mappings":"AAMA,OAAO,EAAuB,aAAa,EAAE,MAAM,IAAI,CAAC;AAOxD,eAAO,MAAM,uBAAuB;;;;CAYnC,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACjC,SAAS,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,EAC5C,gBAAgB,MAAM;;;;CAmBzB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BackgroundTask, LogLevel, LogMessage, OnProgress, OnTaskBegin, OnTaskEnd } from './sandboxTypes';
|
|
2
2
|
import { type ModuleVersion } from './version/moduleVersion';
|
|
3
|
+
export declare const getTriplet: () => "aarch64-apple-darwin" | "x86_64-apple-darwin" | "aarch64-unknown-linux-gnu" | "x86_64-unknown-linux-gnu" | "x86_64-pc-windows-msvc";
|
|
3
4
|
export declare class NrfutilSandbox {
|
|
4
5
|
private readonly baseDir;
|
|
5
6
|
private readonly module;
|
|
@@ -20,6 +21,7 @@ export declare class NrfutilSandbox {
|
|
|
20
21
|
private commandReportsCorrectVersion;
|
|
21
22
|
prepareSandbox: (onProgress?: OnProgress) => Promise<void>;
|
|
22
23
|
private installNrfUtilCore;
|
|
24
|
+
private downloadNrfutilTarGz;
|
|
23
25
|
installNrfUtilCommand: (onProgress?: OnProgress) => Promise<void>;
|
|
24
26
|
install: (module: string, version: string, ...args: Parameters<typeof this.spawnNrfutil>) => Promise<void>;
|
|
25
27
|
getNrfutilExePath: () => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../../nrfutil/sandbox.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../../nrfutil/sandbox.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACR,cAAc,EACd,QAAQ,EACR,UAAU,EAEV,UAAU,EACV,WAAW,EACX,SAAS,EACZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAEH,KAAK,aAAa,EAErB,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,UAAU,4IAetB,CAAC;AAEF,qBAAa,cAAc;IAqCnB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAtC5B,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAGhB;IAClB,OAAO,CAAC,QAAQ,CAA6C;IAE7D,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC;IAC7B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC;IACrB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC;WAET,MAAM,CACtB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,MAAM,EACpB,UAAU,CAAC,EAAE,UAAU;IAoB3B,OAAO;IAqBP,OAAO,CAAC,UAAU;IAuBX,gBAAgB,+BAUrB;IAEK,cAAc,+BAQnB;IAEK,kBAAkB,iCAC0C;IAEnE,OAAO,CAAC,GAAG,CAET;IAEF,OAAO,CAAC,gBAAgB;YAYV,4BAA4B;IAKnC,cAAc,GAAU,aAAa,UAAU,mBAqBpD;IAEF,OAAO,CAAC,kBAAkB,CAmBxB;IAEF,OAAO,CAAC,oBAAoB,CAe1B;IAEK,qBAAqB,GAAI,a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AAE,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,EAChD,aAAa,eAAe,EAC5B,UAAS,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,KAAK,MAAM,CAAC,UAAuB,mBA0DhE;IAEA,yBAAyB,GAAI,MAAM,EACtC,SAAS,MAAM,EACf,MAAM,MAAM,EAAE,EACd,YAAY,cAAc,CAAC,MAAM,CAAC,EAClC,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,KAAK,MAAM,CAAC,UAAU;yBA8ClC,MAAM,IAAI;;4BAKP,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,qBA/Cf,KAAK,KAAK,IAAI;MAsDhD;IAEK,8BAA8B,GAAU,CAAC,EAC5C,SAAS,MAAM,EACf,aAAa,UAAU,EACvB,aAAa,eAAe,EAC5B,OAAM,MAAM,EAAO,sCAarB;IAEK,kCAAkC,GAAU,CAAC,GAAG,IAAI,EACvD,SAAS,MAAM,EACf,aAAa,UAAU,EACvB,aAAa,eAAe,EAC5B,OAAM,MAAM,EAAO,gBAerB;IAEK,+BAA+B,GAAU,CAAC,GAAG,IAAI,EACpD,SAAS,MAAM,EACf,aAAa,eAAe,EAC5B,OAAM,MAAM,EAAO,gBAerB;IAEK,SAAS,GACZ,SAAS,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,sBA7oB3C,UAAU,QACb,MAAM,KACX,IAAI,IAopBP;IAEK,iBAAiB,GAAI,MAAM,MAAM,YAC4B;IAE7D,WAAW,GAAI,OAAO,QAAQ,UAEnC;CACL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-versions.d.ts","sourceRoot":"","sources":["../../../scripts/check-versions.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esbuild-renderer.d.ts","sourceRoot":"","sources":["../../../scripts/esbuild-renderer.ts"],"names":[],"mappings":"AAQA,OAAgB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"esbuild-renderer.d.ts","sourceRoot":"","sources":["../../../scripts/esbuild-renderer.ts"],"names":[],"mappings":"AAQA,OAAgB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAuBhD,KAAK,iBAAiB,GAAG,QAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC,GAChE,OAAO,CAAC,YAAY,CAAC,CAAC;AA8F1B,eAAO,MAAM,KAAK,GACd,mBAAmB,iBAAiB,EACpC;;CAA8B,kBAYjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../scripts/versions.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,QAAQ,WAAW,CAAC;AACjC,eAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,eAAO,MAAM,IAAI,YAAY,CAAC;AAE9B,eAAO,MAAM,kBAAkB,QAA8C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceSlice.d.ts","sourceRoot":"","sources":["../../../../src/Device/deviceSlice.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAO1C,MAAM,WAAW,MAAO,SAAQ,aAAa;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0BAA0B,CAAC,EAAE,qBAAqB,CAAC,eAAe,CAAC,CAAC;CACvE;AAED,MAAM,WAAW,sBAAuB,SAAQ,MAAM;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BAAqB,uHACrB,SAAS,mFACT,YAAY,sFACZ,iBAAiB;;;8CACjB,qBAAqB,+FACrB,wBAAwB,kIACxB,mBAAmB,6FACnB,qBAAqB,wFAEpB,CAAC;AAEV,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,EAAE,cAAc,MAAM,uBACG,CAAC;AAEpE,eAAO,MAAM,UAAU,GAAI,OAAO,SAAS,aAAyB,CAAC;AAErE,eAAO,MAAM,gBAAgB,GAAI,OAAO,SAAS,YAChB,CAAC;AAElC,eAAO,MAAM,cAAc,GAAI,OAAO,SAAS,uBAAgC,CAAC;AAEhF,eAAO,MAAM,kBAAkB,GAAI,OAAO,SAAS,2BAC0B,CAAC;AAE9E,eAAO,MAAM,oBAAoB,GAAI,OAAO,SAAS,8BACR,CAAC;AAE9C,eAAO,MAAM,qBAAqB,GAAI,OAAO,SAAS,gEACM,CAAC;AAE7D,eAAO,MAAM,qBAAqB,GAAI,OAAO,SAAS,uBAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shellParser.test.d.ts","sourceRoot":"","sources":["../../../../src/Parsers/shellParser.test.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shellParser.test.d.ts","sourceRoot":"","sources":["../../../../src/Parsers/shellParser.test.ts"],"names":[],"mappings":"AAkgCA,OAAO,EAAE,CAAC"}
|