Sha256: e566977ba6aec51a8f947d5049882eeab6d84a78c9df0b0f879367bf32b22c39

Contents?: true

Size: 945 Bytes

Versions: 26

Compression:

Stored size: 945 Bytes

Contents

{"version":3,"sources":["../../../../src/core/utils/internal/requestHandlerUtils.ts"],"sourcesContent":["import { RequestHandler } from '../../handlers/RequestHandler'\n\nexport function use(\n  currentHandlers: Array<RequestHandler>,\n  ...handlers: Array<RequestHandler>\n): void {\n  currentHandlers.unshift(...handlers)\n}\n\nexport function restoreHandlers(handlers: Array<RequestHandler>): void {\n  handlers.forEach((handler) => {\n    handler.isUsed = false\n  })\n}\n\nexport function resetHandlers(\n  initialHandlers: Array<RequestHandler>,\n  ...nextHandlers: Array<RequestHandler>\n) {\n  return nextHandlers.length > 0 ? [...nextHandlers] : [...initialHandlers]\n}\n"],"mappings":"AAEO,SAAS,IACd,oBACG,UACG;AACN,kBAAgB,QAAQ,GAAG,QAAQ;AACrC;AAEO,SAAS,gBAAgB,UAAuC;AACrE,WAAS,QAAQ,CAAC,YAAY;AAC5B,YAAQ,SAAS;AAAA,EACnB,CAAC;AACH;AAEO,SAAS,cACd,oBACG,cACH;AACA,SAAO,aAAa,SAAS,IAAI,CAAC,GAAG,YAAY,IAAI,CAAC,GAAG,eAAe;AAC1E;","names":[]}

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
clapton-0.0.6 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.5 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.4 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.3 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.2 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.1 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map