Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#46546 [@types/semver] fix: s,require('../'…
Browse files Browse the repository at this point in the history
…),require('../index'), by @ghnacker
  • Loading branch information
ghnacker authored and danielrearden committed Sep 22, 2020
1 parent 26bb8a0 commit dca6a36
Show file tree
Hide file tree
Showing 36 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion types/semver/classes/comparator.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import sermver = require('../');
import sermver = require('../index');
import SemVer = require('./semver');

declare class Comparator {
Expand Down
2 changes: 1 addition & 1 deletion types/semver/classes/range.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import semver = require('../');
import semver = require('../index');
import Comparator = require('./comparator');
import SemVer = require('./semver');

Expand Down
2 changes: 1 addition & 1 deletion types/semver/classes/semver.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import semver = require('../');
import semver = require('../index');

declare class SemVer {
constructor(version: string | SemVer, optionsOrLoose?: boolean | semver.Options);
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/clean.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import semver = require('../');
import semver = require('../index');

/**
* Returns cleaned (removed leading/trailing whitespace, remove '=v' prefix) and parsed version, or null if version is invalid.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/cmp.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import semver = require('../');
import semver = require('../index');
import SemVer = require('../classes/semver');

/**
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/coerce.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import semver = require('../');
import semver = require('../index');
import SemVer = require('../classes/semver');

/**
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/compare.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import semver = require('../');
import semver = require('../index');
import SemVer = require('../classes/semver');

/**
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/diff.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import semver = require('../');
import semver = require('../index');
import SemVer = require('../classes/semver');

/**
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/eq.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* 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.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/gt.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* v1 > v2
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/gte.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* v1 >= v2
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/inc.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/lt.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* v1 < v2
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/lte.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* v1 <= v2
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/major.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return the major version number.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/minor.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return the minor version number.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/neq.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* v1 != v2 The opposite of eq.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/parse.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return the parsed version as a SemVer object, or null if it's not valid.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/patch.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return the patch version number.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/prerelease.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Returns an array of prerelease components, or null if none exist.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/rcompare.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* The reverse of compare.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/rsort.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Sorts an array of semver entries in descending order using `compareBuild()`.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/satisfies.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Range = require('../classes/range');
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return true if the version satisfies the range.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/sort.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Sorts an array of semver entries in ascending order using `compareBuild()`.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/functions/valid.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import semver = require('../');
import semver = require('../index');
import SemVer = require('../classes/semver');
/**
* Return the parsed version as a string, or null if it's not valid.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/ranges/gtr.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Range = require('../classes/range');
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return true if version is greater than all the versions possible in the range.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/ranges/intersects.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Range = require('../classes/range');
import semver = require('../');
import semver = require('../index');

/**
* Return true if any of the ranges comparators intersect
Expand Down
2 changes: 1 addition & 1 deletion types/semver/ranges/ltr.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Range = require('../classes/range');
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return true if version is less than all the versions possible in the range.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/ranges/max-satisfying.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Range = require('../classes/range');
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return the highest version in the list that satisfies the range, or null if none of them do.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/ranges/min-satisfying.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Range = require('../classes/range');
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return the lowest version in the list that satisfies the range, or null if none of them do.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/ranges/min-version.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Range = require('../classes/range');
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return the lowest version that can possibly match the given range.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/ranges/outside.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Range = require('../classes/range');
import SemVer = require('../classes/semver');
import semver = require('../');
import semver = require('../index');

/**
* Return true if the version is outside the bounds of the range in either the high or low direction.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/ranges/simplify.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Range = require('../classes/range');
import semver = require('../');
import semver = require('../index');

/**
* Return a "simplified" range that matches the same items in `versions` list as the range specified.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/ranges/subset.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Range = require('../classes/range');
import semver = require('../');
import semver = require('../index');

/**
* Return true if the subRange range is entirely contained by the superRange range.
Expand Down
2 changes: 1 addition & 1 deletion types/semver/ranges/to-comparators.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Range = require('../classes/range');
import semver = require('../');
import semver = require('../index');

/**
* Mostly just for testing and legacy API reasons
Expand Down
2 changes: 1 addition & 1 deletion types/semver/ranges/valid.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Range = require('../classes/range');
import semver = require('../');
import semver = require('../index');

/**
* Return the valid range or null if it's not valid
Expand Down

0 comments on commit dca6a36

Please sign in to comment.