PATH: //opt/alt/alt-nodejs18/root/usr/lib/node_modules/npm/node_modules/glob/dist/commonjs
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 glob.d.ts
↓
X
📄 glob.d.ts.map
↓
X
📄 glob.js
↓
X
📄 glob.js.map
↓
X
📄 has-magic.d.ts
↓
X
📄 has-magic.d.ts.map
↓
X
📄 has-magic.js
↓
X
📄 has-magic.js.map
↓
X
📄 ignore.d.ts
↓
X
📄 ignore.d.ts.map
↓
X
📄 ignore.js
↓
X
📄 ignore.js.map
↓
X
📄 index.d.ts
↓
X
📄 index.d.ts.map
↓
X
📄 index.js
↓
X
📄 index.js.map
↓
X
📄 package.json
↓
X
📄 pattern.d.ts
↓
X
📄 pattern.d.ts.map
↓
X
📄 pattern.js
↓
X
📄 pattern.js.map
↓
X
📄 processor.d.ts
↓
X
📄 processor.d.ts.map
↓
X
📄 processor.js
↓
X
📄 processor.js.map
↓
X
📄 walker.d.ts
↓
X
📄 walker.d.ts.map
↓
X
📄 walker.js
↓
X
📄 walker.js.map
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: has-magic.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.hasMagic = void 0; const minimatch_1 = require("minimatch"); /** * Return true if the patterns provided contain any magic glob characters, * given the options provided. * * Brace expansion is not considered "magic" unless the `magicalBraces` option * is set, as brace expansion just turns one string into an array of strings. * So a pattern like `'x{a,b}y'` would return `false`, because `'xay'` and * `'xby'` both do not contain any magic glob characters, and it's treated the * same as if you had called it on `['xay', 'xby']`. When `magicalBraces:true` * is in the options, brace expansion _is_ treated as a pattern having magic. */ const hasMagic = (pattern, options = {}) => { if (!Array.isArray(pattern)) { pattern = [pattern]; } for (const p of pattern) { if (new minimatch_1.Minimatch(p, options).hasMagic()) return true; } return false; }; exports.hasMagic = hasMagic; //# sourceMappingURL=has-magic.js.map
SIMPAN PERUBAHAN