minimatch
Advanced tools
Comparing version 8.0.2 to 8.0.3
import { AST } from './ast.js'; | ||
type Platform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd'; | ||
export interface MinimatchOptions { | ||
@@ -21,3 +22,3 @@ nobrace?: boolean; | ||
optimizationLevel?: number; | ||
platform?: 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd'; | ||
platform?: Platform; | ||
windowsNoMagicRoot?: boolean; | ||
@@ -24,0 +25,0 @@ } |
import { AST } from './ast.js'; | ||
type Platform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd'; | ||
export interface MinimatchOptions { | ||
@@ -21,3 +22,3 @@ nobrace?: boolean; | ||
optimizationLevel?: number; | ||
platform?: 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd'; | ||
platform?: Platform; | ||
windowsNoMagicRoot?: boolean; | ||
@@ -24,0 +25,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "a glob matcher in javascript", | ||
"version": "8.0.2", | ||
"version": "8.0.3", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -38,4 +38,4 @@ # minimatch | ||
like `[[:alpha:]]`, supporting the full range of Unicode | ||
characters. For example, `[[:alpha:]]` will match against | ||
`'é'`, though `[a-zA-Z]` will not. Collating symbol and set | ||
characters. For example, `[[:alpha:]]` will match against | ||
`'é'`, though `[a-zA-Z]` will not. Collating symbol and set | ||
matching is not supported, so `[[=e=]]` will _not_ match `'é'` | ||
@@ -135,6 +135,6 @@ and `[[.ch.]]` will not match `'ch'` in locales where `ch` is | ||
- `hasMagic()` Returns true if the parsed pattern contains any | ||
magic characters. Returns false if all comparator parts are | ||
string literals. If the `magicalBraces` option is set on the | ||
magic characters. Returns false if all comparator parts are | ||
string literals. If the `magicalBraces` option is set on the | ||
constructor, then it will consider brace expansions which are | ||
not otherwise magical to be magic. If not set, then a pattern | ||
not otherwise magical to be magic. If not set, then a pattern | ||
like `a{b,c}d` will return `false`, because neither `abd` nor | ||
@@ -145,6 +145,6 @@ `acd` contain any special glob characters. | ||
literal filename, as it may contain magic glob characters that | ||
are escaped. For example, the pattern `\\*` or `[*]` would not | ||
are escaped. For example, the pattern `\\*` or `[*]` would not | ||
be considered to have magic, as the matching portion parses to | ||
the literal string `'*'` and would match a path named `'*'`, | ||
not `'\\*'` or `'[*]'`. The `minimatch.unescape()` method may | ||
not `'\\*'` or `'[*]'`. The `minimatch.unescape()` method may | ||
be used to remove escape characters. | ||
@@ -188,3 +188,3 @@ | ||
If the `windowsPathsNoEscape` option is used, then square-brace | ||
escapes are removed, but not backslash escapes. For example, it | ||
escapes are removed, but not backslash escapes. For example, it | ||
will turn the string `'[*]'` into `*`, but it will not turn | ||
@@ -268,3 +268,3 @@ `'\\*'` into `'*'`, because `\` is a path separator in | ||
no other magic characters, then the `Minipass.hasMagic()` method | ||
will return `false` by default. When this option set, it will | ||
will return `false` by default. When this option set, it will | ||
return `true` for brace expansion as well as other magic glob | ||
@@ -271,0 +271,0 @@ characters. |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
432697
57
3894