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.26 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.25 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.24 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.23 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.22 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.21 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.20 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.19 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.18 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.17 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.16 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.15 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.14 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.13 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.12 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.11 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.10 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.9 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.8 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map
clapton-0.0.7 lib/clapton/javascripts/node_modules/msw/lib/core/utils/internal/requestHandlerUtils.mjs.map