diff --git a/lib/fs.js b/lib/fs.js index 35179db26e5dc1..ebe29c578d37d0 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -84,7 +84,6 @@ const { const { toPathIfFileURL } = require('internal/url'); const { customPromisifyArgs: kCustomPromisifyArgsSymbol, - emitExperimentalWarning, getLazy, kEmptyObject, promisify: { @@ -3165,7 +3164,6 @@ function createWriteStream(path, options) { const lazyGlob = getLazy(() => require('internal/fs/glob').Glob); function glob(pattern, options, callback) { - emitExperimentalWarning('glob'); if (typeof options === 'function') { callback = options; options = undefined; @@ -3185,7 +3183,6 @@ function glob(pattern, options, callback) { } function globSync(pattern, options) { - emitExperimentalWarning('globSync'); const Glob = lazyGlob(); return new Glob(pattern, options).globSync(); } diff --git a/lib/internal/fs/promises.js b/lib/internal/fs/promises.js index 030b7ee6a32db6..be0095660ea419 100644 --- a/lib/internal/fs/promises.js +++ b/lib/internal/fs/promises.js @@ -93,7 +93,6 @@ const pathModule = require('path'); const { isAbsolute } = pathModule; const { toPathIfFileURL } = require('internal/url'); const { - emitExperimentalWarning, getLazy, kEmptyObject, lazyDOMException, @@ -1261,7 +1260,6 @@ async function* _watch(filename, options = kEmptyObject) { const lazyGlob = getLazy(() => require('internal/fs/glob').Glob); async function* glob(pattern, options) { - emitExperimentalWarning('glob'); const Glob = lazyGlob(); yield* new Glob(pattern, options).glob(); } diff --git a/lib/path.js b/lib/path.js index 1a59a66f66bb2a..aa64a2032c6a71 100644 --- a/lib/path.js +++ b/lib/path.js @@ -53,7 +53,6 @@ const { } = require('internal/validators'); const { - emitExperimentalWarning, isWindows, getLazy, } = require('internal/util'); @@ -1141,7 +1140,6 @@ const win32 = { }, matchesGlob(path, pattern) { - emitExperimentalWarning('glob'); return lazyMatchGlobPattern()(path, pattern, true); }, @@ -1618,7 +1616,6 @@ const posix = { }, matchesGlob(path, pattern) { - emitExperimentalWarning('glob'); return lazyMatchGlobPattern()(path, pattern, false); },