| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9569180 commit c9b09d1
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1010,7 +1010,7 @@ const keyingMaterial = tlsSocket.exportKeyingMaterial( | |||
| 1010 | 1010 | 128, | |
| 1011 | 1011 | 'client finished'); | |
| 1012 | 1012 | ||
| 1013 | - /** | ||
| 1013 | + /* | ||
| 1014 | 1014 | Example return value of keyingMaterial: | |
| 1015 | 1015 | <Buffer 76 26 af 99 c5 56 8e 42 09 91 ef 9f 93 cb ad 6c 7b 65 f8 53 f1 d8 d9 | |
| 1016 | 1016 | 12 5a 33 b8 b5 25 df 7b 37 9f e0 e2 4f b8 67 83 a3 2f cd 5d 41 42 4c 91 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1235,7 +1235,7 @@ import { urlToHttpOptions } from 'url'; | |||
| 1235 | 1235 | const myURL = new URL('https://a:b@測試?abc#foo'); | |
| 1236 | 1236 | ||
| 1237 | 1237 | console.log(urlToHttpOptions(myURL)); | |
| 1238 | - /** | ||
| 1238 | + /* | ||
| 1239 | 1239 | { | |
| 1240 | 1240 | protocol: 'https:', | |
| 1241 | 1241 | hostname: 'xn--g6w251d', | |
@@ -1254,7 +1254,7 @@ const { urlToHttpOptions } = require('url'); | |||
| 1254 | 1254 | const myURL = new URL('https://a:b@測試?abc#foo'); | |
| 1255 | 1255 | ||
| 1256 | 1256 | console.log(urlToHttpOptions(myUrl)); | |
| 1257 | - /** | ||
| 1257 | + /* | ||
| 1258 | 1258 | { | |
| 1259 | 1259 | protocol: 'https:', | |
| 1260 | 1260 | hostname: 'xn--g6w251d', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -192,7 +192,7 @@ class NativeModule { | |||
| 192 | 192 | /** | |
| 193 | 193 | * A map from the module IDs to the module instances. | |
| 194 | 194 | * @type {Map<string, NativeModule>} | |
| 195 | - */ | ||
| 195 | + */ | ||
| 196 | 196 | static map = new SafeMap( | |
| 197 | 197 | ArrayPrototypeMap(moduleIds, (id) => [id, new NativeModule(id)]) | |
| 198 | 198 | ); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,9 +30,9 @@ module.exports.isRequired = function(node, modules) { | |||
| 30 | 30 | }; | |
| 31 | 31 | ||
| 32 | 32 | /** | |
| 33 | - * Return true if common module is required | ||
| 34 | - * in AST Node under inspection | ||
| 35 | - */ | ||
| 33 | + * Return true if common module is required | ||
| 34 | + * in AST Node under inspection | ||
| 35 | + */ | ||
| 36 | 36 | const commonModuleRegExp = new RegExp(/^(\.\.\/)*common(\.js)?$/); | |
| 37 | 37 | module.exports.isCommonModule = function(node) { | |
| 38 | 38 | return isRequireCall(node) && | |
| Back | FazBrowse Home | New Git URL |
0 commit comments