Behaviour SwRS-MDOKFSTUDIO-TRUST-075
The extension is built from pinned, official dependencies
The repository SHALL pin Node.js 24 in its .nvmrc file, resolve every package of its lock file over https from registry.npmjs.org with no user name, password or token, and depend on @plantuml/core at one exact version, 1.2026.6 or later, and not at a range.
Part of StRS-MDOKFSTUDIO-TRUST-014.
Scenarios 4
The situations the tests check; open one to read it.
nominalNode.js pin
Giventhe file .nvmrc
Whenit is read
Thenit holds 24
nominalOfficial registry
Givenevery resolved address of the lock file
the text of the lock file
the text of the lock file
Whenthey are parsed
it is searched for _authToken or a password
it is searched for _authToken or a password
Theneach is https, on registry.npmjs.org, with no user name and no password
nothing matches
nothing matches
boundaryExact engine version
Giventhe dependencies of the manifest
the pinned version
the pinned version
When@plantuml/core is read
it is compared with 1.2026.6
it is compared with 1.2026.6
Thenits value is three numbers separated by dots, now 1.2026.9, with no range prefix
it is not older, because earlier versions are licensed under the GPL
it is not older, because earlier versions are licensed under the GPL
refusalContract broken
| Input | Outcome |
|---|---|
| an .nvmrc that holds 22 | the package contract test fails |
| a dependency on @plantuml/core written with a caret | the package contract test fails |
Exempt from code and test markers: Declarative: the Node version file. No implementation marker is possible.
Implemented in 0
None.
Tested by 1
Known limits (1)
- An engine upgrade can change the drawing output; only the visual campaign would show it.
Replaces
SwRS-MDOKFSTUDIO-DIAG-079The built-in engine is pinned to an exact version superseded superseded by SwRS-MDOKFSTUDIO-TRUST-075 Markdown file