@oneblink/release-cli 1.2.0-beta.3 → 1.2.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -2
- package/node_modules/@yarnpkg/lockfile/README.md +0 -22
- package/node_modules/@yarnpkg/lockfile/index.js +0 -10273
- package/node_modules/@yarnpkg/lockfile/package.json +0 -19
- package/node_modules/ansi-styles/index.js +0 -165
- package/node_modules/ansi-styles/license +0 -9
- package/node_modules/ansi-styles/package.json +0 -60
- package/node_modules/ansi-styles/readme.md +0 -147
- package/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- package/node_modules/balanced-match/LICENSE.md +0 -21
- package/node_modules/balanced-match/README.md +0 -97
- package/node_modules/balanced-match/index.js +0 -62
- package/node_modules/balanced-match/package.json +0 -52
- package/node_modules/brace-expansion/LICENSE +0 -21
- package/node_modules/brace-expansion/README.md +0 -129
- package/node_modules/brace-expansion/index.js +0 -201
- package/node_modules/brace-expansion/package.json +0 -51
- package/node_modules/braces/CHANGELOG.md +0 -184
- package/node_modules/braces/LICENSE +0 -21
- package/node_modules/braces/README.md +0 -593
- package/node_modules/braces/index.js +0 -170
- package/node_modules/braces/lib/compile.js +0 -57
- package/node_modules/braces/lib/constants.js +0 -57
- package/node_modules/braces/lib/expand.js +0 -113
- package/node_modules/braces/lib/parse.js +0 -333
- package/node_modules/braces/lib/stringify.js +0 -32
- package/node_modules/braces/lib/utils.js +0 -112
- package/node_modules/braces/package.json +0 -81
- package/node_modules/chalk/index.js +0 -228
- package/node_modules/chalk/index.js.flow +0 -93
- package/node_modules/chalk/license +0 -9
- package/node_modules/chalk/package.json +0 -75
- package/node_modules/chalk/readme.md +0 -314
- package/node_modules/chalk/templates.js +0 -128
- package/node_modules/chalk/types/index.d.ts +0 -97
- package/node_modules/ci-info/CHANGELOG.md +0 -78
- package/node_modules/ci-info/LICENSE +0 -21
- package/node_modules/ci-info/README.md +0 -108
- package/node_modules/ci-info/index.js +0 -66
- package/node_modules/ci-info/package.json +0 -40
- package/node_modules/ci-info/vendors.json +0 -153
- package/node_modules/color-convert/CHANGELOG.md +0 -54
- package/node_modules/color-convert/LICENSE +0 -21
- package/node_modules/color-convert/README.md +0 -68
- package/node_modules/color-convert/conversions.js +0 -868
- package/node_modules/color-convert/index.js +0 -78
- package/node_modules/color-convert/package.json +0 -50
- package/node_modules/color-convert/route.js +0 -97
- package/node_modules/color-name/.eslintrc.json +0 -43
- package/node_modules/color-name/.npmignore +0 -107
- package/node_modules/color-name/LICENSE +0 -8
- package/node_modules/color-name/README.md +0 -11
- package/node_modules/color-name/index.js +0 -152
- package/node_modules/color-name/package.json +0 -29
- package/node_modules/color-name/test.js +0 -7
- package/node_modules/concat-map/.travis.yml +0 -4
- package/node_modules/concat-map/LICENSE +0 -18
- package/node_modules/concat-map/README.markdown +0 -62
- package/node_modules/concat-map/example/map.js +0 -6
- package/node_modules/concat-map/index.js +0 -13
- package/node_modules/concat-map/package.json +0 -47
- package/node_modules/concat-map/test/map.js +0 -39
- package/node_modules/escape-string-regexp/index.js +0 -11
- package/node_modules/escape-string-regexp/license +0 -21
- package/node_modules/escape-string-regexp/package.json +0 -45
- package/node_modules/escape-string-regexp/readme.md +0 -27
- package/node_modules/fill-range/LICENSE +0 -21
- package/node_modules/fill-range/README.md +0 -237
- package/node_modules/fill-range/index.js +0 -249
- package/node_modules/fill-range/package.json +0 -73
- package/node_modules/find-yarn-workspace-root/CHANGELOG.md +0 -53
- package/node_modules/find-yarn-workspace-root/LICENSE +0 -201
- package/node_modules/find-yarn-workspace-root/README.md +0 -56
- package/node_modules/find-yarn-workspace-root/index.d.ts +0 -3
- package/node_modules/find-yarn-workspace-root/index.js +0 -53
- package/node_modules/find-yarn-workspace-root/package.json +0 -38
- package/node_modules/fs-extra/CHANGELOG.md +0 -842
- package/node_modules/fs-extra/LICENSE +0 -15
- package/node_modules/fs-extra/README.md +0 -261
- package/node_modules/fs-extra/lib/copy/copy.js +0 -246
- package/node_modules/fs-extra/lib/copy/index.js +0 -6
- package/node_modules/fs-extra/lib/copy-sync/copy-sync.js +0 -193
- package/node_modules/fs-extra/lib/copy-sync/index.js +0 -5
- package/node_modules/fs-extra/lib/empty/index.js +0 -48
- package/node_modules/fs-extra/lib/ensure/file.js +0 -49
- package/node_modules/fs-extra/lib/ensure/index.js +0 -23
- package/node_modules/fs-extra/lib/ensure/link.js +0 -61
- package/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -99
- package/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -31
- package/node_modules/fs-extra/lib/ensure/symlink.js +0 -63
- package/node_modules/fs-extra/lib/fs/index.js +0 -104
- package/node_modules/fs-extra/lib/index.js +0 -28
- package/node_modules/fs-extra/lib/json/index.js +0 -16
- package/node_modules/fs-extra/lib/json/jsonfile.js +0 -12
- package/node_modules/fs-extra/lib/json/output-json-sync.js +0 -18
- package/node_modules/fs-extra/lib/json/output-json.js +0 -27
- package/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
- package/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js +0 -54
- package/node_modules/fs-extra/lib/mkdirs/mkdirs.js +0 -63
- package/node_modules/fs-extra/lib/mkdirs/win32.js +0 -25
- package/node_modules/fs-extra/lib/move/index.js +0 -82
- package/node_modules/fs-extra/lib/move-sync/index.js +0 -117
- package/node_modules/fs-extra/lib/output/index.js +0 -40
- package/node_modules/fs-extra/lib/path-exists/index.js +0 -12
- package/node_modules/fs-extra/lib/remove/index.js +0 -9
- package/node_modules/fs-extra/lib/remove/rimraf.js +0 -314
- package/node_modules/fs-extra/lib/util/buffer.js +0 -12
- package/node_modules/fs-extra/lib/util/utimes.js +0 -79
- package/node_modules/fs-extra/package.json +0 -72
- package/node_modules/fs.realpath/LICENSE +0 -43
- package/node_modules/fs.realpath/README.md +0 -33
- package/node_modules/fs.realpath/index.js +0 -66
- package/node_modules/fs.realpath/old.js +0 -303
- package/node_modules/fs.realpath/package.json +0 -30
- package/node_modules/glob/LICENSE +0 -21
- package/node_modules/glob/README.md +0 -375
- package/node_modules/glob/changelog.md +0 -67
- package/node_modules/glob/common.js +0 -240
- package/node_modules/glob/glob.js +0 -790
- package/node_modules/glob/package.json +0 -50
- package/node_modules/glob/sync.js +0 -486
- package/node_modules/graceful-fs/LICENSE +0 -15
- package/node_modules/graceful-fs/README.md +0 -133
- package/node_modules/graceful-fs/clone.js +0 -23
- package/node_modules/graceful-fs/graceful-fs.js +0 -373
- package/node_modules/graceful-fs/legacy-streams.js +0 -118
- package/node_modules/graceful-fs/package.json +0 -54
- package/node_modules/graceful-fs/polyfills.js +0 -346
- package/node_modules/has-flag/index.js +0 -8
- package/node_modules/has-flag/license +0 -9
- package/node_modules/has-flag/package.json +0 -48
- package/node_modules/has-flag/readme.md +0 -70
- package/node_modules/inflight/LICENSE +0 -15
- package/node_modules/inflight/README.md +0 -37
- package/node_modules/inflight/inflight.js +0 -54
- package/node_modules/inflight/package.json +0 -33
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/inherits/inherits.js +0 -9
- package/node_modules/inherits/inherits_browser.js +0 -27
- package/node_modules/inherits/package.json +0 -33
- package/node_modules/is-ci/CHANGELOG.md +0 -14
- package/node_modules/is-ci/LICENSE +0 -21
- package/node_modules/is-ci/README.md +0 -50
- package/node_modules/is-ci/bin.js +0 -4
- package/node_modules/is-ci/index.js +0 -3
- package/node_modules/is-ci/package.json +0 -42
- package/node_modules/is-docker/cli.js +0 -5
- package/node_modules/is-docker/index.d.ts +0 -15
- package/node_modules/is-docker/index.js +0 -29
- package/node_modules/is-docker/license +0 -9
- package/node_modules/is-docker/package.json +0 -46
- package/node_modules/is-docker/readme.md +0 -27
- package/node_modules/is-number/LICENSE +0 -21
- package/node_modules/is-number/README.md +0 -187
- package/node_modules/is-number/index.js +0 -18
- package/node_modules/is-number/package.json +0 -86
- package/node_modules/is-wsl/index.d.ts +0 -15
- package/node_modules/is-wsl/index.js +0 -31
- package/node_modules/is-wsl/license +0 -9
- package/node_modules/is-wsl/package.json +0 -49
- package/node_modules/is-wsl/readme.md +0 -36
- package/node_modules/isexe/.npmignore +0 -2
- package/node_modules/isexe/LICENSE +0 -15
- package/node_modules/isexe/README.md +0 -51
- package/node_modules/isexe/index.js +0 -57
- package/node_modules/isexe/mode.js +0 -41
- package/node_modules/isexe/package.json +0 -35
- package/node_modules/isexe/test/basic.js +0 -221
- package/node_modules/isexe/windows.js +0 -42
- package/node_modules/jsonfile/CHANGELOG.md +0 -145
- package/node_modules/jsonfile/LICENSE +0 -15
- package/node_modules/jsonfile/README.md +0 -168
- package/node_modules/jsonfile/index.js +0 -134
- package/node_modules/jsonfile/package.json +0 -41
- package/node_modules/klaw-sync/CHANGELOG.md +0 -73
- package/node_modules/klaw-sync/LICENSE +0 -20
- package/node_modules/klaw-sync/README.md +0 -164
- package/node_modules/klaw-sync/klaw-sync.js +0 -29
- package/node_modules/klaw-sync/package.json +0 -51
- package/node_modules/lru-cache/LICENSE +0 -15
- package/node_modules/lru-cache/README.md +0 -166
- package/node_modules/lru-cache/index.js +0 -334
- package/node_modules/lru-cache/package.json +0 -38
- package/node_modules/micromatch/CHANGELOG.md +0 -109
- package/node_modules/micromatch/LICENSE +0 -21
- package/node_modules/micromatch/README.md +0 -1008
- package/node_modules/micromatch/index.js +0 -467
- package/node_modules/micromatch/package.json +0 -123
- package/node_modules/minimatch/LICENSE +0 -15
- package/node_modules/minimatch/README.md +0 -209
- package/node_modules/minimatch/minimatch.js +0 -923
- package/node_modules/minimatch/package.json +0 -34
- package/node_modules/minimist/.travis.yml +0 -8
- package/node_modules/minimist/LICENSE +0 -18
- package/node_modules/minimist/example/parse.js +0 -2
- package/node_modules/minimist/index.js +0 -245
- package/node_modules/minimist/package.json +0 -49
- package/node_modules/minimist/readme.markdown +0 -95
- package/node_modules/minimist/test/all_bool.js +0 -32
- package/node_modules/minimist/test/bool.js +0 -178
- package/node_modules/minimist/test/dash.js +0 -31
- package/node_modules/minimist/test/default_bool.js +0 -35
- package/node_modules/minimist/test/dotted.js +0 -22
- package/node_modules/minimist/test/kv_short.js +0 -16
- package/node_modules/minimist/test/long.js +0 -31
- package/node_modules/minimist/test/num.js +0 -36
- package/node_modules/minimist/test/parse.js +0 -197
- package/node_modules/minimist/test/parse_modified.js +0 -9
- package/node_modules/minimist/test/proto.js +0 -44
- package/node_modules/minimist/test/short.js +0 -67
- package/node_modules/minimist/test/stop_early.js +0 -15
- package/node_modules/minimist/test/unknown.js +0 -102
- package/node_modules/minimist/test/whitespace.js +0 -8
- package/node_modules/nice-try/CHANGELOG.md +0 -21
- package/node_modules/nice-try/LICENSE +0 -21
- package/node_modules/nice-try/README.md +0 -32
- package/node_modules/nice-try/package.json +0 -37
- package/node_modules/nice-try/src/index.js +0 -12
- package/node_modules/once/LICENSE +0 -15
- package/node_modules/once/README.md +0 -79
- package/node_modules/once/once.js +0 -42
- package/node_modules/once/package.json +0 -37
- package/node_modules/open/index.d.ts +0 -88
- package/node_modules/open/index.js +0 -195
- package/node_modules/open/license +0 -9
- package/node_modules/open/package.json +0 -64
- package/node_modules/open/readme.md +0 -154
- package/node_modules/open/xdg-open +0 -1066
- package/node_modules/os-tmpdir/index.js +0 -25
- package/node_modules/os-tmpdir/license +0 -21
- package/node_modules/os-tmpdir/package.json +0 -45
- package/node_modules/os-tmpdir/readme.md +0 -32
- package/node_modules/patch-package/CHANGELOG.md +0 -389
- package/node_modules/patch-package/LICENSE +0 -19
- package/node_modules/patch-package/README.md +0 -269
- package/node_modules/patch-package/dist/PackageDetails.js +0 -102
- package/node_modules/patch-package/dist/PackageDetails.test.js +0 -228
- package/node_modules/patch-package/dist/applyPatches.js +0 -261
- package/node_modules/patch-package/dist/assertNever.js +0 -8
- package/node_modules/patch-package/dist/createIssue.js +0 -83
- package/node_modules/patch-package/dist/detectPackageManager.js +0 -64
- package/node_modules/patch-package/dist/filterFiles.js +0 -17
- package/node_modules/patch-package/dist/getAppRootPath.js +0 -22
- package/node_modules/patch-package/dist/getPackageResolution.js +0 -85
- package/node_modules/patch-package/dist/getPackageVersion.js +0 -9
- package/node_modules/patch-package/dist/index.js +0 -161
- package/node_modules/patch-package/dist/makePatch.js +0 -231
- package/node_modules/patch-package/dist/makeRegExp.js +0 -28
- package/node_modules/patch-package/dist/packageIsDevDependency.js +0 -15
- package/node_modules/patch-package/dist/packageIsDevDependency.test.js +0 -32
- package/node_modules/patch-package/dist/patch/apply.js +0 -197
- package/node_modules/patch-package/dist/patch/parse.js +0 -330
- package/node_modules/patch-package/dist/patch/read.js +0 -49
- package/node_modules/patch-package/dist/patch/reverse.js +0 -96
- package/node_modules/patch-package/dist/patchFs.js +0 -20
- package/node_modules/patch-package/dist/path.js +0 -17
- package/node_modules/patch-package/dist/resolveRelativeFileDependencies.js +0 -21
- package/node_modules/patch-package/dist/resolveRelativeFileDependencies.test.js +0 -22
- package/node_modules/patch-package/dist/spawnSafe.js +0 -28
- package/node_modules/patch-package/index.js +0 -3
- package/node_modules/patch-package/node_modules/cross-spawn/CHANGELOG.md +0 -100
- package/node_modules/patch-package/node_modules/cross-spawn/LICENSE +0 -21
- package/node_modules/patch-package/node_modules/cross-spawn/README.md +0 -94
- package/node_modules/patch-package/node_modules/cross-spawn/index.js +0 -39
- package/node_modules/patch-package/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/node_modules/patch-package/node_modules/cross-spawn/lib/parse.js +0 -125
- package/node_modules/patch-package/node_modules/cross-spawn/lib/util/escape.js +0 -45
- package/node_modules/patch-package/node_modules/cross-spawn/lib/util/readShebang.js +0 -32
- package/node_modules/patch-package/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -47
- package/node_modules/patch-package/node_modules/cross-spawn/package.json +0 -80
- package/node_modules/patch-package/node_modules/path-key/index.js +0 -13
- package/node_modules/patch-package/node_modules/path-key/license +0 -21
- package/node_modules/patch-package/node_modules/path-key/package.json +0 -43
- package/node_modules/patch-package/node_modules/path-key/readme.md +0 -51
- package/node_modules/patch-package/node_modules/rimraf/LICENSE +0 -15
- package/node_modules/patch-package/node_modules/rimraf/README.md +0 -101
- package/node_modules/patch-package/node_modules/rimraf/bin.js +0 -50
- package/node_modules/patch-package/node_modules/rimraf/package.json +0 -33
- package/node_modules/patch-package/node_modules/rimraf/rimraf.js +0 -372
- package/node_modules/patch-package/node_modules/semver/CHANGELOG.md +0 -39
- package/node_modules/patch-package/node_modules/semver/LICENSE +0 -15
- package/node_modules/patch-package/node_modules/semver/README.md +0 -412
- package/node_modules/patch-package/node_modules/semver/bin/semver +0 -160
- package/node_modules/patch-package/node_modules/semver/package.json +0 -32
- package/node_modules/patch-package/node_modules/semver/range.bnf +0 -16
- package/node_modules/patch-package/node_modules/semver/semver.js +0 -1483
- package/node_modules/patch-package/node_modules/shebang-command/index.js +0 -19
- package/node_modules/patch-package/node_modules/shebang-command/license +0 -21
- package/node_modules/patch-package/node_modules/shebang-command/package.json +0 -43
- package/node_modules/patch-package/node_modules/shebang-command/readme.md +0 -39
- package/node_modules/patch-package/node_modules/shebang-regex/index.js +0 -2
- package/node_modules/patch-package/node_modules/shebang-regex/license +0 -21
- package/node_modules/patch-package/node_modules/shebang-regex/package.json +0 -36
- package/node_modules/patch-package/node_modules/shebang-regex/readme.md +0 -29
- package/node_modules/patch-package/node_modules/slash/index.js +0 -11
- package/node_modules/patch-package/node_modules/slash/license +0 -9
- package/node_modules/patch-package/node_modules/slash/package.json +0 -38
- package/node_modules/patch-package/node_modules/slash/readme.md +0 -44
- package/node_modules/patch-package/node_modules/which/CHANGELOG.md +0 -152
- package/node_modules/patch-package/node_modules/which/LICENSE +0 -15
- package/node_modules/patch-package/node_modules/which/README.md +0 -51
- package/node_modules/patch-package/node_modules/which/bin/which +0 -52
- package/node_modules/patch-package/node_modules/which/package.json +0 -34
- package/node_modules/patch-package/node_modules/which/which.js +0 -135
- package/node_modules/patch-package/package.json +0 -100
- package/node_modules/path-is-absolute/index.js +0 -20
- package/node_modules/path-is-absolute/license +0 -21
- package/node_modules/path-is-absolute/package.json +0 -47
- package/node_modules/path-is-absolute/readme.md +0 -59
- package/node_modules/picomatch/CHANGELOG.md +0 -120
- package/node_modules/picomatch/LICENSE +0 -21
- package/node_modules/picomatch/README.md +0 -691
- package/node_modules/picomatch/index.js +0 -3
- package/node_modules/picomatch/lib/constants.js +0 -179
- package/node_modules/picomatch/lib/parse.js +0 -1078
- package/node_modules/picomatch/lib/picomatch.js +0 -339
- package/node_modules/picomatch/lib/scan.js +0 -385
- package/node_modules/picomatch/lib/utils.js +0 -64
- package/node_modules/picomatch/package.json +0 -85
- package/node_modules/semver/CHANGELOG.md +0 -111
- package/node_modules/semver/LICENSE +0 -15
- package/node_modules/semver/README.md +0 -566
- package/node_modules/semver/bin/semver.js +0 -173
- package/node_modules/semver/classes/comparator.js +0 -135
- package/node_modules/semver/classes/index.js +0 -5
- package/node_modules/semver/classes/range.js +0 -510
- package/node_modules/semver/classes/semver.js +0 -287
- package/node_modules/semver/functions/clean.js +0 -6
- package/node_modules/semver/functions/cmp.js +0 -48
- package/node_modules/semver/functions/coerce.js +0 -51
- package/node_modules/semver/functions/compare-build.js +0 -7
- package/node_modules/semver/functions/compare-loose.js +0 -3
- package/node_modules/semver/functions/compare.js +0 -5
- package/node_modules/semver/functions/diff.js +0 -23
- package/node_modules/semver/functions/eq.js +0 -3
- package/node_modules/semver/functions/gt.js +0 -3
- package/node_modules/semver/functions/gte.js +0 -3
- package/node_modules/semver/functions/inc.js +0 -15
- package/node_modules/semver/functions/lt.js +0 -3
- package/node_modules/semver/functions/lte.js +0 -3
- package/node_modules/semver/functions/major.js +0 -3
- package/node_modules/semver/functions/minor.js +0 -3
- package/node_modules/semver/functions/neq.js +0 -3
- package/node_modules/semver/functions/parse.js +0 -33
- package/node_modules/semver/functions/patch.js +0 -3
- package/node_modules/semver/functions/prerelease.js +0 -6
- package/node_modules/semver/functions/rcompare.js +0 -3
- package/node_modules/semver/functions/rsort.js +0 -3
- package/node_modules/semver/functions/satisfies.js +0 -10
- package/node_modules/semver/functions/sort.js +0 -3
- package/node_modules/semver/functions/valid.js +0 -6
- package/node_modules/semver/index.js +0 -48
- package/node_modules/semver/internal/constants.js +0 -17
- package/node_modules/semver/internal/debug.js +0 -9
- package/node_modules/semver/internal/identifiers.js +0 -23
- package/node_modules/semver/internal/parse-options.js +0 -11
- package/node_modules/semver/internal/re.js +0 -182
- package/node_modules/semver/package.json +0 -45
- package/node_modules/semver/preload.js +0 -2
- package/node_modules/semver/range.bnf +0 -16
- package/node_modules/semver/ranges/gtr.js +0 -4
- package/node_modules/semver/ranges/intersects.js +0 -7
- package/node_modules/semver/ranges/ltr.js +0 -4
- package/node_modules/semver/ranges/max-satisfying.js +0 -25
- package/node_modules/semver/ranges/min-satisfying.js +0 -24
- package/node_modules/semver/ranges/min-version.js +0 -60
- package/node_modules/semver/ranges/outside.js +0 -80
- package/node_modules/semver/ranges/simplify.js +0 -44
- package/node_modules/semver/ranges/subset.js +0 -222
- package/node_modules/semver/ranges/to-comparators.js +0 -8
- package/node_modules/semver/ranges/valid.js +0 -11
- package/node_modules/supports-color/browser.js +0 -5
- package/node_modules/supports-color/index.js +0 -131
- package/node_modules/supports-color/license +0 -9
- package/node_modules/supports-color/package.json +0 -57
- package/node_modules/supports-color/readme.md +0 -66
- package/node_modules/tmp/LICENSE +0 -21
- package/node_modules/tmp/README.md +0 -314
- package/node_modules/tmp/lib/tmp.js +0 -611
- package/node_modules/tmp/package.json +0 -42
- package/node_modules/to-regex-range/LICENSE +0 -21
- package/node_modules/to-regex-range/README.md +0 -305
- package/node_modules/to-regex-range/index.js +0 -288
- package/node_modules/to-regex-range/package.json +0 -92
- package/node_modules/universalify/LICENSE +0 -20
- package/node_modules/universalify/README.md +0 -76
- package/node_modules/universalify/index.js +0 -25
- package/node_modules/universalify/package.json +0 -38
- package/node_modules/wrappy/LICENSE +0 -15
- package/node_modules/wrappy/README.md +0 -36
- package/node_modules/wrappy/package.json +0 -33
- package/node_modules/wrappy/wrappy.js +0 -33
- package/node_modules/yallist/LICENSE +0 -15
- package/node_modules/yallist/README.md +0 -204
- package/node_modules/yallist/iterator.js +0 -8
- package/node_modules/yallist/package.json +0 -33
- package/node_modules/yallist/yallist.js +0 -426
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nice-try",
|
|
3
|
-
"version": "1.0.5",
|
|
4
|
-
"authors": [
|
|
5
|
-
"Tobias Reich <tobias@electerious.com>"
|
|
6
|
-
],
|
|
7
|
-
"description": "Tries to execute a function and discards any error that occurs",
|
|
8
|
-
"main": "src/index.js",
|
|
9
|
-
"keywords": [
|
|
10
|
-
"try",
|
|
11
|
-
"catch",
|
|
12
|
-
"error"
|
|
13
|
-
],
|
|
14
|
-
"license": "MIT",
|
|
15
|
-
"homepage": "https://github.com/electerious/nice-try",
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "https://github.com/electerious/nice-try.git"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"src"
|
|
22
|
-
],
|
|
23
|
-
"scripts": {
|
|
24
|
-
"coveralls": "nyc report --reporter=text-lcov | coveralls",
|
|
25
|
-
"test": "nyc node_modules/mocha/bin/_mocha"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"chai": "^4.1.2",
|
|
29
|
-
"coveralls": "^3.0.0",
|
|
30
|
-
"nyc": "^12.0.1",
|
|
31
|
-
"mocha": "^5.1.1"
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
,"_resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz"
|
|
35
|
-
,"_integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
|
|
36
|
-
,"_from": "nice-try@1.0.5"
|
|
37
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Tries to execute a function and discards any error that occurs.
|
|
5
|
-
* @param {Function} fn - Function that might or might not throw an error.
|
|
6
|
-
* @returns {?*} Return-value of the function when no error occurred.
|
|
7
|
-
*/
|
|
8
|
-
module.exports = function(fn) {
|
|
9
|
-
|
|
10
|
-
try { return fn() } catch (e) {}
|
|
11
|
-
|
|
12
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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.
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
# once
|
|
2
|
-
|
|
3
|
-
Only call a function once.
|
|
4
|
-
|
|
5
|
-
## usage
|
|
6
|
-
|
|
7
|
-
```javascript
|
|
8
|
-
var once = require('once')
|
|
9
|
-
|
|
10
|
-
function load (file, cb) {
|
|
11
|
-
cb = once(cb)
|
|
12
|
-
loader.load('file')
|
|
13
|
-
loader.once('load', cb)
|
|
14
|
-
loader.once('error', cb)
|
|
15
|
-
}
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Or add to the Function.prototype in a responsible way:
|
|
19
|
-
|
|
20
|
-
```javascript
|
|
21
|
-
// only has to be done once
|
|
22
|
-
require('once').proto()
|
|
23
|
-
|
|
24
|
-
function load (file, cb) {
|
|
25
|
-
cb = cb.once()
|
|
26
|
-
loader.load('file')
|
|
27
|
-
loader.once('load', cb)
|
|
28
|
-
loader.once('error', cb)
|
|
29
|
-
}
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
Ironically, the prototype feature makes this module twice as
|
|
33
|
-
complicated as necessary.
|
|
34
|
-
|
|
35
|
-
To check whether you function has been called, use `fn.called`. Once the
|
|
36
|
-
function is called for the first time the return value of the original
|
|
37
|
-
function is saved in `fn.value` and subsequent calls will continue to
|
|
38
|
-
return this value.
|
|
39
|
-
|
|
40
|
-
```javascript
|
|
41
|
-
var once = require('once')
|
|
42
|
-
|
|
43
|
-
function load (cb) {
|
|
44
|
-
cb = once(cb)
|
|
45
|
-
var stream = createStream()
|
|
46
|
-
stream.once('data', cb)
|
|
47
|
-
stream.once('end', function () {
|
|
48
|
-
if (!cb.called) cb(new Error('not found'))
|
|
49
|
-
})
|
|
50
|
-
}
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## `once.strict(func)`
|
|
54
|
-
|
|
55
|
-
Throw an error if the function is called twice.
|
|
56
|
-
|
|
57
|
-
Some functions are expected to be called only once. Using `once` for them would
|
|
58
|
-
potentially hide logical errors.
|
|
59
|
-
|
|
60
|
-
In the example below, the `greet` function has to call the callback only once:
|
|
61
|
-
|
|
62
|
-
```javascript
|
|
63
|
-
function greet (name, cb) {
|
|
64
|
-
// return is missing from the if statement
|
|
65
|
-
// when no name is passed, the callback is called twice
|
|
66
|
-
if (!name) cb('Hello anonymous')
|
|
67
|
-
cb('Hello ' + name)
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function log (msg) {
|
|
71
|
-
console.log(msg)
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// this will print 'Hello anonymous' but the logical error will be missed
|
|
75
|
-
greet(null, once(msg))
|
|
76
|
-
|
|
77
|
-
// once.strict will print 'Hello anonymous' and throw an error when the callback will be called the second time
|
|
78
|
-
greet(null, once.strict(msg))
|
|
79
|
-
```
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var wrappy = require('wrappy')
|
|
2
|
-
module.exports = wrappy(once)
|
|
3
|
-
module.exports.strict = wrappy(onceStrict)
|
|
4
|
-
|
|
5
|
-
once.proto = once(function () {
|
|
6
|
-
Object.defineProperty(Function.prototype, 'once', {
|
|
7
|
-
value: function () {
|
|
8
|
-
return once(this)
|
|
9
|
-
},
|
|
10
|
-
configurable: true
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
Object.defineProperty(Function.prototype, 'onceStrict', {
|
|
14
|
-
value: function () {
|
|
15
|
-
return onceStrict(this)
|
|
16
|
-
},
|
|
17
|
-
configurable: true
|
|
18
|
-
})
|
|
19
|
-
})
|
|
20
|
-
|
|
21
|
-
function once (fn) {
|
|
22
|
-
var f = function () {
|
|
23
|
-
if (f.called) return f.value
|
|
24
|
-
f.called = true
|
|
25
|
-
return f.value = fn.apply(this, arguments)
|
|
26
|
-
}
|
|
27
|
-
f.called = false
|
|
28
|
-
return f
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function onceStrict (fn) {
|
|
32
|
-
var f = function () {
|
|
33
|
-
if (f.called)
|
|
34
|
-
throw new Error(f.onceError)
|
|
35
|
-
f.called = true
|
|
36
|
-
return f.value = fn.apply(this, arguments)
|
|
37
|
-
}
|
|
38
|
-
var name = fn.name || 'Function wrapped with `once`'
|
|
39
|
-
f.onceError = name + " shouldn't be called more than once"
|
|
40
|
-
f.called = false
|
|
41
|
-
return f
|
|
42
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "once",
|
|
3
|
-
"version": "1.4.0",
|
|
4
|
-
"description": "Run a function exactly one time",
|
|
5
|
-
"main": "once.js",
|
|
6
|
-
"directories": {
|
|
7
|
-
"test": "test"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"wrappy": "1"
|
|
11
|
-
},
|
|
12
|
-
"devDependencies": {
|
|
13
|
-
"tap": "^7.0.1"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"test": "tap test/*.js"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"once.js"
|
|
20
|
-
],
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "git://github.com/isaacs/once"
|
|
24
|
-
},
|
|
25
|
-
"keywords": [
|
|
26
|
-
"once",
|
|
27
|
-
"function",
|
|
28
|
-
"one",
|
|
29
|
-
"single"
|
|
30
|
-
],
|
|
31
|
-
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
32
|
-
"license": "ISC"
|
|
33
|
-
|
|
34
|
-
,"_resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz"
|
|
35
|
-
,"_integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E="
|
|
36
|
-
,"_from": "once@1.4.0"
|
|
37
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/// <reference types="node"/>
|
|
2
|
-
import {ChildProcess} from 'child_process';
|
|
3
|
-
|
|
4
|
-
declare namespace open {
|
|
5
|
-
interface Options {
|
|
6
|
-
/**
|
|
7
|
-
Wait for the opened app to exit before fulfilling the promise. If `false` it's fulfilled immediately when opening the app.
|
|
8
|
-
|
|
9
|
-
Note that it waits for the app to exit, not just for the window to close.
|
|
10
|
-
|
|
11
|
-
On Windows, you have to explicitly specify an app for it to be able to wait.
|
|
12
|
-
|
|
13
|
-
@default false
|
|
14
|
-
*/
|
|
15
|
-
readonly wait?: boolean;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
__macOS only__
|
|
19
|
-
|
|
20
|
-
Do not bring the app to the foreground.
|
|
21
|
-
|
|
22
|
-
@default false
|
|
23
|
-
*/
|
|
24
|
-
readonly background?: boolean;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
Specify the app to open the `target` with, or an array with the app and app arguments.
|
|
28
|
-
|
|
29
|
-
The app name is platform dependent. Don't hard code it in reusable modules. For example, Chrome is `google chrome` on macOS, `google-chrome` on Linux and `chrome` on Windows.
|
|
30
|
-
|
|
31
|
-
You may also pass in the app's full path. For example on WSL, this can be `/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe` for the Windows installation of Chrome.
|
|
32
|
-
*/
|
|
33
|
-
readonly app?: string | readonly string[];
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
__deprecated__
|
|
37
|
-
|
|
38
|
-
This option will be removed in the next major release.
|
|
39
|
-
*/
|
|
40
|
-
readonly url?: boolean;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
Allow the opened app to exit with nonzero exit code when the `wait` option is `true`.
|
|
44
|
-
|
|
45
|
-
We do not recommend setting this option. The convention for success is exit code zero.
|
|
46
|
-
|
|
47
|
-
@default false
|
|
48
|
-
*/
|
|
49
|
-
readonly allowNonzeroExitCode?: boolean;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
Open stuff like URLs, files, executables. Cross-platform.
|
|
55
|
-
|
|
56
|
-
Uses the command `open` on OS X, `start` on Windows and `xdg-open` on other platforms.
|
|
57
|
-
|
|
58
|
-
There is a caveat for [double-quotes on Windows](https://github.com/sindresorhus/open#double-quotes-on-windows) where all double-quotes are stripped from the `target`.
|
|
59
|
-
|
|
60
|
-
@param target - The thing you want to open. Can be a URL, file, or executable. Opens in the default app for the file type. For example, URLs open in your default browser.
|
|
61
|
-
@returns The [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process.
|
|
62
|
-
|
|
63
|
-
@example
|
|
64
|
-
```
|
|
65
|
-
import open = require('open');
|
|
66
|
-
|
|
67
|
-
// Opens the image in the default image viewer
|
|
68
|
-
(async () => {
|
|
69
|
-
await open('unicorn.png', {wait: true});
|
|
70
|
-
console.log('The image viewer app closed');
|
|
71
|
-
|
|
72
|
-
// Opens the url in the default browser
|
|
73
|
-
await open('https://sindresorhus.com');
|
|
74
|
-
|
|
75
|
-
// Specify the app to open in
|
|
76
|
-
await open('https://sindresorhus.com', {app: 'firefox'});
|
|
77
|
-
|
|
78
|
-
// Specify app arguments
|
|
79
|
-
await open('https://sindresorhus.com', {app: ['google chrome', '--incognito']});
|
|
80
|
-
})();
|
|
81
|
-
```
|
|
82
|
-
*/
|
|
83
|
-
declare function open(
|
|
84
|
-
target: string,
|
|
85
|
-
options?: open.Options
|
|
86
|
-
): Promise<ChildProcess>;
|
|
87
|
-
|
|
88
|
-
export = open;
|
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
const {promisify} = require('util');
|
|
3
|
-
const path = require('path');
|
|
4
|
-
const childProcess = require('child_process');
|
|
5
|
-
const fs = require('fs');
|
|
6
|
-
const isWsl = require('is-wsl');
|
|
7
|
-
const isDocker = require('is-docker');
|
|
8
|
-
|
|
9
|
-
const pAccess = promisify(fs.access);
|
|
10
|
-
const pReadFile = promisify(fs.readFile);
|
|
11
|
-
|
|
12
|
-
// Path to included `xdg-open`.
|
|
13
|
-
const localXdgOpenPath = path.join(__dirname, 'xdg-open');
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
Get the mount point for fixed drives in WSL.
|
|
17
|
-
|
|
18
|
-
@inner
|
|
19
|
-
@returns {string} The mount point.
|
|
20
|
-
*/
|
|
21
|
-
const getWslDrivesMountPoint = (() => {
|
|
22
|
-
// Default value for "root" param
|
|
23
|
-
// according to https://docs.microsoft.com/en-us/windows/wsl/wsl-config
|
|
24
|
-
const defaultMountPoint = '/mnt/';
|
|
25
|
-
|
|
26
|
-
let mountPoint;
|
|
27
|
-
|
|
28
|
-
return async function () {
|
|
29
|
-
if (mountPoint) {
|
|
30
|
-
// Return memoized mount point value
|
|
31
|
-
return mountPoint;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const configFilePath = '/etc/wsl.conf';
|
|
35
|
-
|
|
36
|
-
let isConfigFileExists = false;
|
|
37
|
-
try {
|
|
38
|
-
await pAccess(configFilePath, fs.constants.F_OK);
|
|
39
|
-
isConfigFileExists = true;
|
|
40
|
-
} catch (_) {}
|
|
41
|
-
|
|
42
|
-
if (!isConfigFileExists) {
|
|
43
|
-
return defaultMountPoint;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const configContent = await pReadFile(configFilePath, {encoding: 'utf8'});
|
|
47
|
-
const configMountPoint = /root\s*=\s*(.*)/g.exec(configContent);
|
|
48
|
-
|
|
49
|
-
if (!configMountPoint) {
|
|
50
|
-
return defaultMountPoint;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
mountPoint = configMountPoint[1].trim();
|
|
54
|
-
mountPoint = mountPoint.endsWith('/') ? mountPoint : mountPoint + '/';
|
|
55
|
-
|
|
56
|
-
return mountPoint;
|
|
57
|
-
};
|
|
58
|
-
})();
|
|
59
|
-
|
|
60
|
-
module.exports = async (target, options) => {
|
|
61
|
-
if (typeof target !== 'string') {
|
|
62
|
-
throw new TypeError('Expected a `target`');
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
options = {
|
|
66
|
-
wait: false,
|
|
67
|
-
background: false,
|
|
68
|
-
allowNonzeroExitCode: false,
|
|
69
|
-
...options
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
let command;
|
|
73
|
-
let {app} = options;
|
|
74
|
-
let appArguments = [];
|
|
75
|
-
const cliArguments = [];
|
|
76
|
-
const childProcessOptions = {};
|
|
77
|
-
|
|
78
|
-
if (Array.isArray(app)) {
|
|
79
|
-
appArguments = app.slice(1);
|
|
80
|
-
app = app[0];
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
if (process.platform === 'darwin') {
|
|
84
|
-
command = 'open';
|
|
85
|
-
|
|
86
|
-
if (options.wait) {
|
|
87
|
-
cliArguments.push('--wait-apps');
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
if (options.background) {
|
|
91
|
-
cliArguments.push('--background');
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
if (app) {
|
|
95
|
-
cliArguments.push('-a', app);
|
|
96
|
-
}
|
|
97
|
-
} else if (process.platform === 'win32' || (isWsl && !isDocker())) {
|
|
98
|
-
const mountPoint = await getWslDrivesMountPoint();
|
|
99
|
-
|
|
100
|
-
command = isWsl ?
|
|
101
|
-
`${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` :
|
|
102
|
-
`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`;
|
|
103
|
-
|
|
104
|
-
cliArguments.push(
|
|
105
|
-
'-NoProfile',
|
|
106
|
-
'-NonInteractive',
|
|
107
|
-
'–ExecutionPolicy',
|
|
108
|
-
'Bypass',
|
|
109
|
-
'-EncodedCommand'
|
|
110
|
-
);
|
|
111
|
-
|
|
112
|
-
if (!isWsl) {
|
|
113
|
-
childProcessOptions.windowsVerbatimArguments = true;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
const encodedArguments = ['Start'];
|
|
117
|
-
|
|
118
|
-
if (options.wait) {
|
|
119
|
-
encodedArguments.push('-Wait');
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
if (app) {
|
|
123
|
-
// Double quote with double quotes to ensure the inner quotes are passed through.
|
|
124
|
-
// Inner quotes are delimited for PowerShell interpretation with backticks.
|
|
125
|
-
encodedArguments.push(`"\`"${app}\`""`, '-ArgumentList');
|
|
126
|
-
appArguments.unshift(target);
|
|
127
|
-
} else {
|
|
128
|
-
encodedArguments.push(`"${target}"`);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
if (appArguments.length > 0) {
|
|
132
|
-
appArguments = appArguments.map(arg => `"\`"${arg}\`""`);
|
|
133
|
-
encodedArguments.push(appArguments.join(','));
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
// Using Base64-encoded command, accepted by PowerShell, to allow special characters.
|
|
137
|
-
target = Buffer.from(encodedArguments.join(' '), 'utf16le').toString('base64');
|
|
138
|
-
} else {
|
|
139
|
-
if (app) {
|
|
140
|
-
command = app;
|
|
141
|
-
} else {
|
|
142
|
-
// When bundled by Webpack, there's no actual package file path and no local `xdg-open`.
|
|
143
|
-
const isBundled = !__dirname || __dirname === '/';
|
|
144
|
-
|
|
145
|
-
// Check if local `xdg-open` exists and is executable.
|
|
146
|
-
let exeLocalXdgOpen = false;
|
|
147
|
-
try {
|
|
148
|
-
await pAccess(localXdgOpenPath, fs.constants.X_OK);
|
|
149
|
-
exeLocalXdgOpen = true;
|
|
150
|
-
} catch (_) {}
|
|
151
|
-
|
|
152
|
-
const useSystemXdgOpen = process.versions.electron ||
|
|
153
|
-
process.platform === 'android' || isBundled || !exeLocalXdgOpen;
|
|
154
|
-
command = useSystemXdgOpen ? 'xdg-open' : localXdgOpenPath;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
if (appArguments.length > 0) {
|
|
158
|
-
cliArguments.push(...appArguments);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
if (!options.wait) {
|
|
162
|
-
// `xdg-open` will block the process unless stdio is ignored
|
|
163
|
-
// and it's detached from the parent even if it's unref'd.
|
|
164
|
-
childProcessOptions.stdio = 'ignore';
|
|
165
|
-
childProcessOptions.detached = true;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
cliArguments.push(target);
|
|
170
|
-
|
|
171
|
-
if (process.platform === 'darwin' && appArguments.length > 0) {
|
|
172
|
-
cliArguments.push('--args', ...appArguments);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
const subprocess = childProcess.spawn(command, cliArguments, childProcessOptions);
|
|
176
|
-
|
|
177
|
-
if (options.wait) {
|
|
178
|
-
return new Promise((resolve, reject) => {
|
|
179
|
-
subprocess.once('error', reject);
|
|
180
|
-
|
|
181
|
-
subprocess.once('close', exitCode => {
|
|
182
|
-
if (options.allowNonzeroExitCode && exitCode > 0) {
|
|
183
|
-
reject(new Error(`Exited with code ${exitCode}`));
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
resolve(subprocess);
|
|
188
|
-
});
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
subprocess.unref();
|
|
193
|
-
|
|
194
|
-
return subprocess;
|
|
195
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "open",
|
|
3
|
-
"version": "7.4.2",
|
|
4
|
-
"description": "Open stuff like URLs, files, executables. Cross-platform.",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/open",
|
|
7
|
-
"funding": "https://github.com/sponsors/sindresorhus",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Sindre Sorhus",
|
|
10
|
-
"email": "sindresorhus@gmail.com",
|
|
11
|
-
"url": "https://sindresorhus.com"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=8"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"test": "xo && tsd"
|
|
18
|
-
},
|
|
19
|
-
"files": [
|
|
20
|
-
"index.js",
|
|
21
|
-
"index.d.ts",
|
|
22
|
-
"xdg-open"
|
|
23
|
-
],
|
|
24
|
-
"keywords": [
|
|
25
|
-
"app",
|
|
26
|
-
"open",
|
|
27
|
-
"opener",
|
|
28
|
-
"opens",
|
|
29
|
-
"launch",
|
|
30
|
-
"start",
|
|
31
|
-
"xdg-open",
|
|
32
|
-
"xdg",
|
|
33
|
-
"default",
|
|
34
|
-
"cmd",
|
|
35
|
-
"browser",
|
|
36
|
-
"editor",
|
|
37
|
-
"executable",
|
|
38
|
-
"exe",
|
|
39
|
-
"url",
|
|
40
|
-
"urls",
|
|
41
|
-
"arguments",
|
|
42
|
-
"args",
|
|
43
|
-
"spawn",
|
|
44
|
-
"exec",
|
|
45
|
-
"child",
|
|
46
|
-
"process",
|
|
47
|
-
"website",
|
|
48
|
-
"file"
|
|
49
|
-
],
|
|
50
|
-
"dependencies": {
|
|
51
|
-
"is-docker": "^2.0.0",
|
|
52
|
-
"is-wsl": "^2.1.1"
|
|
53
|
-
},
|
|
54
|
-
"devDependencies": {
|
|
55
|
-
"@types/node": "^12.7.5",
|
|
56
|
-
"ava": "^2.3.0",
|
|
57
|
-
"tsd": "^0.11.0",
|
|
58
|
-
"xo": "^0.25.3"
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
,"_resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz"
|
|
62
|
-
,"_integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q=="
|
|
63
|
-
,"_from": "open@7.4.2"
|
|
64
|
-
}
|