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

graphql (log): Adds "operationType" to the log

github.com/mswjs/msw - 169e6435bba33a212a4c254405cee94df99cfc44 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds GraphQL mutation log integration test

github.com/mswjs/msw - 3880096fe7c6e4ea2ab958b6e0e6a5b208668a17 authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.16.2

github.com/mswjs/msw - c2ddeddd74c46abaf9e1032411e5c03209bd69f4 authored over 4 years ago by Artem Zakharchenko <[email protected]>
graphql: Provides an operation name as the "mask" value

github.com/mswjs/msw - e757c04591da74c03d0a53d7074346d50bda12a4 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Extends request handler to have a "log" method

github.com/mswjs/msw - e3bbb56b445fe2828ec093508e245f3fe1c81162 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds logging integration tests for REST API

github.com/mswjs/msw - a569342d02cdb2bd042db43c6fe3caf57141dd2c authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds "captureConsole" testing utility

github.com/mswjs/msw - 51a19f2bec04a01d932e4f6c75483d756daad3de authored over 4 years ago by Artem Zakharchenko <[email protected]>
Uses "captureConsole" utility for browser console assertions

github.com/mswjs/msw - b6865ce50bd302179014fcd1fe0c0a3943ac18f0 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds "apollo-fetch"

github.com/mswjs/msw - 6ea2341dcfd82004c37129eb3cab7f3f3edff82f authored over 4 years ago by Artem Zakharchenko <[email protected]>
setupServer: Adds integration test for graphql

github.com/mswjs/msw - 4beda6513cc60c1a4c8e506c4ffc5b61a49b68d5 authored over 4 years ago by Artem Zakharchenko <[email protected]>
setupServer: Parses a request JSON body

github.com/mswjs/msw - 85bb2d07905bfb2b0535a1cc3c4cd80c2d985201 authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.16.1

github.com/mswjs/msw - af11f45b5506907886173e9227cdadcbd37aedd5 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds explanatory comment for a request handler without response

github.com/mswjs/msw - 6c45a7e2c1f5ef8e39fd02e0f3f3c9a38c1c044f authored over 4 years ago by Artem Zakharchenko <[email protected]>
Parses a JSON request body of the intercepted request

github.com/mswjs/msw - 01dfef53bd4fb60e116d4ddfb191e183d53e6167 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Parses a response JSON body in logs

github.com/mswjs/msw - 7c8388f4788d8d901a7856033bb79678e5dde587 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Updates the logo subtitle

github.com/mswjs/msw - ebba577532c3097548512dbd780c933c5e50a48c authored over 4 years ago by Artem Zakharchenko <[email protected]>
logger: Compares "req.referrer" to "req.url.origin"

github.com/mswjs/msw - 0efad868a329bbb1f82faee7dbdec56fe2ea394a authored over 4 years ago by Artem Zakharchenko <[email protected]>
mockServiceWorker: Retrieves a JSON body only if the respective "Content-Type" header is set

github.com/mswjs/msw - f6cec6ae31c61e44d68fc663998a2f71ec0e177b authored over 4 years ago by Artem Zakharchenko <[email protected]>
rest: Converts methods to upper case before comparing

github.com/mswjs/msw - f19ae359d6d0baab6e0b030836061715aaedc823 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Removes the "examples" directory

github.com/mswjs/msw - 7f80eb0857bd04dd9fc762207f092352821fcd36 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Forwards to the examples repo from the README

github.com/mswjs/msw - 71613774b451f471e087b18cc8b3864e2380b725 authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.16.0

github.com/mswjs/msw - bcb9de98fc382c290cbc0cf245cd24053cd9ed3f authored over 4 years ago by Artem Zakharchenko <[email protected]>
Specifies NodeJS builtins for node CJS bundle

github.com/mswjs/msw - e09270018600c854152c5ffe87aa84a3a45fe78d authored over 4 years ago by Artem Zakharchenko <[email protected]>
Uses direct import of "getCleanUrl" utility

github.com/mswjs/msw - 0e89e4ab0f30922581c8a2a798a07fec15aed37e authored over 4 years ago by Artem Zakharchenko <[email protected]>
getResponse: Removes response headers serialization

github.com/mswjs/msw - e075187a9c11618c8e108443043dbf51d5a52b0a authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds "https.get"/"https.request" unit test with "setupServer"

github.com/mswjs/msw - a09dffc86b1a6481af5d80367de4bb88cb499ab0 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Uses a Headers polyfill from "headers-utils"

github.com/mswjs/msw - 0b32765a3f39b73206da3b42686970c514fd5d6a authored over 4 years ago by Artem Zakharchenko <[email protected]>
Asserts "Content-Type" header in fetch unit test of "setupServer"

github.com/mswjs/msw - b2e9dd5dea2aa9eff7a29e04120faa8b8c77b2eb authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds XHR unit test with "setupServer"

github.com/mswjs/msw - f515392e5f52407d10a0d94be72a1f677f4306f3 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Builds a node bundle into "node" directory

github.com/mswjs/msw - acc977fb06613119701353f10395c5c9658c902b authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds basic "http.request" mock

github.com/mswjs/msw - 49f67a3c838e86800887ec58252648892dddb558 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Isolates response retrieving logic into a "getResponse" function

github.com/mswjs/msw - 8647984894a29e873823768c287f1cbd0d88a492 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Asserts explicit null when getting a non-existing header

github.com/mswjs/msw - 69561262d357e49d63b43c1b741234d48dfe525c authored over 4 years ago by Artem Zakharchenko <[email protected]>
Serializes Headers instance in Puppeteer runs

github.com/mswjs/msw - 6b4af751dd591f2a4c9ea7945fcd050f5dabd853 authored over 4 years ago by Artem Zakharchenko <[email protected]>
WIP Adds NodeJS support

github.com/mswjs/msw - 2cc2d0a24cb96c80bd8ec06d3a91e1df36703329 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Uses "headers-utils" for Headers transformations

github.com/mswjs/msw - 2a17ab9f35acab0ef3afac75f83558e23239f2c8 authored over 4 years ago by Artem Zakharchenko <[email protected]>
setupServer: Maps "query" and respects delayed response

github.com/mswjs/msw - cc70d92e2b884a0c5842ecf1dc21ee59b3da9078 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds "http.get"/"http.request" unit test with "setupServer"

github.com/mswjs/msw - 404bda8b160c1578cd4d0206ecde72a47352bb85 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Bumps "node-requrest-interceptor" to 0.1.7

github.com/mswjs/msw - 53dc1b364467a0a280397787af511d856ada2797 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Annotates returned mocked interceptor response

github.com/mswjs/msw - 20816264b724617772c9798cf292c5bc436384ab authored over 4 years ago by Artem Zakharchenko <[email protected]>
Uses listen/close vocabulary when dealing with setupServer

github.com/mswjs/msw - 44ceb0c33cd64cc2278ae922a5376ad0fbf2b404 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Updates the logo in README

github.com/mswjs/msw - 15a736883c15a40d9d8b7eda02e342c5332e0148 authored over 4 years ago by Artem Zakharchenko <[email protected]>
getResponse: Strips off query and hash from url before getting params

github.com/mswjs/msw - d0281e1bd49bdaa7ce65afdfdb2efd45a4a1bba3 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Converts request and response headers to object for logs

github.com/mswjs/msw - 105e27edabe123786966e0c68acb75b54e7ade2f authored over 4 years ago by Artem Zakharchenko <[email protected]>
Sets "req.url" to be an instance of URL. Removes "req.query" in favor of "req.url.searchParams"

github.com/mswjs/msw - e45659de1aef0b41890537e771aa9e8bfc801b85 authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.15.9

github.com/mswjs/msw - b9dacdbdb887807df579e518fda4c871b1901ef4 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Unregisters itself when clients.matchAll() is empty

github.com/mswjs/msw - d5d3e1fd92f7cb5f03e1b83669784e84d0eacfcd authored over 4 years ago by Artem Zakharchenko <[email protected]>
Modify the default url the mockServiceWorker.js file is served from to be the domain root rather than relative to the starting url

github.com/mswjs/msw - 6a1182d8847efa26a201fc6a37cf3e1f3ea593dc authored over 4 years ago by Mitch Conquer <[email protected]>
fetch: Gets JSON body only if the respective Content-Type is set

github.com/mswjs/msw - 23569efdaefe24f0a92b94c2ef765505ae1336ea authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.15.8

github.com/mswjs/msw - f9b8481ac8a3e96e28b1c4d713ccd9cb6e305861 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds integration tests for preserving the original request headers when patching a response

github.com/mswjs/msw - a74b9aa9bf9763e8744e3141bd7d56ecb3d70e53 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Issue #145 ctx.fetch() not keeping original headers

github.com/mswjs/msw - b7092101d078e813f1208c3f1e1ef2f52527a773 authored over 4 years ago by Juhana Jauhiainen <[email protected]>
fetch: Restructures the unit test

github.com/mswjs/msw - 890965757b38049769a66cd306d8bf04a5880d09 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Provides a meaningful error message when Service Worker is not supported

github.com/mswjs/msw - 1d30ff956de8c62d8b1c671b5350bb8d397809e9 authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.15.7

github.com/mswjs/msw - d812597b238cb95b99453161dd30e9a1bd11ae5d authored over 4 years ago by Artem Zakharchenko <[email protected]>
Configures build to point to the built service worker

github.com/mswjs/msw - ec455745d4ee4b502136c4024624d935a3d9aec6 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Removes the magic /*#__PURE__*/ comment

github.com/mswjs/msw - 5f596bc1b840921fc6cbed7565abdad4e5f83263 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Splits bundle into mutliple entries to support tree shaking

github.com/mswjs/msw - 241572db67dc9b9f81c498d0db1e45b0477296a6 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds GitHub sponsor option

github.com/mswjs/msw - 804169046db6eb053c31e3fb59b8bd8298274476 authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.15.6

github.com/mswjs/msw - e3aa8c7cec6c158726c3ad5185b6e0f1306d3bc1 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds a "getAbsoluteWorkerUrl" utility

github.com/mswjs/msw - 75db5286ac77a4c31db524ef4bedefe59f1aceec authored over 4 years ago by Artem Zakharchenko <[email protected]>
Replaces negative lookbehind with a URL constructor

github.com/mswjs/msw - e77db77ad5f70b8bff1d704fdb971f9f5b6c9092 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds "getCleanUrl" utility

github.com/mswjs/msw - 59917a08bd2f1cae365db44956eea28e48afdd85 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Passes clean URL to the params matcher

github.com/mswjs/msw - 0011e9972305cf4a0c869f5eb01ac617d340c401 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Changes "test.request()" predicate to ignore query params and hashes

github.com/mswjs/msw - c8220b17c35482bdaf078ed56da391ad3a0a7fc5 authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.15.5

github.com/mswjs/msw - a9b709aad03e259b08bbb27e2be16813635cb900 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Fixes unexpected res delay gets

github.com/mswjs/msw - 60096c2ad1df28b211667ee089333f7240702742 authored over 4 years ago by guanwei <[email protected]>
Removes opinionated vscode formatting settings

github.com/mswjs/msw - 87856d55faf2b878a6df3970754ed578b6849767 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Removes ineffective dependabot configuration

github.com/mswjs/msw - e687e7702b87b19a8089e66132e3a83f8249a3c0 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds CLI init command integration test

github.com/mswjs/msw - c67af0597cb0ba6763e90f02fc91625dbf15b64a authored over 4 years ago by Artem Zakharchenko <[email protected]>
Renames "cli/msw.js" to "cli/index.js"

github.com/mswjs/msw - fa7441d6978cffeaab554902fbea0efffb924dcd authored over 4 years ago by Artem Zakharchenko <[email protected]>
Add repository link to package

github.com/mswjs/msw - 9182b8c81f46f1254d518be6474b78ce86810e1e authored over 4 years ago by Maciej Barelkowski <[email protected]>
v0.15.4

github.com/mswjs/msw - c61a7c869d051c1e418bea2d1440560e383f6e2f authored over 4 years ago by Artem Zakharchenko <[email protected]>
Fixes invariant predicate for "init" command

github.com/mswjs/msw - ac46529db5689c31e63a4f860f5e089532161242 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Updates README badges

github.com/mswjs/msw - e739f092f19f17a88a66b7577f5eb288088eb2dd authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.15.3

github.com/mswjs/msw - c60d88f3af0831714707863bb57aa0dffca4085b authored over 4 years ago by Artem Zakharchenko <[email protected]>
Fixes service worker file path to be relative to __dirname

github.com/mswjs/msw - d10813c64806ac8383c4cb9d98c7a92385da954d authored over 4 years ago by Artem Zakharchenko <[email protected]>
CLI: Fixes invalid invariant predicate for file copy error

github.com/mswjs/msw - 0d8eff5a811fe933617c53bd1d4f775f3525c393 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Removes forceful reload on found update

github.com/mswjs/msw - 60e1694a3f2b8d4b8e9bbe2248e64d461bc861fb authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.15.2

github.com/mswjs/msw - 46e9e410f7707193e1f463067959963d45f71dce authored over 4 years ago by Artem Zakharchenko <[email protected]>
rollup-integrity-check-plugin: Sets up watcher on "transform" hook

github.com/mswjs/msw - 1057f1ecfb9d8a13ae7d56f5b3bef8caed1997e7 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Fixes worker URL normalization regexp

github.com/mswjs/msw - 9176d504b187d402a87656c0e105a89e16baf87b authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.15.1

github.com/mswjs/msw - 79339b3ff09c715d893e05020e23167abc2bba80 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Reloads client with registrations but no controller

github.com/mswjs/msw - de493439e45157fac589715b95f7eb1c996a5f95 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Updates dependencies, removes ramda dependencies

github.com/mswjs/msw - 52aa55276b28bfc67f4a487c1e69d4f4bcab805a authored over 4 years ago by Artem Zakharchenko <[email protected]>
Uses "setupWorker" in README example

github.com/mswjs/msw - 9ce5dd9e92eb27cc2a580a9cbe907623cd16fdec authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.15.0

github.com/mswjs/msw - 44ad8001072016c208ca2edd18474663ce50759c authored over 4 years ago by Artem Zakharchenko <[email protected]>
Deprecates "composeMocks" in favor of "setupWorker"

github.com/mswjs/msw - c1b7cea4624752a52b6be796904c13fd4adfe567 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Points "msw" jest alias to the module root

github.com/mswjs/msw - 1e0d09f539f9edbd2e80dc761d4fd3c852b4546b authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.14.1

github.com/mswjs/msw - 8fa7d0e490233138072bc05b4ff0088c81a47466 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Silences activation message when started with "quiet: true"

github.com/mswjs/msw - 2d5fef9f27a2bf892a6266ef5ad22fef0b7fed79 authored over 4 years ago by Artem Zakharchenko <[email protected]>
v0.14.0

github.com/mswjs/msw - 4d6424cfb8bd747989b1bee5beaccfb514b6bd35 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Uses explicit exports instead of "export * as"

github.com/mswjs/msw - 763c7614c8e3e789eb46f56c5d37a5cc61504a40 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Removes the build directory prior to build

github.com/mswjs/msw - 72530dd1961b8fa747ee2b76177e44c96a58b4b3 authored over 4 years ago by Artem Zakharchenko <[email protected]>
mockServiceWorker: Reverts back commented logic to bypass "only-if-cached" requests

github.com/mswjs/msw - 5d7f4249fbb46b42ba2c887077599e540cd34d10 authored over 4 years ago by Artem Zakharchenko <[email protected]>
runBrowserWith: Exports internal "reload" functionality

github.com/mswjs/msw - 8a84c8caf9ab747fe1f496a8dc9728773f11b514 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Bypasses "only-if-cached" requests when opening DevTools

github.com/mswjs/msw - af01f363574fb7fa12b070b95a6c37bdaae624c9 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Adds a watcher on the worker file in rollup plugin

github.com/mswjs/msw - 690fa548214e4c9be01ca07c3f1e105e047679e7 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Updates to "[email protected]"

github.com/mswjs/msw - aa6404d9cdad553986c0181fbb3d7f336459f049 authored over 4 years ago by Artem Zakharchenko <[email protected]>
Aligns integration tests with the API changes

- "integrity-check.test" mock definition now uses newly introduced "StartOptions" object
- "star...

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