@@ -572,7 +572,7 @@ one listed below. (`heap.validateSnapshotNodes(...)` is a shortcut for
572572
573573Create a heap dump and an embedder graph copy and validate occurrences.
574574
575- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
575+ <!-- eslint-disable no-undef, node-core/required-modules -->
576576``` js
577577validateSnapshotNodes (' TLSWRAP' , [
578578 {
@@ -590,7 +590,7 @@ validateSnapshotNodes('TLSWRAP', [
590590The http2.js module provides a handful of utilities for creating mock HTTP/2
591591frames for testing of HTTP/2 endpoints
592592
593- <!-- eslint-disable no-undef, no- unused-vars, node-core/required-modules, strict -->
593+ <!-- eslint-disable no-unused-vars, node-core/required-modules -->
594594``` js
595595const http2 = require (' ../common/http2' );
596596```
@@ -600,7 +600,7 @@ const http2 = require('../common/http2');
600600The ` http2.Frame ` is a base class that creates a ` Buffer ` containing a
601601serialized HTTP/2 frame header.
602602
603- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
603+ <!-- eslint-disable no-undef, node-core/required-modules -->
604604``` js
605605// length is a 24-bit unsigned integer
606606// type is an 8-bit unsigned integer identifying the frame type
@@ -619,7 +619,7 @@ The serialized `Buffer` may be retrieved using the `frame.data` property.
619619The ` http2.DataFrame ` is a subclass of ` http2.Frame ` that serializes a ` DATA `
620620frame.
621621
622- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
622+ <!-- eslint-disable no-undef, node-core/required-modules -->
623623``` js
624624// id is the 32-bit stream identifier
625625// payload is a Buffer containing the DATA payload
@@ -636,7 +636,7 @@ socket.write(frame.data);
636636The ` http2.HeadersFrame ` is a subclass of ` http2.Frame ` that serializes a
637637` HEADERS ` frame.
638638
639- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
639+ <!-- eslint-disable no-undef, node-core/required-modules -->
640640``` js
641641// id is the 32-bit stream identifier
642642// payload is a Buffer containing the HEADERS payload (see either
@@ -654,7 +654,7 @@ socket.write(frame.data);
654654The ` http2.SettingsFrame ` is a subclass of ` http2.Frame ` that serializes an
655655empty ` SETTINGS ` frame.
656656
657- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
657+ <!-- eslint-disable no-undef, node-core/required-modules -->
658658``` js
659659// ack is a boolean indicating whether or not to set the ACK flag.
660660const frame = new http2.SettingsFrame (ack);
@@ -667,7 +667,7 @@ socket.write(frame.data);
667667Set to a ` Buffer ` instance that contains a minimal set of serialized HTTP/2
668668request headers to be used as the payload of a ` http2.HeadersFrame ` .
669669
670- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
670+ <!-- eslint-disable no-undef, node-core/required-modules -->
671671``` js
672672const frame = new http2.HeadersFrame (1 , http2 .kFakeRequestHeaders , 0 , true );
673673
@@ -679,7 +679,7 @@ socket.write(frame.data);
679679Set to a ` Buffer ` instance that contains a minimal set of serialized HTTP/2
680680response headers to be used as the payload a ` http2.HeadersFrame ` .
681681
682- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
682+ <!-- eslint-disable no-undef, node-core/required-modules -->
683683``` js
684684const frame = new http2.HeadersFrame (1 , http2 .kFakeResponseHeaders , 0 , true );
685685
@@ -691,7 +691,7 @@ socket.write(frame.data);
691691Set to a ` Buffer ` containing the preamble bytes an HTTP/2 client must send
692692upon initial establishment of a connection.
693693
694- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
694+ <!-- eslint-disable no-undef, node-core/required-modules -->
695695``` js
696696socket .write (http2 .kClientMagic );
697697```
0 commit comments