mirror of
https://github.com/stCarolas/setup-maven.git
synced 2024-11-13 21:38:04 +00:00
Husky commit correct node modules
This commit is contained in:
parent
66602c7280
commit
ae0022e050
21
node_modules/@types/normalize-package-data/LICENSE
generated
vendored
21
node_modules/@types/normalize-package-data/LICENSE
generated
vendored
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
|
|
||||||
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:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
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
|
|
16
node_modules/@types/normalize-package-data/README.md
generated
vendored
16
node_modules/@types/normalize-package-data/README.md
generated
vendored
@ -1,16 +0,0 @@
|
|||||||
# Installation
|
|
||||||
> `npm install --save @types/normalize-package-data`
|
|
||||||
|
|
||||||
# Summary
|
|
||||||
This package contains type definitions for normalize-package-data (https://github.com/npm/normalize-package-data#readme).
|
|
||||||
|
|
||||||
# Details
|
|
||||||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/normalize-package-data
|
|
||||||
|
|
||||||
Additional Details
|
|
||||||
* Last updated: Sun, 07 Jan 2018 07:34:38 GMT
|
|
||||||
* Dependencies: none
|
|
||||||
* Global values: none
|
|
||||||
|
|
||||||
# Credits
|
|
||||||
These definitions were written by Jeff Dickey <https://github.com/jdxcode>.
|
|
46
node_modules/@types/normalize-package-data/index.d.ts
generated
vendored
46
node_modules/@types/normalize-package-data/index.d.ts
generated
vendored
@ -1,46 +0,0 @@
|
|||||||
// Type definitions for normalize-package-data 2.4
|
|
||||||
// Project: https://github.com/npm/normalize-package-data#readme
|
|
||||||
// Definitions by: Jeff Dickey <https://github.com/jdxcode>
|
|
||||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
||||||
|
|
||||||
export = normalize;
|
|
||||||
|
|
||||||
declare function normalize(data: normalize.Input, warn?: normalize.WarnFn, strict?: boolean): void;
|
|
||||||
declare function normalize(data: normalize.Input, strict?: boolean): void;
|
|
||||||
|
|
||||||
declare namespace normalize {
|
|
||||||
type WarnFn = (msg: string) => void;
|
|
||||||
interface Input {[k: string]: any; }
|
|
||||||
|
|
||||||
interface Person {
|
|
||||||
name?: string;
|
|
||||||
email?: string;
|
|
||||||
url?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Package {
|
|
||||||
[k: string]: any;
|
|
||||||
name: string;
|
|
||||||
version: string;
|
|
||||||
files?: string[];
|
|
||||||
bin?: {[k: string]: string };
|
|
||||||
man?: string[];
|
|
||||||
keywords?: string[];
|
|
||||||
author?: Person;
|
|
||||||
maintainers?: Person[];
|
|
||||||
contributors?: Person[];
|
|
||||||
bundleDependencies?: {[name: string]: string; };
|
|
||||||
dependencies?: {[name: string]: string; };
|
|
||||||
devDependencies?: {[name: string]: string; };
|
|
||||||
optionalDependencies?: {[name: string]: string; };
|
|
||||||
description?: string;
|
|
||||||
engines?: {[type: string]: string };
|
|
||||||
license?: string;
|
|
||||||
repository?: { type: string, url: string };
|
|
||||||
bugs?: { url: string, email?: string } | { url?: string, email: string };
|
|
||||||
homepage?: string;
|
|
||||||
scripts?: {[k: string]: string};
|
|
||||||
readme: string;
|
|
||||||
_id: string;
|
|
||||||
}
|
|
||||||
}
|
|
55
node_modules/@types/normalize-package-data/package.json
generated
vendored
55
node_modules/@types/normalize-package-data/package.json
generated
vendored
@ -1,55 +0,0 @@
|
|||||||
{
|
|
||||||
"_args": [
|
|
||||||
[
|
|
||||||
"@types/normalize-package-data@2.4.0",
|
|
||||||
"/home/stCarolas/Coding/projects/setup-maven"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"_development": true,
|
|
||||||
"_from": "@types/normalize-package-data@2.4.0",
|
|
||||||
"_id": "@types/normalize-package-data@2.4.0",
|
|
||||||
"_inBundle": false,
|
|
||||||
"_integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==",
|
|
||||||
"_location": "/@types/normalize-package-data",
|
|
||||||
"_phantomChildren": {},
|
|
||||||
"_requested": {
|
|
||||||
"type": "version",
|
|
||||||
"registry": true,
|
|
||||||
"raw": "@types/normalize-package-data@2.4.0",
|
|
||||||
"name": "@types/normalize-package-data",
|
|
||||||
"escapedName": "@types%2fnormalize-package-data",
|
|
||||||
"scope": "@types",
|
|
||||||
"rawSpec": "2.4.0",
|
|
||||||
"saveSpec": null,
|
|
||||||
"fetchSpec": "2.4.0"
|
|
||||||
},
|
|
||||||
"_requiredBy": [
|
|
||||||
"/read-pkg"
|
|
||||||
],
|
|
||||||
"_resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz",
|
|
||||||
"_spec": "2.4.0",
|
|
||||||
"_where": "/home/stCarolas/Coding/projects/setup-maven",
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
|
|
||||||
},
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Jeff Dickey",
|
|
||||||
"url": "https://github.com/jdxcode"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dependencies": {},
|
|
||||||
"description": "TypeScript definitions for normalize-package-data",
|
|
||||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
|
|
||||||
"license": "MIT",
|
|
||||||
"main": "",
|
|
||||||
"name": "@types/normalize-package-data",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git"
|
|
||||||
},
|
|
||||||
"scripts": {},
|
|
||||||
"typeScriptVersion": "2.0",
|
|
||||||
"typesPublisherContentHash": "5d2101e9e55c73e1d649a6c311e0d40bdfaa25bb06bb75ea6f3bb0d149c1303b",
|
|
||||||
"version": "2.4.0"
|
|
||||||
}
|
|
21
node_modules/@types/semver/LICENSE
generated
vendored
21
node_modules/@types/semver/LICENSE
generated
vendored
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
|
|
||||||
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:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
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
|
|
16
node_modules/@types/semver/README.md
generated
vendored
16
node_modules/@types/semver/README.md
generated
vendored
@ -1,16 +0,0 @@
|
|||||||
# Installation
|
|
||||||
> `npm install --save @types/semver`
|
|
||||||
|
|
||||||
# Summary
|
|
||||||
This package contains type definitions for semver (https://github.com/npm/node-semver).
|
|
||||||
|
|
||||||
# Details
|
|
||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver
|
|
||||||
|
|
||||||
Additional Details
|
|
||||||
* Last updated: Fri, 25 Oct 2019 20:12:50 GMT
|
|
||||||
* Dependencies: none
|
|
||||||
* Global values: none
|
|
||||||
|
|
||||||
# Credits
|
|
||||||
These definitions were written by Bart van der Schoor <https://github.com/Bartvds>, BendingBender <https://github.com/BendingBender>, Lucian Buzzo <https://github.com/LucianBuzzo>, Klaus Meinhardt <https://github.com/ajafff>, and ExE Boss <https://github.com/ExE-Boss>.
|
|
299
node_modules/@types/semver/index.d.ts
generated
vendored
299
node_modules/@types/semver/index.d.ts
generated
vendored
@ -1,299 +0,0 @@
|
|||||||
// Type definitions for semver 6.2
|
|
||||||
// Project: https://github.com/npm/node-semver
|
|
||||||
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
|
|
||||||
// BendingBender <https://github.com/BendingBender>
|
|
||||||
// Lucian Buzzo <https://github.com/LucianBuzzo>
|
|
||||||
// Klaus Meinhardt <https://github.com/ajafff>
|
|
||||||
// ExE Boss <https://github.com/ExE-Boss>
|
|
||||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/semver
|
|
||||||
|
|
||||||
export const SEMVER_SPEC_VERSION: "2.0.0";
|
|
||||||
|
|
||||||
export type ReleaseType = "major" | "premajor" | "minor" | "preminor" | "patch" | "prepatch" | "prerelease";
|
|
||||||
|
|
||||||
export interface Options {
|
|
||||||
loose?: boolean;
|
|
||||||
includePrerelease?: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface CoerceOptions extends Options {
|
|
||||||
/**
|
|
||||||
* Used by `coerce()` to coerce from right to left.
|
|
||||||
*
|
|
||||||
* @default false
|
|
||||||
*
|
|
||||||
* @example
|
|
||||||
* coerce('1.2.3.4', { rtl: true });
|
|
||||||
* // => SemVer { version: '2.3.4', ... }
|
|
||||||
*
|
|
||||||
* @since 6.2.0
|
|
||||||
*/
|
|
||||||
rtl?: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the parsed version as a SemVer object, or null if it's not valid.
|
|
||||||
*/
|
|
||||||
export function parse(version: string | SemVer | null | undefined, optionsOrLoose?: boolean | Options): SemVer | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the parsed version as a string, or null if it's not valid.
|
|
||||||
*/
|
|
||||||
export function valid(version: string | SemVer | null | undefined, optionsOrLoose?: boolean | Options): string | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Coerces a string to SemVer if possible
|
|
||||||
*/
|
|
||||||
export function coerce(version: string | number | SemVer | null | undefined, options?: CoerceOptions): SemVer | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns cleaned (removed leading/trailing whitespace, remove '=v' prefix) and parsed version, or null if version is invalid.
|
|
||||||
*/
|
|
||||||
export function clean(version: string, optionsOrLoose?: boolean | Options): string | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid.
|
|
||||||
*/
|
|
||||||
export function inc(version: string | SemVer, release: ReleaseType, optionsOrLoose?: boolean | Options, identifier?: string): string | null;
|
|
||||||
export function inc(version: string | SemVer, release: ReleaseType, identifier?: string): string | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the major version number.
|
|
||||||
*/
|
|
||||||
export function major(version: string | SemVer, optionsOrLoose?: boolean | Options): number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the minor version number.
|
|
||||||
*/
|
|
||||||
export function minor(version: string | SemVer, optionsOrLoose?: boolean | Options): number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the patch version number.
|
|
||||||
*/
|
|
||||||
export function patch(version: string | SemVer, optionsOrLoose?: boolean | Options): number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns an array of prerelease components, or null if none exist.
|
|
||||||
*/
|
|
||||||
export function prerelease(version: string | SemVer, optionsOrLoose?: boolean | Options): ReadonlyArray<string> | null;
|
|
||||||
|
|
||||||
// Comparison
|
|
||||||
/**
|
|
||||||
* v1 > v2
|
|
||||||
*/
|
|
||||||
export function gt(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
/**
|
|
||||||
* v1 >= v2
|
|
||||||
*/
|
|
||||||
export function gte(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
/**
|
|
||||||
* v1 < v2
|
|
||||||
*/
|
|
||||||
export function lt(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
/**
|
|
||||||
* v1 <= v2
|
|
||||||
*/
|
|
||||||
export function lte(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
/**
|
|
||||||
* v1 == v2 This is true if they're logically equivalent, even if they're not the exact same string. You already know how to compare strings.
|
|
||||||
*/
|
|
||||||
export function eq(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
/**
|
|
||||||
* v1 != v2 The opposite of eq.
|
|
||||||
*/
|
|
||||||
export function neq(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Pass in a comparison string, and it'll call the corresponding semver comparison function.
|
|
||||||
* "===" and "!==" do simple string comparison, but are included for completeness.
|
|
||||||
* Throws if an invalid comparison string is provided.
|
|
||||||
*/
|
|
||||||
export function cmp(v1: string | SemVer, operator: Operator, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
export type Operator = '===' | '!==' | '' | '=' | '==' | '!=' | '>' | '>=' | '<' | '<=';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compares two versions excluding build identifiers (the bit after `+` in the semantic version string).
|
|
||||||
*
|
|
||||||
* Sorts in ascending order when passed to `Array.sort()`.
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* - `0` if `v1` == `v2`
|
|
||||||
* - `1` if `v1` is greater
|
|
||||||
* - `-1` if `v2` is greater.
|
|
||||||
*/
|
|
||||||
export function compare(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): 1 | 0 | -1;
|
|
||||||
/**
|
|
||||||
* The reverse of compare.
|
|
||||||
*
|
|
||||||
* Sorts in descending order when passed to `Array.sort()`.
|
|
||||||
*/
|
|
||||||
export function rcompare(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): 1 | 0 | -1;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compares two identifiers, must be numeric strings or truthy/falsy values.
|
|
||||||
*
|
|
||||||
* Sorts in ascending order when passed to `Array.sort()`.
|
|
||||||
*/
|
|
||||||
export function compareIdentifiers(a: string | null | undefined, b: string | null | undefined): 1 | 0 | -1;
|
|
||||||
/**
|
|
||||||
* The reverse of compareIdentifiers.
|
|
||||||
*
|
|
||||||
* Sorts in descending order when passed to `Array.sort()`.
|
|
||||||
*/
|
|
||||||
export function rcompareIdentifiers(a: string | null | undefined, b: string | null | undefined): 1 | 0 | -1;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compares two versions including build identifiers (the bit after `+` in the semantic version string).
|
|
||||||
*
|
|
||||||
* Sorts in ascending order when passed to `Array.sort()`.
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* - `0` if `v1` == `v2`
|
|
||||||
* - `1` if `v1` is greater
|
|
||||||
* - `-1` if `v2` is greater.
|
|
||||||
*
|
|
||||||
* @since 6.1.0
|
|
||||||
*/
|
|
||||||
export function compareBuild(a: string | SemVer, b: string | SemVer): 1 | 0 | -1;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sorts an array of semver entries in ascending order using `compareBuild()`.
|
|
||||||
*/
|
|
||||||
export function sort<T extends string | SemVer>(list: T[], optionsOrLoose?: boolean | Options): T[];
|
|
||||||
/**
|
|
||||||
* Sorts an array of semver entries in descending order using `compareBuild()`.
|
|
||||||
*/
|
|
||||||
export function rsort<T extends string | SemVer>(list: T[], optionsOrLoose?: boolean | Options): T[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns difference between two versions by the release type (major, premajor, minor, preminor, patch, prepatch, or prerelease), or null if the versions are the same.
|
|
||||||
*/
|
|
||||||
export function diff(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): ReleaseType | null;
|
|
||||||
|
|
||||||
// Ranges
|
|
||||||
/**
|
|
||||||
* Return the valid range or null if it's not valid
|
|
||||||
*/
|
|
||||||
export function validRange(range: string | Range | null | undefined, optionsOrLoose?: boolean | Options): string;
|
|
||||||
/**
|
|
||||||
* Return true if the version satisfies the range.
|
|
||||||
*/
|
|
||||||
export function satisfies(version: string | SemVer, range: string | Range, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
/**
|
|
||||||
* Return the highest version in the list that satisfies the range, or null if none of them do.
|
|
||||||
*/
|
|
||||||
export function maxSatisfying<T extends string | SemVer>(versions: ReadonlyArray<T>, range: string | Range, optionsOrLoose?: boolean | Options): T | null;
|
|
||||||
/**
|
|
||||||
* Return the lowest version in the list that satisfies the range, or null if none of them do.
|
|
||||||
*/
|
|
||||||
export function minSatisfying<T extends string | SemVer>(versions: ReadonlyArray<T>, range: string | Range, optionsOrLoose?: boolean | Options): T | null;
|
|
||||||
/**
|
|
||||||
* Return the lowest version that can possibly match the given range.
|
|
||||||
*/
|
|
||||||
export function minVersion(range: string | Range, optionsOrLoose?: boolean | Options): SemVer | null;
|
|
||||||
/**
|
|
||||||
* Return true if version is greater than all the versions possible in the range.
|
|
||||||
*/
|
|
||||||
export function gtr(version: string | SemVer, range: string | Range, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
/**
|
|
||||||
* Return true if version is less than all the versions possible in the range.
|
|
||||||
*/
|
|
||||||
export function ltr(version: string | SemVer, range: string | Range, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
/**
|
|
||||||
* Return 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 gtr and ltr.)
|
|
||||||
*/
|
|
||||||
export function outside(version: string | SemVer, range: string | Range, hilo: '>' | '<', optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
/**
|
|
||||||
* Return true if any of the ranges comparators intersect
|
|
||||||
*/
|
|
||||||
export function intersects(range1: string | Range, range2: string | Range, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
|
|
||||||
export class SemVer {
|
|
||||||
constructor(version: string | SemVer, optionsOrLoose?: boolean | Options);
|
|
||||||
|
|
||||||
raw: string;
|
|
||||||
loose: boolean;
|
|
||||||
options: Options;
|
|
||||||
format(): string;
|
|
||||||
inspect(): string;
|
|
||||||
|
|
||||||
major: number;
|
|
||||||
minor: number;
|
|
||||||
patch: number;
|
|
||||||
version: string;
|
|
||||||
build: ReadonlyArray<string>;
|
|
||||||
prerelease: ReadonlyArray<string | number>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compares two versions excluding build identifiers (the bit after `+` in the semantic version string).
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* - `0` if `this` == `other`
|
|
||||||
* - `1` if `this` is greater
|
|
||||||
* - `-1` if `other` is greater.
|
|
||||||
*/
|
|
||||||
compare(other: string | SemVer): 1 | 0 | -1;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compares the release portion of two versions.
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* - `0` if `this` == `other`
|
|
||||||
* - `1` if `this` is greater
|
|
||||||
* - `-1` if `other` is greater.
|
|
||||||
*/
|
|
||||||
compareMain(other: string | SemVer): 1 | 0 | -1;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compares the prerelease portion of two versions.
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* - `0` if `this` == `other`
|
|
||||||
* - `1` if `this` is greater
|
|
||||||
* - `-1` if `other` is greater.
|
|
||||||
*/
|
|
||||||
comparePre(other: string | SemVer): 1 | 0 | -1;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Compares the build identifier of two versions.
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
* - `0` if `this` == `other`
|
|
||||||
* - `1` if `this` is greater
|
|
||||||
* - `-1` if `other` is greater.
|
|
||||||
*/
|
|
||||||
compareBuild(other: string | SemVer): 1 | 0 | -1;
|
|
||||||
|
|
||||||
inc(release: ReleaseType, identifier?: string): SemVer;
|
|
||||||
}
|
|
||||||
|
|
||||||
export class Comparator {
|
|
||||||
constructor(comp: string | Comparator, optionsOrLoose?: boolean | Options);
|
|
||||||
|
|
||||||
semver: SemVer;
|
|
||||||
operator: '' | '=' | '<' | '>' | '<=' | '>=';
|
|
||||||
value: string;
|
|
||||||
loose: boolean;
|
|
||||||
options: Options;
|
|
||||||
parse(comp: string): void;
|
|
||||||
test(version: string | SemVer): boolean;
|
|
||||||
intersects(comp: Comparator, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
export class Range {
|
|
||||||
constructor(range: string | Range, optionsOrLoose?: boolean | Options);
|
|
||||||
|
|
||||||
range: string;
|
|
||||||
raw: string;
|
|
||||||
loose: boolean;
|
|
||||||
options: Options;
|
|
||||||
includePrerelease: boolean;
|
|
||||||
format(): string;
|
|
||||||
inspect(): string;
|
|
||||||
|
|
||||||
set: ReadonlyArray<ReadonlyArray<Comparator>>;
|
|
||||||
parseRange(range: string): ReadonlyArray<Comparator>;
|
|
||||||
test(version: string | SemVer): boolean;
|
|
||||||
intersects(range: Range, optionsOrLoose?: boolean | Options): boolean;
|
|
||||||
}
|
|
73
node_modules/@types/semver/package.json
generated
vendored
73
node_modules/@types/semver/package.json
generated
vendored
@ -1,73 +0,0 @@
|
|||||||
{
|
|
||||||
"_args": [
|
|
||||||
[
|
|
||||||
"@types/semver@6.2.0",
|
|
||||||
"/home/stCarolas/Coding/projects/setup-maven"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"_development": true,
|
|
||||||
"_from": "@types/semver@6.2.0",
|
|
||||||
"_id": "@types/semver@6.2.0",
|
|
||||||
"_inBundle": false,
|
|
||||||
"_integrity": "sha512-1OzrNb4RuAzIT7wHSsgZRlMBlNsJl+do6UblR7JMW4oB7bbR+uBEYtUh7gEc/jM84GGilh68lSOokyM/zNUlBA==",
|
|
||||||
"_location": "/@types/semver",
|
|
||||||
"_phantomChildren": {},
|
|
||||||
"_requested": {
|
|
||||||
"type": "version",
|
|
||||||
"registry": true,
|
|
||||||
"raw": "@types/semver@6.2.0",
|
|
||||||
"name": "@types/semver",
|
|
||||||
"escapedName": "@types%2fsemver",
|
|
||||||
"scope": "@types",
|
|
||||||
"rawSpec": "6.2.0",
|
|
||||||
"saveSpec": null,
|
|
||||||
"fetchSpec": "6.2.0"
|
|
||||||
},
|
|
||||||
"_requiredBy": [
|
|
||||||
"#DEV:/"
|
|
||||||
],
|
|
||||||
"_resolved": "https://registry.npmjs.org/@types/semver/-/semver-6.2.0.tgz",
|
|
||||||
"_spec": "6.2.0",
|
|
||||||
"_where": "/home/stCarolas/Coding/projects/setup-maven",
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
|
|
||||||
},
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Bart van der Schoor",
|
|
||||||
"url": "https://github.com/Bartvds"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "BendingBender",
|
|
||||||
"url": "https://github.com/BendingBender"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Lucian Buzzo",
|
|
||||||
"url": "https://github.com/LucianBuzzo"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Klaus Meinhardt",
|
|
||||||
"url": "https://github.com/ajafff"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ExE Boss",
|
|
||||||
"url": "https://github.com/ExE-Boss"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dependencies": {},
|
|
||||||
"description": "TypeScript definitions for semver",
|
|
||||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
|
|
||||||
"license": "MIT",
|
|
||||||
"main": "",
|
|
||||||
"name": "@types/semver",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
||||||
"directory": "types/semver"
|
|
||||||
},
|
|
||||||
"scripts": {},
|
|
||||||
"typeScriptVersion": "2.0",
|
|
||||||
"types": "index",
|
|
||||||
"typesPublisherContentHash": "f19d7b1ca506ce2f282d80a2b72e499a5dc5afed849026bc6a56307e1030e70a",
|
|
||||||
"version": "6.2.0"
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user