Skip to content

Commit

Permalink
handle v1.3.18
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed May 15, 2023
1 parent fd59952 commit d4f09e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scriptlets/prevent-fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import {
/* eslint-disable max-len */
/**
* @scriptlet prevent-fetch
*
* @description
* Prevents `fetch` calls if **all** given parameters match.
*
Expand Down Expand Up @@ -94,6 +95,8 @@ import {
* ```
* example.org#%#//scriptlet('prevent-fetch', '*', '', 'opaque')
* ```
*
* @added v1.3.18.
*/
/* eslint-enable max-len */
export function preventFetch(source, propsToMatch, responseBody = 'emptyObj', responseType) {
Expand Down

0 comments on commit d4f09e5

Please sign in to comment.