Skip to content

Commit 67fcfb1

Browse files
committed
1 parent bfa2ff3 commit 67fcfb1

19 files changed

+3685
-9
lines changed

node_modules/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@
142142
!/iconv-lite
143143
!/ieee754
144144
!/ignore-walk
145+
!/ignore-walk/node_modules/
146+
/ignore-walk/node_modules/*
147+
!/ignore-walk/node_modules/minimatch
145148
!/imurmurhash
146149
!/indent-string
147150
!/infer-owner
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
The ISC License
2+
3+
Copyright (c) 2011-2023 Isaac Z. Schlueter and Contributors
4+
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted, provided that the above
7+
copyright notice and this permission notice appear in all copies.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
"use strict";
2+
Object.defineProperty(exports, "__esModule", { value: true });
3+
exports.assertValidPattern = void 0;
4+
const MAX_PATTERN_LENGTH = 1024 * 64;
5+
const assertValidPattern = (pattern) => {
6+
if (typeof pattern !== 'string') {
7+
throw new TypeError('invalid pattern');
8+
}
9+
if (pattern.length > MAX_PATTERN_LENGTH) {
10+
throw new TypeError('pattern is too long');
11+
}
12+
};
13+
exports.assertValidPattern = assertValidPattern;
14+
//# sourceMappingURL=assert-valid-pattern.js.map

0 commit comments

Comments
 (0)