Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/mswjs/msw
Industry standard API mocking for JavaScript.
https://github.com/mswjs/msw
v0.20.1
a47d942bee05460c8496020cc9ad18065535104a authored over 4 years ago
a47d942bee05460c8496020cc9ad18065535104a authored over 4 years ago
chore: add native folder to files
63364d8831cf0fc35befe9dda5374c732a5ecbc9 authored over 4 years ago
63364d8831cf0fc35befe9dda5374c732a5ecbc9 authored over 4 years ago
chore: node-fetch should be installed as dependency
efb48dab9998a46e27ad4118c69d2cd3f830a406 authored over 4 years ago
efb48dab9998a46e27ad4118c69d2cd3f830a406 authored over 4 years ago
v0.20.0
ab2cdf1d7fae5458fc6371d456fb899a890f8aae authored over 4 years ago
ab2cdf1d7fae5458fc6371d456fb899a890f8aae authored over 4 years ago
build(deps): bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](htt...
Updates build dependencies
a8e97fcbbeaabf06428dd748d88e881a45c4ce91 authored over 4 years ago
a8e97fcbbeaabf06428dd748d88e881a45c4ce91 authored over 4 years ago
Fixes linting warnings
bd1f09d18eef8964c369b498bc2335e2adc6cf75 authored over 4 years ago
bd1f09d18eef8964c369b498bc2335e2adc6cf75 authored over 4 years ago
Updates typescript dependencies
6304b23627ecd0987366840087120687144be27b authored over 4 years ago
6304b23627ecd0987366840087120687144be27b authored over 4 years ago
Updates save dependencies
784bf741b81e3959b2e62ad283134aeae8b1b999 authored over 4 years ago
784bf741b81e3959b2e62ad283134aeae8b1b999 authored over 4 years ago
Polishes event handling logic
2a5ccaad2b0f43f4eb7bed78570697f5e3c80760 authored over 4 years ago
2a5ccaad2b0f43f4eb7bed78570697f5e3c80760 authored over 4 years ago
refactor: review
bdbc054f5f9e3992925624b4156af69ec6685e83 authored over 4 years ago
bdbc054f5f9e3992925624b4156af69ec6685e83 authored over 4 years ago
Skips the "removes-all-listeners" setupWorker integration test
55ef3ccbbf3f1eaa8cb14e1473f0a2b5d769687f authored over 4 years ago
55ef3ccbbf3f1eaa8cb14e1473f0a2b5d769687f authored over 4 years ago
setupWorker: Removes all listeners on Fast Refresh
e389d04a7d5a4c5da4434ad6de379ff174f28a00 authored over 4 years ago
e389d04a7d5a4c5da4434ad6de379ff174f28a00 authored over 4 years ago
test: filter startGroupCollapsed and not log messages
494b63fcb67ed0256bbaedf0e2693482ecb96724 authored over 4 years ago
494b63fcb67ed0256bbaedf0e2693482ecb96724 authored over 4 years ago
Uses the updated "captureConsole" API in "removes-all-listeners" integration test
e0882c9fb23485c50ee4e7f4f47e163bb35a6717 authored over 4 years ago
e0882c9fb23485c50ee4e7f4f47e163bb35a6717 authored over 4 years ago
Restructures the listeners removal test scenario
dfd07d04313f8a90d10aac766b68022ac775dc75 authored over 4 years ago
dfd07d04313f8a90d10aac766b68022ac775dc75 authored over 4 years ago
Leaves the browser open when running tests in DEBUG mode
a0c5c72892b7ea42c663429eeedc4453e7d9c38c authored over 4 years ago
a0c5c72892b7ea42c663429eeedc4453e7d9c38c authored over 4 years ago
convert `addMessageListener` into a simple async function
0cd10d102bc299a860150f1e6b55f2bbcbf89e81 authored over 4 years ago
0cd10d102bc299a860150f1e6b55f2bbcbf89e81 authored over 4 years ago
de-nest callback namespace
df2470b3aeea7e7f868fc7f70c300dfca8c0bcd6 authored over 4 years ago
df2470b3aeea7e7f868fc7f70c300dfca8c0bcd6 authored over 4 years ago
feature: remove listeners on stop worker
When the user run woker.stop() all listners attached will be removed.
I noticied that `activeMoc...
test: add failing test
ef92ba38c420a57db4d1fa94e140f0f6a761c1dc authored over 4 years ago
ef92ba38c420a57db4d1fa94e140f0f6a761c1dc authored over 4 years ago
captureConsole: Simplifies predicate to be used externally
dd0ee884ce3fdb2fc67f3b071a0276a91d9db1e0 authored over 4 years ago
dd0ee884ce3fdb2fc67f3b071a0276a91d9db1e0 authored over 4 years ago
captureConsole: Returns all matches messages
5de0836430cadc29bc84f58739214f1faefe38c0 authored over 4 years ago
5de0836430cadc29bc84f58739214f1faefe38c0 authored over 4 years ago
grahpql: Annotates request "body" to have "query" and "variables" properties
5c47b644dfa6a20cd2bccd292b08614df4f9788e authored over 4 years ago
5c47b644dfa6a20cd2bccd292b08614df4f9788e authored over 4 years ago
πForce usage of chokidar 3
Motivation
----------
fixes https://github.com/mswjs/msw/issues/188
The current version of web...
637f5afcabc63b219d755f474e8d128e1048ac15 authored over 4 years ago
Adds KCD Discord link to the README
63519d368442e194904cd3049a2d696dcb6f09e4 authored over 4 years ago
63519d368442e194904cd3049a2d696dcb6f09e4 authored over 4 years ago
Added warning functionality & support for custom function
cca36c3043cc1e5be9c883cf8062667c463491c3 authored over 4 years ago
cca36c3043cc1e5be9c883cf8062667c463491c3 authored over 4 years ago
Adds browser integration for "onUnhandledRequest" option
d524848f11d6e535db22085d0d048d7681a1686e authored over 4 years ago
d524848f11d6e535db22085d0d048d7681a1686e authored over 4 years ago
Added missing `req` parameter to `CustomFunction` type
28dec5df71f5b8a5cd328194d652368d2ab0ce8a authored over 4 years ago
28dec5df71f5b8a5cd328194d652368d2ab0ce8a authored over 4 years ago
Added basic outline for new unhandled request warnings
c93d841904da922ce44788491c668333c04ff299 authored over 4 years ago
c93d841904da922ce44788491c668333c04ff299 authored over 4 years ago
setupServer: Adds integration tests for "onUnhandledRequest" listen option
1f3bf44324b901ff13c8b73aa41329baa936fe58 authored over 4 years ago
1f3bf44324b901ff13c8b73aa41329baa936fe58 authored over 4 years ago
Adjusts "onUnhandledRequest" logic
dfd6333e5214f2feb9ad227bc10aa3f67f48503c authored over 4 years ago
dfd6333e5214f2feb9ad227bc10aa3f67f48503c authored over 4 years ago
Fixed TypeScript issues
ae7835987df72aa8c0a38c44fd097f4d8844b8c7 authored over 4 years ago
ae7835987df72aa8c0a38c44fd097f4d8844b8c7 authored over 4 years ago
Implement requested changes
5894fe336fb38679811fd3e2b1ce5d4d42fa0cb8 authored over 4 years ago
5894fe336fb38679811fd3e2b1ce5d4d42fa0cb8 authored over 4 years ago
Updated custom function usage for better safety in JavaScript
99abd99fd01a8923fd0c9aa21773a2d7a59ac074 authored over 4 years ago
99abd99fd01a8923fd0c9aa21773a2d7a59ac074 authored over 4 years ago
Fixed issue where `MOCK_NOT_FOUND` event was not sent to worker
42d013f0fcf3fc4f24d7f09e88645946c633c4ce authored over 4 years ago
42d013f0fcf3fc4f24d7f09e88645946c633c4ce authored over 4 years ago
Adds browser test scenarios for "error" and "callback-throws" cases
6001b790fbaafc21f8e7b922e172f4bd271f5272 authored over 4 years ago
6001b790fbaafc21f8e7b922e172f4bd271f5272 authored over 4 years ago
Inject timer's setTimeout in the node build
936eabac4c4c1d07d57af598a483f67ca60e87dc authored over 4 years ago
936eabac4c4c1d07d57af598a483f67ca60e87dc authored over 4 years ago
Add native target
8f88cf58ea538e40c105a13ec8a996c0f76a309e authored over 4 years ago
8f88cf58ea538e40c105a13ec8a996c0f76a309e authored over 4 years ago
build(deps): bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](http...
Updates node-request-interceptor to 0.3.3
fix #279
b922d8badf0064cfeae3d46eeac0ba41a1a456da authored over 4 years ago
refactor(node): only require node-fetch if in a node process
476039641bdc16cb8c49186ed629560e26f17403 authored over 4 years ago
476039641bdc16cb8c49186ed629560e26f17403 authored over 4 years ago
test(node): added test case for response patching in node
3f21640ccbfb8b834bfad7bd08ff4cc72cdcc2fb authored over 4 years ago
3f21640ccbfb8b834bfad7bd08ff4cc72cdcc2fb authored over 4 years ago
Adds integration tests for bypass/fall-through response patching behaviors
bb1cb2322b21d3e4934a7f01b7f9020c4f2d994c authored over 4 years ago
bb1cb2322b21d3e4934a7f01b7f9020c4f2d994c authored over 4 years ago
fetch: Removes the TODO comments
06ad9abe9b2fc1047c6c5a40c02d1618a95dd85a authored over 4 years ago
06ad9abe9b2fc1047c6c5a40c02d1618a95dd85a authored over 4 years ago
setupServer: Handles the "x-msw-bypass" request header
8d1b55a212a44c63192f92d2c0613047c5264434 authored over 4 years ago
8d1b55a212a44c63192f92d2c0613047c5264434 authored over 4 years ago
refactor(node): move decision between node or browser fetch to top
b3b92177c48e0081be9e1f1abe98f27badcff953 authored over 4 years ago
b3b92177c48e0081be9e1f1abe98f27badcff953 authored over 4 years ago
refactor(node): run response patching tests agains httpbin
858e8afd5dc871ae878b58e9ec581f702f12f78d authored over 4 years ago
858e8afd5dc871ae878b58e9ec581f702f12f78d authored over 4 years ago
fix(node): use cross-fetch for ctx.fetch
3f5919dac726eae8e22f451759a3a9616d8b6c4d authored over 4 years ago
3f5919dac726eae8e22f451759a3a9616d8b6c4d authored over 4 years ago
refactor(node): remove cross-fetch and just use node-fetch
d974f468a1285f949c8df0cb04714c68a7a5855b authored over 4 years ago
d974f468a1285f949c8df0cb04714c68a7a5855b authored over 4 years ago
Handles "res.networkError" as an intended exception
3244cf4dd67105ff3df30004865714bb725ec813 authored over 4 years ago
3244cf4dd67105ff3df30004865714bb725ec813 authored over 4 years ago
Allows returning undefined and void from the request handler
aee435ff4b3e587f9f5df1948e05a4de942c3365 authored over 4 years ago
aee435ff4b3e587f9f5df1948e05a4de942c3365 authored over 4 years ago
Updated tests
fe7b00d4f97df673b57792b6f659d532c922fb09 authored over 4 years ago
fe7b00d4f97df673b57792b6f659d532c922fb09 authored over 4 years ago
Updated unneccessary syntax
087c17a78c5f5757a24a03f7e69359cdffc20633 authored over 4 years ago
087c17a78c5f5757a24a03f7e69359cdffc20633 authored over 4 years ago
Added feature: res.networkError() mocks a network error
8f6c95d0af52d3d839c44483bf0144daaede44f5 authored over 4 years ago
8f6c95d0af52d3d839c44483bf0144daaede44f5 authored over 4 years ago
Modified helper and corresponding test as suggested
146ad26679bb37a9945255be2fe63db64c66f5af authored over 4 years ago
146ad26679bb37a9945255be2fe63db64c66f5af authored over 4 years ago
Adjusts the integration test for "res.networkError"
cbaedfac5f075b5473a4fae6b3d865144f5320be authored over 4 years ago
cbaedfac5f075b5473a4fae6b3d865144f5320be authored over 4 years ago
res.networkError (node): Asserts custom network error message
facf6d7ac3f45cf057f9af5fcf75551833cb100a authored over 4 years ago
facf6d7ac3f45cf057f9af5fcf75551833cb100a authored over 4 years ago
Updates "node-request-interceptor" to 0.3.2
be0173d6cd4efc9e06c9e4e6f3ff771e77c56708 authored over 4 years ago
be0173d6cd4efc9e06c9e4e6f3ff771e77c56708 authored over 4 years ago
Updates "node-request-interceptor" to version 0.3.1
3ca8d86aa4cee221b9965938b1f1833259d4c44b authored over 4 years ago
3ca8d86aa4cee221b9965938b1f1833259d4c44b authored over 4 years ago
Reorders and renames the browser/node GitHub issue templates
d0c17ca9bb0b42a93a8001092ba0105ab57417c2 authored over 4 years ago
d0c17ca9bb0b42a93a8001092ba0105ab57417c2 authored over 4 years ago
Adds browser/node interception issue templates
72c099d7981a99dc08ea69787407e7636d6aedc1 authored over 4 years ago
72c099d7981a99dc08ea69787407e7636d6aedc1 authored over 4 years ago
Updates "node-request-interceptor" to version 0.3.0
60fa3b1eccdfd07218ed1ac13234672def6e2fe1 authored over 4 years ago
60fa3b1eccdfd07218ed1ac13234672def6e2fe1 authored over 4 years ago
Updates "@open-draft/until" to version 1.0.3
52e4350ef8b2bfe181b125c4082e482a2e41886d authored over 4 years ago
52e4350ef8b2bfe181b125c4082e482a2e41886d authored over 4 years ago
test(isNodeProcess): fix type check
d6e1f0aea1ec5fbe09db574722247a5b16d3da54 authored over 4 years ago
d6e1f0aea1ec5fbe09db574722247a5b16d3da54 authored over 4 years ago
test(isNodeProcess): mock global.process in react native
5264b5c5f47d084e2e23f2d75999624dccad31f9 authored over 4 years ago
5264b5c5f47d084e2e23f2d75999624dccad31f9 authored over 4 years ago
Rename binary body test files
519f9a15d8fb1062ef79e6ab28dc2244cec5c537 authored over 4 years ago
519f9a15d8fb1062ef79e6ab28dc2244cec5c537 authored over 4 years ago
Update test domain
9aeecc099480f85e8d36fb4f5b6e8f0ff98a0f35 authored over 4 years ago
9aeecc099480f85e8d36fb4f5b6e8f0ff98a0f35 authored over 4 years ago
Add integration test for binary response types
564e940fc39048abb08ecddc88ebb955c5b8cb93 authored over 4 years ago
564e940fc39048abb08ecddc88ebb955c5b8cb93 authored over 4 years ago
Remove unnecessary serialization
09afb91c211042f0006b8a69ebb9b2ff4c6807f5 authored over 4 years ago
09afb91c211042f0006b8a69ebb9b2ff4c6807f5 authored over 4 years ago
Uses mocked image binary response for the integration test
ec9ec0fab7ef1832cf193f66d6f5b9bb853b5547 authored over 4 years ago
ec9ec0fab7ef1832cf193f66d6f5b9bb853b5547 authored over 4 years ago
Moves "relative-url" integration test of "setupServer" to the "scenarios"
a591a4bd558aea28d01af6eeaa31db1bac2e9cfb authored over 4 years ago
a591a4bd558aea28d01af6eeaa31db1bac2e9cfb authored over 4 years ago
Updates .gitignore to exclude tarballs only
02f6694cf11242fa044ed9c4c86e1fac6b46c980 authored over 4 years ago
02f6694cf11242fa044ed9c4c86e1fac6b46c980 authored over 4 years ago
Adds integration test for "req.cookies"
3df26cab6e8bcb67e30ad28bd3ff7cd9c7ac5e5b authored over 4 years ago
3df26cab6e8bcb67e30ad28bd3ff7cd9c7ac5e5b authored over 4 years ago
Adds "req.cookies" property on the mocked request
ebc8d6300175931dc946c029fb577bd21e8eaf38 authored over 4 years ago
ebc8d6300175931dc946c029fb577bd21e8eaf38 authored over 4 years ago
Adds the "getRequestCookies" utility
ef46a4ef321945455f9612c1b2863656f6326d83 authored over 4 years ago
ef46a4ef321945455f9612c1b2863656f6326d83 authored over 4 years ago
Adds "req.cookies" property to "setupServer"
63c1e52d7ea0e3f3b71d12b34308e0acfbbc2002 authored over 4 years ago
63c1e52d7ea0e3f3b71d12b34308e0acfbbc2002 authored over 4 years ago
Moves "parseRequestBody" to the "utils/request" directory
09a5576eca3773ae9ecf3c5532acab4a70e916e6 authored over 4 years ago
09a5576eca3773ae9ecf3c5532acab4a70e916e6 authored over 4 years ago
isNodeProcess: Cleans up the React Native test suite
52f17dd4f9a7e62902924607c9876878a915f1fe authored over 4 years ago
52f17dd4f9a7e62902924607c9876878a915f1fe authored over 4 years ago
test(isNodeProcess): move mock in beforeAll and afterAll hook
f7fff198a845c264b3bb63a27d05919fba720c7f authored over 4 years ago
f7fff198a845c264b3bb63a27d05919fba720c7f authored over 4 years ago
test(isNodeProcess): add React Native Environment test
c96e36e3e0ae156fdfe327390ea05384eb06c08f authored over 4 years ago
c96e36e3e0ae156fdfe327390ea05384eb06c08f authored over 4 years ago
fix(isNodeProcess): avoid undefined error
763859ff9fee4b334f038a7d4565c64eb3cd46f6 authored over 4 years ago
763859ff9fee4b334f038a7d4565c64eb3cd46f6 authored over 4 years ago
fix(isNodeProcess): check browser, nodejs and react native environment
32b7545a04106e8b5e494e7861ae6d009d8fcc97 authored over 4 years ago
32b7545a04106e8b5e494e7861ae6d009d8fcc97 authored over 4 years ago
Removes "composeMocks" API
978ebdd042d3482ebbe048ccc0987710b63bb5cc authored over 4 years ago
978ebdd042d3482ebbe048ccc0987710b63bb5cc authored over 4 years ago
Splits CI pipeline into workflows
59c07eada045f009f1beb1d6aad4e2a02c6fddef authored over 4 years ago
59c07eada045f009f1beb1d6aad4e2a02c6fddef authored over 4 years ago
Adds smoke tests against the Examples repository
cca9c8fb8f9ce3a49ca8a9994f75b7dbf37c323d authored over 4 years ago
cca9c8fb8f9ce3a49ca8a9994f75b7dbf37c323d authored over 4 years ago
fix: update documentation link
8b8b37c35a621a09e2af9deebd7aaab2c9d4b154 authored over 4 years ago
8b8b37c35a621a09e2af9deebd7aaab2c9d4b154 authored over 4 years ago
fix(cli): update documentation link
252ead91129dc7519d007270cf5c8482aaf0ab34 authored over 4 years ago
252ead91129dc7519d007270cf5c8482aaf0ab34 authored over 4 years ago
Adds HTTP redirect integration test
ebb85fb9f82c3e1bb0c117ebfc4b77e557d8cc61 authored over 4 years ago
ebb85fb9f82c3e1bb0c117ebfc4b77e557d8cc61 authored over 4 years ago
v0.19.5
7a72ff79bf10ee2decedf78a2452a779097fddf6 authored over 4 years ago
7a72ff79bf10ee2decedf78a2452a779097fddf6 authored over 4 years ago
Fixes lint warnings
bab426f9dd9c6e751887bafc762e0ba519c423c0 authored over 4 years ago
bab426f9dd9c6e751887bafc762e0ba519c423c0 authored over 4 years ago
test: fix url in message
11e413219fa2c2bd851c74b75860ff6299cb2099 authored over 4 years ago
11e413219fa2c2bd851c74b75860ff6299cb2099 authored over 4 years ago
refactor: simplify mock
c4667e2fa0d35ac8c0e14599102d21cbffd25fcc authored over 4 years ago
c4667e2fa0d35ac8c0e14599102d21cbffd25fcc authored over 4 years ago
test: add failing test
1e35fa5219e8ef2216a7bb48cd5c6e18c57c3bec authored over 4 years ago
1e35fa5219e8ef2216a7bb48cd5c6e18c57c3bec authored over 4 years ago
fix: improve error message when msw fails to register worker
fix #237
66255e92c35d12d6fb7f9f7e3715ae69bfab42eb authored over 4 years ago
setupWorker (start): Provides a custom error message when given a non-existing worker script
36463bf7dc27a557fc27a154879f99c0d4702b9d authored over 4 years ago
36463bf7dc27a557fc27a154879f99c0d4702b9d authored over 4 years ago
Lists "timers" as an external dependency
75881b6136233054bb82ec569ec7882ef36d0b4d authored over 4 years ago
75881b6136233054bb82ec569ec7882ef36d0b4d authored over 4 years ago
setupServer: use timers module
6db52479a9243f962c69d7a4bb26934039516b8c authored over 4 years ago
6db52479a9243f962c69d7a4bb26934039516b8c authored over 4 years ago
Update setupServer.ts
b1ec16730f7a8cae8ea82f58d6384e422cbb5367 authored over 4 years ago
b1ec16730f7a8cae8ea82f58d6384e422cbb5367 authored over 4 years ago
Adds integration test for "setupServer" and fake timers
c415abe23ed1f202d666f4cec61239bda200b39a authored over 4 years ago
c415abe23ed1f202d666f4cec61239bda200b39a authored over 4 years ago