-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,12 +28,12 @@ export type DiffType = 'major' | 'minor' | 'patch' | 'error' | null | |
// @types/pacote uses "import = require()" syntax which is not supported by unbuild | ||
// So instead of using @types/pacote, we declare the type definition with only fields we need | ||
export interface Packument { | ||
name: string | ||
'name': string | ||
/** | ||
* An object where each key is a version, and each value is the manifest for | ||
* that version. | ||
*/ | ||
versions: Record<string, Omit<Packument, 'versions'>> | ||
'versions': Record<string, Omit<Packument, 'versions'>> | ||
/** | ||
* An object mapping dist-tags to version numbers. This is how `foo@latest` | ||
* gets turned into `[email protected]`. | ||
|
@@ -43,7 +43,7 @@ export interface Packument { | |
* In the full packument, an object mapping version numbers to publication | ||
* times, for the `opts.before` functionality. | ||
*/ | ||
time: Record<string, string> & { | ||
'time': Record<string, string> & { | ||
created: string | ||
modified: string | ||
} | ||
|