node/deps/npm/node_modules/cacache/lib/util/glob.js
npm CLI robot 350fecbbef
deps: upgrade npm to 9.7.2
PR-URL: https://github.com/nodejs/node/pull/48514
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
2023-06-22 14:48:43 +00:00

7 lines
222 B
JavaScript

'use strict'
const { glob } = require('glob')
const path = require('path')
const globify = (pattern) => pattern.split(path.win32.sep).join(path.posix.sep)
module.exports = (path, options) => glob(globify(path), options)