doppler-gpu 0.7.2 → 0.7.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 +8 -0
- package/package.json +1 -1
- package/src/cli/doppler-cli.js +3 -1
- package/src/cli/doppler-serve.js +3 -1
- package/src/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ Historical package notes are preserved outside the runtime archive in
|
|
|
4
4
|
`docs/status/archive/package-changelog-through-0.6.1.md` and the earlier
|
|
5
5
|
`package-changelog-through-0.4.15.md` snapshot in that directory.
|
|
6
6
|
|
|
7
|
+
## [0.7.3] - 2026-11-11
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- The installed `doppler` and `doppler-serve` commands start when run through
|
|
12
|
+
npm's bin links. In 0.7.1 and 0.7.2 they exited 0 without output;
|
|
13
|
+
`doppler-gpu` and the library were unaffected.
|
|
14
|
+
|
|
7
15
|
## [0.7.2] - 2026-11-11
|
|
8
16
|
|
|
9
17
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doppler-gpu",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Doppler Rig prepares signed model Capsules; Doppler Run executes them locally through WebGPU for JavaScript",
|
|
5
5
|
"main": "src/capsule-runtime.js",
|
|
6
6
|
"types": "src/capsule-runtime.d.ts",
|
package/src/cli/doppler-cli.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import fs from 'node:fs/promises';
|
|
4
|
+
import { realpathSync } from 'node:fs';
|
|
4
5
|
import path from 'node:path';
|
|
5
6
|
import { fileURLToPath } from 'node:url';
|
|
6
7
|
import { writeProgramBundle } from '../tooling/program-bundle.js';
|
|
@@ -590,7 +591,8 @@ function isMainModule(metaUrl) {
|
|
|
590
591
|
if (!entryPath) {
|
|
591
592
|
return false;
|
|
592
593
|
}
|
|
593
|
-
|
|
594
|
+
// npm starts bins through a symbolic link, so compare real paths.
|
|
595
|
+
return realpathSync(path.resolve(fileURLToPath(metaUrl))) === realpathSync(path.resolve(entryPath));
|
|
594
596
|
}
|
|
595
597
|
|
|
596
598
|
function flushStream(stream) {
|
package/src/cli/doppler-serve.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import http from 'node:http';
|
|
4
|
+
import { realpathSync } from 'node:fs';
|
|
4
5
|
import path from 'node:path';
|
|
5
6
|
import process from 'node:process';
|
|
6
7
|
import { fileURLToPath, pathToFileURL } from 'node:url';
|
|
@@ -584,7 +585,8 @@ function isMainModule(metaUrl) {
|
|
|
584
585
|
if (!entryPath) {
|
|
585
586
|
return false;
|
|
586
587
|
}
|
|
587
|
-
|
|
588
|
+
// npm starts bins through a symbolic link, so compare real paths.
|
|
589
|
+
return realpathSync(path.resolve(fileURLToPath(metaUrl))) === realpathSync(path.resolve(entryPath));
|
|
588
590
|
}
|
|
589
591
|
|
|
590
592
|
if (isMainModule(import.meta.url)) {
|
package/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const DOPPLER_VERSION = '0.7.
|
|
1
|
+
export const DOPPLER_VERSION = '0.7.3';
|
|
2
2
|
export const DOPPLER_PROVIDER_VERSION = DOPPLER_VERSION;
|