PHP 8.2.30
Preview: assert-valid-pattern.js Size: 492 B
//opt/alt/alt-nodejs19/root/lib/node_modules/npm/node_modules.bundled/minimatch/dist/cjs/assert-valid-pattern.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.assertValidPattern = void 0;
const MAX_PATTERN_LENGTH = 1024 * 64;
const assertValidPattern = (pattern) => {
    if (typeof pattern !== 'string') {
        throw new TypeError('invalid pattern');
    }
    if (pattern.length > MAX_PATTERN_LENGTH) {
        throw new TypeError('pattern is too long');
    }
};
exports.assertValidPattern = assertValidPattern;
//# sourceMappingURL=assert-valid-pattern.js.map

Directory Contents

Dirs: 0 × Files: 10

Name Size Perms Modified Actions
492 B lrw-r--r-- 2023-12-06 18:07:51
Edit Download
5.63 KB lrw-r--r-- 2023-12-06 18:07:51
Edit Download
968 B lrw-r--r-- 2023-12-06 18:07:51
Edit Download
162 B lrw-r--r-- 2023-12-06 18:07:51
Edit Download
365 B lrw-r--r-- 2023-12-06 18:07:51
Edit Download
50.98 KB lrw-r--r-- 2023-12-06 18:07:51
Edit Download
25 B lrw-r--r-- 2023-12-06 18:07:51
Edit Download
20.74 KB lrw-r--r-- 2023-12-06 18:07:51
Edit Download
973 B lrw-r--r-- 2023-12-06 18:07:51
Edit Download
11.46 KB lrw-r--r-- 2023-12-06 18:07:51
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).