From 8aa1533ad13a07875bf73aeac23a5bd4b33e9bcd Mon Sep 17 00:00:00 2001 From: hotpineapple Date: Sat, 6 Sep 2025 23:47:15 +0900 Subject: [PATCH] sea: support argv in sea config implement argv config for sea including snapshot --- doc/api/assert.md | 2 + src/node_sea.cc | 96 +++++++++++++-- src/node_sea.h | 2 + test/fixtures/sea-argv.js | 13 +++ ...test-single-executable-application-argv.js | 65 +++++++++++ ...ecutable-application-snapshot-with-argv.js | 109 ++++++++++++++++++ 6 files changed, 278 insertions(+), 9 deletions(-) create mode 100644 test/fixtures/sea-argv.js create mode 100644 test/sequential/test-single-executable-application-argv.js create mode 100644 test/sequential/test-single-executable-application-snapshot-with-argv.js diff --git a/doc/api/assert.md b/doc/api/assert.md index e52b9b57c2b43a..dfbc7068cb9837 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -314,6 +314,8 @@ An alias of [`assert.ok()`][]. ## `assert.deepEqual(actual, expected[, message])` + +