Skip to content

Commit d54b395

Browse files
committed
fix(smol): regenerate inspector protocol Windows patch with clean unified diff format
Regenerated the patch from clean Node.js v24.10.0 source to ensure proper unified diff format with: - Git diff headers (diff --git, index lines) - Proper context lines with function names - Standard unified diff format The patch functionality remains identical - fixes Windows gyp-win-tool argument passing issues for config.protocol.path.
1 parent 8071d26 commit d54b395

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/node-smol-builder/patches/012-socketsecurity_fix_inspector_protocol_windows_v24.10.0.patch

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@
2626
# - Node.js v24 gyp build system Windows argument passing
2727
# - tools/v8_gypfiles/v8.gyp protocol_generated_sources action
2828

29+
diff --git a/deps/v8/third_party/inspector_protocol/code_generator.py b/deps/v8/third_party/inspector_protocol/code_generator.py
30+
index b1bedb58..c702516a 100755
2931
--- a/deps/v8/third_party/inspector_protocol/code_generator.py
3032
+++ b/deps/v8/third_party/inspector_protocol/code_generator.py
31-
@@ -357,12 +357,23 @@
32-
33+
@@ -357,12 +357,23 @@ def wrap_array_definition(type):
34+
3335
class Protocol(object):
34-
36+
3537
- def __init__(self, config):
3638
+ def __init__(self, config, config_file=None):
3739
self.config = config
@@ -54,7 +56,7 @@
5456

5557
if config.protocol.options:
5658
self.generate_domains = [rule.domain for rule in config.protocol.options]
57-
@@ -604,7 +619,7 @@
59+
@@ -604,7 +615,7 @@ class Protocol(object):
5860
def main():
5961
jinja_dir, config_file, config = read_config()
6062

0 commit comments

Comments
 (0)