File tree Expand file tree Collapse file tree 5 files changed +0
-110
lines changed
Expand file tree Collapse file tree 5 files changed +0
-110
lines changed Original file line number Diff line number Diff line change @@ -147,10 +147,6 @@ async function checkNpm(
147147 }
148148}
149149
150- export async function packageHasTypes ( packageName : string ) : Promise < boolean > {
151- return versionHasTypes ( await pacote . manifest ( packageName , { cache : cacheDir , fullMetadata : true } ) ) ;
152- }
153-
154150function getRegularVersions (
155151 versions : pacote . Packument [ "versions" ]
156152) : readonly { readonly version : semver . SemVer ; readonly hasTypes : boolean } [ ] {
Original file line number Diff line number Diff line change 2020 "fstream" : " ^1.0.12" ,
2121 "hh-mm-ss" : " ^1.2.0" ,
2222 "longjohn" : " ^0.2.11" ,
23- "oboe" : " ^2.1.3" ,
2423 "pacote" : " ^13.6.1" ,
2524 "semver" : " ^7.3.7" ,
2625 "source-map-support" : " ^0.4.0" ,
3130 "@types/fs-extra" : " ^9.0.8" ,
3231 "@types/hh-mm-ss" : " ^1.2.1" ,
3332 "@types/mz" : " ^0.0.31" ,
34- "@types/oboe" : " ^2.0.28" ,
3533 "@types/pacote" : " ^11.1.5" ,
3634 "@types/source-map-support" : " ^0.4.0" ,
3735 "@types/yargs" : " ^15.0.4"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -77,24 +77,3 @@ class UpdatableConsole {
7777 this . charm . end ( ) ;
7878 }
7979}
80-
81- const firstLetter = "a" . charCodeAt ( 0 ) ;
82- const lastLetter = "z" . charCodeAt ( 0 ) ;
83- const charWidth = lastLetter - firstLetter ;
84- const strProgressTotal = charWidth * charWidth ; // 2 characters
85-
86- /** Tracks a string's progress through the alphabet. */
87- export function strProgress ( str : string ) : number {
88- const x = charProgress ( str . charCodeAt ( 0 ) ) * charWidth + charProgress ( str . charCodeAt ( 1 ) ) ;
89- return x / strProgressTotal ;
90-
91- function charProgress ( ch : number ) : number {
92- if ( Number . isNaN ( ch ) || ch <= firstLetter ) {
93- return 0 ;
94- }
95- if ( ch >= lastLetter ) {
96- return charWidth ;
97- }
98- return ch - firstLetter ;
99- }
100- }
Original file line number Diff line number Diff line change 19931993 resolved "https://registry.yarnpkg.com/@types/npmlog/-/npmlog-4.1.4.tgz#30eb872153c7ead3e8688c476054ddca004115f6"
19941994 integrity sha512-WKG4gTr8przEZBiJ5r3s8ZIAoMXNbOgQ+j/d5O4X3x6kZJRLNvyUJuUK/KoG3+8BaOHPhp2m7WC6JKKeovDSzQ==
19951995
1996- " @types/oboe@^2.0.28 " :
1997- version "2.0.28"
1998- resolved "https://registry.yarnpkg.com/@types/oboe/-/oboe-2.0.28.tgz#3afcb0cc949fcdf777861d96e8571f3b486f0fa7"
1999- integrity sha1-OvywzJSfzfd3hh2W6FcfO0hvD6c=
2000- dependencies :
2001- " @types/node" " *"
2002-
20031996" @types/pacote@^11.1.5 " :
20041997 version "11.1.5"
20051998 resolved "https://registry.yarnpkg.com/@types/pacote/-/pacote-11.1.5.tgz#3efc5eb49069206a678f5483a7e008af06788a66"
@@ -4849,11 +4842,6 @@ http-cache-semantics@^4.1.0:
48494842 resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390"
48504843 integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==
48514844
4852- http-https@^1.0.0 :
4853- version "1.0.0"
4854- resolved "https://registry.yarnpkg.com/http-https/-/http-https-1.0.0.tgz#2f908dd5f1db4068c058cd6e6d4ce392c913389b"
4855- integrity sha1-L5CN1fHbQGjAWM1ubUzjkskTOJs=
4856-
48574845http-proxy-agent@^4.0.1 :
48584846 version "4.0.1"
48594847 resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a"
@@ -7132,13 +7120,6 @@ object.values@^1.1.3:
71327120 define-properties "^1.1.3"
71337121 es-abstract "^1.18.2"
71347122
7135- oboe@^2.1.3 :
7136- version "2.1.5"
7137- resolved "https://registry.yarnpkg.com/oboe/-/oboe-2.1.5.tgz#5554284c543a2266d7a38f17e073821fbde393cd"
7138- integrity sha1-VVQoTFQ6ImbXo48X4HOCH73jk80=
7139- dependencies :
7140- http-https "^1.0.0"
7141-
71427123octokit-pagination-methods@^1.1.0 :
71437124 version "1.1.0"
71447125 resolved "https://registry.yarnpkg.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4"
You can’t perform that action at this time.
0 commit comments