minimatch
Advanced tools
Comparing version 8.0.1 to 8.0.2
@@ -1,2 +0,2 @@ | ||
import { MinimatchOptions, MMRegExp } from '.'; | ||
import { MinimatchOptions, MMRegExp } from './index.js'; | ||
export type ExtglobType = '!' | '?' | '+' | '*' | '@'; | ||
@@ -3,0 +3,0 @@ export declare class AST { |
@@ -6,2 +6,3 @@ "use strict"; | ||
const brace_expressions_js_1 = require("./brace-expressions.js"); | ||
const unescape_js_1 = require("./unescape.js"); | ||
const types = new Set(['!', '?', '+', '*', '@']); | ||
@@ -31,3 +32,2 @@ const isExtglobType = (c) => types.has(c); | ||
// remove the \ chars that we added if we end up doing a nonmagic compare | ||
const unescape_1 = require("./unescape"); | ||
// const deslash = (s: string) => s.replace(/\\(.)/g, '$1') | ||
@@ -463,3 +463,3 @@ class AST { | ||
final, | ||
(0, unescape_1.unescape)(src), | ||
(0, unescape_js_1.unescape)(src), | ||
(this.#hasMagic = !!this.#hasMagic), | ||
@@ -493,3 +493,3 @@ this.#uflag, | ||
this.#hasMagic = undefined; | ||
return [s, (0, unescape_1.unescape)(this.toString()), false, false]; | ||
return [s, (0, unescape_js_1.unescape)(this.toString()), false, false]; | ||
} | ||
@@ -516,3 +516,3 @@ // an empty !() is exactly equivalent to a starNoEmpty | ||
final, | ||
(0, unescape_1.unescape)(body), | ||
(0, unescape_js_1.unescape)(body), | ||
(this.#hasMagic = !!this.#hasMagic), | ||
@@ -567,3 +567,3 @@ this.#uflag, | ||
} | ||
return [re, (0, unescape_1.unescape)(glob), !!hasMagic, uflag]; | ||
return [re, (0, unescape_js_1.unescape)(glob), !!hasMagic, uflag]; | ||
} | ||
@@ -570,0 +570,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { MinimatchOptions, MMRegExp } from '.'; | ||
import { MinimatchOptions, MMRegExp } from './index.js'; | ||
export type ExtglobType = '!' | '?' | '+' | '*' | '@'; | ||
@@ -3,0 +3,0 @@ export declare class AST { |
// parse a single path portion | ||
import { parseClass } from './brace-expressions.js'; | ||
import { unescape } from './unescape.js'; | ||
const types = new Set(['!', '?', '+', '*', '@']); | ||
@@ -27,3 +28,2 @@ const isExtglobType = (c) => types.has(c); | ||
// remove the \ chars that we added if we end up doing a nonmagic compare | ||
import { unescape } from './unescape'; | ||
// const deslash = (s: string) => s.replace(/\\(.)/g, '$1') | ||
@@ -30,0 +30,0 @@ export class AST { |
@@ -5,3 +5,3 @@ { | ||
"description": "a glob matcher in javascript", | ||
"version": "8.0.1", | ||
"version": "8.0.2", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
497831