574a16d9fa
Snapshot of the working tree before cleanup. Captures: - Keysat licensing: server/license.js, /api/license/* endpoints in server/index.js, activation modal in public/index.html, embedded Ed25519 issuer key (assets/issuer.pub). - StartOS 0.4 expansion: setApiKey action, version files v0.1.1 through v0.1.15, file-models/config.json.ts, manifest updates. - Self-hosted registry server (startos-registry/). - Build/deploy scripts (bin/bump-version.sh, bin/deploy.sh, vendored yt-dlp binary), .gitignore, .deploy.env.example. - Recent design docs (KEYSAT_INTEGRATION.md, UPGRADE-DESIGN.md) — retained here so they remain recoverable when removed in the follow-up cleanup commit.
13 lines
268 B
JavaScript
13 lines
268 B
JavaScript
var test = require('tape');
|
|
var inspect = require('../');
|
|
|
|
var obj = { x: 'a\r\nb', y: '\x05! \x1f \x12' };
|
|
|
|
test('interpolate low bytes', function (t) {
|
|
t.plan(1);
|
|
t.equal(
|
|
inspect(obj),
|
|
"{ x: 'a\\r\\nb', y: '\\x05! \\x1F \\x12' }"
|
|
);
|
|
});
|