File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,15 @@ import { fileURLToPath } from 'node:url'
1010
1111import colors from 'yoctocolors-cjs'
1212
13- import { isQuiet } from '#socketsecurity/lib/argv/flags'
14- import { normalizePath } from '#socketsecurity/lib/paths'
15- import { pluralize } from '#socketsecurity/lib/words'
16-
1713const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) )
1814const distDir = path . resolve ( __dirname , '..' , 'dist' )
1915const require = createRequire ( import . meta. url )
2016
17+ // Import CommonJS modules
18+ const { isQuiet } = require ( '#socketsecurity/lib/argv/flags' )
19+ const { normalizePath } = require ( '#socketsecurity/lib/paths' )
20+ const { pluralize } = require ( '#socketsecurity/lib/words' )
21+
2122/**
2223 * Get all .js files in a directory recursively.
2324 */
You can’t perform that action at this time.
0 commit comments