Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Mock Service Worker

A seamless REST/GraphQL API mocking library for JavaScript applications.
Collective - Host: opensource - https://opencollective.com/mswjs - Website: https://mswjs.io - Code: https://github.com/mswjs/msw

onUnhandledRequest: Removes unnecessary types, puts readmore link on a new line

github.com/mswjs/msw - 893eecf2d8a47ea3b9d2ffecc3b651b023f33b20 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds similarity score delta for handlers with the same method/operation type

github.com/mswjs/msw - 644aed4c6118d69ab7cd67f0e10a3a1542e42a38 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Suggests a similar request handler for an unhandled GraphQL API request

github.com/mswjs/msw - 4f6d19eeca24fb34777779df18c4313b15a7ff8e authored almost 4 years ago by Artem Zakharchenko <[email protected]>
test: fix failing test

github.com/mswjs/msw - aff98f916f37aba6fae2262f4679bea0bbfe8486 authored almost 4 years ago by timdeschryver <[email protected]>
onUnhandledRequest: Uses "console.error" instead of throwing an exception

github.com/mswjs/msw - 1ef0c5b7729360cfd1e9ef3539ba421abee8db5c authored almost 4 years ago by Artem Zakharchenko <[email protected]>
fix: support getCallFrame in Node on Windows

github.com/mswjs/msw - 63654bfc8d04060ae04a41b4fad32b907a2325cc authored almost 4 years ago by Peter Hozak <[email protected]>
fix: getCallFrame does not need to throw #562

github.com/mswjs/msw - f7bf35952edfa2f54771a0aa941d3656ccc4e100 authored almost 4 years ago by Peter Hozak <[email protected]>
fix: support getCallFrame in more browsers

github.com/mswjs/msw - d524780f2e257f98d48b800bb290730a9ee6a6a3 authored almost 4 years ago by Peter Hozak <[email protected]>
code review updates

github.com/mswjs/msw - 4a1e0acc67d4ee53fceb942a5284363f1c72d534 authored almost 4 years ago by Peter Hozak <[email protected]>
Uses explicit null as 204 response body when handling the "response" worker event

github.com/mswjs/msw - 93388d1df2330a0a09692bb82bb64eb58a267a31 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
v0.26.0

github.com/mswjs/msw - b15ba7300044a7b193f42082c6b277290d21dc10 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Updates project dependencies

github.com/mswjs/msw - 96501b42e07d572a37a5023ff9828bbc3b44bf9a authored almost 4 years ago by Artem Zakharchenko <[email protected]>
mockServiceWorker: Uses "self" instead of "this"

github.com/mswjs/msw - a7b4d3f8eaf353cd17f727f9443b097d3d9f6930 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
mockServiceWorker: Checks for "clientId" and "this.clients" before handling a "message" event

github.com/mswjs/msw - c18119056efaa532f6a7019c84d5ec721214c8a4 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
fix: add client guards in service worker

github.com/mswjs/msw - d159b5c23af17b6a01de9b853f6685a8e9f4d905 authored almost 4 years ago by timdeschryver <[email protected]>
setupWorker: Ignores messages posted from unrelated workers

github.com/mswjs/msw - 53169f67a2b4d966ef646b21f6816ce21eff9261 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Retrieves worker client from "ServiceWorkerGlobalScope" instead of "FetchEvent.target"

github.com/mswjs/msw - 165d6d73b32c19643d32b440a15f05a96dd83190 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Checks for the "responseJson.type" before determining an opaque response

github.com/mswjs/msw - af0dada2420a31d2dc17b4d3aeae55914c9ff205 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Annotates response JSON sent from the worker

github.com/mswjs/msw - 90b0a2aac1469daf804ad90f8024f99a074b1a11 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
createResponseListener: Bypasses "opaque" responses

github.com/mswjs/msw - 582a87687c244c5a5fb4d2cb09598b4e307aacac authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Awaits a CORS resource "load" event instead of "sleep"

github.com/mswjs/msw - c14d9ee0f8b4f259c25f6bda7fa0ea8aa7d4fa70 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Uses a test server with a CORS policy for CORS integration test

github.com/mswjs/msw - 5a88a299d626b6c533a5aa2878aedaa32c93ae87 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
test: add reproduction for #529

github.com/mswjs/msw - 4482ef1ed9136ae43f71b3943431caae9dbde22f authored almost 4 years ago by timdeschryver <[email protected]>
fix: remove unnecessary type annotation

github.com/mswjs/msw - 2881866e9a072fc314188706dac87ff76eef4907 authored almost 4 years ago by T. Kameyama <[email protected]>
parseMultipartData: Polishes the utility function

github.com/mswjs/msw - 0178b9f4feaaf9b10af68958bc5d1822bfd33dd7 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
fix: `executeOperation` to support file upload

github.com/mswjs/msw - 91068fad87bc1d2fc6efd2bcdf185c50291f2d2c authored almost 4 years ago by T. Kameyama <[email protected]>
fix: rename `jsonRes` to `body`

github.com/mswjs/msw - 76b263fb80ea6815e8f7f6d446e770a12205a617 authored almost 4 years ago by T. Kameyama <[email protected]>
add: multipart tests

github.com/mswjs/msw - 3f4b135d5619adf40780906cf31a2a4b8d7ec2e8 authored almost 4 years ago by T. Kameyama <[email protected]>
fix: use backslash to escape newline

github.com/mswjs/msw - 3c7b340c1e6272275b1ee6800811bd0bfd59aaeb authored almost 4 years ago by T. Kameyama <[email protected]>
fix: move a logic of multipart body to a function

github.com/mswjs/msw - 57a5be544c8d980cbf62aac589e55041fe2b1c38 authored almost 4 years ago by T. Kameyama <[email protected]>
fix: use `Promise.all` instead of `for-of`

github.com/mswjs/msw - 3c1b4a00d4b38fc75d7bd13f30f6616bf8d00243 authored almost 4 years ago by T. Kameyama <[email protected]>
fix: rename `multipartParse` to `parseMultipartData`

github.com/mswjs/msw - 71aa2128e21dbd221dd9dd0ee170a568dae6deab authored almost 4 years ago by T. Kameyama <[email protected]>
add: multipart test for rest API

github.com/mswjs/msw - 406b8da520699129e1a89bf15867bd4bc70031e5 authored almost 4 years ago by T. Kameyama <[email protected]>
add: variables building function

github.com/mswjs/msw - efbbc1eaccca8b7454a9d5b242810d6301992465 authored almost 4 years ago by T. Kameyama <[email protected]>
add: multipart support for GraphQL

github.com/mswjs/msw - e55e5cf455a1071f7133ece323a527d663ffdf7b authored almost 4 years ago by T. Kameyama <[email protected]>
fix: tests

github.com/mswjs/msw - 270bc821960ccb76fb9dabe3d5fc6b3ceec6cd6a authored almost 4 years ago by T. Kameyama <[email protected]>
fix: parser to accept any number of hyphens in

boundary

github.com/mswjs/msw - e4eeec3dbf6070f479f32abec0e5409dad5553e5 authored almost 4 years ago by T. Kameyama <[email protected]>
revert: test changes to call cleanup explicitly

github.com/mswjs/msw - 4dbc6806be9449c9aed52034f326ad71a388c10a authored almost 4 years ago by T. Kameyama <[email protected]>
add: multipart parser

github.com/mswjs/msw - 582fb13be8f789ff3df1dc216279b52a18515280 authored almost 4 years ago by T. Kameyama <[email protected]>
fix: use `(before|after)All` in tests to prevent

memory leak

github.com/mswjs/msw - 554f2851e3f883ee93299787374e09d59d10d0f8 authored almost 4 years ago by T. Kameyama <[email protected]>
Moves "multipart" test to "multipart-data" test

github.com/mswjs/msw - c45cf148784780b352215d79c3d3cfa5ad50e5b4 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Updates project dependencies

github.com/mswjs/msw - 69a61136f7b674a887a77e998aba44cf54e44850 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds "getClient" utility for GraphQL (Apollo)

github.com/mswjs/msw - 432d257d294a18b86ff090f0caaa68fd545bdb2b authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds a browser integration test for GraphQL response patching

github.com/mswjs/msw - adec010ebab0faf8a58d59f06f833af9f95950dd authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds "@apollo/client"

github.com/mswjs/msw - 153dc88b8f21e4ad2a3b9bbf9465b20aed6349cf authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Replaes "@apollo/client" with a minimal GraphQL client

github.com/mswjs/msw - 60dc969c39c15abd6098e07fa5a1245312b073bf authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds "@open-draft/test-server" package

github.com/mswjs/msw - 114ed266e2f1662c26796fb21efb88ca4eea7fa9 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds assertion for the missing internal "map" Headers property when patching responses

github.com/mswjs/msw - 28b635d5cd4f8c204846432848cc2517014c3fb2 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds GraphQL response patching integration test

github.com/mswjs/msw - 9ef981a9ab86e87e2a113fa1c8680b85dc6fb0a3 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
ctx.errors: Marks "GraphQLError" as readonly

github.com/mswjs/msw - 2971958722f183e97633185a0d15ddc1e302aea3 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds GraphQL compatibility test with the "graphql" package

github.com/mswjs/msw - b99be78eede52ebde08c48fc78f773cce3840a6c authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds the "runtime.makeUrl" utility

github.com/mswjs/msw - 093769b72bb52fc415f53c95d5eb9c5457d6da64 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Uses "toContain" assertion methods on "messages" where applicable

github.com/mswjs/msw - 985869d08f7e9210b863fb7247d11a2553a17b3b authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Stores "msw" references on the "window" object in a type-safe way

github.com/mswjs/msw - 3716de20edd648e5935b04d54e0fda94a50fe758 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Uses the internal "sleep" util instead of a custom "setTimeout"

github.com/mswjs/msw - f0b6f09e2a13d03c7efcfeb7e6ad99e9146f4002 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
feat(createStop): add console.groupCollapsed if msw is disabled

github.com/mswjs/msw - 507ff7e1e26d2c8b5af521b0cc503f6012efa9c7 authored almost 4 years ago by Tiger Abrodi <[email protected]>
Polishes delay integration tests names

github.com/mswjs/msw - 9b667c74f635735e1b941baf61db9f1b77c5a5e3 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Exports "DelayMode" publicly

github.com/mswjs/msw - 49b7050c442dda3b012fa0df90b5e6248626e296 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
ctx.delay: Support delay modes

github.com/mswjs/msw - 99adbcfad5fde4c70141da025e128e0ef3c8a3df authored almost 4 years ago by Artem Zakharchenko <[email protected]>
ctx.delay: Adds unit tests for delay modes and max durations

github.com/mswjs/msw - b9c0253ee73bbdbfc32c67a1d7a4656580dc0cd6 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Use unknown type instead of any type

In this case unknown would be a better type, since msw by itself doesn't care and users need to ...

github.com/mswjs/msw - 143ce3d641fc00ca7f6da8073fcb0a96b47414fd authored almost 4 years ago by Markus Wolf <[email protected]>
fix: send null body and not empty string

`response.text()` will return an empty string if the body is null.This will create some issue wh...

github.com/mswjs/msw - 40920214c1c22a06d640cc3a1006528e2ba6e679 authored almost 4 years ago by marcosvega91 <[email protected]>
test: check if an exception has not been thrown

github.com/mswjs/msw - a2449ddfc3a611574ef8e0580af950a584ed90ef authored almost 4 years ago by marcosvega91 <[email protected]>
v0.25.0

github.com/mswjs/msw - 9c894760fef38f84d8fd4841a837a5ab6e1c5ec7 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Scopes worker channel helpers in "context.workerChannel"

github.com/mswjs/msw - 2004f3c2b04cc4aeeacee5972886c318b161bc55 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Renames "LifecycleEmitter to "StrictEventEmitter"

github.com/mswjs/msw - a8f45bd779213c77692df52b31d7f1150af5c595 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds life-cycle events to "setupServer"

github.com/mswjs/msw - a91c4112e9aa97da33cbedf43aaefd801611c713 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds basic lifecycle events

github.com/mswjs/msw - 9f2df68b2c6f95f463dcd1eefb1cd5e01ebda9c9 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Annotates incoming events from the worker

github.com/mswjs/msw - 85b63561bfa8d02163f83a92af382ca76fd69b3e authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Generates UUID for each request

github.com/mswjs/msw - 80426bb0122e4f39d90c40ad4932a774968c3be6 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds integration tests for the life-cycle API events

github.com/mswjs/msw - 433c3e60a027c5b7c45b43774e68f75337c0c714 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds the "RESPONSE" message event from the worker

github.com/mswjs/msw - 064ce29b70bb72dcff3e311d4221c88251341a23 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Annotates outgoing and fetch worker events

github.com/mswjs/msw - c50c8e16ad9e8bba64cdc45cb86914cb0ba28ec2 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
setupWorker: Renames "type" to "eventType" to prevent confusion

github.com/mswjs/msw - 9314c40a303a5312234bce3e6bd96d1815ea12cb authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Normalizes already parsed Service Worker request

github.com/mswjs/msw - c07f3944250ac01ee6d0d0f6ccfac259963f8830 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Uses context listeners to handle worker events

github.com/mswjs/msw - 37adc81b8aacf3a05f84167182481a95860fc85b authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Uses "strict-event-emitter" for life-cycle events

github.com/mswjs/msw - 934f7d840b5fb2cb5fd103e2d200335eb9624dd1 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Adds "request:match" lifecycle event

github.com/mswjs/msw - e3e9b72cfa5ea80337a5ad8c8a690d73e19c3107 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Removes all lifecycle listeners on "worker.stop"

github.com/mswjs/msw - 5e5273b1dd80a563642748ed7e11dcf052454015 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Supports "response:bypass" event in NodeJS

github.com/mswjs/msw - f418117669ce40cc3d454759b1ccf570b35df1d1 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Renames "handleRequestWith" to "createRequestListener"

github.com/mswjs/msw - b3d165d16b70ab317e3ea29e57671038fdcaa2f7 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
v0.24.4

github.com/mswjs/msw - 15343a30e62c3778a16a912a5a61474cb0305a81 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
export type, `RestContext`

github.com/mswjs/msw - fa703266f91885868aab5c26dddafbaea0e89c81 authored almost 4 years ago by Vince Malone <[email protected]>
v0.24.3

github.com/mswjs/msw - 98dbcee41bbc4506595128c2e8ce8b5b15074961 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Reformats misformated code

github.com/mswjs/msw - a59927f825abb220e60765e3b0dca8900e24b195 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
Updates dependencies

github.com/mswjs/msw - aba935cd5cd24218a4ccc724f979c940981db548 authored almost 4 years ago by Artem Zakharchenko <[email protected]>
set the output bundle to production mode

github.com/mswjs/msw - cc81abcce045f32bfebfb341d54a45fe98822be8 authored almost 4 years ago by arnaudNYC <[email protected]>
removed unnecessary comma

github.com/mswjs/msw - d396eec94f5c904e48bc783157455d40a57a17f5 authored almost 4 years ago by arnaudNYC <[email protected]>
export as an iife

github.com/mswjs/msw - 81ec4b4e5809de567aaa107b0bbf3c815b796afe authored almost 4 years ago by arnaudNYC <[email protected]>
build(deps): bump node-notifier from 8.0.0 to 8.0.1

Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release...

github.com/mswjs/msw - 4e14894ccec9fb6fc74a777077b28db10cd0d0f8 authored about 4 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix typo in a registration error message

github.com/mswjs/msw - 91cefafafe178f233d30c50ccfb8d249cb2c7db9 authored about 4 years ago by Masaya Nakamura <[email protected]>
v0.24.2

github.com/mswjs/msw - 59fb2684501e198d5cdd7303086025022b5e19b8 authored about 4 years ago by Artem Zakharchenko <[email protected]>
build(deps): bump ini from 1.3.5 to 1.3.7

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github...

github.com/mswjs/msw - 030173d208ec7fc9a7108c43f460916e529a0547 authored about 4 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
graphql: Annotates "ResponseComposition" generic

github.com/mswjs/msw - 8a5f573aed97dadce448df7e4acfb0d23d8eb18c authored about 4 years ago by Artem Zakharchenko <[email protected]>
Fixes eslint warnings

github.com/mswjs/msw - 55f1abd263e7ec8f3514ca59f702ea91e965b2cd authored about 4 years ago by Artem Zakharchenko <[email protected]>
v0.24.1

github.com/mswjs/msw - 8efe6fbb20e70f352f04e79165f6d54d9a58e519 authored about 4 years ago by Artem Zakharchenko <[email protected]>
Improves "setupWorker" JSDoc

github.com/mswjs/msw - 043788ba0993de812ad860acabb5ad1e60faf89f authored about 4 years ago by Artem Zakharchenko <[email protected]>
ctx.data: Fixes ambiguous JSDoc description

github.com/mswjs/msw - 517d8c2a3aa6e54aca055f0148a69b20cc0b3d15 authored about 4 years ago by Artem Zakharchenko <[email protected]>
Improves "graphql" handlers JSDoc

github.com/mswjs/msw - 833887261cdc8a9cba3ea5ee8f87f8e92878ea3b authored about 4 years ago by Artem Zakharchenko <[email protected]>
Improves context utilities JSDoc

github.com/mswjs/msw - 8f989ef5fdc1680aac1d78f2e4d785ab93767bc1 authored about 4 years ago by Artem Zakharchenko <[email protected]>