Skip to content

Commit 94e3438

Browse files
authored
Update constants.js
1 parent bfc1c22 commit 94e3438

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/constants.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,12 @@ module.exports = {
9898
REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
9999

100100
// Replace globs with equivalent patterns to reduce parsing time.
101-
REPLACEMENTS: Object.create(null, {
101+
REPLACEMENTS: {
102+
__proto__: null,
102103
'***': '*',
103104
'**/**': '**',
104105
'**/**/**': '**'
105-
}),
106+
},
106107

107108
// Digits
108109
CHAR_0: 48, /* 0 */

0 commit comments

Comments
 (0)