@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,27 +0,0 @@
|
|
|
1
|
-
if (typeof Object.create === 'function') {
|
|
2
|
-
// implementation from standard node.js 'util' module
|
|
3
|
-
module.exports = function inherits(ctor, superCtor) {
|
|
4
|
-
if (superCtor) {
|
|
5
|
-
ctor.super_ = superCtor
|
|
6
|
-
ctor.prototype = Object.create(superCtor.prototype, {
|
|
7
|
-
constructor: {
|
|
8
|
-
value: ctor,
|
|
9
|
-
enumerable: false,
|
|
10
|
-
writable: true,
|
|
11
|
-
configurable: true
|
|
12
|
-
}
|
|
13
|
-
})
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
} else {
|
|
17
|
-
// old school shim for old browsers
|
|
18
|
-
module.exports = function inherits(ctor, superCtor) {
|
|
19
|
-
if (superCtor) {
|
|
20
|
-
ctor.super_ = superCtor
|
|
21
|
-
var TempCtor = function () {}
|
|
22
|
-
TempCtor.prototype = superCtor.prototype
|
|
23
|
-
ctor.prototype = new TempCtor()
|
|
24
|
-
ctor.prototype.constructor = ctor
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "inherits",
|
|
3
|
-
"description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
|
|
4
|
-
"version": "2.0.4",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"inheritance",
|
|
7
|
-
"class",
|
|
8
|
-
"klass",
|
|
9
|
-
"oop",
|
|
10
|
-
"object-oriented",
|
|
11
|
-
"inherits",
|
|
12
|
-
"browser",
|
|
13
|
-
"browserify"
|
|
14
|
-
],
|
|
15
|
-
"main": "./inherits.js",
|
|
16
|
-
"browser": "./inherits_browser.js",
|
|
17
|
-
"repository": "git://github.com/isaacs/inherits",
|
|
18
|
-
"license": "ISC",
|
|
19
|
-
"scripts": {
|
|
20
|
-
"test": "tap"
|
|
21
|
-
},
|
|
22
|
-
"devDependencies": {
|
|
23
|
-
"tap": "^14.2.4"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"inherits.js",
|
|
27
|
-
"inherits_browser.js"
|
|
28
|
-
]
|
|
29
|
-
|
|
30
|
-
,"_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
|
|
31
|
-
,"_integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
|
32
|
-
,"_from": "inherits@2.0.4"
|
|
33
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## v2.0.0
|
|
4
|
-
|
|
5
|
-
Breaking changes:
|
|
6
|
-
|
|
7
|
-
* Drop support for Node.js end-of-life versions: 0.10, 0.12, 4, 5, 7,
|
|
8
|
-
and 9
|
|
9
|
-
|
|
10
|
-
Other changes:
|
|
11
|
-
|
|
12
|
-
See [ci-info
|
|
13
|
-
changelog](https://github.com/watson/ci-info/blob/master/CHANGELOG.md#v200)
|
|
14
|
-
for a list of newly supported CI servers.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2016-2018 Thomas Watson Steen
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# is-ci
|
|
2
|
-
|
|
3
|
-
Returns `true` if the current environment is a Continuous Integration
|
|
4
|
-
server.
|
|
5
|
-
|
|
6
|
-
Please [open an issue](https://github.com/watson/is-ci/issues) if your
|
|
7
|
-
CI server isn't properly detected :)
|
|
8
|
-
|
|
9
|
-
[](https://www.npmjs.com/package/is-ci)
|
|
10
|
-
[](https://travis-ci.org/watson/is-ci)
|
|
11
|
-
[](https://github.com/feross/standard)
|
|
12
|
-
|
|
13
|
-
## Installation
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
npm install is-ci --save
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Programmatic Usage
|
|
20
|
-
|
|
21
|
-
```js
|
|
22
|
-
const isCI = require('is-ci')
|
|
23
|
-
|
|
24
|
-
if (isCI) {
|
|
25
|
-
console.log('The code is running on a CI server')
|
|
26
|
-
}
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## CLI Usage
|
|
30
|
-
|
|
31
|
-
For CLI usage you need to have the `is-ci` executable in your `PATH`.
|
|
32
|
-
There's a few ways to do that:
|
|
33
|
-
|
|
34
|
-
- Either install the module globally using `npm install is-ci -g`
|
|
35
|
-
- Or add the module as a dependency to your app in which case it can be
|
|
36
|
-
used inside your package.json scripts as is
|
|
37
|
-
- Or provide the full path to the executable, e.g.
|
|
38
|
-
`./node_modules/.bin/is-ci`
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
is-ci && echo "This is a CI server"
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Supported CI tools
|
|
45
|
-
|
|
46
|
-
Refer to [ci-info](https://github.com/watson/ci-info#supported-ci-tools) docs for all supported CI's
|
|
47
|
-
|
|
48
|
-
## License
|
|
49
|
-
|
|
50
|
-
[MIT](LICENSE)
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "is-ci",
|
|
3
|
-
"version": "2.0.0",
|
|
4
|
-
"description": "Detect if the current environment is a CI server",
|
|
5
|
-
"bin": "bin.js",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"dependencies": {
|
|
8
|
-
"ci-info": "^2.0.0"
|
|
9
|
-
},
|
|
10
|
-
"devDependencies": {
|
|
11
|
-
"clear-module": "^3.0.0",
|
|
12
|
-
"standard": "^12.0.1"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"test": "standard && node test.js"
|
|
16
|
-
},
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "https://github.com/watson/is-ci.git"
|
|
20
|
-
},
|
|
21
|
-
"keywords": [
|
|
22
|
-
"ci",
|
|
23
|
-
"continuous",
|
|
24
|
-
"integration",
|
|
25
|
-
"test",
|
|
26
|
-
"detect"
|
|
27
|
-
],
|
|
28
|
-
"author": "Thomas Watson Steen <w@tson.dk> (https://twitter.com/wa7son)",
|
|
29
|
-
"license": "MIT",
|
|
30
|
-
"bugs": {
|
|
31
|
-
"url": "https://github.com/watson/is-ci/issues"
|
|
32
|
-
},
|
|
33
|
-
"homepage": "https://github.com/watson/is-ci",
|
|
34
|
-
"coordinates": [
|
|
35
|
-
55.778272,
|
|
36
|
-
12.593116
|
|
37
|
-
]
|
|
38
|
-
|
|
39
|
-
,"_resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz"
|
|
40
|
-
,"_integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w=="
|
|
41
|
-
,"_from": "is-ci@2.0.0"
|
|
42
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Check if the process is running inside a Docker container.
|
|
3
|
-
|
|
4
|
-
@example
|
|
5
|
-
```
|
|
6
|
-
import isDocker = require('is-docker');
|
|
7
|
-
|
|
8
|
-
if (isDocker()) {
|
|
9
|
-
console.log('Running inside a Docker container');
|
|
10
|
-
}
|
|
11
|
-
```
|
|
12
|
-
*/
|
|
13
|
-
declare function isDocker(): boolean;
|
|
14
|
-
|
|
15
|
-
export = isDocker;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
const fs = require('fs');
|
|
3
|
-
|
|
4
|
-
let isDocker;
|
|
5
|
-
|
|
6
|
-
function hasDockerEnv() {
|
|
7
|
-
try {
|
|
8
|
-
fs.statSync('/.dockerenv');
|
|
9
|
-
return true;
|
|
10
|
-
} catch (_) {
|
|
11
|
-
return false;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function hasDockerCGroup() {
|
|
16
|
-
try {
|
|
17
|
-
return fs.readFileSync('/proc/self/cgroup', 'utf8').includes('docker');
|
|
18
|
-
} catch (_) {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
module.exports = () => {
|
|
24
|
-
if (isDocker === undefined) {
|
|
25
|
-
isDocker = hasDockerEnv() || hasDockerCGroup();
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return isDocker;
|
|
29
|
-
};
|
|
@@ -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,46 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "is-docker",
|
|
3
|
-
"version": "2.2.1",
|
|
4
|
-
"description": "Check if the process is running inside a Docker container",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/is-docker",
|
|
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
|
-
"bin": "cli.js",
|
|
14
|
-
"engines": {
|
|
15
|
-
"node": ">=8"
|
|
16
|
-
},
|
|
17
|
-
"scripts": {
|
|
18
|
-
"test": "xo && ava && tsd"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"index.js",
|
|
22
|
-
"index.d.ts",
|
|
23
|
-
"cli.js"
|
|
24
|
-
],
|
|
25
|
-
"keywords": [
|
|
26
|
-
"detect",
|
|
27
|
-
"docker",
|
|
28
|
-
"dockerized",
|
|
29
|
-
"container",
|
|
30
|
-
"inside",
|
|
31
|
-
"is",
|
|
32
|
-
"env",
|
|
33
|
-
"environment",
|
|
34
|
-
"process"
|
|
35
|
-
],
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"ava": "^1.4.1",
|
|
38
|
-
"sinon": "^7.3.2",
|
|
39
|
-
"tsd": "^0.7.2",
|
|
40
|
-
"xo": "^0.24.0"
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
,"_resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz"
|
|
44
|
-
,"_integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ=="
|
|
45
|
-
,"_from": "is-docker@2.2.1"
|
|
46
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# is-docker
|
|
2
|
-
|
|
3
|
-
> Check if the process is running inside a Docker container
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
$ npm install is-docker
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
const isDocker = require('is-docker');
|
|
15
|
-
|
|
16
|
-
if (isDocker()) {
|
|
17
|
-
console.log('Running inside a Docker container');
|
|
18
|
-
}
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## CLI
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
$ is-docker
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Exits with code 0 if inside a Docker container and 2 if not.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2014-present, Jon Schlinkert.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
# is-number [](https://www.npmjs.com/package/is-number) [](https://npmjs.org/package/is-number) [](https://npmjs.org/package/is-number) [](https://travis-ci.org/jonschlinkert/is-number)
|
|
2
|
-
|
|
3
|
-
> Returns true if the value is a finite number.
|
|
4
|
-
|
|
5
|
-
Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
|
|
6
|
-
|
|
7
|
-
## Install
|
|
8
|
-
|
|
9
|
-
Install with [npm](https://www.npmjs.com/):
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
$ npm install --save is-number
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Why is this needed?
|
|
16
|
-
|
|
17
|
-
In JavaScript, it's not always as straightforward as it should be to reliably check if a value is a number. It's common for devs to use `+`, `-`, or `Number()` to cast a string value to a number (for example, when values are returned from user input, regex matches, parsers, etc). But there are many non-intuitive edge cases that yield unexpected results:
|
|
18
|
-
|
|
19
|
-
```js
|
|
20
|
-
console.log(+[]); //=> 0
|
|
21
|
-
console.log(+''); //=> 0
|
|
22
|
-
console.log(+' '); //=> 0
|
|
23
|
-
console.log(typeof NaN); //=> 'number'
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
This library offers a performant way to smooth out edge cases like these.
|
|
27
|
-
|
|
28
|
-
## Usage
|
|
29
|
-
|
|
30
|
-
```js
|
|
31
|
-
const isNumber = require('is-number');
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
See the [tests](./test.js) for more examples.
|
|
35
|
-
|
|
36
|
-
### true
|
|
37
|
-
|
|
38
|
-
```js
|
|
39
|
-
isNumber(5e3); // true
|
|
40
|
-
isNumber(0xff); // true
|
|
41
|
-
isNumber(-1.1); // true
|
|
42
|
-
isNumber(0); // true
|
|
43
|
-
isNumber(1); // true
|
|
44
|
-
isNumber(1.1); // true
|
|
45
|
-
isNumber(10); // true
|
|
46
|
-
isNumber(10.10); // true
|
|
47
|
-
isNumber(100); // true
|
|
48
|
-
isNumber('-1.1'); // true
|
|
49
|
-
isNumber('0'); // true
|
|
50
|
-
isNumber('012'); // true
|
|
51
|
-
isNumber('0xff'); // true
|
|
52
|
-
isNumber('1'); // true
|
|
53
|
-
isNumber('1.1'); // true
|
|
54
|
-
isNumber('10'); // true
|
|
55
|
-
isNumber('10.10'); // true
|
|
56
|
-
isNumber('100'); // true
|
|
57
|
-
isNumber('5e3'); // true
|
|
58
|
-
isNumber(parseInt('012')); // true
|
|
59
|
-
isNumber(parseFloat('012')); // true
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### False
|
|
63
|
-
|
|
64
|
-
Everything else is false, as you would expect:
|
|
65
|
-
|
|
66
|
-
```js
|
|
67
|
-
isNumber(Infinity); // false
|
|
68
|
-
isNumber(NaN); // false
|
|
69
|
-
isNumber(null); // false
|
|
70
|
-
isNumber(undefined); // false
|
|
71
|
-
isNumber(''); // false
|
|
72
|
-
isNumber(' '); // false
|
|
73
|
-
isNumber('foo'); // false
|
|
74
|
-
isNumber([1]); // false
|
|
75
|
-
isNumber([]); // false
|
|
76
|
-
isNumber(function () {}); // false
|
|
77
|
-
isNumber({}); // false
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
## Release history
|
|
81
|
-
|
|
82
|
-
### 7.0.0
|
|
83
|
-
|
|
84
|
-
* Refactor. Now uses `.isFinite` if it exists.
|
|
85
|
-
* Performance is about the same as v6.0 when the value is a string or number. But it's now 3x-4x faster when the value is not a string or number.
|
|
86
|
-
|
|
87
|
-
### 6.0.0
|
|
88
|
-
|
|
89
|
-
* Optimizations, thanks to @benaadams.
|
|
90
|
-
|
|
91
|
-
### 5.0.0
|
|
92
|
-
|
|
93
|
-
**Breaking changes**
|
|
94
|
-
|
|
95
|
-
* removed support for `instanceof Number` and `instanceof String`
|
|
96
|
-
|
|
97
|
-
## Benchmarks
|
|
98
|
-
|
|
99
|
-
As with all benchmarks, take these with a grain of salt. See the [benchmarks](./benchmark/index.js) for more detail.
|
|
100
|
-
|
|
101
|
-
```
|
|
102
|
-
# all
|
|
103
|
-
v7.0 x 413,222 ops/sec ±2.02% (86 runs sampled)
|
|
104
|
-
v6.0 x 111,061 ops/sec ±1.29% (85 runs sampled)
|
|
105
|
-
parseFloat x 317,596 ops/sec ±1.36% (86 runs sampled)
|
|
106
|
-
fastest is 'v7.0'
|
|
107
|
-
|
|
108
|
-
# string
|
|
109
|
-
v7.0 x 3,054,496 ops/sec ±1.05% (89 runs sampled)
|
|
110
|
-
v6.0 x 2,957,781 ops/sec ±0.98% (88 runs sampled)
|
|
111
|
-
parseFloat x 3,071,060 ops/sec ±1.13% (88 runs sampled)
|
|
112
|
-
fastest is 'parseFloat,v7.0'
|
|
113
|
-
|
|
114
|
-
# number
|
|
115
|
-
v7.0 x 3,146,895 ops/sec ±0.89% (89 runs sampled)
|
|
116
|
-
v6.0 x 3,214,038 ops/sec ±1.07% (89 runs sampled)
|
|
117
|
-
parseFloat x 3,077,588 ops/sec ±1.07% (87 runs sampled)
|
|
118
|
-
fastest is 'v6.0'
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
## About
|
|
122
|
-
|
|
123
|
-
<details>
|
|
124
|
-
<summary><strong>Contributing</strong></summary>
|
|
125
|
-
|
|
126
|
-
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
|
|
127
|
-
|
|
128
|
-
</details>
|
|
129
|
-
|
|
130
|
-
<details>
|
|
131
|
-
<summary><strong>Running Tests</strong></summary>
|
|
132
|
-
|
|
133
|
-
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
|
|
134
|
-
|
|
135
|
-
```sh
|
|
136
|
-
$ npm install && npm test
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
</details>
|
|
140
|
-
|
|
141
|
-
<details>
|
|
142
|
-
<summary><strong>Building docs</strong></summary>
|
|
143
|
-
|
|
144
|
-
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
|
|
145
|
-
|
|
146
|
-
To generate the readme, run the following command:
|
|
147
|
-
|
|
148
|
-
```sh
|
|
149
|
-
$ npm install -g verbose/verb#dev verb-generate-readme && verb
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
</details>
|
|
153
|
-
|
|
154
|
-
### Related projects
|
|
155
|
-
|
|
156
|
-
You might also be interested in these projects:
|
|
157
|
-
|
|
158
|
-
* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object "Returns true if an object was created by the `Object` constructor.")
|
|
159
|
-
* [is-primitive](https://www.npmjs.com/package/is-primitive): Returns `true` if the value is a primitive. | [homepage](https://github.com/jonschlinkert/is-primitive "Returns `true` if the value is a primitive. ")
|
|
160
|
-
* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject "Returns true if the value is an object and not an array or null.")
|
|
161
|
-
* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of "Get the native type of a value.")
|
|
162
|
-
|
|
163
|
-
### Contributors
|
|
164
|
-
|
|
165
|
-
| **Commits** | **Contributor** |
|
|
166
|
-
| --- | --- |
|
|
167
|
-
| 49 | [jonschlinkert](https://github.com/jonschlinkert) |
|
|
168
|
-
| 5 | [charlike-old](https://github.com/charlike-old) |
|
|
169
|
-
| 1 | [benaadams](https://github.com/benaadams) |
|
|
170
|
-
| 1 | [realityking](https://github.com/realityking) |
|
|
171
|
-
|
|
172
|
-
### Author
|
|
173
|
-
|
|
174
|
-
**Jon Schlinkert**
|
|
175
|
-
|
|
176
|
-
* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
|
|
177
|
-
* [GitHub Profile](https://github.com/jonschlinkert)
|
|
178
|
-
* [Twitter Profile](https://twitter.com/jonschlinkert)
|
|
179
|
-
|
|
180
|
-
### License
|
|
181
|
-
|
|
182
|
-
Copyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).
|
|
183
|
-
Released under the [MIT License](LICENSE).
|
|
184
|
-
|
|
185
|
-
***
|
|
186
|
-
|
|
187
|
-
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 15, 2018._
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* is-number <https://github.com/jonschlinkert/is-number>
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
5
|
-
* Released under the MIT License.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
'use strict';
|
|
9
|
-
|
|
10
|
-
module.exports = function(num) {
|
|
11
|
-
if (typeof num === 'number') {
|
|
12
|
-
return num - num === 0;
|
|
13
|
-
}
|
|
14
|
-
if (typeof num === 'string' && num.trim() !== '') {
|
|
15
|
-
return Number.isFinite ? Number.isFinite(+num) : isFinite(+num);
|
|
16
|
-
}
|
|
17
|
-
return false;
|
|
18
|
-
};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "is-number",
|
|
3
|
-
"description": "Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.",
|
|
4
|
-
"version": "7.0.0",
|
|
5
|
-
"homepage": "https://github.com/jonschlinkert/is-number",
|
|
6
|
-
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
|
|
7
|
-
"contributors": [
|
|
8
|
-
"Jon Schlinkert (http://twitter.com/jonschlinkert)",
|
|
9
|
-
"Olsten Larck (https://i.am.charlike.online)",
|
|
10
|
-
"Rouven Weßling (www.rouvenwessling.de)"
|
|
11
|
-
],
|
|
12
|
-
"repository": "jonschlinkert/is-number",
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/jonschlinkert/is-number/issues"
|
|
15
|
-
},
|
|
16
|
-
"license": "MIT",
|
|
17
|
-
"files": [
|
|
18
|
-
"index.js"
|
|
19
|
-
],
|
|
20
|
-
"main": "index.js",
|
|
21
|
-
"engines": {
|
|
22
|
-
"node": ">=0.12.0"
|
|
23
|
-
},
|
|
24
|
-
"scripts": {
|
|
25
|
-
"test": "mocha"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"ansi": "^0.3.1",
|
|
29
|
-
"benchmark": "^2.1.4",
|
|
30
|
-
"gulp-format-md": "^1.0.0",
|
|
31
|
-
"mocha": "^3.5.3"
|
|
32
|
-
},
|
|
33
|
-
"keywords": [
|
|
34
|
-
"cast",
|
|
35
|
-
"check",
|
|
36
|
-
"coerce",
|
|
37
|
-
"coercion",
|
|
38
|
-
"finite",
|
|
39
|
-
"integer",
|
|
40
|
-
"is",
|
|
41
|
-
"isnan",
|
|
42
|
-
"is-nan",
|
|
43
|
-
"is-num",
|
|
44
|
-
"is-number",
|
|
45
|
-
"isnumber",
|
|
46
|
-
"isfinite",
|
|
47
|
-
"istype",
|
|
48
|
-
"kind",
|
|
49
|
-
"math",
|
|
50
|
-
"nan",
|
|
51
|
-
"num",
|
|
52
|
-
"number",
|
|
53
|
-
"numeric",
|
|
54
|
-
"parseFloat",
|
|
55
|
-
"parseInt",
|
|
56
|
-
"test",
|
|
57
|
-
"type",
|
|
58
|
-
"typeof",
|
|
59
|
-
"value"
|
|
60
|
-
],
|
|
61
|
-
"verb": {
|
|
62
|
-
"toc": false,
|
|
63
|
-
"layout": "default",
|
|
64
|
-
"tasks": [
|
|
65
|
-
"readme"
|
|
66
|
-
],
|
|
67
|
-
"related": {
|
|
68
|
-
"list": [
|
|
69
|
-
"is-plain-object",
|
|
70
|
-
"is-primitive",
|
|
71
|
-
"isobject",
|
|
72
|
-
"kind-of"
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
"plugins": [
|
|
76
|
-
"gulp-format-md"
|
|
77
|
-
],
|
|
78
|
-
"lint": {
|
|
79
|
-
"reflinks": true
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
,"_resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz"
|
|
84
|
-
,"_integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
|
|
85
|
-
,"_from": "is-number@7.0.0"
|
|
86
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (Bash on Windows).
|
|
3
|
-
|
|
4
|
-
@example
|
|
5
|
-
```
|
|
6
|
-
import isWsl = require('is-wsl');
|
|
7
|
-
|
|
8
|
-
// When running inside Windows Subsystem for Linux
|
|
9
|
-
console.log(isWsl);
|
|
10
|
-
//=> true
|
|
11
|
-
```
|
|
12
|
-
*/
|
|
13
|
-
declare const isWsl: boolean;
|
|
14
|
-
|
|
15
|
-
export = isWsl;
|