Repository navigation
Tags: denik1981/msw
Tags
chore(release): 0.39.2 [skip ci] ## [0.39.2](mswjs/msw@v0.39.1...v0.39.2) (2022-03-15) ### Bug Fixes * **parseIsomorphicRequest:** bypassing cookies properly ([mswjs#1155](mswjs#1155)) ([755bc9d](mswjs@755bc9d)) * remove console.log from "setRequestCookies" ([6f7ed98](mswjs@6f7ed98)) * set "credentials" to "same-origin" for "ClientRequest" ([mswjs#1159](mswjs#1159)) ([c3cd80a](mswjs@c3cd80a)) * set minimal supported Node.js version to 14 ([mswjs#1160](mswjs#1160)) ([d7ab139](mswjs@d7ab139))
fix: add fallback for "_defaultAgent" in ClientRequest (mswjs#1152)
fix(handleRequest): bypass request only if "x-msw-bypass" header equa… …ls "true" (mswjs#1110)
feat: update to @mswjs/interceptors 0.13.3 (mswjs#1095) * feat: update to @mswjs/interceptors 0.13.3 * chore: use the "headers-polyfill" package (mswjs#1102)
chore: update dependencies for 0.37.0 (mswjs#1098) * chore: update dependencies * chore: remove "@types/inquirer" dependency * deps: update "graphql" to 16.3.0
fix: allow variables inference in GraphQLRequest (mswjs#1081) * fix: allow variables inference in GraphQLRequest I noticed that the return type of a `graphql.query<T, N>...` call is `GraphQLHandler<GraphQLRequest<any>>` - it's not propagating the variables generic parameter into the return type. I assume this wasn't intentional. This change annotates the constructor of the `GraphQLHandler` class with the correct generic parameters, so the return type should now be `GraphQLHandler<GraphqlRequest<N>>`. * test(graphql): add variables inference typing test Co-authored-by: Artem Zakharchenko <kettanaito@gmail.com>
fix: update "@mswjs/cookies" for safe `localStorage` access (mswjs#1071)
PreviousNext