@@ -125,12 +125,6 @@ Tests whether `name`, `expected`, and `code` are part of a raised warning. If
125125an expected warning does not have a code then ` common.noWarnCode ` can be used
126126to indicate this.
127127
128- ### fileExists(pathname)
129- * pathname [ < ; string>]
130- * return [ < ; boolean>]
131-
132- Checks if ` pathname ` exists
133-
134128### getArrayBufferViews(buf)
135129* ` buf ` [ < ; Buffer>]
136130* return [ < ; ArrayBufferView[ ;] ; >]
@@ -582,7 +576,7 @@ one listed below. (`heap.validateSnapshotNodes(...)` is a shortcut for
582576
583577Create a heap dump and an embedder graph copy and validate occurrences.
584578
585- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
579+ <!-- eslint-disable no-undef, node-core/required-modules -->
586580``` js
587581validateSnapshotNodes (' TLSWRAP' , [
588582 {
@@ -600,7 +594,7 @@ validateSnapshotNodes('TLSWRAP', [
600594The http2.js module provides a handful of utilities for creating mock HTTP/2
601595frames for testing of HTTP/2 endpoints
602596
603- <!-- eslint-disable no-undef, no- unused-vars, node-core/required-modules, strict -->
597+ <!-- eslint-disable no-unused-vars, node-core/required-modules -->
604598``` js
605599const http2 = require (' ../common/http2' );
606600```
@@ -610,7 +604,7 @@ const http2 = require('../common/http2');
610604The ` http2.Frame ` is a base class that creates a ` Buffer ` containing a
611605serialized HTTP/2 frame header.
612606
613- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
607+ <!-- eslint-disable no-undef, node-core/required-modules -->
614608``` js
615609// length is a 24-bit unsigned integer
616610// type is an 8-bit unsigned integer identifying the frame type
@@ -629,7 +623,7 @@ The serialized `Buffer` may be retrieved using the `frame.data` property.
629623The ` http2.DataFrame ` is a subclass of ` http2.Frame ` that serializes a ` DATA `
630624frame.
631625
632- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
626+ <!-- eslint-disable no-undef, node-core/required-modules -->
633627``` js
634628// id is the 32-bit stream identifier
635629// payload is a Buffer containing the DATA payload
@@ -646,7 +640,7 @@ socket.write(frame.data);
646640The ` http2.HeadersFrame ` is a subclass of ` http2.Frame ` that serializes a
647641` HEADERS ` frame.
648642
649- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
643+ <!-- eslint-disable no-undef, node-core/required-modules -->
650644``` js
651645// id is the 32-bit stream identifier
652646// payload is a Buffer containing the HEADERS payload (see either
@@ -664,7 +658,7 @@ socket.write(frame.data);
664658The ` http2.SettingsFrame ` is a subclass of ` http2.Frame ` that serializes an
665659empty ` SETTINGS ` frame.
666660
667- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
661+ <!-- eslint-disable no-undef, node-core/required-modules -->
668662``` js
669663// ack is a boolean indicating whether or not to set the ACK flag.
670664const frame = new http2.SettingsFrame (ack);
@@ -677,7 +671,7 @@ socket.write(frame.data);
677671Set to a ` Buffer ` instance that contains a minimal set of serialized HTTP/2
678672request headers to be used as the payload of a ` http2.HeadersFrame ` .
679673
680- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
674+ <!-- eslint-disable no-undef, node-core/required-modules -->
681675``` js
682676const frame = new http2.HeadersFrame (1 , http2 .kFakeRequestHeaders , 0 , true );
683677
@@ -689,7 +683,7 @@ socket.write(frame.data);
689683Set to a ` Buffer ` instance that contains a minimal set of serialized HTTP/2
690684response headers to be used as the payload a ` http2.HeadersFrame ` .
691685
692- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
686+ <!-- eslint-disable no-undef, node-core/required-modules -->
693687``` js
694688const frame = new http2.HeadersFrame (1 , http2 .kFakeResponseHeaders , 0 , true );
695689
@@ -701,7 +695,7 @@ socket.write(frame.data);
701695Set to a ` Buffer ` containing the preamble bytes an HTTP/2 client must send
702696upon initial establishment of a connection.
703697
704- <!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
698+ <!-- eslint-disable no-undef, node-core/required-modules -->
705699``` js
706700socket .write (http2 .kClientMagic );
707701```
0 commit comments