Skip to content

Commit

Permalink
Merge branch 'DefinitelyTyped:master' into mastercard-client-encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
eLoyyyyy committed May 22, 2024
2 parents c3a3fb6 + bf361d2 commit f4de7d1
Show file tree
Hide file tree
Showing 204 changed files with 11,131 additions and 3,102 deletions.
21 changes: 14 additions & 7 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
/types/applepayjs/ @martincostello
/types/applest-atem/ @k-yle
/types/appletvjs/ @brainded
/types/approximate-number/ @giokaxo
/types/apptimize__apptimize-web-sdk/ @innovation-team @rlbaxter
/types/arangodb/ @pluma
/types/arbiter/ @arash16
Expand Down Expand Up @@ -1015,6 +1016,7 @@
/types/command-shell-lib/ @TrueSkrillor
/types/commander-remaining-args/ @ffflorian
/types/commangular/ @hiraash
/types/commerce7__admin-ui/ @Weldawadyathink
/types/commercetools__enzyme-extensions/ @screendriver
/types/common-ancestor-path/ @BendingBender
/types/common-errors/ @icopp
Expand Down Expand Up @@ -1101,7 +1103,6 @@
/types/conventional-changelog-writer/ @JasonHK
/types/conventional-commits-detector/ @JamieMagee
/types/conventional-commits-parser/ @JasonHK
/types/conventional-recommended-bump/ @JasonHK @favna
/types/convert-array-to-csv/ @Qiming-Liu
/types/convert-excel-to-json/ @UNIDY2002
/types/convert-layout/ @xeningem
Expand Down Expand Up @@ -1891,6 +1892,7 @@
/types/eslint-plugin-markdown/ @JounQin
/types/eslint-plugin-mocha/ @rhysd
/types/eslint-plugin-prettier/ @ikatyang @JounQin
/types/eslint-plugin-security/ @rhysd
/types/eslint-scope/ @mysticatea
/types/eslint-utils/ @JoshuaKGoldberg
/types/eslint__eslintrc/ @gdlol
Expand Down Expand Up @@ -3559,6 +3561,7 @@
/types/iso8601-localizer/ @avielfedida
/types/isomorphic-fetch/ @toddlucas
/types/isomorphic-form-data/ @maxbogus
/types/isomorphic-git__openpgp-plugin/ @k-yle
/types/isotope-layout/ @avidenic @SPWizard01
/types/isstream/ @MasterOdin
/types/issue-parser/ @Leko
Expand Down Expand Up @@ -4172,7 +4175,6 @@
/types/langdetect/ @SaidTorres3
/types/langmap/ @grabofus @remcohaszing
/types/langs/ @orgads
/types/language-name-map/ @CreatorX64
/types/language-tags/ @remcohaszing
/types/lapo__asn1js/ @MysteryBlokHed
/types/laravel-vapor/ @saibotk
Expand Down Expand Up @@ -4834,7 +4836,6 @@
/types/mdurl/ @rokt33r
/types/mdv/ @peterblazejewicz
/types/mdx/ @ChristianMurphy @remcohaszing @wooorm
/types/mdx-js__react/ @ifiokjr
/types/meaningful-string/ @RDIL
/types/media-typer/ @BendingBender @peterblazejewicz
/types/media-typer/v0/ @BendingBender
Expand Down Expand Up @@ -5960,7 +5961,7 @@
/types/power-assert/ @vvakame @ChristianMurphy
/types/power-assert-formatter/ @vvakame
/types/power-radix/ @peterblazejewicz
/types/powerapps-component-framework/ @jopursle @kaushikkaul
/types/powerapps-component-framework/ @jopursle @kaushikkaul @rarattay @OliverDumrique @CoPrez @pjramirez-ms @Alex-MSFT @mikepenaMS
/types/powerbi-visuals-tools/ @zBritva @Microsoft
/types/pqclean/ @tniessen
/types/pragma/ @e6nlaq
Expand Down Expand Up @@ -5990,7 +5991,7 @@
/types/printer/ @chrispanag
/types/priorityqueuejs/ @geoffreak
/types/prismic-dom/ @nickw444 @sbilstein @douglasnomizo @henrymyers
/types/prismjs/ @RunDevelopment @ExE-Boss @eriklieben @andrewiggins @mmiszy
/types/prismjs/ @RunDevelopment @ExE-Boss @eriklieben @andrewiggins @typeofweb
/types/probability-distributions/ @sdankel
/types/probe-image-size/ @jineshshah36 @peterblazejewicz
/types/proc-log/ @legodude17
Expand Down Expand Up @@ -6091,6 +6092,7 @@
/types/puppeteer-lottie/ @peterblazejewicz
/types/purdy/ @YellowKirby
/types/pure-render-decorator/ @seansfkelley
/types/purify/ @ffflorian
/types/purifycss-webpack/ @garbetjie
/types/purl/ @danfma
/types/pusher__chatkit-client/ @alexhayton
Expand Down Expand Up @@ -6199,6 +6201,8 @@
/types/rdf-dataset-ext/ @thewilkybarkid
/types/rdf-dataset-indexed/ @thewilkybarkid
/types/rdf-ext/ @tpluscode @jeswr
/types/rdf-parser-csvw/ @tpluscode
/types/rdf-parser-csvw-xlsx/ @tpluscode
/types/rdf-store-fs/ @tpluscode
/types/rdf-transform-triple-to-quad/ @tpluscode
/types/rdf-utils-dataset/ @thewilkybarkid
Expand All @@ -6223,6 +6227,7 @@
/types/rdfjs__serializer-rdfjs/ @tpluscode @BenjaminHofstetter
/types/rdfjs__serializer-turtle/ @tpluscode
/types/rdfjs__sink-map/ @tpluscode @jeswr
/types/rdfjs__sink-to-duplex/ @tpluscode
/types/rdfjs__term-map/ @tpluscode @jeswr
/types/rdfjs__term-set/ @tpluscode @jeswr
/types/rdfjs__to-ntriples/ @tpluscode
Expand Down Expand Up @@ -6729,6 +6734,7 @@
/types/react-sizes/ @janKir @micahstubbs
/types/react-slick/ @GiedriusGrabauskas @r3nya @Shannor
/types/react-slider/ @jsonunger @bjorgvin @loichuder @axelboc
/types/react-smartbanner/ @PCOffline
/types/react-smooth-scrollbar/ @asvetliakov
/types/react-snapshot/ @gubareve
/types/react-sortable-tree/ @wouterhardeman @jzoric @kevinsperrine @acemac @dolezel
Expand Down Expand Up @@ -6832,7 +6838,7 @@
/types/read-json-sync/ @yoursunny
/types/read-package-tree/ @mgroenhoff
/types/read-time-estimate/ @rubek-joshi
/types/readable-stream/ @TeamworkGuy2 @markdreyer
/types/readable-stream/ @TeamworkGuy2 @markdreyer @mcollina
/types/readable-to-readable/ @tpluscode @ludovicm67
/types/readdir-glob/ @dolanmiu
/types/readdir-stream/ @Bartvds
Expand Down Expand Up @@ -7508,6 +7514,7 @@
/types/slocket/ @BendingBender
/types/slonik/ @sebald @mmkal
/types/slug/ @danielclausmeyer
/types/sluggo/ @RDIL
/types/sm-crypto/ @Moonisky
/types/smallest-enclosing-circle/ @ChocolateLoverRaj
/types/smallwei__avue/ @SoulLyoko
Expand Down Expand Up @@ -8111,7 +8118,7 @@
/types/treeverse/ @HugoMendes98
/types/tress/ @sindilevich
/types/triangle-wasm/ @danikaze
/types/trianglify/ @unindented
/types/trianglify/ @unindented @fdaciuk @mxthevs
/types/trie-prefix-tree/ @jlismore
/types/trim/ @skysteve
/types/triple-beam/ @danwbyrne
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
matrix: ${{ steps.matrix.outputs.matrix }}

steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
# Need this to be able to inquire about origin/master
filter: blob:none # https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/
Expand All @@ -39,7 +39,7 @@ jobs:
with:
node-version: '20'

- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0

- id: matrix
run: |
Expand All @@ -62,7 +62,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
# Need this to be able to inquire about origin/master
filter: blob:none # https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/
Expand All @@ -79,7 +79,7 @@ jobs:
printf "Aborting: symlinks found:\n%s" "$symlinks"; exit 1
fi
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0

- name: Get pnpm cache info
id: pnpm-cache
Expand Down Expand Up @@ -131,12 +131,12 @@ jobs:
- test

steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'

- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
run_install: |
- args: [--filter, ., --filter, '{./scripts}...']
Expand Down Expand Up @@ -168,12 +168,12 @@ jobs:
if: github.repository == 'DefinitelyTyped/DefinitelyTyped'

steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'

- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
run_install: |
- args: [--filter, ., --filter, '{./scripts}...']
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/UpdateCodeowners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
if: github.repository == 'DefinitelyTyped/DefinitelyTyped'

steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0

- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
run_install: |
- args: [--filter, ., --filter, '{./scripts}...']
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format-and-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'DefinitelyTyped/DefinitelyTyped'
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
# Use a deploy key so that CI triggers on pushes; we want to know if formatting broke something.
ssh-key: ${{ secrets.DEPLOY_KEY }}
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'

- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
run_install: |
- args: [--filter, ., --filter, '{./scripts}...']
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ghostbuster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
if: github.repository == 'DefinitelyTyped/DefinitelyTyped'

steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'

- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
run_install: |
- args: [--filter, ., --filter, '{./scripts}...']
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'DefinitelyTyped/DefinitelyTyped'
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
run_install: |
- args: [--filter, ., --filter, '{./scripts}...']
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pnpm-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
create-cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0

- name: Get pnpm cache info
id: pnpm-cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/support-window.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
if: github.repository == 'DefinitelyTyped/DefinitelyTyped'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
run_install: |
- args: [--filter, ., --filter, '{./scripts}...']
Expand Down
1 change: 0 additions & 1 deletion attw.json
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,6 @@
"rbush",
"rc-switch",
"rc-tooltip",
"rdf-utils-dataset",
"rdfjs__serializer-rdfjs",
"react-add-to-calendar",
"react-animals",
Expand Down
8 changes: 8 additions & 0 deletions notNeededPackages.json
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,10 @@
"libraryName": "contentstack",
"asOfVersion": "3.11.0"
},
"conventional-recommended-bump": {
"libraryName": "conventional-recommended-bump",
"asOfVersion": "10.0.0"
},
"convert-hrtime": {
"libraryName": "convert-hrtime",
"asOfVersion": "3.0.0"
Expand Down Expand Up @@ -3409,6 +3413,10 @@
"libraryName": "mdarea",
"asOfVersion": "2.0.0"
},
"mdx-js__react": {
"libraryName": "@mdx-js/react",
"asOfVersion": "2.0.0"
},
"mem": {
"libraryName": "mem",
"asOfVersion": "4.2.0"
Expand Down
2 changes: 2 additions & 0 deletions types/aws-lambda/test/appsync-resolver-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ const authorizerHandler: AppSyncAuthorizerHandler<AuthorizorTestArguments> = asy
str = event.requestContext.requestId;
anyObj = event.requestContext.variables;
strOrUndefined = event.requestContext.operationName ? event.requestContext.operationName : undefined;
const headers = event.requestHeaders; // $ExpectType AppSyncAuthorizerEventHeaders
strOrUndefined = event.requestHeaders["example"];

return {
isAuthorized: true,
Expand Down
5 changes: 5 additions & 0 deletions types/aws-lambda/trigger/appsync-resolver.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ export interface AppSyncResolverEventHeaders {
[name: string]: string | undefined;
}

export interface AppSyncAuthorizerEventHeaders {
[name: string]: string | undefined;
}

export type AppSyncIdentity =
| AppSyncIdentityIAM
| AppSyncIdentityCognito
Expand Down Expand Up @@ -76,6 +80,7 @@ export interface AppSyncAuthorizerEvent {
operationName?: string;
variables: { [key: string]: any };
};
requestHeaders: AppSyncAuthorizerEventHeaders;
}

export interface AppSyncAuthorizerResult<TResolverContext = undefined> {
Expand Down
2 changes: 1 addition & 1 deletion types/babel__traverse/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export class Binding {
export type Visitor<S = unknown> =
& VisitNodeObject<S, Node>
& {
[Type in Node["type"]]?: VisitNode<S, Extract<Node, { type: Type }>>;
[N in Node as N["type"]]?: VisitNode<S, N extends { type: N["type"] } ? N : never>;
}
& {
[K in keyof t.Aliases]?: VisitNode<S, t.Aliases[K]>;
Expand Down
File renamed without changes.
Loading

0 comments on commit f4de7d1

Please sign in to comment.