appmap 0.62.0 → 0.62.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/appmap/version.rb +1 -1
- data/node_modules/@appland/cli/CHANGELOG.md +96 -0
- data/node_modules/@appland/cli/package.json +49 -0
- data/node_modules/@appland/cli/src/appMapCatalog.js +39 -0
- data/node_modules/@appland/cli/src/appland/getAppMap.js +55 -0
- data/node_modules/@appland/cli/src/appland/listAppMaps.js +58 -0
- data/node_modules/@appland/cli/src/appland/settings.js +62 -0
- data/node_modules/@appland/cli/src/appland/types.d.ts +16 -0
- data/node_modules/@appland/cli/src/cli.js +576 -0
- data/node_modules/@appland/cli/src/database.js +197 -0
- data/node_modules/@appland/cli/src/depends.js +157 -0
- data/node_modules/@appland/cli/src/fingerprint/algorithms.js +71 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize.js +70 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/base.js +58 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/classDependencies.js +36 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/classes.js +14 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/eventTree.js +19 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/httpClientRequests.js +18 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/httpServerRequests.js +18 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/info.js +55 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/labels.js +10 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/packageDependencies.js +36 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/packages.js +14 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/sqlNormalized.js +19 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/sqlTables.js +24 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/trace.js +57 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/unique.js +8 -0
- data/node_modules/@appland/cli/src/fingerprint/canonicalize/update.js +85 -0
- data/node_modules/@appland/cli/src/fingerprint/fingerprintDirectoryCommand.js +30 -0
- data/node_modules/@appland/cli/src/fingerprint/fingerprintQueue.js +30 -0
- data/node_modules/@appland/cli/src/fingerprint/fingerprintWatchCommand.js +64 -0
- data/node_modules/@appland/cli/src/fingerprint/fingerprinter.js +186 -0
- data/node_modules/@appland/cli/src/fingerprint/index.js +24 -0
- data/node_modules/@appland/cli/src/functionStats.js +168 -0
- data/node_modules/@appland/cli/src/inspect.js +7 -0
- data/node_modules/@appland/cli/src/inspect/fields.js +66 -0
- data/node_modules/@appland/cli/src/inspect/filter.js +105 -0
- data/node_modules/@appland/cli/src/inspect/home.js +64 -0
- data/node_modules/@appland/cli/src/inspect/print.js +231 -0
- data/node_modules/@appland/cli/src/inspect/reset.js +10 -0
- data/node_modules/@appland/cli/src/inspect/types.d.ts +11 -0
- data/node_modules/@appland/cli/src/inspect/undoFilter.js +10 -0
- data/node_modules/@appland/cli/src/inventoryCommand.js +59 -0
- data/node_modules/@appland/cli/src/search/codeObjectMatcher.js +75 -0
- data/node_modules/@appland/cli/src/search/constants.js +5 -0
- data/node_modules/@appland/cli/src/search/findCodeObjects.js +293 -0
- data/node_modules/@appland/cli/src/search/findEvents.js +184 -0
- data/node_modules/@appland/cli/src/search/matchFilter.js +65 -0
- data/node_modules/@appland/cli/src/search/matchSpec.js +198 -0
- data/node_modules/@appland/cli/src/search/trigram.js +107 -0
- data/node_modules/@appland/cli/src/search/types.d.ts +107 -0
- data/node_modules/@appland/cli/src/search/utils.js +4 -0
- data/node_modules/@appland/cli/src/swagger/README.md +75 -0
- data/node_modules/@appland/cli/src/swagger/command.js +42 -0
- data/node_modules/@appland/cli/src/swagger/method.js +173 -0
- data/node_modules/@appland/cli/src/swagger/model.js +54 -0
- data/node_modules/@appland/cli/src/swagger/path.js +38 -0
- data/node_modules/@appland/cli/src/swagger/response.js +34 -0
- data/node_modules/@appland/cli/src/swagger/schema.js +38 -0
- data/node_modules/@appland/cli/src/swagger/securitySchemes.js +60 -0
- data/node_modules/@appland/cli/src/swagger/settings.js +9 -0
- data/node_modules/@appland/cli/src/swagger/util.js +79 -0
- data/node_modules/@appland/cli/src/utils.js +164 -0
- data/node_modules/@appland/cli/tests/unit/depends.spec.js +55 -0
- data/node_modules/@appland/cli/tests/unit/fingerprint/canonicalize.spec.js +42 -0
- data/node_modules/@appland/cli/tests/unit/fingerprint/sql.spec.js +40 -0
- data/node_modules/@appland/cli/tests/unit/fixtures/app/controllers/organizations_controller.rb +1 -0
- data/node_modules/@appland/cli/tests/unit/fixtures/app/models/configuration.rb +1 -0
- data/node_modules/@appland/cli/tests/unit/fixtures/app/models/show.rb +1 -0
- data/node_modules/@appland/cli/tests/unit/fixtures/app/models/user.rb +1 -0
- data/node_modules/@appland/cli/tests/unit/fixtures/canonicalize/revoke_api_key.info.json +246 -0
- data/node_modules/@appland/cli/tests/unit/fixtures/canonicalize/revoke_api_key.trace.json +289 -0
- data/node_modules/@appland/cli/tests/unit/fixtures/canonicalize/revoke_api_key.update.json +78 -0
- data/node_modules/@appland/cli/tests/unit/fixtures/revoke_api_key.appmap.json +899 -0
- data/node_modules/@appland/cli/tests/unit/fixtures/user_page_scenario.appmap.json +1774 -0
- data/node_modules/@appland/cli/tests/unit/inspect.spec.js +94 -0
- data/node_modules/@appland/models/CHANGELOG.md +83 -0
- data/node_modules/@appland/models/README.md +8 -0
- data/node_modules/@appland/models/dist/index.cjs +4250 -0
- data/node_modules/@appland/models/dist/index.js +4193 -0
- data/node_modules/@appland/models/package.json +50 -0
- data/node_modules/@rollup/plugin-alias/CHANGELOG.md +92 -0
- data/node_modules/@rollup/plugin-alias/LICENSE +21 -0
- data/node_modules/@rollup/plugin-alias/README.md +174 -0
- data/node_modules/@rollup/plugin-alias/dist/index.es.js +95 -0
- data/node_modules/@rollup/plugin-alias/dist/index.js +101 -0
- data/node_modules/@rollup/plugin-alias/package.json +78 -0
- data/node_modules/@rollup/plugin-alias/types/index.d.ts +36 -0
- data/node_modules/ansi-regex/index.d.ts +37 -0
- data/node_modules/ansi-regex/index.js +10 -0
- data/node_modules/ansi-regex/license +9 -0
- data/node_modules/ansi-regex/package.json +55 -0
- data/node_modules/ansi-regex/readme.md +78 -0
- data/node_modules/ansi-styles/index.d.ts +345 -0
- data/node_modules/ansi-styles/index.js +163 -0
- data/node_modules/ansi-styles/license +9 -0
- data/node_modules/ansi-styles/package.json +56 -0
- data/node_modules/ansi-styles/readme.md +152 -0
- data/node_modules/anymatch/LICENSE +15 -0
- data/node_modules/anymatch/README.md +87 -0
- data/node_modules/anymatch/index.d.ts +19 -0
- data/node_modules/anymatch/index.js +104 -0
- data/node_modules/anymatch/package.json +48 -0
- data/node_modules/argparse/CHANGELOG.md +185 -0
- data/node_modules/argparse/LICENSE +21 -0
- data/node_modules/argparse/README.md +257 -0
- data/node_modules/argparse/index.js +3 -0
- data/node_modules/argparse/lib/action.js +146 -0
- data/node_modules/argparse/lib/action/append.js +53 -0
- data/node_modules/argparse/lib/action/append/constant.js +47 -0
- data/node_modules/argparse/lib/action/count.js +40 -0
- data/node_modules/argparse/lib/action/help.js +47 -0
- data/node_modules/argparse/lib/action/store.js +50 -0
- data/node_modules/argparse/lib/action/store/constant.js +43 -0
- data/node_modules/argparse/lib/action/store/false.js +27 -0
- data/node_modules/argparse/lib/action/store/true.js +26 -0
- data/node_modules/argparse/lib/action/subparsers.js +149 -0
- data/node_modules/argparse/lib/action/version.js +47 -0
- data/node_modules/argparse/lib/action_container.js +482 -0
- data/node_modules/argparse/lib/argparse.js +14 -0
- data/node_modules/argparse/lib/argument/error.js +50 -0
- data/node_modules/argparse/lib/argument/exclusive.js +54 -0
- data/node_modules/argparse/lib/argument/group.js +75 -0
- data/node_modules/argparse/lib/argument_parser.js +1161 -0
- data/node_modules/argparse/lib/const.js +21 -0
- data/node_modules/argparse/lib/help/added_formatters.js +87 -0
- data/node_modules/argparse/lib/help/formatter.js +795 -0
- data/node_modules/argparse/lib/namespace.js +76 -0
- data/node_modules/argparse/lib/utils.js +57 -0
- data/node_modules/argparse/package.json +34 -0
- data/node_modules/async/CHANGELOG.md +331 -0
- data/node_modules/async/LICENSE +19 -0
- data/node_modules/async/README.md +60 -0
- data/node_modules/async/all.js +54 -0
- data/node_modules/async/allLimit.js +46 -0
- data/node_modules/async/allSeries.js +45 -0
- data/node_modules/async/any.js +56 -0
- data/node_modules/async/anyLimit.js +47 -0
- data/node_modules/async/anySeries.js +46 -0
- data/node_modules/async/apply.js +55 -0
- data/node_modules/async/applyEach.js +57 -0
- data/node_modules/async/applyEachSeries.js +37 -0
- data/node_modules/async/asyncify.js +118 -0
- data/node_modules/async/auto.js +267 -0
- data/node_modules/async/autoInject.js +156 -0
- data/node_modules/async/bower.json +17 -0
- data/node_modules/async/cargo.js +63 -0
- data/node_modules/async/cargoQueue.js +71 -0
- data/node_modules/async/compose.js +55 -0
- data/node_modules/async/concat.js +47 -0
- data/node_modules/async/concatLimit.js +60 -0
- data/node_modules/async/concatSeries.js +41 -0
- data/node_modules/async/constant.js +55 -0
- data/node_modules/async/detect.js +61 -0
- data/node_modules/async/detectLimit.js +48 -0
- data/node_modules/async/detectSeries.js +47 -0
- data/node_modules/async/dir.js +43 -0
- data/node_modules/async/dist/async.js +4846 -0
- data/node_modules/async/dist/async.min.js +1 -0
- data/node_modules/async/dist/async.mjs +4734 -0
- data/node_modules/async/doDuring.js +68 -0
- data/node_modules/async/doUntil.js +46 -0
- data/node_modules/async/doWhilst.js +68 -0
- data/node_modules/async/during.js +78 -0
- data/node_modules/async/each.js +88 -0
- data/node_modules/async/eachLimit.js +50 -0
- data/node_modules/async/eachOf.js +116 -0
- data/node_modules/async/eachOfLimit.js +47 -0
- data/node_modules/async/eachOfSeries.js +39 -0
- data/node_modules/async/eachSeries.js +44 -0
- data/node_modules/async/ensureAsync.js +67 -0
- data/node_modules/async/every.js +54 -0
- data/node_modules/async/everyLimit.js +46 -0
- data/node_modules/async/everySeries.js +45 -0
- data/node_modules/async/filter.js +53 -0
- data/node_modules/async/filterLimit.js +45 -0
- data/node_modules/async/filterSeries.js +43 -0
- data/node_modules/async/find.js +61 -0
- data/node_modules/async/findLimit.js +48 -0
- data/node_modules/async/findSeries.js +47 -0
- data/node_modules/async/flatMap.js +47 -0
- data/node_modules/async/flatMapLimit.js +60 -0
- data/node_modules/async/flatMapSeries.js +41 -0
- data/node_modules/async/foldl.js +77 -0
- data/node_modules/async/foldr.js +41 -0
- data/node_modules/async/forEach.js +88 -0
- data/node_modules/async/forEachLimit.js +50 -0
- data/node_modules/async/forEachOf.js +116 -0
- data/node_modules/async/forEachOfLimit.js +47 -0
- data/node_modules/async/forEachOfSeries.js +39 -0
- data/node_modules/async/forEachSeries.js +44 -0
- data/node_modules/async/forever.js +68 -0
- data/node_modules/async/groupBy.js +54 -0
- data/node_modules/async/groupByLimit.js +71 -0
- data/node_modules/async/groupBySeries.js +36 -0
- data/node_modules/async/index.js +588 -0
- data/node_modules/async/inject.js +77 -0
- data/node_modules/async/internal/DoublyLinkedList.js +92 -0
- data/node_modules/async/internal/Heap.js +120 -0
- data/node_modules/async/internal/applyEach.js +29 -0
- data/node_modules/async/internal/asyncEachOfLimit.js +75 -0
- data/node_modules/async/internal/awaitify.js +27 -0
- data/node_modules/async/internal/breakLoop.js +10 -0
- data/node_modules/async/internal/consoleFunc.js +27 -0
- data/node_modules/async/internal/createTester.js +40 -0
- data/node_modules/async/internal/eachOfLimit.js +90 -0
- data/node_modules/async/internal/filter.js +55 -0
- data/node_modules/async/internal/getIterator.js +11 -0
- data/node_modules/async/internal/initialParams.js +14 -0
- data/node_modules/async/internal/isArrayLike.js +10 -0
- data/node_modules/async/internal/iterator.js +54 -0
- data/node_modules/async/internal/map.js +30 -0
- data/node_modules/async/internal/once.js +17 -0
- data/node_modules/async/internal/onlyOnce.js +15 -0
- data/node_modules/async/internal/parallel.js +34 -0
- data/node_modules/async/internal/promiseCallback.js +23 -0
- data/node_modules/async/internal/queue.js +291 -0
- data/node_modules/async/internal/range.js +14 -0
- data/node_modules/async/internal/reject.js +26 -0
- data/node_modules/async/internal/setImmediate.js +30 -0
- data/node_modules/async/internal/withoutIndex.js +10 -0
- data/node_modules/async/internal/wrapAsync.js +34 -0
- data/node_modules/async/log.js +41 -0
- data/node_modules/async/map.js +62 -0
- data/node_modules/async/mapLimit.js +45 -0
- data/node_modules/async/mapSeries.js +44 -0
- data/node_modules/async/mapValues.js +62 -0
- data/node_modules/async/mapValuesLimit.js +61 -0
- data/node_modules/async/mapValuesSeries.js +37 -0
- data/node_modules/async/memoize.js +91 -0
- data/node_modules/async/nextTick.js +52 -0
- data/node_modules/async/package.json +82 -0
- data/node_modules/async/parallel.js +91 -0
- data/node_modules/async/parallelLimit.js +41 -0
- data/node_modules/async/priorityQueue.js +84 -0
- data/node_modules/async/queue.js +167 -0
- data/node_modules/async/race.js +67 -0
- data/node_modules/async/reduce.js +77 -0
- data/node_modules/async/reduceRight.js +41 -0
- data/node_modules/async/reflect.js +78 -0
- data/node_modules/async/reflectAll.js +93 -0
- data/node_modules/async/reject.js +53 -0
- data/node_modules/async/rejectLimit.js +45 -0
- data/node_modules/async/rejectSeries.js +43 -0
- data/node_modules/async/retry.js +159 -0
- data/node_modules/async/retryable.js +77 -0
- data/node_modules/async/select.js +53 -0
- data/node_modules/async/selectLimit.js +45 -0
- data/node_modules/async/selectSeries.js +43 -0
- data/node_modules/async/seq.js +79 -0
- data/node_modules/async/series.js +86 -0
- data/node_modules/async/setImmediate.js +45 -0
- data/node_modules/async/some.js +56 -0
- data/node_modules/async/someLimit.js +47 -0
- data/node_modules/async/someSeries.js +46 -0
- data/node_modules/async/sortBy.js +88 -0
- data/node_modules/async/timeout.js +89 -0
- data/node_modules/async/times.js +50 -0
- data/node_modules/async/timesLimit.js +43 -0
- data/node_modules/async/timesSeries.js +32 -0
- data/node_modules/async/transform.js +81 -0
- data/node_modules/async/tryEach.js +78 -0
- data/node_modules/async/unmemoize.js +25 -0
- data/node_modules/async/until.js +61 -0
- data/node_modules/async/waterfall.js +105 -0
- data/node_modules/async/whilst.js +78 -0
- data/node_modules/async/wrapSync.js +118 -0
- data/node_modules/at-least-node/LICENSE +6 -0
- data/node_modules/at-least-node/README.md +25 -0
- data/node_modules/at-least-node/index.js +5 -0
- data/node_modules/at-least-node/package.json +32 -0
- data/node_modules/balanced-match/LICENSE.md +21 -0
- data/node_modules/balanced-match/README.md +97 -0
- data/node_modules/balanced-match/index.js +62 -0
- data/node_modules/balanced-match/package.json +48 -0
- data/node_modules/binary-extensions/binary-extensions.json +260 -0
- data/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
- data/node_modules/binary-extensions/index.d.ts +14 -0
- data/node_modules/binary-extensions/index.js +1 -0
- data/node_modules/binary-extensions/license +9 -0
- data/node_modules/binary-extensions/package.json +38 -0
- data/node_modules/binary-extensions/readme.md +41 -0
- data/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/braces/CHANGELOG.md +184 -0
- data/node_modules/braces/LICENSE +21 -0
- data/node_modules/braces/README.md +593 -0
- data/node_modules/braces/index.js +170 -0
- data/node_modules/braces/lib/compile.js +57 -0
- data/node_modules/braces/lib/constants.js +57 -0
- data/node_modules/braces/lib/expand.js +113 -0
- data/node_modules/braces/lib/parse.js +333 -0
- data/node_modules/braces/lib/stringify.js +32 -0
- data/node_modules/braces/lib/utils.js +112 -0
- data/node_modules/braces/package.json +77 -0
- data/node_modules/chokidar/LICENSE +21 -0
- data/node_modules/chokidar/README.md +308 -0
- data/node_modules/chokidar/index.js +973 -0
- data/node_modules/chokidar/lib/constants.js +65 -0
- data/node_modules/chokidar/lib/fsevents-handler.js +524 -0
- data/node_modules/chokidar/lib/nodefs-handler.js +646 -0
- data/node_modules/chokidar/package.json +78 -0
- data/node_modules/chokidar/types/index.d.ts +187 -0
- data/node_modules/cli-progress/CHANGES.md +169 -0
- data/node_modules/cli-progress/LICENSE.md +24 -0
- data/node_modules/cli-progress/README.md +446 -0
- data/node_modules/cli-progress/cli-progress.js +21 -0
- data/node_modules/cli-progress/lib/eta.js +73 -0
- data/node_modules/cli-progress/lib/format-bar.js +11 -0
- data/node_modules/cli-progress/lib/format-time.js +34 -0
- data/node_modules/cli-progress/lib/format-value.js +22 -0
- data/node_modules/cli-progress/lib/formatter.js +80 -0
- data/node_modules/cli-progress/lib/generic-bar.js +212 -0
- data/node_modules/cli-progress/lib/multi-bar.js +201 -0
- data/node_modules/cli-progress/lib/options.js +95 -0
- data/node_modules/cli-progress/lib/single-bar.js +124 -0
- data/node_modules/cli-progress/lib/terminal.js +159 -0
- data/node_modules/cli-progress/package.json +46 -0
- data/node_modules/cli-progress/presets/index.js +11 -0
- data/node_modules/cli-progress/presets/legacy.js +6 -0
- data/node_modules/cli-progress/presets/rect.js +5 -0
- data/node_modules/cli-progress/presets/shades-classic.js +6 -0
- data/node_modules/cli-progress/presets/shades-grey.js +8 -0
- data/node_modules/cliui/CHANGELOG.md +121 -0
- data/node_modules/cliui/LICENSE.txt +14 -0
- data/node_modules/cliui/README.md +141 -0
- data/node_modules/cliui/build/index.cjs +302 -0
- data/node_modules/cliui/build/lib/index.js +287 -0
- data/node_modules/cliui/build/lib/string-utils.js +27 -0
- data/node_modules/cliui/index.mjs +13 -0
- data/node_modules/cliui/package.json +83 -0
- data/node_modules/color-convert/CHANGELOG.md +54 -0
- data/node_modules/color-convert/LICENSE +21 -0
- data/node_modules/color-convert/README.md +68 -0
- data/node_modules/color-convert/conversions.js +839 -0
- data/node_modules/color-convert/index.js +81 -0
- data/node_modules/color-convert/package.json +48 -0
- data/node_modules/color-convert/route.js +97 -0
- data/node_modules/color-name/LICENSE +8 -0
- data/node_modules/color-name/README.md +11 -0
- data/node_modules/color-name/index.js +152 -0
- data/node_modules/color-name/package.json +28 -0
- data/node_modules/colors/LICENSE +25 -0
- data/node_modules/colors/README.md +221 -0
- data/node_modules/colors/examples/normal-usage.js +82 -0
- data/node_modules/colors/examples/safe-string.js +79 -0
- data/node_modules/colors/index.d.ts +136 -0
- data/node_modules/colors/lib/colors.js +211 -0
- data/node_modules/colors/lib/custom/trap.js +46 -0
- data/node_modules/colors/lib/custom/zalgo.js +110 -0
- data/node_modules/colors/lib/extendStringPrototype.js +110 -0
- data/node_modules/colors/lib/index.js +13 -0
- data/node_modules/colors/lib/maps/america.js +10 -0
- data/node_modules/colors/lib/maps/rainbow.js +12 -0
- data/node_modules/colors/lib/maps/random.js +11 -0
- data/node_modules/colors/lib/maps/zebra.js +5 -0
- data/node_modules/colors/lib/styles.js +95 -0
- data/node_modules/colors/lib/system/has-flag.js +35 -0
- data/node_modules/colors/lib/system/supports-colors.js +151 -0
- data/node_modules/colors/package.json +45 -0
- data/node_modules/colors/safe.d.ts +48 -0
- data/node_modules/colors/safe.js +10 -0
- data/node_modules/colors/themes/generic-logging.js +12 -0
- data/node_modules/concat-map/LICENSE +18 -0
- data/node_modules/concat-map/README.markdown +62 -0
- data/node_modules/concat-map/example/map.js +6 -0
- data/node_modules/concat-map/index.js +13 -0
- data/node_modules/concat-map/package.json +43 -0
- data/node_modules/concat-map/test/map.js +39 -0
- data/node_modules/console-table-printer/CHANGELOG.md +96 -0
- data/node_modules/console-table-printer/LICENSE +21 -0
- data/node_modules/console-table-printer/README.md +180 -0
- data/node_modules/console-table-printer/dist/index.d.ts +4 -0
- data/node_modules/console-table-printer/dist/index.js +10 -0
- data/node_modules/console-table-printer/dist/src/console-table-printer.d.ts +14 -0
- data/node_modules/console-table-printer/dist/src/console-table-printer.js +32 -0
- data/node_modules/console-table-printer/dist/src/internalTable/input-converter.d.ts +6 -0
- data/node_modules/console-table-printer/dist/src/internalTable/input-converter.js +15 -0
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.d.ts +4 -0
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.js +115 -0
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table.d.ts +25 -0
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table.js +80 -0
- data/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.d.ts +3 -0
- data/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.js +43 -0
- data/node_modules/console-table-printer/dist/src/models/common.d.ts +10 -0
- data/node_modules/console-table-printer/dist/src/models/common.js +2 -0
- data/node_modules/console-table-printer/dist/src/models/external-table.d.ts +26 -0
- data/node_modules/console-table-printer/dist/src/models/external-table.js +2 -0
- data/node_modules/console-table-printer/dist/src/models/internal-table.d.ts +21 -0
- data/node_modules/console-table-printer/dist/src/models/internal-table.js +2 -0
- data/node_modules/console-table-printer/dist/src/utils/colored-console-line.d.ts +8 -0
- data/node_modules/console-table-printer/dist/src/utils/colored-console-line.js +29 -0
- data/node_modules/console-table-printer/dist/src/utils/console-utils.d.ts +2 -0
- data/node_modules/console-table-printer/dist/src/utils/console-utils.js +8 -0
- data/node_modules/console-table-printer/dist/src/utils/string-utils.d.ts +4 -0
- data/node_modules/console-table-printer/dist/src/utils/string-utils.js +54 -0
- data/node_modules/console-table-printer/dist/src/utils/table-constants.d.ts +10 -0
- data/node_modules/console-table-printer/dist/src/utils/table-constants.js +49 -0
- data/node_modules/console-table-printer/dist/src/utils/table-helpers.d.ts +26 -0
- data/node_modules/console-table-printer/dist/src/utils/table-helpers.js +91 -0
- data/node_modules/console-table-printer/package.json +51 -0
- data/node_modules/cross-env/CHANGELOG.md +5 -0
- data/node_modules/cross-env/LICENSE +20 -0
- data/node_modules/cross-env/README.md +291 -0
- data/node_modules/cross-env/package.json +54 -0
- data/node_modules/cross-env/src/bin/cross-env-shell.js +5 -0
- data/node_modules/cross-env/src/bin/cross-env.js +5 -0
- data/node_modules/cross-env/src/command.js +32 -0
- data/node_modules/cross-env/src/index.js +95 -0
- data/node_modules/cross-env/src/is-windows.js +2 -0
- data/node_modules/cross-env/src/variable.js +69 -0
- data/node_modules/cross-spawn/CHANGELOG.md +130 -0
- data/node_modules/cross-spawn/LICENSE +21 -0
- data/node_modules/cross-spawn/README.md +96 -0
- data/node_modules/cross-spawn/index.js +39 -0
- data/node_modules/cross-spawn/lib/enoent.js +59 -0
- data/node_modules/cross-spawn/lib/parse.js +91 -0
- data/node_modules/cross-spawn/lib/util/escape.js +45 -0
- data/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- data/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- data/node_modules/cross-spawn/package.json +73 -0
- data/node_modules/crypto-js/CONTRIBUTING.md +28 -0
- data/node_modules/crypto-js/LICENSE +24 -0
- data/node_modules/crypto-js/README.md +249 -0
- data/node_modules/crypto-js/aes.js +234 -0
- data/node_modules/crypto-js/bower.json +35 -0
- data/node_modules/crypto-js/cipher-core.js +890 -0
- data/node_modules/crypto-js/core.js +797 -0
- data/node_modules/crypto-js/crypto-js.js +6059 -0
- data/node_modules/crypto-js/docs/QuickStartGuide.wiki +470 -0
- data/node_modules/crypto-js/enc-base64.js +136 -0
- data/node_modules/crypto-js/enc-hex.js +18 -0
- data/node_modules/crypto-js/enc-latin1.js +18 -0
- data/node_modules/crypto-js/enc-utf16.js +149 -0
- data/node_modules/crypto-js/enc-utf8.js +18 -0
- data/node_modules/crypto-js/evpkdf.js +134 -0
- data/node_modules/crypto-js/format-hex.js +66 -0
- data/node_modules/crypto-js/format-openssl.js +18 -0
- data/node_modules/crypto-js/hmac-md5.js +18 -0
- data/node_modules/crypto-js/hmac-ripemd160.js +18 -0
- data/node_modules/crypto-js/hmac-sha1.js +18 -0
- data/node_modules/crypto-js/hmac-sha224.js +18 -0
- data/node_modules/crypto-js/hmac-sha256.js +18 -0
- data/node_modules/crypto-js/hmac-sha3.js +18 -0
- data/node_modules/crypto-js/hmac-sha384.js +18 -0
- data/node_modules/crypto-js/hmac-sha512.js +18 -0
- data/node_modules/crypto-js/hmac.js +143 -0
- data/node_modules/crypto-js/index.js +18 -0
- data/node_modules/crypto-js/lib-typedarrays.js +76 -0
- data/node_modules/crypto-js/md5.js +268 -0
- data/node_modules/crypto-js/mode-cfb.js +80 -0
- data/node_modules/crypto-js/mode-ctr-gladman.js +116 -0
- data/node_modules/crypto-js/mode-ctr.js +58 -0
- data/node_modules/crypto-js/mode-ecb.js +40 -0
- data/node_modules/crypto-js/mode-ofb.js +54 -0
- data/node_modules/crypto-js/package.json +38 -0
- data/node_modules/crypto-js/pad-ansix923.js +49 -0
- data/node_modules/crypto-js/pad-iso10126.js +44 -0
- data/node_modules/crypto-js/pad-iso97971.js +40 -0
- data/node_modules/crypto-js/pad-nopadding.js +30 -0
- data/node_modules/crypto-js/pad-pkcs7.js +18 -0
- data/node_modules/crypto-js/pad-zeropadding.js +47 -0
- data/node_modules/crypto-js/pbkdf2.js +145 -0
- data/node_modules/crypto-js/rabbit-legacy.js +190 -0
- data/node_modules/crypto-js/rabbit.js +192 -0
- data/node_modules/crypto-js/rc4.js +139 -0
- data/node_modules/crypto-js/ripemd160.js +267 -0
- data/node_modules/crypto-js/sha1.js +150 -0
- data/node_modules/crypto-js/sha224.js +80 -0
- data/node_modules/crypto-js/sha256.js +199 -0
- data/node_modules/crypto-js/sha3.js +326 -0
- data/node_modules/crypto-js/sha384.js +83 -0
- data/node_modules/crypto-js/sha512.js +326 -0
- data/node_modules/crypto-js/tripledes.js +779 -0
- data/node_modules/crypto-js/x64-core.js +304 -0
- data/node_modules/diff/CONTRIBUTING.md +39 -0
- data/node_modules/diff/LICENSE +31 -0
- data/node_modules/diff/README.md +208 -0
- data/node_modules/diff/dist/diff.js +1582 -0
- data/node_modules/diff/lib/convert/dmp.js +32 -0
- data/node_modules/diff/lib/convert/xml.js +42 -0
- data/node_modules/diff/lib/diff/array.js +45 -0
- data/node_modules/diff/lib/diff/base.js +304 -0
- data/node_modules/diff/lib/diff/character.js +37 -0
- data/node_modules/diff/lib/diff/css.js +41 -0
- data/node_modules/diff/lib/diff/json.js +163 -0
- data/node_modules/diff/lib/diff/line.js +89 -0
- data/node_modules/diff/lib/diff/sentence.js +41 -0
- data/node_modules/diff/lib/diff/word.js +108 -0
- data/node_modules/diff/lib/index.es6.js +1553 -0
- data/node_modules/diff/lib/index.js +216 -0
- data/node_modules/diff/lib/index.mjs +1553 -0
- data/node_modules/diff/lib/patch/apply.js +238 -0
- data/node_modules/diff/lib/patch/create.js +267 -0
- data/node_modules/diff/lib/patch/merge.js +613 -0
- data/node_modules/diff/lib/patch/parse.js +167 -0
- data/node_modules/diff/lib/util/array.js +32 -0
- data/node_modules/diff/lib/util/distance-iterator.js +57 -0
- data/node_modules/diff/lib/util/params.js +24 -0
- data/node_modules/diff/package.json +87 -0
- data/node_modules/diff/release-notes.md +303 -0
- data/node_modules/diff/runtime.js +3 -0
- data/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- data/node_modules/emoji-regex/README.md +73 -0
- data/node_modules/emoji-regex/es2015/index.js +6 -0
- data/node_modules/emoji-regex/es2015/text.js +6 -0
- data/node_modules/emoji-regex/index.d.ts +23 -0
- data/node_modules/emoji-regex/index.js +6 -0
- data/node_modules/emoji-regex/package.json +50 -0
- data/node_modules/emoji-regex/text.js +6 -0
- data/node_modules/escalade/dist/index.js +22 -0
- data/node_modules/escalade/dist/index.mjs +22 -0
- data/node_modules/escalade/index.d.ts +3 -0
- data/node_modules/escalade/license +9 -0
- data/node_modules/escalade/package.json +61 -0
- data/node_modules/escalade/readme.md +211 -0
- data/node_modules/escalade/sync/index.d.ts +2 -0
- data/node_modules/escalade/sync/index.js +18 -0
- data/node_modules/escalade/sync/index.mjs +18 -0
- data/node_modules/esprima/ChangeLog +235 -0
- data/node_modules/esprima/LICENSE.BSD +21 -0
- data/node_modules/esprima/README.md +46 -0
- data/node_modules/esprima/bin/esparse.js +139 -0
- data/node_modules/esprima/bin/esvalidate.js +236 -0
- data/node_modules/esprima/dist/esprima.js +6709 -0
- data/node_modules/esprima/package.json +112 -0
- data/node_modules/fill-range/LICENSE +21 -0
- data/node_modules/fill-range/README.md +237 -0
- data/node_modules/fill-range/index.js +249 -0
- data/node_modules/fill-range/package.json +69 -0
- data/node_modules/fs-extra/CHANGELOG.md +902 -0
- data/node_modules/fs-extra/LICENSE +15 -0
- data/node_modules/fs-extra/README.md +264 -0
- data/node_modules/fs-extra/lib/copy-sync/copy-sync.js +166 -0
- data/node_modules/fs-extra/lib/copy-sync/index.js +5 -0
- data/node_modules/fs-extra/lib/copy/copy.js +232 -0
- data/node_modules/fs-extra/lib/copy/index.js +6 -0
- data/node_modules/fs-extra/lib/empty/index.js +48 -0
- data/node_modules/fs-extra/lib/ensure/file.js +69 -0
- data/node_modules/fs-extra/lib/ensure/index.js +23 -0
- data/node_modules/fs-extra/lib/ensure/link.js +61 -0
- data/node_modules/fs-extra/lib/ensure/symlink-paths.js +99 -0
- data/node_modules/fs-extra/lib/ensure/symlink-type.js +31 -0
- data/node_modules/fs-extra/lib/ensure/symlink.js +63 -0
- data/node_modules/fs-extra/lib/fs/index.js +130 -0
- data/node_modules/fs-extra/lib/index.js +27 -0
- data/node_modules/fs-extra/lib/json/index.js +16 -0
- data/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
- data/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
- data/node_modules/fs-extra/lib/json/output-json.js +12 -0
- data/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- data/node_modules/fs-extra/lib/mkdirs/make-dir.js +141 -0
- data/node_modules/fs-extra/lib/move-sync/index.js +5 -0
- data/node_modules/fs-extra/lib/move-sync/move-sync.js +47 -0
- data/node_modules/fs-extra/lib/move/index.js +6 -0
- data/node_modules/fs-extra/lib/move/move.js +65 -0
- data/node_modules/fs-extra/lib/output/index.js +40 -0
- data/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- data/node_modules/fs-extra/lib/remove/index.js +9 -0
- data/node_modules/fs-extra/lib/remove/rimraf.js +302 -0
- data/node_modules/fs-extra/lib/util/stat.js +139 -0
- data/node_modules/fs-extra/lib/util/utimes.js +26 -0
- data/node_modules/fs-extra/package.json +70 -0
- data/node_modules/fs.realpath/LICENSE +43 -0
- data/node_modules/fs.realpath/README.md +33 -0
- data/node_modules/fs.realpath/index.js +66 -0
- data/node_modules/fs.realpath/old.js +303 -0
- data/node_modules/fs.realpath/package.json +26 -0
- data/node_modules/fsevents/LICENSE +22 -0
- data/node_modules/fsevents/README.md +83 -0
- data/node_modules/fsevents/fsevents.d.ts +46 -0
- data/node_modules/fsevents/fsevents.js +82 -0
- data/node_modules/fsevents/fsevents.node +0 -0
- data/node_modules/fsevents/package.json +62 -0
- data/node_modules/get-caller-file/LICENSE.md +6 -0
- data/node_modules/get-caller-file/README.md +41 -0
- data/node_modules/get-caller-file/index.d.ts +2 -0
- data/node_modules/get-caller-file/index.js +22 -0
- data/node_modules/get-caller-file/index.js.map +1 -0
- data/node_modules/get-caller-file/package.json +42 -0
- data/node_modules/glob-parent/CHANGELOG.md +110 -0
- data/node_modules/glob-parent/LICENSE +15 -0
- data/node_modules/glob-parent/README.md +137 -0
- data/node_modules/glob-parent/index.js +42 -0
- data/node_modules/glob-parent/package.json +48 -0
- data/node_modules/glob/LICENSE +21 -0
- data/node_modules/glob/README.md +375 -0
- data/node_modules/glob/changelog.md +67 -0
- data/node_modules/glob/common.js +234 -0
- data/node_modules/glob/glob.js +788 -0
- data/node_modules/glob/package.json +51 -0
- data/node_modules/glob/sync.js +484 -0
- data/node_modules/graceful-fs/LICENSE +15 -0
- data/node_modules/graceful-fs/README.md +133 -0
- data/node_modules/graceful-fs/clone.js +23 -0
- data/node_modules/graceful-fs/graceful-fs.js +373 -0
- data/node_modules/graceful-fs/legacy-streams.js +118 -0
- data/node_modules/graceful-fs/package.json +50 -0
- data/node_modules/graceful-fs/polyfills.js +346 -0
- data/node_modules/inflight/LICENSE +15 -0
- data/node_modules/inflight/README.md +37 -0
- data/node_modules/inflight/inflight.js +54 -0
- data/node_modules/inflight/package.json +29 -0
- data/node_modules/inherits/LICENSE +16 -0
- data/node_modules/inherits/README.md +42 -0
- data/node_modules/inherits/inherits.js +9 -0
- data/node_modules/inherits/inherits_browser.js +27 -0
- data/node_modules/inherits/package.json +29 -0
- data/node_modules/is-binary-path/index.d.ts +17 -0
- data/node_modules/is-binary-path/index.js +7 -0
- data/node_modules/is-binary-path/license +9 -0
- data/node_modules/is-binary-path/package.json +40 -0
- data/node_modules/is-binary-path/readme.md +34 -0
- data/node_modules/is-extglob/LICENSE +21 -0
- data/node_modules/is-extglob/README.md +107 -0
- data/node_modules/is-extglob/index.js +20 -0
- data/node_modules/is-extglob/package.json +69 -0
- data/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- data/node_modules/is-fullwidth-code-point/index.js +50 -0
- data/node_modules/is-fullwidth-code-point/license +9 -0
- data/node_modules/is-fullwidth-code-point/package.json +42 -0
- data/node_modules/is-fullwidth-code-point/readme.md +39 -0
- data/node_modules/is-glob/LICENSE +21 -0
- data/node_modules/is-glob/README.md +206 -0
- data/node_modules/is-glob/index.js +48 -0
- data/node_modules/is-glob/package.json +81 -0
- data/node_modules/is-number/LICENSE +21 -0
- data/node_modules/is-number/README.md +187 -0
- data/node_modules/is-number/index.js +18 -0
- data/node_modules/is-number/package.json +82 -0
- data/node_modules/isexe/LICENSE +15 -0
- data/node_modules/isexe/README.md +51 -0
- data/node_modules/isexe/index.js +57 -0
- data/node_modules/isexe/mode.js +41 -0
- data/node_modules/isexe/package.json +31 -0
- data/node_modules/isexe/test/basic.js +221 -0
- data/node_modules/isexe/windows.js +42 -0
- data/node_modules/js-yaml/CHANGELOG.md +557 -0
- data/node_modules/js-yaml/LICENSE +21 -0
- data/node_modules/js-yaml/README.md +299 -0
- data/node_modules/js-yaml/bin/js-yaml.js +132 -0
- data/node_modules/js-yaml/dist/js-yaml.js +3989 -0
- data/node_modules/js-yaml/dist/js-yaml.min.js +1 -0
- data/node_modules/js-yaml/index.js +7 -0
- data/node_modules/js-yaml/lib/js-yaml.js +39 -0
- data/node_modules/js-yaml/lib/js-yaml/common.js +59 -0
- data/node_modules/js-yaml/lib/js-yaml/dumper.js +850 -0
- data/node_modules/js-yaml/lib/js-yaml/exception.js +43 -0
- data/node_modules/js-yaml/lib/js-yaml/loader.js +1644 -0
- data/node_modules/js-yaml/lib/js-yaml/mark.js +76 -0
- data/node_modules/js-yaml/lib/js-yaml/schema.js +108 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/core.js +18 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +25 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +28 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +17 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/json.js +25 -0
- data/node_modules/js-yaml/lib/js-yaml/type.js +61 -0
- data/node_modules/js-yaml/lib/js-yaml/type/binary.js +138 -0
- data/node_modules/js-yaml/lib/js-yaml/type/bool.js +35 -0
- data/node_modules/js-yaml/lib/js-yaml/type/float.js +116 -0
- data/node_modules/js-yaml/lib/js-yaml/type/int.js +173 -0
- data/node_modules/js-yaml/lib/js-yaml/type/js/function.js +93 -0
- data/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +60 -0
- data/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +28 -0
- data/node_modules/js-yaml/lib/js-yaml/type/map.js +8 -0
- data/node_modules/js-yaml/lib/js-yaml/type/merge.js +12 -0
- data/node_modules/js-yaml/lib/js-yaml/type/null.js +34 -0
- data/node_modules/js-yaml/lib/js-yaml/type/omap.js +44 -0
- data/node_modules/js-yaml/lib/js-yaml/type/pairs.js +53 -0
- data/node_modules/js-yaml/lib/js-yaml/type/seq.js +8 -0
- data/node_modules/js-yaml/lib/js-yaml/type/set.js +29 -0
- data/node_modules/js-yaml/lib/js-yaml/type/str.js +8 -0
- data/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +88 -0
- data/node_modules/js-yaml/package.json +49 -0
- data/node_modules/jsonfile/CHANGELOG.md +171 -0
- data/node_modules/jsonfile/LICENSE +15 -0
- data/node_modules/jsonfile/README.md +230 -0
- data/node_modules/jsonfile/index.js +88 -0
- data/node_modules/jsonfile/package.json +40 -0
- data/node_modules/jsonfile/utils.js +14 -0
- data/node_modules/lru-cache/LICENSE +15 -0
- data/node_modules/lru-cache/README.md +166 -0
- data/node_modules/lru-cache/index.js +334 -0
- data/node_modules/lru-cache/package.json +34 -0
- data/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/minimatch/README.md +209 -0
- data/node_modules/minimatch/minimatch.js +923 -0
- data/node_modules/minimatch/package.json +30 -0
- data/node_modules/normalize-path/LICENSE +21 -0
- data/node_modules/normalize-path/README.md +127 -0
- data/node_modules/normalize-path/index.js +35 -0
- data/node_modules/normalize-path/package.json +77 -0
- data/node_modules/once/LICENSE +15 -0
- data/node_modules/once/README.md +79 -0
- data/node_modules/once/once.js +42 -0
- data/node_modules/once/package.json +33 -0
- data/node_modules/path-is-absolute/index.js +20 -0
- data/node_modules/path-is-absolute/license +21 -0
- data/node_modules/path-is-absolute/package.json +43 -0
- data/node_modules/path-is-absolute/readme.md +59 -0
- data/node_modules/path-key/index.d.ts +40 -0
- data/node_modules/path-key/index.js +16 -0
- data/node_modules/path-key/license +9 -0
- data/node_modules/path-key/package.json +39 -0
- data/node_modules/path-key/readme.md +61 -0
- data/node_modules/picomatch/CHANGELOG.md +126 -0
- data/node_modules/picomatch/LICENSE +21 -0
- data/node_modules/picomatch/README.md +707 -0
- data/node_modules/picomatch/index.js +3 -0
- data/node_modules/picomatch/lib/constants.js +179 -0
- data/node_modules/picomatch/lib/parse.js +1084 -0
- data/node_modules/picomatch/lib/picomatch.js +342 -0
- data/node_modules/picomatch/lib/scan.js +391 -0
- data/node_modules/picomatch/lib/utils.js +64 -0
- data/node_modules/picomatch/package.json +81 -0
- data/node_modules/readdirp/LICENSE +21 -0
- data/node_modules/readdirp/README.md +122 -0
- data/node_modules/readdirp/index.d.ts +43 -0
- data/node_modules/readdirp/index.js +287 -0
- data/node_modules/readdirp/package.json +122 -0
- data/node_modules/require-directory/LICENSE +22 -0
- data/node_modules/require-directory/README.markdown +184 -0
- data/node_modules/require-directory/index.js +86 -0
- data/node_modules/require-directory/package.json +40 -0
- data/node_modules/semver/CHANGELOG.md +111 -0
- data/node_modules/semver/LICENSE +15 -0
- data/node_modules/semver/README.md +566 -0
- data/node_modules/semver/bin/semver.js +173 -0
- data/node_modules/semver/classes/comparator.js +135 -0
- data/node_modules/semver/classes/index.js +5 -0
- data/node_modules/semver/classes/range.js +510 -0
- data/node_modules/semver/classes/semver.js +287 -0
- data/node_modules/semver/functions/clean.js +6 -0
- data/node_modules/semver/functions/cmp.js +48 -0
- data/node_modules/semver/functions/coerce.js +51 -0
- data/node_modules/semver/functions/compare-build.js +7 -0
- data/node_modules/semver/functions/compare-loose.js +3 -0
- data/node_modules/semver/functions/compare.js +5 -0
- data/node_modules/semver/functions/diff.js +23 -0
- data/node_modules/semver/functions/eq.js +3 -0
- data/node_modules/semver/functions/gt.js +3 -0
- data/node_modules/semver/functions/gte.js +3 -0
- data/node_modules/semver/functions/inc.js +15 -0
- data/node_modules/semver/functions/lt.js +3 -0
- data/node_modules/semver/functions/lte.js +3 -0
- data/node_modules/semver/functions/major.js +3 -0
- data/node_modules/semver/functions/minor.js +3 -0
- data/node_modules/semver/functions/neq.js +3 -0
- data/node_modules/semver/functions/parse.js +33 -0
- data/node_modules/semver/functions/patch.js +3 -0
- data/node_modules/semver/functions/prerelease.js +6 -0
- data/node_modules/semver/functions/rcompare.js +3 -0
- data/node_modules/semver/functions/rsort.js +3 -0
- data/node_modules/semver/functions/satisfies.js +10 -0
- data/node_modules/semver/functions/sort.js +3 -0
- data/node_modules/semver/functions/valid.js +6 -0
- data/node_modules/semver/index.js +48 -0
- data/node_modules/semver/internal/constants.js +17 -0
- data/node_modules/semver/internal/debug.js +9 -0
- data/node_modules/semver/internal/identifiers.js +23 -0
- data/node_modules/semver/internal/parse-options.js +11 -0
- data/node_modules/semver/internal/re.js +182 -0
- data/node_modules/semver/package.json +41 -0
- data/node_modules/semver/preload.js +2 -0
- data/node_modules/semver/range.bnf +16 -0
- data/node_modules/semver/ranges/gtr.js +4 -0
- data/node_modules/semver/ranges/intersects.js +7 -0
- data/node_modules/semver/ranges/ltr.js +4 -0
- data/node_modules/semver/ranges/max-satisfying.js +25 -0
- data/node_modules/semver/ranges/min-satisfying.js +24 -0
- data/node_modules/semver/ranges/min-version.js +60 -0
- data/node_modules/semver/ranges/outside.js +80 -0
- data/node_modules/semver/ranges/simplify.js +44 -0
- data/node_modules/semver/ranges/subset.js +222 -0
- data/node_modules/semver/ranges/to-comparators.js +8 -0
- data/node_modules/semver/ranges/valid.js +11 -0
- data/node_modules/shebang-command/index.js +19 -0
- data/node_modules/shebang-command/license +9 -0
- data/node_modules/shebang-command/package.json +34 -0
- data/node_modules/shebang-command/readme.md +34 -0
- data/node_modules/shebang-regex/index.d.ts +22 -0
- data/node_modules/shebang-regex/index.js +2 -0
- data/node_modules/shebang-regex/license +9 -0
- data/node_modules/shebang-regex/package.json +35 -0
- data/node_modules/shebang-regex/readme.md +33 -0
- data/node_modules/simple-wcswidth/CHANGELOG.md +13 -0
- data/node_modules/simple-wcswidth/LICENSE +21 -0
- data/node_modules/simple-wcswidth/README.md +100 -0
- data/node_modules/simple-wcswidth/dist/index.d.ts +3 -0
- data/node_modules/simple-wcswidth/dist/index.js +10 -0
- data/node_modules/simple-wcswidth/dist/src/binary-search.d.ts +3 -0
- data/node_modules/simple-wcswidth/dist/src/binary-search.js +24 -0
- data/node_modules/simple-wcswidth/dist/src/models.d.ts +4 -0
- data/node_modules/simple-wcswidth/dist/src/models.js +2 -0
- data/node_modules/simple-wcswidth/dist/src/non-spacing-chars.d.ts +3 -0
- data/node_modules/simple-wcswidth/dist/src/non-spacing-chars.js +149 -0
- data/node_modules/simple-wcswidth/dist/src/wcswidth.d.ts +2 -0
- data/node_modules/simple-wcswidth/dist/src/wcswidth.js +20 -0
- data/node_modules/simple-wcswidth/dist/src/wcwidth.d.ts +2 -0
- data/node_modules/simple-wcswidth/dist/src/wcwidth.js +67 -0
- data/node_modules/simple-wcswidth/package.json +44 -0
- data/node_modules/slash/index.d.ts +25 -0
- data/node_modules/slash/index.js +11 -0
- data/node_modules/slash/license +9 -0
- data/node_modules/slash/package.json +35 -0
- data/node_modules/slash/readme.md +44 -0
- data/node_modules/sprintf-js/LICENSE +24 -0
- data/node_modules/sprintf-js/README.md +88 -0
- data/node_modules/sprintf-js/bower.json +14 -0
- data/node_modules/sprintf-js/demo/angular.html +20 -0
- data/node_modules/sprintf-js/dist/angular-sprintf.min.js +4 -0
- data/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
- data/node_modules/sprintf-js/dist/angular-sprintf.min.map +1 -0
- data/node_modules/sprintf-js/dist/sprintf.min.js +4 -0
- data/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
- data/node_modules/sprintf-js/dist/sprintf.min.map +1 -0
- data/node_modules/sprintf-js/gruntfile.js +36 -0
- data/node_modules/sprintf-js/package.json +22 -0
- data/node_modules/sprintf-js/src/angular-sprintf.js +18 -0
- data/node_modules/sprintf-js/src/sprintf.js +208 -0
- data/node_modules/sprintf-js/test/test.js +82 -0
- data/node_modules/sqlite-parser/CHANGELOG.md +1263 -0
- data/node_modules/sqlite-parser/LICENSE +22 -0
- data/node_modules/sqlite-parser/README.md +187 -0
- data/node_modules/sqlite-parser/bin/sqlite-parser +7 -0
- data/node_modules/sqlite-parser/dist/sqlite-parser.js +19 -0
- data/node_modules/sqlite-parser/lib/index.js +6 -0
- data/node_modules/sqlite-parser/lib/parser.js +6 -0
- data/node_modules/sqlite-parser/lib/streaming-shim.js +6 -0
- data/node_modules/sqlite-parser/lib/streaming.js +6 -0
- data/node_modules/sqlite-parser/lib/tracer.js +6 -0
- data/node_modules/sqlite-parser/package.json +75 -0
- data/node_modules/string-width/index.d.ts +29 -0
- data/node_modules/string-width/index.js +47 -0
- data/node_modules/string-width/license +9 -0
- data/node_modules/string-width/package.json +56 -0
- data/node_modules/string-width/readme.md +50 -0
- data/node_modules/strip-ansi/index.d.ts +17 -0
- data/node_modules/strip-ansi/index.js +4 -0
- data/node_modules/strip-ansi/license +9 -0
- data/node_modules/strip-ansi/package.json +54 -0
- data/node_modules/strip-ansi/readme.md +46 -0
- data/node_modules/to-regex-range/LICENSE +21 -0
- data/node_modules/to-regex-range/README.md +305 -0
- data/node_modules/to-regex-range/index.js +288 -0
- data/node_modules/to-regex-range/package.json +88 -0
- data/node_modules/universalify/LICENSE +20 -0
- data/node_modules/universalify/README.md +76 -0
- data/node_modules/universalify/index.js +24 -0
- data/node_modules/universalify/package.json +34 -0
- data/node_modules/which/CHANGELOG.md +166 -0
- data/node_modules/which/LICENSE +15 -0
- data/node_modules/which/README.md +54 -0
- data/node_modules/which/bin/node-which +52 -0
- data/node_modules/which/package.json +43 -0
- data/node_modules/which/which.js +125 -0
- data/node_modules/wrap-ansi/index.js +216 -0
- data/node_modules/wrap-ansi/license +9 -0
- data/node_modules/wrap-ansi/package.json +62 -0
- data/node_modules/wrap-ansi/readme.md +91 -0
- data/node_modules/wrappy/LICENSE +15 -0
- data/node_modules/wrappy/README.md +36 -0
- data/node_modules/wrappy/package.json +29 -0
- data/node_modules/wrappy/wrappy.js +33 -0
- data/node_modules/y18n/CHANGELOG.md +100 -0
- data/node_modules/y18n/LICENSE +13 -0
- data/node_modules/y18n/README.md +127 -0
- data/node_modules/y18n/build/index.cjs +203 -0
- data/node_modules/y18n/build/lib/cjs.js +6 -0
- data/node_modules/y18n/build/lib/index.js +174 -0
- data/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
- data/node_modules/y18n/index.mjs +8 -0
- data/node_modules/y18n/package.json +70 -0
- data/node_modules/yallist/LICENSE +15 -0
- data/node_modules/yallist/README.md +204 -0
- data/node_modules/yallist/iterator.js +8 -0
- data/node_modules/yallist/package.json +29 -0
- data/node_modules/yallist/yallist.js +426 -0
- data/node_modules/yargs-parser/CHANGELOG.md +263 -0
- data/node_modules/yargs-parser/LICENSE.txt +14 -0
- data/node_modules/yargs-parser/README.md +518 -0
- data/node_modules/yargs-parser/browser.js +29 -0
- data/node_modules/yargs-parser/build/index.cjs +1042 -0
- data/node_modules/yargs-parser/build/lib/index.js +59 -0
- data/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- data/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- data/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- data/node_modules/yargs-parser/build/lib/yargs-parser.js +1037 -0
- data/node_modules/yargs-parser/package.json +87 -0
- data/node_modules/yargs/CHANGELOG.md +151 -0
- data/node_modules/yargs/LICENSE +21 -0
- data/node_modules/yargs/README.md +204 -0
- data/node_modules/yargs/browser.mjs +7 -0
- data/node_modules/yargs/build/index.cjs +1 -0
- data/node_modules/yargs/build/lib/argsert.js +62 -0
- data/node_modules/yargs/build/lib/command.js +436 -0
- data/node_modules/yargs/build/lib/completion-templates.js +48 -0
- data/node_modules/yargs/build/lib/completion.js +166 -0
- data/node_modules/yargs/build/lib/middleware.js +85 -0
- data/node_modules/yargs/build/lib/parse-command.js +32 -0
- data/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- data/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- data/node_modules/yargs/build/lib/usage.js +567 -0
- data/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- data/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- data/node_modules/yargs/build/lib/utils/levenshtein.js +26 -0
- data/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
- data/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- data/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- data/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- data/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- data/node_modules/yargs/build/lib/validation.js +279 -0
- data/node_modules/yargs/build/lib/yargs-factory.js +1452 -0
- data/node_modules/yargs/build/lib/yerror.js +7 -0
- data/node_modules/yargs/helpers/helpers.mjs +10 -0
- data/node_modules/yargs/helpers/index.js +14 -0
- data/node_modules/yargs/helpers/package.json +3 -0
- data/node_modules/yargs/index.cjs +43 -0
- data/node_modules/yargs/index.mjs +8 -0
- data/node_modules/yargs/lib/platform-shims/browser.mjs +94 -0
- data/node_modules/yargs/lib/platform-shims/esm.mjs +67 -0
- data/node_modules/yargs/locales/be.json +46 -0
- data/node_modules/yargs/locales/de.json +46 -0
- data/node_modules/yargs/locales/en.json +51 -0
- data/node_modules/yargs/locales/es.json +46 -0
- data/node_modules/yargs/locales/fi.json +49 -0
- data/node_modules/yargs/locales/fr.json +53 -0
- data/node_modules/yargs/locales/hi.json +49 -0
- data/node_modules/yargs/locales/hu.json +46 -0
- data/node_modules/yargs/locales/id.json +50 -0
- data/node_modules/yargs/locales/it.json +46 -0
- data/node_modules/yargs/locales/ja.json +51 -0
- data/node_modules/yargs/locales/ko.json +49 -0
- data/node_modules/yargs/locales/nb.json +44 -0
- data/node_modules/yargs/locales/nl.json +49 -0
- data/node_modules/yargs/locales/nn.json +44 -0
- data/node_modules/yargs/locales/pirate.json +13 -0
- data/node_modules/yargs/locales/pl.json +49 -0
- data/node_modules/yargs/locales/pt.json +45 -0
- data/node_modules/yargs/locales/pt_BR.json +48 -0
- data/node_modules/yargs/locales/ru.json +46 -0
- data/node_modules/yargs/locales/th.json +46 -0
- data/node_modules/yargs/locales/tr.json +48 -0
- data/node_modules/yargs/locales/uk_UA.json +51 -0
- data/node_modules/yargs/locales/zh_CN.json +48 -0
- data/node_modules/yargs/locales/zh_TW.json +47 -0
- data/node_modules/yargs/package.json +116 -0
- data/node_modules/yargs/yargs +9 -0
- data/spec/fixtures/depends/revoke_api_key.appmap.json +3 -3
- data/spec/fixtures/depends/user_page_scenario.appmap.json +3 -3
- metadata +956 -7
@@ -0,0 +1,110 @@
|
|
1
|
+
### [5.1.2](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2) (2021-03-06)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* eliminate ReDoS ([#36](https://github.com/gulpjs/glob-parent/issues/36)) ([f923116](https://github.com/gulpjs/glob-parent/commit/f9231168b0041fea3f8f954b3cceb56269fc6366))
|
7
|
+
|
8
|
+
### [5.1.1](https://github.com/gulpjs/glob-parent/compare/v5.1.0...v5.1.1) (2021-01-27)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* unescape exclamation mark ([#26](https://github.com/gulpjs/glob-parent/issues/26)) ([a98874f](https://github.com/gulpjs/glob-parent/commit/a98874f1a59e407f4fb1beb0db4efa8392da60bb))
|
14
|
+
|
15
|
+
## [5.1.0](https://github.com/gulpjs/glob-parent/compare/v5.0.0...v5.1.0) (2021-01-27)
|
16
|
+
|
17
|
+
|
18
|
+
### Features
|
19
|
+
|
20
|
+
* add `flipBackslashes` option to disable auto conversion of slashes (closes [#24](https://github.com/gulpjs/glob-parent/issues/24)) ([#25](https://github.com/gulpjs/glob-parent/issues/25)) ([eecf91d](https://github.com/gulpjs/glob-parent/commit/eecf91d5e3834ed78aee39c4eaaae654d76b87b3))
|
21
|
+
|
22
|
+
## [5.0.0](https://github.com/gulpjs/glob-parent/compare/v4.0.0...v5.0.0) (2021-01-27)
|
23
|
+
|
24
|
+
|
25
|
+
### ⚠ BREAKING CHANGES
|
26
|
+
|
27
|
+
* Drop support for node <6 & bump dependencies
|
28
|
+
|
29
|
+
### Miscellaneous Chores
|
30
|
+
|
31
|
+
* Drop support for node <6 & bump dependencies ([896c0c0](https://github.com/gulpjs/glob-parent/commit/896c0c00b4e7362f60b96e7fc295ae929245255a))
|
32
|
+
|
33
|
+
## [4.0.0](https://github.com/gulpjs/glob-parent/compare/v3.1.0...v4.0.0) (2021-01-27)
|
34
|
+
|
35
|
+
|
36
|
+
### ⚠ BREAKING CHANGES
|
37
|
+
|
38
|
+
* question marks are valid path characters on Windows so avoid flagging as a glob when alone
|
39
|
+
* Update is-glob dependency
|
40
|
+
|
41
|
+
### Features
|
42
|
+
|
43
|
+
* hoist regexps and strings for performance gains ([4a80667](https://github.com/gulpjs/glob-parent/commit/4a80667c69355c76a572a5892b0f133c8e1f457e))
|
44
|
+
* question marks are valid path characters on Windows so avoid flagging as a glob when alone ([2a551dd](https://github.com/gulpjs/glob-parent/commit/2a551dd0dc3235e78bf3c94843d4107072d17841))
|
45
|
+
* Update is-glob dependency ([e41fcd8](https://github.com/gulpjs/glob-parent/commit/e41fcd895d1f7bc617dba45c9d935a7949b9c281))
|
46
|
+
|
47
|
+
## [3.1.0](https://github.com/gulpjs/glob-parent/compare/v3.0.1...v3.1.0) (2021-01-27)
|
48
|
+
|
49
|
+
|
50
|
+
### Features
|
51
|
+
|
52
|
+
* allow basic win32 backslash use ([272afa5](https://github.com/gulpjs/glob-parent/commit/272afa5fd070fc0f796386a5993d4ee4a846988b))
|
53
|
+
* handle extglobs (parentheses) containing separators ([7db1bdb](https://github.com/gulpjs/glob-parent/commit/7db1bdb0756e55fd14619e8ce31aa31b17b117fd))
|
54
|
+
* new approach to braces/brackets handling ([8269bd8](https://github.com/gulpjs/glob-parent/commit/8269bd89290d99fac9395a354fb56fdcdb80f0be))
|
55
|
+
* pre-process braces/brackets sections ([9ef8a87](https://github.com/gulpjs/glob-parent/commit/9ef8a87f66b1a43d0591e7a8e4fc5a18415ee388))
|
56
|
+
* preserve escaped brace/bracket at end of string ([8cfb0ba](https://github.com/gulpjs/glob-parent/commit/8cfb0ba84202d51571340dcbaf61b79d16a26c76))
|
57
|
+
|
58
|
+
|
59
|
+
### Bug Fixes
|
60
|
+
|
61
|
+
* trailing escaped square brackets ([99ec9fe](https://github.com/gulpjs/glob-parent/commit/99ec9fecc60ee488ded20a94dd4f18b4f55c4ccf))
|
62
|
+
|
63
|
+
### [3.0.1](https://github.com/gulpjs/glob-parent/compare/v3.0.0...v3.0.1) (2021-01-27)
|
64
|
+
|
65
|
+
|
66
|
+
### Features
|
67
|
+
|
68
|
+
* use path-dirname ponyfill ([cdbea5f](https://github.com/gulpjs/glob-parent/commit/cdbea5f32a58a54e001a75ddd7c0fccd4776aacc))
|
69
|
+
|
70
|
+
|
71
|
+
### Bug Fixes
|
72
|
+
|
73
|
+
* unescape glob-escaped dirnames on output ([598c533](https://github.com/gulpjs/glob-parent/commit/598c533bdf49c1428bc063aa9b8db40c5a86b030))
|
74
|
+
|
75
|
+
## [3.0.0](https://github.com/gulpjs/glob-parent/compare/v2.0.0...v3.0.0) (2021-01-27)
|
76
|
+
|
77
|
+
|
78
|
+
### ⚠ BREAKING CHANGES
|
79
|
+
|
80
|
+
* update is-glob dependency
|
81
|
+
|
82
|
+
### Features
|
83
|
+
|
84
|
+
* update is-glob dependency ([5c5f8ef](https://github.com/gulpjs/glob-parent/commit/5c5f8efcee362a8e7638cf8220666acd8784f6bd))
|
85
|
+
|
86
|
+
## [2.0.0](https://github.com/gulpjs/glob-parent/compare/v1.3.0...v2.0.0) (2021-01-27)
|
87
|
+
|
88
|
+
|
89
|
+
### Features
|
90
|
+
|
91
|
+
* move up to dirname regardless of glob characters ([f97fb83](https://github.com/gulpjs/glob-parent/commit/f97fb83be2e0a9fc8d3b760e789d2ecadd6aa0c2))
|
92
|
+
|
93
|
+
## [1.3.0](https://github.com/gulpjs/glob-parent/compare/v1.2.0...v1.3.0) (2021-01-27)
|
94
|
+
|
95
|
+
## [1.2.0](https://github.com/gulpjs/glob-parent/compare/v1.1.0...v1.2.0) (2021-01-27)
|
96
|
+
|
97
|
+
|
98
|
+
### Reverts
|
99
|
+
|
100
|
+
* feat: make regex test strings smaller ([dc80fa9](https://github.com/gulpjs/glob-parent/commit/dc80fa9658dca20549cfeba44bbd37d5246fcce0))
|
101
|
+
|
102
|
+
## [1.1.0](https://github.com/gulpjs/glob-parent/compare/v1.0.0...v1.1.0) (2021-01-27)
|
103
|
+
|
104
|
+
|
105
|
+
### Features
|
106
|
+
|
107
|
+
* make regex test strings smaller ([cd83220](https://github.com/gulpjs/glob-parent/commit/cd832208638f45169f986d80fcf66e401f35d233))
|
108
|
+
|
109
|
+
## 1.0.0 (2021-01-27)
|
110
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
The ISC License
|
2
|
+
|
3
|
+
Copyright (c) 2015, 2019 Elan Shanker
|
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.
|
@@ -0,0 +1,137 @@
|
|
1
|
+
<p align="center">
|
2
|
+
<a href="https://gulpjs.com">
|
3
|
+
<img height="257" width="114" src="https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png">
|
4
|
+
</a>
|
5
|
+
</p>
|
6
|
+
|
7
|
+
# glob-parent
|
8
|
+
|
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]
|
10
|
+
|
11
|
+
Extract the non-magic parent path from a glob string.
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
```js
|
16
|
+
var globParent = require('glob-parent');
|
17
|
+
|
18
|
+
globParent('path/to/*.js'); // 'path/to'
|
19
|
+
globParent('/root/path/to/*.js'); // '/root/path/to'
|
20
|
+
globParent('/*.js'); // '/'
|
21
|
+
globParent('*.js'); // '.'
|
22
|
+
globParent('**/*.js'); // '.'
|
23
|
+
globParent('path/{to,from}'); // 'path'
|
24
|
+
globParent('path/!(to|from)'); // 'path'
|
25
|
+
globParent('path/?(to|from)'); // 'path'
|
26
|
+
globParent('path/+(to|from)'); // 'path'
|
27
|
+
globParent('path/*(to|from)'); // 'path'
|
28
|
+
globParent('path/@(to|from)'); // 'path'
|
29
|
+
globParent('path/**/*'); // 'path'
|
30
|
+
|
31
|
+
// if provided a non-glob path, returns the nearest dir
|
32
|
+
globParent('path/foo/bar.js'); // 'path/foo'
|
33
|
+
globParent('path/foo/'); // 'path/foo'
|
34
|
+
globParent('path/foo'); // 'path' (see issue #3 for details)
|
35
|
+
```
|
36
|
+
|
37
|
+
## API
|
38
|
+
|
39
|
+
### `globParent(maybeGlobString, [options])`
|
40
|
+
|
41
|
+
Takes a string and returns the part of the path before the glob begins. Be aware of Escaping rules and Limitations below.
|
42
|
+
|
43
|
+
#### options
|
44
|
+
|
45
|
+
```js
|
46
|
+
{
|
47
|
+
// Disables the automatic conversion of slashes for Windows
|
48
|
+
flipBackslashes: true
|
49
|
+
}
|
50
|
+
```
|
51
|
+
|
52
|
+
## Escaping
|
53
|
+
|
54
|
+
The following characters have special significance in glob patterns and must be escaped if you want them to be treated as regular path characters:
|
55
|
+
|
56
|
+
- `?` (question mark) unless used as a path segment alone
|
57
|
+
- `*` (asterisk)
|
58
|
+
- `|` (pipe)
|
59
|
+
- `(` (opening parenthesis)
|
60
|
+
- `)` (closing parenthesis)
|
61
|
+
- `{` (opening curly brace)
|
62
|
+
- `}` (closing curly brace)
|
63
|
+
- `[` (opening bracket)
|
64
|
+
- `]` (closing bracket)
|
65
|
+
|
66
|
+
**Example**
|
67
|
+
|
68
|
+
```js
|
69
|
+
globParent('foo/[bar]/') // 'foo'
|
70
|
+
globParent('foo/\\[bar]/') // 'foo/[bar]'
|
71
|
+
```
|
72
|
+
|
73
|
+
## Limitations
|
74
|
+
|
75
|
+
### Braces & Brackets
|
76
|
+
This library attempts a quick and imperfect method of determining which path
|
77
|
+
parts have glob magic without fully parsing/lexing the pattern. There are some
|
78
|
+
advanced use cases that can trip it up, such as nested braces where the outer
|
79
|
+
pair is escaped and the inner one contains a path separator. If you find
|
80
|
+
yourself in the unlikely circumstance of being affected by this or need to
|
81
|
+
ensure higher-fidelity glob handling in your library, it is recommended that you
|
82
|
+
pre-process your input with [expand-braces] and/or [expand-brackets].
|
83
|
+
|
84
|
+
### Windows
|
85
|
+
Backslashes are not valid path separators for globs. If a path with backslashes
|
86
|
+
is provided anyway, for simple cases, glob-parent will replace the path
|
87
|
+
separator for you and return the non-glob parent path (now with
|
88
|
+
forward-slashes, which are still valid as Windows path separators).
|
89
|
+
|
90
|
+
This cannot be used in conjunction with escape characters.
|
91
|
+
|
92
|
+
```js
|
93
|
+
// BAD
|
94
|
+
globParent('C:\\Program Files \\(x86\\)\\*.ext') // 'C:/Program Files /(x86/)'
|
95
|
+
|
96
|
+
// GOOD
|
97
|
+
globParent('C:/Program Files\\(x86\\)/*.ext') // 'C:/Program Files (x86)'
|
98
|
+
```
|
99
|
+
|
100
|
+
If you are using escape characters for a pattern without path parts (i.e.
|
101
|
+
relative to `cwd`), prefix with `./` to avoid confusing glob-parent.
|
102
|
+
|
103
|
+
```js
|
104
|
+
// BAD
|
105
|
+
globParent('foo \\[bar]') // 'foo '
|
106
|
+
globParent('foo \\[bar]*') // 'foo '
|
107
|
+
|
108
|
+
// GOOD
|
109
|
+
globParent('./foo \\[bar]') // 'foo [bar]'
|
110
|
+
globParent('./foo \\[bar]*') // '.'
|
111
|
+
```
|
112
|
+
|
113
|
+
## License
|
114
|
+
|
115
|
+
ISC
|
116
|
+
|
117
|
+
[expand-braces]: https://github.com/jonschlinkert/expand-braces
|
118
|
+
[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
|
@@ -0,0 +1,42 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var isGlob = require('is-glob');
|
4
|
+
var pathPosixDirname = require('path').posix.dirname;
|
5
|
+
var isWin32 = require('os').platform() === 'win32';
|
6
|
+
|
7
|
+
var slash = '/';
|
8
|
+
var backslash = /\\/g;
|
9
|
+
var enclosure = /[\{\[].*[\}\]]$/;
|
10
|
+
var globby = /(^|[^\\])([\{\[]|\([^\)]+$)/;
|
11
|
+
var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
|
12
|
+
|
13
|
+
/**
|
14
|
+
* @param {string} str
|
15
|
+
* @param {Object} opts
|
16
|
+
* @param {boolean} [opts.flipBackslashes=true]
|
17
|
+
* @returns {string}
|
18
|
+
*/
|
19
|
+
module.exports = function globParent(str, opts) {
|
20
|
+
var options = Object.assign({ flipBackslashes: true }, opts);
|
21
|
+
|
22
|
+
// flip windows path separators
|
23
|
+
if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {
|
24
|
+
str = str.replace(backslash, slash);
|
25
|
+
}
|
26
|
+
|
27
|
+
// special case for strings ending in enclosure containing path separator
|
28
|
+
if (enclosure.test(str)) {
|
29
|
+
str += slash;
|
30
|
+
}
|
31
|
+
|
32
|
+
// preserves full path in case of trailing path separator
|
33
|
+
str += 'a';
|
34
|
+
|
35
|
+
// remove path parts that are globby
|
36
|
+
do {
|
37
|
+
str = pathPosixDirname(str);
|
38
|
+
} while (isGlob(str) || globby.test(str));
|
39
|
+
|
40
|
+
// remove escape chars and return result
|
41
|
+
return str.replace(escaped, '$1');
|
42
|
+
};
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{
|
2
|
+
"name": "glob-parent",
|
3
|
+
"version": "5.1.2",
|
4
|
+
"description": "Extract the non-magic parent path from a glob string.",
|
5
|
+
"author": "Gulp Team <team@gulpjs.com> (https://gulpjs.com/)",
|
6
|
+
"contributors": [
|
7
|
+
"Elan Shanker (https://github.com/es128)",
|
8
|
+
"Blaine Bublitz <blaine.bublitz@gmail.com>"
|
9
|
+
],
|
10
|
+
"repository": "gulpjs/glob-parent",
|
11
|
+
"license": "ISC",
|
12
|
+
"engines": {
|
13
|
+
"node": ">= 6"
|
14
|
+
},
|
15
|
+
"main": "index.js",
|
16
|
+
"files": [
|
17
|
+
"LICENSE",
|
18
|
+
"index.js"
|
19
|
+
],
|
20
|
+
"scripts": {
|
21
|
+
"lint": "eslint .",
|
22
|
+
"pretest": "npm run lint",
|
23
|
+
"test": "nyc mocha --async-only",
|
24
|
+
"azure-pipelines": "nyc mocha --async-only --reporter xunit -O output=test.xunit",
|
25
|
+
"coveralls": "nyc report --reporter=text-lcov | coveralls"
|
26
|
+
},
|
27
|
+
"dependencies": {
|
28
|
+
"is-glob": "^4.0.1"
|
29
|
+
},
|
30
|
+
"devDependencies": {
|
31
|
+
"coveralls": "^3.0.11",
|
32
|
+
"eslint": "^2.13.1",
|
33
|
+
"eslint-config-gulp": "^3.0.1",
|
34
|
+
"expect": "^1.20.2",
|
35
|
+
"mocha": "^6.0.2",
|
36
|
+
"nyc": "^13.3.0"
|
37
|
+
},
|
38
|
+
"keywords": [
|
39
|
+
"glob",
|
40
|
+
"parent",
|
41
|
+
"strip",
|
42
|
+
"path",
|
43
|
+
"dirname",
|
44
|
+
"directory",
|
45
|
+
"base",
|
46
|
+
"wildcard"
|
47
|
+
]
|
48
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
The ISC License
|
2
|
+
|
3
|
+
Copyright (c) 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.
|
16
|
+
|
17
|
+
## Glob Logo
|
18
|
+
|
19
|
+
Glob's logo created by Tanya Brassie <http://tanyabrassie.com/>, licensed
|
20
|
+
under a Creative Commons Attribution-ShareAlike 4.0 International License
|
21
|
+
https://creativecommons.org/licenses/by-sa/4.0/
|
@@ -0,0 +1,375 @@
|
|
1
|
+
# Glob
|
2
|
+
|
3
|
+
Match files using the patterns the shell uses, like stars and stuff.
|
4
|
+
|
5
|
+
[![Build Status](https://travis-ci.org/isaacs/node-glob.svg?branch=master)](https://travis-ci.org/isaacs/node-glob/) [![Build Status](https://ci.appveyor.com/api/projects/status/kd7f3yftf7unxlsx?svg=true)](https://ci.appveyor.com/project/isaacs/node-glob) [![Coverage Status](https://coveralls.io/repos/isaacs/node-glob/badge.svg?branch=master&service=github)](https://coveralls.io/github/isaacs/node-glob?branch=master)
|
6
|
+
|
7
|
+
This is a glob implementation in JavaScript. It uses the `minimatch`
|
8
|
+
library to do its matching.
|
9
|
+
|
10
|
+
![a fun cartoon logo made of glob characters](logo/glob.png)
|
11
|
+
|
12
|
+
## Usage
|
13
|
+
|
14
|
+
Install with npm
|
15
|
+
|
16
|
+
```
|
17
|
+
npm i glob
|
18
|
+
```
|
19
|
+
|
20
|
+
```javascript
|
21
|
+
var glob = require("glob")
|
22
|
+
|
23
|
+
// options is optional
|
24
|
+
glob("**/*.js", options, function (er, files) {
|
25
|
+
// files is an array of filenames.
|
26
|
+
// If the `nonull` option is set, and nothing
|
27
|
+
// was found, then files is ["**/*.js"]
|
28
|
+
// er is an error object or null.
|
29
|
+
})
|
30
|
+
```
|
31
|
+
|
32
|
+
## Glob Primer
|
33
|
+
|
34
|
+
"Globs" are the patterns you type when you do stuff like `ls *.js` on
|
35
|
+
the command line, or put `build/*` in a `.gitignore` file.
|
36
|
+
|
37
|
+
Before parsing the path part patterns, braced sections are expanded
|
38
|
+
into a set. Braced sections start with `{` and end with `}`, with any
|
39
|
+
number of comma-delimited sections within. Braced sections may contain
|
40
|
+
slash characters, so `a{/b/c,bcd}` would expand into `a/b/c` and `abcd`.
|
41
|
+
|
42
|
+
The following characters have special magic meaning when used in a
|
43
|
+
path portion:
|
44
|
+
|
45
|
+
* `*` Matches 0 or more characters in a single path portion
|
46
|
+
* `?` Matches 1 character
|
47
|
+
* `[...]` Matches a range of characters, similar to a RegExp range.
|
48
|
+
If the first character of the range is `!` or `^` then it matches
|
49
|
+
any character not in the range.
|
50
|
+
* `!(pattern|pattern|pattern)` Matches anything that does not match
|
51
|
+
any of the patterns provided.
|
52
|
+
* `?(pattern|pattern|pattern)` Matches zero or one occurrence of the
|
53
|
+
patterns provided.
|
54
|
+
* `+(pattern|pattern|pattern)` Matches one or more occurrences of the
|
55
|
+
patterns provided.
|
56
|
+
* `*(a|b|c)` Matches zero or more occurrences of the patterns provided
|
57
|
+
* `@(pattern|pat*|pat?erN)` Matches exactly one of the patterns
|
58
|
+
provided
|
59
|
+
* `**` If a "globstar" is alone in a path portion, then it matches
|
60
|
+
zero or more directories and subdirectories searching for matches.
|
61
|
+
It does not crawl symlinked directories.
|
62
|
+
|
63
|
+
### Dots
|
64
|
+
|
65
|
+
If a file or directory path portion has a `.` as the first character,
|
66
|
+
then it will not match any glob pattern unless that pattern's
|
67
|
+
corresponding path part also has a `.` as its first character.
|
68
|
+
|
69
|
+
For example, the pattern `a/.*/c` would match the file at `a/.b/c`.
|
70
|
+
However the pattern `a/*/c` would not, because `*` does not start with
|
71
|
+
a dot character.
|
72
|
+
|
73
|
+
You can make glob treat dots as normal characters by setting
|
74
|
+
`dot:true` in the options.
|
75
|
+
|
76
|
+
### Basename Matching
|
77
|
+
|
78
|
+
If you set `matchBase:true` in the options, and the pattern has no
|
79
|
+
slashes in it, then it will seek for any file anywhere in the tree
|
80
|
+
with a matching basename. For example, `*.js` would match
|
81
|
+
`test/simple/basic.js`.
|
82
|
+
|
83
|
+
### Empty Sets
|
84
|
+
|
85
|
+
If no matching files are found, then an empty array is returned. This
|
86
|
+
differs from the shell, where the pattern itself is returned. For
|
87
|
+
example:
|
88
|
+
|
89
|
+
$ echo a*s*d*f
|
90
|
+
a*s*d*f
|
91
|
+
|
92
|
+
To get the bash-style behavior, set the `nonull:true` in the options.
|
93
|
+
|
94
|
+
### See Also:
|
95
|
+
|
96
|
+
* `man sh`
|
97
|
+
* `man bash` (Search for "Pattern Matching")
|
98
|
+
* `man 3 fnmatch`
|
99
|
+
* `man 5 gitignore`
|
100
|
+
* [minimatch documentation](https://github.com/isaacs/minimatch)
|
101
|
+
|
102
|
+
## glob.hasMagic(pattern, [options])
|
103
|
+
|
104
|
+
Returns `true` if there are any special characters in the pattern, and
|
105
|
+
`false` otherwise.
|
106
|
+
|
107
|
+
Note that the options affect the results. If `noext:true` is set in
|
108
|
+
the options object, then `+(a|b)` will not be considered a magic
|
109
|
+
pattern. If the pattern has a brace expansion, like `a/{b/c,x/y}`
|
110
|
+
then that is considered magical, unless `nobrace:true` is set in the
|
111
|
+
options.
|
112
|
+
|
113
|
+
## glob(pattern, [options], cb)
|
114
|
+
|
115
|
+
* `pattern` `{String}` Pattern to be matched
|
116
|
+
* `options` `{Object}`
|
117
|
+
* `cb` `{Function}`
|
118
|
+
* `err` `{Error | null}`
|
119
|
+
* `matches` `{Array<String>}` filenames found matching the pattern
|
120
|
+
|
121
|
+
Perform an asynchronous glob search.
|
122
|
+
|
123
|
+
## glob.sync(pattern, [options])
|
124
|
+
|
125
|
+
* `pattern` `{String}` Pattern to be matched
|
126
|
+
* `options` `{Object}`
|
127
|
+
* return: `{Array<String>}` filenames found matching the pattern
|
128
|
+
|
129
|
+
Perform a synchronous glob search.
|
130
|
+
|
131
|
+
## Class: glob.Glob
|
132
|
+
|
133
|
+
Create a Glob object by instantiating the `glob.Glob` class.
|
134
|
+
|
135
|
+
```javascript
|
136
|
+
var Glob = require("glob").Glob
|
137
|
+
var mg = new Glob(pattern, options, cb)
|
138
|
+
```
|
139
|
+
|
140
|
+
It's an EventEmitter, and starts walking the filesystem to find matches
|
141
|
+
immediately.
|
142
|
+
|
143
|
+
### new glob.Glob(pattern, [options], [cb])
|
144
|
+
|
145
|
+
* `pattern` `{String}` pattern to search for
|
146
|
+
* `options` `{Object}`
|
147
|
+
* `cb` `{Function}` Called when an error occurs, or matches are found
|
148
|
+
* `err` `{Error | null}`
|
149
|
+
* `matches` `{Array<String>}` filenames found matching the pattern
|
150
|
+
|
151
|
+
Note that if the `sync` flag is set in the options, then matches will
|
152
|
+
be immediately available on the `g.found` member.
|
153
|
+
|
154
|
+
### Properties
|
155
|
+
|
156
|
+
* `minimatch` The minimatch object that the glob uses.
|
157
|
+
* `options` The options object passed in.
|
158
|
+
* `aborted` Boolean which is set to true when calling `abort()`. There
|
159
|
+
is no way at this time to continue a glob search after aborting, but
|
160
|
+
you can re-use the statCache to avoid having to duplicate syscalls.
|
161
|
+
* `cache` Convenience object. Each field has the following possible
|
162
|
+
values:
|
163
|
+
* `false` - Path does not exist
|
164
|
+
* `true` - Path exists
|
165
|
+
* `'FILE'` - Path exists, and is not a directory
|
166
|
+
* `'DIR'` - Path exists, and is a directory
|
167
|
+
* `[file, entries, ...]` - Path exists, is a directory, and the
|
168
|
+
array value is the results of `fs.readdir`
|
169
|
+
* `statCache` Cache of `fs.stat` results, to prevent statting the same
|
170
|
+
path multiple times.
|
171
|
+
* `symlinks` A record of which paths are symbolic links, which is
|
172
|
+
relevant in resolving `**` patterns.
|
173
|
+
* `realpathCache` An optional object which is passed to `fs.realpath`
|
174
|
+
to minimize unnecessary syscalls. It is stored on the instantiated
|
175
|
+
Glob object, and may be re-used.
|
176
|
+
|
177
|
+
### Events
|
178
|
+
|
179
|
+
* `end` When the matching is finished, this is emitted with all the
|
180
|
+
matches found. If the `nonull` option is set, and no match was found,
|
181
|
+
then the `matches` list contains the original pattern. The matches
|
182
|
+
are sorted, unless the `nosort` flag is set.
|
183
|
+
* `match` Every time a match is found, this is emitted with the specific
|
184
|
+
thing that matched. It is not deduplicated or resolved to a realpath.
|
185
|
+
* `error` Emitted when an unexpected error is encountered, or whenever
|
186
|
+
any fs error occurs if `options.strict` is set.
|
187
|
+
* `abort` When `abort()` is called, this event is raised.
|
188
|
+
|
189
|
+
### Methods
|
190
|
+
|
191
|
+
* `pause` Temporarily stop the search
|
192
|
+
* `resume` Resume the search
|
193
|
+
* `abort` Stop the search forever
|
194
|
+
|
195
|
+
### Options
|
196
|
+
|
197
|
+
All the options that can be passed to Minimatch can also be passed to
|
198
|
+
Glob to change pattern matching behavior. Also, some have been added,
|
199
|
+
or have glob-specific ramifications.
|
200
|
+
|
201
|
+
All options are false by default, unless otherwise noted.
|
202
|
+
|
203
|
+
All options are added to the Glob object, as well.
|
204
|
+
|
205
|
+
If you are running many `glob` operations, you can pass a Glob object
|
206
|
+
as the `options` argument to a subsequent operation to shortcut some
|
207
|
+
`stat` and `readdir` calls. At the very least, you may pass in shared
|
208
|
+
`symlinks`, `statCache`, `realpathCache`, and `cache` options, so that
|
209
|
+
parallel glob operations will be sped up by sharing information about
|
210
|
+
the filesystem.
|
211
|
+
|
212
|
+
* `cwd` The current working directory in which to search. Defaults
|
213
|
+
to `process.cwd()`.
|
214
|
+
* `root` The place where patterns starting with `/` will be mounted
|
215
|
+
onto. Defaults to `path.resolve(options.cwd, "/")` (`/` on Unix
|
216
|
+
systems, and `C:\` or some such on Windows.)
|
217
|
+
* `dot` Include `.dot` files in normal matches and `globstar` matches.
|
218
|
+
Note that an explicit dot in a portion of the pattern will always
|
219
|
+
match dot files.
|
220
|
+
* `nomount` By default, a pattern starting with a forward-slash will be
|
221
|
+
"mounted" onto the root setting, so that a valid filesystem path is
|
222
|
+
returned. Set this flag to disable that behavior.
|
223
|
+
* `mark` Add a `/` character to directory matches. Note that this
|
224
|
+
requires additional stat calls.
|
225
|
+
* `nosort` Don't sort the results.
|
226
|
+
* `stat` Set to true to stat *all* results. This reduces performance
|
227
|
+
somewhat, and is completely unnecessary, unless `readdir` is presumed
|
228
|
+
to be an untrustworthy indicator of file existence.
|
229
|
+
* `silent` When an unusual error is encountered when attempting to
|
230
|
+
read a directory, a warning will be printed to stderr. Set the
|
231
|
+
`silent` option to true to suppress these warnings.
|
232
|
+
* `strict` When an unusual error is encountered when attempting to
|
233
|
+
read a directory, the process will just continue on in search of
|
234
|
+
other matches. Set the `strict` option to raise an error in these
|
235
|
+
cases.
|
236
|
+
* `cache` See `cache` property above. Pass in a previously generated
|
237
|
+
cache object to save some fs calls.
|
238
|
+
* `statCache` A cache of results of filesystem information, to prevent
|
239
|
+
unnecessary stat calls. While it should not normally be necessary
|
240
|
+
to set this, you may pass the statCache from one glob() call to the
|
241
|
+
options object of another, if you know that the filesystem will not
|
242
|
+
change between calls. (See "Race Conditions" below.)
|
243
|
+
* `symlinks` A cache of known symbolic links. You may pass in a
|
244
|
+
previously generated `symlinks` object to save `lstat` calls when
|
245
|
+
resolving `**` matches.
|
246
|
+
* `sync` DEPRECATED: use `glob.sync(pattern, opts)` instead.
|
247
|
+
* `nounique` In some cases, brace-expanded patterns can result in the
|
248
|
+
same file showing up multiple times in the result set. By default,
|
249
|
+
this implementation prevents duplicates in the result set. Set this
|
250
|
+
flag to disable that behavior.
|
251
|
+
* `nonull` Set to never return an empty set, instead returning a set
|
252
|
+
containing the pattern itself. This is the default in glob(3).
|
253
|
+
* `debug` Set to enable debug logging in minimatch and glob.
|
254
|
+
* `nobrace` Do not expand `{a,b}` and `{1..3}` brace sets.
|
255
|
+
* `noglobstar` Do not match `**` against multiple filenames. (Ie,
|
256
|
+
treat it as a normal `*` instead.)
|
257
|
+
* `noext` Do not match `+(a|b)` "extglob" patterns.
|
258
|
+
* `nocase` Perform a case-insensitive match. Note: on
|
259
|
+
case-insensitive filesystems, non-magic patterns will match by
|
260
|
+
default, since `stat` and `readdir` will not raise errors.
|
261
|
+
* `matchBase` Perform a basename-only match if the pattern does not
|
262
|
+
contain any slash characters. That is, `*.js` would be treated as
|
263
|
+
equivalent to `**/*.js`, matching all js files in all directories.
|
264
|
+
* `nodir` Do not match directories, only files. (Note: to match
|
265
|
+
*only* directories, simply put a `/` at the end of the pattern.)
|
266
|
+
* `ignore` Add a pattern or an array of glob patterns to exclude matches.
|
267
|
+
Note: `ignore` patterns are *always* in `dot:true` mode, regardless
|
268
|
+
of any other settings.
|
269
|
+
* `follow` Follow symlinked directories when expanding `**` patterns.
|
270
|
+
Note that this can result in a lot of duplicate references in the
|
271
|
+
presence of cyclic links.
|
272
|
+
* `realpath` Set to true to call `fs.realpath` on all of the results.
|
273
|
+
In the case of a symlink that cannot be resolved, the full absolute
|
274
|
+
path to the matched entry is returned (though it will usually be a
|
275
|
+
broken symlink)
|
276
|
+
* `absolute` Set to true to always receive absolute paths for matched
|
277
|
+
files. Unlike `realpath`, this also affects the values returned in
|
278
|
+
the `match` event.
|
279
|
+
|
280
|
+
## Comparisons to other fnmatch/glob implementations
|
281
|
+
|
282
|
+
While strict compliance with the existing standards is a worthwhile
|
283
|
+
goal, some discrepancies exist between node-glob and other
|
284
|
+
implementations, and are intentional.
|
285
|
+
|
286
|
+
The double-star character `**` is supported by default, unless the
|
287
|
+
`noglobstar` flag is set. This is supported in the manner of bsdglob
|
288
|
+
and bash 4.3, where `**` only has special significance if it is the only
|
289
|
+
thing in a path part. That is, `a/**/b` will match `a/x/y/b`, but
|
290
|
+
`a/**b` will not.
|
291
|
+
|
292
|
+
Note that symlinked directories are not crawled as part of a `**`,
|
293
|
+
though their contents may match against subsequent portions of the
|
294
|
+
pattern. This prevents infinite loops and duplicates and the like.
|
295
|
+
|
296
|
+
If an escaped pattern has no matches, and the `nonull` flag is set,
|
297
|
+
then glob returns the pattern as-provided, rather than
|
298
|
+
interpreting the character escapes. For example,
|
299
|
+
`glob.match([], "\\*a\\?")` will return `"\\*a\\?"` rather than
|
300
|
+
`"*a?"`. This is akin to setting the `nullglob` option in bash, except
|
301
|
+
that it does not resolve escaped pattern characters.
|
302
|
+
|
303
|
+
If brace expansion is not disabled, then it is performed before any
|
304
|
+
other interpretation of the glob pattern. Thus, a pattern like
|
305
|
+
`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
|
306
|
+
**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
|
307
|
+
checked for validity. Since those two are valid, matching proceeds.
|
308
|
+
|
309
|
+
### Comments and Negation
|
310
|
+
|
311
|
+
Previously, this module let you mark a pattern as a "comment" if it
|
312
|
+
started with a `#` character, or a "negated" pattern if it started
|
313
|
+
with a `!` character.
|
314
|
+
|
315
|
+
These options were deprecated in version 5, and removed in version 6.
|
316
|
+
|
317
|
+
To specify things that should not match, use the `ignore` option.
|
318
|
+
|
319
|
+
## Windows
|
320
|
+
|
321
|
+
**Please only use forward-slashes in glob expressions.**
|
322
|
+
|
323
|
+
Though windows uses either `/` or `\` as its path separator, only `/`
|
324
|
+
characters are used by this glob implementation. You must use
|
325
|
+
forward-slashes **only** in glob expressions. Back-slashes will always
|
326
|
+
be interpreted as escape characters, not path separators.
|
327
|
+
|
328
|
+
Results from absolute patterns such as `/foo/*` are mounted onto the
|
329
|
+
root setting using `path.join`. On windows, this will by default result
|
330
|
+
in `/foo/*` matching `C:\foo\bar.txt`.
|
331
|
+
|
332
|
+
## Race Conditions
|
333
|
+
|
334
|
+
Glob searching, by its very nature, is susceptible to race conditions,
|
335
|
+
since it relies on directory walking and such.
|
336
|
+
|
337
|
+
As a result, it is possible that a file that exists when glob looks for
|
338
|
+
it may have been deleted or modified by the time it returns the result.
|
339
|
+
|
340
|
+
As part of its internal implementation, this program caches all stat
|
341
|
+
and readdir calls that it makes, in order to cut down on system
|
342
|
+
overhead. However, this also makes it even more susceptible to races,
|
343
|
+
especially if the cache or statCache objects are reused between glob
|
344
|
+
calls.
|
345
|
+
|
346
|
+
Users are thus advised not to use a glob result as a guarantee of
|
347
|
+
filesystem state in the face of rapid changes. For the vast majority
|
348
|
+
of operations, this is never a problem.
|
349
|
+
|
350
|
+
## Glob Logo
|
351
|
+
Glob's logo was created by [Tanya Brassie](http://tanyabrassie.com/). Logo files can be found [here](https://github.com/isaacs/node-glob/tree/master/logo).
|
352
|
+
|
353
|
+
The logo is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).
|
354
|
+
|
355
|
+
## Contributing
|
356
|
+
|
357
|
+
Any change to behavior (including bugfixes) must come with a test.
|
358
|
+
|
359
|
+
Patches that fail tests or reduce performance will be rejected.
|
360
|
+
|
361
|
+
```
|
362
|
+
# to run tests
|
363
|
+
npm test
|
364
|
+
|
365
|
+
# to re-generate test fixtures
|
366
|
+
npm run test-regen
|
367
|
+
|
368
|
+
# to benchmark against bash/zsh
|
369
|
+
npm run bench
|
370
|
+
|
371
|
+
# to profile javascript
|
372
|
+
npm run prof
|
373
|
+
```
|
374
|
+
|
375
|
+
![](oh-my-glob.gif)
|