CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 08:52:01 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/eslint-community/eslint-plugin-n.git
etag: W/"9e7704e31863ec98b124321fefe9766d"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=ukrMF6KlLE62EWsqTTDgxZEZ3SdTA2CCCpqZol0cAuWZI%2FN7WkG%2BU0iVl9Q2ViufT1PFsbPAomOKE8%2Blhzy7yir45hdPVHFxxhW8B%2FbWhN%2FqR93HPediNS8a15x0Lo%2F%2F3kgiQytmU1IUJ8uy7PHQSUA%2F8qWu84Fhytzn1f%2FsgPpKskM7z1u5fC6nGrGSbWonzrB%2FzRZcePtVRAQv8rKxkZLqCfyf0kMXrJCr%2FpdvJ7UuC7E7HN0DaEqrKSi7GqhtFr0gW%2BG5ABJPZ3%2BjEZth6w%3D%3D--BexvkV%2Fs4MMW5XO0--AKm%2Bd93uS4aLsE6%2Fkn6DIQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.972427643.1753260720; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 08:52:00 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 08:52:00 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E0FE:12F48D:78D4DA:951D2A:6880A2B0
feat(prefer-node-protocol): Add support for `process.getBuiltinModule… · eslint-community/eslint-plugin-n@9e97d8e · GitHub
Copy file name to clipboardExpand all lines: docs/rules/prefer-node-protocol.md
Copy file name to clipboardExpand all lines: lib/rules/prefer-node-protocol.js
Copy file name to clipboardExpand all lines: tests/lib/rules/prefer-node-protocol.js
Skip to content
Navigation Menu
{{ message }}
forked from mysticatea/eslint-plugin-node
-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit 9e97d8e
File tree
Expand file treeCollapse file tree
3 files changed
+118
-11
lines changedFilter options
- docs/rules
- lib/rules
- tests/lib/rules
Expand file treeCollapse file tree
3 files changed
+118
-11
lines changeddocs/rules/prefer-node-protocol.md
Copy file name to clipboardExpand all lines: docs/rules/prefer-node-protocol.md+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| |||
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
| 36 | + | |
| 37 | + | |
35 | 38 |
| |
36 | 39 |
| |
37 | 40 |
| |
| |||
44 | 47 |
| |
45 | 48 |
| |
46 | 49 |
| |
| 50 | + | |
| 51 | + | |
47 | 52 |
| |
48 | 53 |
| |
49 | 54 |
| |
|
lib/rules/prefer-node-protocol.js
Copy file name to clipboardExpand all lines: lib/rules/prefer-node-protocol.js+55-11Lines changed: 55 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 |
| |
9 | 12 |
| |
10 | 13 |
| |
| |||
15 | 18 |
| |
16 | 19 |
| |
17 | 20 |
| |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 |
| |
19 | 26 |
| |
20 | 27 |
| |
| |||
38 | 45 |
| |
39 | 46 |
| |
40 | 47 |
| |
41 |
| - | |
| 48 | + | |
42 | 49 |
| |
43 | 50 |
| |
44 | 51 |
| |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
45 | 57 |
| |
46 | 58 |
| |
47 | 59 |
| |
| |||
81 | 93 |
| |
82 | 94 |
| |
83 | 95 |
| |
84 |
| - | |
| 96 | + | |
85 | 97 |
| |
86 | 98 |
| |
87 | 99 |
| |
| |||
96 | 108 |
| |
97 | 109 |
| |
98 | 110 |
| |
99 |
| - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
100 | 115 |
| |
101 | 116 |
| |
102 | 117 |
| |
| |||
126 | 141 |
| |
127 | 142 |
| |
128 | 143 |
| |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
129 | 163 |
| |
130 | 164 |
| |
131 | 165 |
| |
| |||
158 | 192 |
| |
159 | 193 |
| |
160 | 194 |
| |
161 |
| - | |
162 |
| - | |
163 |
| - | |
164 |
| - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
165 | 199 |
| |
166 |
| - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
167 | 213 |
| |
168 |
| - | |
169 |
| - | |
170 | 214 |
| |
171 | 215 |
| |
172 | 216 |
| |
|
tests/lib/rules/prefer-node-protocol.js
Copy file name to clipboardExpand all lines: tests/lib/rules/prefer-node-protocol.js+58Lines changed: 58 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
80 | 99 |
| |
81 | 100 |
| |
82 | 101 |
| |
| |||
249 | 268 |
| |
250 | 269 |
| |
251 | 270 |
| |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
252 | 310 |
| |
253 | 311 |
|
You can’t perform that action at this time.
0 commit comments