Skip to content

Commit 86a2a32

Browse files
committed
fix(smol): correct patch context headers for inspector protocol
1 parent 10551f5 commit 86a2a32

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828

2929
--- a/deps/v8/third_party/inspector_protocol/code_generator.py
3030
+++ b/deps/v8/third_party/inspector_protocol/code_generator.py
31-
@@ -358,12 +358,27 @@ def to_file_name(config, file_name):
32-
31+
@@ -358,12 +358,27 @@ def wrap_array_definition(type):
3332
class Protocol(object):
3433

3534
- def __init__(self, config):
@@ -58,13 +57,12 @@
5857

5958
if config.protocol.options:
6059
self.generate_domains = [rule.domain for rule in config.protocol.options]
61-
@@ -604,7 +619,8 @@ def write_object_h(domain, output_dir, header_guard_prefix, config, templates,
62-
60+
@@ -604,7 +619,7 @@ def is_imported_dependency(self, domain):
6361
def main():
6462
jinja_dir, config_file, config = read_config()
63+
6564
- protocol = Protocol(config)
66-
+
6765
+ protocol = Protocol(config, config_file)
66+
6867
if not config.exported and len(protocol.exported_domains):
6968
sys.stderr.write(("Domains [%s] are exported, but config is missing export "
70-
"entry\n\n") % ", ".join(protocol.exported_domains))

0 commit comments

Comments
 (0)