| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -224,8 +224,7 @@ function slowCases(enc) { | |||
| 224 | 224 | ||
| 225 | 225 | function emitExperimentalWarning(feature) { | |
| 226 | 226 | if (experimentalWarnings.has(feature)) return; | |
| 227 | - const msg = `${feature} is an experimental feature. This feature could ` + | ||
| 228 | - 'change at any time'; | ||
| 227 | + const msg = `${feature} is an experimental feature and might change at any time`; | ||
| 229 | 228 | experimentalWarnings.add(feature); | |
| 230 | 229 | process.emitWarning(msg, 'ExperimentalWarning'); | |
| 231 | 230 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -92,8 +92,7 @@ Maybe<bool> ProcessEmitExperimentalWarning(Environment* env, | |||
| 92 | 92 | ||
| 93 | 93 | experimental_warnings.insert(warning); | |
| 94 | 94 | std::string message(warning); | |
| 95 | - message.append( | ||
| 96 | - " is an experimental feature. This feature could change at any time"); | ||
| 95 | + message.append(" is an experimental feature and might change at any time"); | ||
| 97 | 96 | return ProcessEmitWarningGeneric(env, message.c_str(), "ExperimentalWarning"); | |
| 98 | 97 | } | |
| 99 | 98 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,9 +43,10 @@ function assertSingleDetailedShape(result) { | |||
| 43 | 43 | } | |
| 44 | 44 | ||
| 45 | 45 | function expectExperimentalWarning() { | |
| 46 | - common.expectWarning('ExperimentalWarning', | ||
| 47 | - 'vm.measureMemory is an experimental feature. ' + | ||
| 48 | - 'This feature could change at any time'); | ||
| 46 | + common.expectWarning( | ||
| 47 | + 'ExperimentalWarning', | ||
| 48 | + 'vm.measureMemory is an experimental feature and might change at any time' | ||
| 49 | + ); | ||
| 49 | 50 | } | |
| 50 | 51 | ||
| 51 | 52 | module.exports = { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,7 +34,8 @@ throws(() => require(vfsFile), { code: 'MODULE_NOT_FOUND' }); | |||
| 34 | 34 | ||
| 35 | 35 | common.expectWarning( | |
| 36 | 36 | 'ExperimentalWarning', | |
| 37 | - 'Module._stat is an experimental feature. This feature could change at any time'); | ||
| 37 | + 'Module._stat is an experimental feature and might change at any time' | ||
| 38 | + ); | ||
| 38 | 39 | ||
| 39 | 40 | process.on('warning', common.mustCall()); | |
| 40 | 41 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,8 +5,7 @@ const path = require('path'); | |||
| 5 | 5 | ||
| 6 | 6 | if (process.argv[2] === 'wasi-child') { | |
| 7 | 7 | common.expectWarning('ExperimentalWarning', | |
| 8 | - 'WASI is an experimental feature. This feature could ' + | ||
| 9 | - 'change at any time'); | ||
| 8 | + 'WASI is an experimental feature and might change at any time'); | ||
| 10 | 9 | ||
| 11 | 10 | const { WASI } = require('wasi'); | |
| 12 | 11 | const wasmDir = path.join(__dirname, 'wasm'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,8 +8,7 @@ if (process.argv[2] === 'wasi-child') { | |||
| 8 | 8 | const path = require('path'); | |
| 9 | 9 | ||
| 10 | 10 | common.expectWarning('ExperimentalWarning', | |
| 11 | - 'WASI is an experimental feature. This feature could ' + | ||
| 12 | - 'change at any time'); | ||
| 11 | + 'WASI is an experimental feature and might change at any time'); | ||
| 13 | 12 | ||
| 14 | 13 | const { WASI } = require('wasi'); | |
| 15 | 14 | tmpdir.refresh(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments