Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
58fbf42
🤖 Merge PR #74030 feat(validator): update isIP() to let it accept opt…
hkleungai Nov 14, 2025
e8c5b72
🤖 Merge PR #74069 feat(isLatLong): add `options.checkDMS` to isLatLon…
hkleungai Nov 14, 2025
2c479b8
🤖 Merge PR #74070 feat(validator): fix matches() to correct the argum…
hkleungai Nov 14, 2025
86922c5
🤖 Merge PR #74059 Update DT references to deprecated @types/node glob…
Renegade334 Nov 14, 2025
dfa1afd
🤖 Merge PR #73945 Updates types for Recurly.js v4.39.1 by @recurly-in…
recurly-integrations Nov 14, 2025
b43f358
🤖 Merge PR #73920 fix(react-detect-offline): make BaseProps.polling t…
hkleungai Nov 14, 2025
454f2a5
[office-js,office-js-preview] Update support for Document.getFileAsyn…
AlexJerabek Nov 14, 2025
915009a
🤖 Merge PR #73968 feat(selenium-webdriver): update types & tests for …
hkleungai Nov 14, 2025
42a7314
🤖 Merge PR #73878 [ali-oss] add missing signatureUrlV4 type declarati…
KuSh Nov 14, 2025
1394466
Remove contributors with deleted accounts (#74005)
github-actions[bot] Nov 14, 2025
5158d08
🤖 Merge PR #73880 [rollup-plugin-peer-deps-external] fix: don't depen…
KuSh Nov 14, 2025
f8dd43a
🤖 Merge PR #73881 [dockerode] add missing pruneBuilder type definitio…
KuSh Nov 14, 2025
aad4ef4
🤖 Merge PR #74072 [chrome] update storage namespace by @erwanjugand
erwanjugand Nov 14, 2025
38242a1
🤖 Merge PR #74079 chore: remove @claudiopro from draft-js owners by @…
claudiopro Nov 14, 2025
1bd8116
[react] Remove `digest` from `ErrorInfo` (#74085)
eps1lon Nov 14, 2025
07cc592
🤖 Merge PR #73991 Add @types/js-untar type definitions by @aidinabedi
aidinabedi Nov 14, 2025
dd9f934
🤖 Merge PR #73867 [jasmine] separated setSpecProperty and setSuitePro…
HolgerJeromin Nov 14, 2025
b9d1c33
[office-js-preview] (Outlook) Document token status APIs (#74041)
samantharamon Nov 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -1600,7 +1600,7 @@
/types/draco3d/ @donmccurdy @horizon0514
/types/draco3dgltf/ @donmccurdy
/types/draft-convert/ @avaleriani @vadim-ch
/types/draft-js/ @dmitryrogozhny @eelco @ghotiphud @schwers @michael-yx-wu @willisplummer @smvilar @sulf @pablopunk @claudiopro @khawkinson @PeterDekkers @ankitr
/types/draft-js/ @dmitryrogozhny @eelco @ghotiphud @schwers @michael-yx-wu @willisplummer @smvilar @sulf @pablopunk @khawkinson @PeterDekkers @ankitr
/types/draftjs-to-html/ @1cheese
/types/drag-controls/ @MGHawes
/types/drag-timetable/ @chinkan
Expand Down Expand Up @@ -3220,7 +3220,6 @@
/types/html-escaper/ @panManfredini
/types/html-minifier/ @tkrotoff @peterblazejewicz
/types/html-minifier/v1/ @tkrotoff
/types/html-minifier-next/ @orpheus6678
/types/html-minifier-terser/ @peterblazejewicz
/types/html-parser/ @maxbogus
/types/html-pdf/ @westy92
Expand Down Expand Up @@ -5600,7 +5599,6 @@
/types/password-hash/ @mugeso
/types/password-hash-and-salt/ @alitaheri
/types/path-browserify/ @Methuselah96
/types/path-complete-extname/ @melangue
/types/path-is-absolute/ @mhegazy
/types/path-is-inside/ @aomarks
/types/path-regex/ @BendingBender
Expand Down Expand Up @@ -6246,7 +6244,6 @@
/types/react-gamepad/ @eventualbuddha
/types/react-gateway/ @jsonunger
/types/react-gauge-chart/ @meirkl
/types/react-geocode/ @stevemu
/types/react-geosuggest/ @brmenchl
/types/react-github-button/ @ifiokjr
/types/react-global-configuration/ @ryokik
Expand Down
36 changes: 36 additions & 0 deletions types/ali-oss/ali-oss-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,42 @@ const clusterClient = new OSS.ClusterClient(clusterOptions);

clusterClient.deleteMulti(["cluster"], { quiet: true });

// $ExpectType string
clusterClient.signatureUrl("ossdemo.txt", {
expires: 3600,
response: { "content-type": "text/custom", "content-disposition": "attachment" },
}, false);

// $ExpectType Promise<string>
clusterClient.asyncSignatureUrl("ossdemo.txt", {
expires: 3600,
response: { "content-type": "text/custom", "content-disposition": "attachment" },
}, false);

// $ExpectType Promise<string>
clusterClient.signatureUrlV4("GET", 60, undefined, "your object name");

// $ExpectType Promise<string>
clusterClient.signatureUrlV4(
"GET",
60,
{ headers: { "Cache-Control": "no-cache" }, queries: { versionId: "version ID of your object" } },
"your object name",
["Cache-Control"],
);

// $ExpectType Promise<string>
clusterClient.signatureUrlV4("PUT", 60, undefined, "your object name");

// $ExpectType Promise<string>
clusterClient.signatureUrlV4(
"PUT",
60,
{ headers: { "Content-Type": "text/plain", "Content-MD5": "xxx", "Content-Length": 1 } },
"your obejct name",
["Content-Length"],
);

const imageOptions: OSS.ImageClientOptions = {
imageHost: "xxxx",
accessKeyId: "xxxx",
Expand Down
19 changes: 17 additions & 2 deletions types/ali-oss/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,24 @@ declare namespace OSS {

deleteMulti(names: string[], options?: DeleteMultiOptions): Promise<DeleteMultiResult>;

signatureUrl(name: string, options?: SignatureUrlOptions): string;
signatureUrl(name: string, options?: SignatureUrlOptions, strictObjectNameValidation?: boolean): string;

signatureUrlV4(
method: HTTPMethods,
expires: number,
request?: {
headers?: object | undefined;
queries?: object | undefined;
},
objectName?: string,
additionalHeaders?: string[],
): Promise<string>;

asyncSignatureUrl(name: string, options?: SignatureUrlOptions): Promise<string>;
asyncSignatureUrl(
name: string,
options?: SignatureUrlOptions,
strictObjectNameValidation?: boolean,
): Promise<string>;

putACL(name: string, acl: ACLType, options?: RequestOptions): Promise<NormalSuccessResponse>;

Expand Down
2 changes: 1 addition & 1 deletion types/blocked/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

export = Blocked;

declare function Blocked(callback: (ms: number) => void, options?: Blocked.Options): NodeJS.Timer;
declare function Blocked(callback: (ms: number) => void, options?: Blocked.Options): NodeJS.Timeout;

declare namespace Blocked {
interface Options {
Expand Down
Loading