Module

x/fluentci/deps.ts

This is the command line interface for FluentCI.
Go to Latest
import * as mod from "https://dotland.deno.dev/x/fluentci@v0.13.0/deps.ts";

Namespaces

N
_

The semantic version parser.

N
z

Classes

Represents a {@link Reader} instance used to read data provided as a Blob instance.

Represents a {@link WritableWriter} instance used to retrieve the written data as a Blob instance.

Cell representation.

Confirm prompt representation.

Input prompt representation.

Secret prompt representation.

Table representation.

Represents a {@link Reader} instance used to read data provided as a string.

Represents a {@link Writer} instance used to retrieve the written data as a string.

Represents a {@link Reader} instance used to read data provided as a Uint8Array instance.

c
z.Schema
abstract
c
z.ZodSchema
abstract
c
z.ZodType
abstract

Represents an instance used to read a zip file.

Represents an instance used to create a zip file.

Variables

A comparator which will span all valid semantic versions

ANY is a sentinel value used by some range calculations. It is not a valid SemVer object and should not be used directly.

A sentinel value used to denote an invalid SemVer object which may be the result of impossible ranges or comparator operations.

MAX is a sentinel value used by some range calculations. It is equivalent to ∞.∞.∞.

The minimum valid SemVer object. Equivalent to 0.0.0.

A comparator which will not span any semantic versions

v
semver.rsort
deprecated

Sorts a list of semantic versions in descending order.

Functions

Make the text bold.

Set text color to bright green.

Set text color to bright magenta.

Set text color to cyan.

Returns the user and platform specific directories.

Test whether or not the given path exists by checking with the file system. Please consider to check if the path is readable and either a file or a directory by providing additional options:

Generates a random name using an adjective and a personality

Set text color to gray.

Set text color to green.

Set text color to magenta.

Merge multiple streams into a single one, not taking order into account. If a stream ends before other ones, the other will continue adding data, and the finished one will not add any more data.

Runs an array of prompts.

Synchronously reads {@link ReaderSync} r until EOF (null) and returns the content as {@link Uint8Array}.

Set text color to red.

Formats the comparator into a string

Returns true if the range of possible versions intersects with the other comparators set of possible versions

The maximum version that could match this comparator.

The minimum semantic version that could match this comparator

Compare two semantic version objects.

Compare two semantic version objects including build metadata.

Returns difference between two versions by the release type, or undefined if the versions are the same.

Returns true if they're logically equivalent, even if they're not the exact same version object.

f
semver.format
deprecated

Format a SemVer object into a string.

Greater than comparison

Greater than or equal to comparison

Checks to see if the version is greater than all possible versions of the range.

Returns the new version resulting from an increment by release type.

Checks to see if value is a valid SemVer object. It does a check into each field including prerelease and build.

Does a deep check on the object to determine if its a valid range.

Less than comparison

Less than or equal to comparison

Less than range comparison

Returns the highest version in the list that satisfies the range, or undefined if none of them do.

Returns the lowest version in the list that satisfies the range, or undefined if none of them do.

Not equal comparison

Returns true if the version is outside the bounds of the range in either the high or low direction. The hilo argument must be either the string '>' or '<'. (This is the function called by {@link gtr} and {@link ltr}.)

Attempt to parse a string as a semantic version, returning either a SemVer object or throws a TypeError.

Parses a comparator string into a valid Comparator.

Parses a range string into a SemVerRange object or throws a TypeError.

Formats the range into a string

The ranges intersect every range of AND comparators intersects with a least one range of OR ranges.

The maximum valid SemVer for a given range or INVALID

The minimum valid SemVer for a given range or INVALID

f
semver.sort
deprecated

Sorts a list of semantic versions in ascending order.

Test to see if a semantic version falls within the range of the comparator.

Test to see if the version satisfies the range.

Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options.

Same as walk() but uses synchronous ops

Set text color to yellow.

Interfaces

The shape of a valid semantic version comparator

A SemVer object parsed into its constituent parts.

A type representing a semantic version range. The ranges consist of a nested array, which represents a set of OR comparisons while the inner array represents AND comparisons.

Type Aliases

The style to use when formatting a SemVer object into a string

SemVer comparison operators.

The possible release types are used as an operator for the increment function and as a result of the difference function.