Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/glob-parent/README.md

    r59329aa re29cc2e  
    77# glob-parent
    88
    9 [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Azure Pipelines Build Status][azure-pipelines-image]][azure-pipelines-url] [![Travis Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url]
     9[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]
    1010
    1111Extract the non-magic parent path from a glob string.
     
    4646{
    4747  // Disables the automatic conversion of slashes for Windows
    48   flipBackslashes: true
     48  flipBackslashes: true;
    4949}
    5050```
     
    6767
    6868```js
    69 globParent('foo/[bar]/') // 'foo'
    70 globParent('foo/\\[bar]/') // 'foo/[bar]'
     69globParent('foo/[bar]/'); // 'foo'
     70globParent('foo/\\[bar]/'); // 'foo/[bar]'
    7171```
    7272
     
    7474
    7575### Braces & Brackets
     76
    7677This library attempts a quick and imperfect method of determining which path
    7778parts have glob magic without fully parsing/lexing the pattern. There are some
     
    8384
    8485### Windows
     86
    8587Backslashes are not valid path separators for globs. If a path with backslashes
    8688is provided anyway, for simple cases, glob-parent will replace the path
     
    9294```js
    9395// BAD
    94 globParent('C:\\Program Files \\(x86\\)\\*.ext') // 'C:/Program Files /(x86/)'
     96globParent('C:\\Program Files \\(x86\\)\\*.ext'); // 'C:/Program Files /(x86/)'
    9597
    9698// GOOD
    97 globParent('C:/Program Files\\(x86\\)/*.ext') // 'C:/Program Files (x86)'
     99globParent('C:/Program Files\\(x86\\)/*.ext'); // 'C:/Program Files (x86)'
    98100```
    99101
     
    103105```js
    104106// BAD
    105 globParent('foo \\[bar]') // 'foo '
    106 globParent('foo \\[bar]*') // 'foo '
     107globParent('foo \\[bar]'); // 'foo '
     108globParent('foo \\[bar]*'); // 'foo '
    107109
    108110// GOOD
    109 globParent('./foo \\[bar]') // 'foo [bar]'
    110 globParent('./foo \\[bar]*') // '.'
     111globParent('./foo \\[bar]'); // 'foo [bar]'
     112globParent('./foo \\[bar]*'); // '.'
    111113```
    112114
     
    115117ISC
    116118
     119<!-- prettier-ignore-start -->
     120[downloads-image]: https://img.shields.io/npm/dm/glob-parent.svg?style=flat-square
     121[npm-url]: https://www.npmjs.com/package/glob-parent
     122[npm-image]: https://img.shields.io/npm/v/glob-parent.svg?style=flat-square
     123
     124[ci-url]: https://github.com/gulpjs/glob-parent/actions?query=workflow:dev
     125[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/glob-parent/dev?style=flat-square
     126
     127[coveralls-url]: https://coveralls.io/r/gulpjs/glob-parent
     128[coveralls-image]: https://img.shields.io/coveralls/gulpjs/glob-parent/master.svg?style=flat-square
     129<!-- prettier-ignore-end -->
     130
     131<!-- prettier-ignore-start -->
    117132[expand-braces]: https://github.com/jonschlinkert/expand-braces
    118133[expand-brackets]: https://github.com/jonschlinkert/expand-brackets
    119 
    120 [downloads-image]: https://img.shields.io/npm/dm/glob-parent.svg
    121 [npm-url]: https://www.npmjs.com/package/glob-parent
    122 [npm-image]: https://img.shields.io/npm/v/glob-parent.svg
    123 
    124 [azure-pipelines-url]: https://dev.azure.com/gulpjs/gulp/_build/latest?definitionId=2&branchName=master
    125 [azure-pipelines-image]: https://dev.azure.com/gulpjs/gulp/_apis/build/status/glob-parent?branchName=master
    126 
    127 [travis-url]: https://travis-ci.org/gulpjs/glob-parent
    128 [travis-image]: https://img.shields.io/travis/gulpjs/glob-parent.svg?label=travis-ci
    129 
    130 [appveyor-url]: https://ci.appveyor.com/project/gulpjs/glob-parent
    131 [appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/glob-parent.svg?label=appveyor
    132 
    133 [coveralls-url]: https://coveralls.io/r/gulpjs/glob-parent
    134 [coveralls-image]: https://img.shields.io/coveralls/gulpjs/glob-parent/master.svg
    135 
    136 [gitter-url]: https://gitter.im/gulpjs/gulp
    137 [gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg
     134<!-- prettier-ignore-end -->
Note: See TracChangeset for help on using the changeset viewer.