MCPcopy
hub / github.com/di-sukharev/opencommit / next

Function next

out/cli.cjs:5298–5312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5296 });
5297 utils.define(ctorRegistry["URLSearchParams Iterator"], {
5298 next() {
5299 const internal = this && this[utils.iterInternalSymbol];
5300 if (!internal) {
5301 throw new globalObject.TypeError("next() called on a value that is not a URLSearchParams iterator object");
5302 }
5303 const { target, kind: kind3, index } = internal;
5304 const values = Array.from(target[implSymbol]);
5305 const len = values.length;
5306 if (index >= len) {
5307 return newObjectInRealm(globalObject, { value: void 0, done: true });
5308 }
5309 const pair = values[index];
5310 internal.index = index + 1;
5311 return newObjectInRealm(globalObject, utils.iteratorResult(pair.map(utils.tryWrapperForImpl), kind3));
5312 }
5313 });
5314 Object.defineProperty(globalObject, interfaceName, {
5315 configurable: true,

Callers 7

pipeLoopFunction · 0.85
sendRequestFunction · 0.85
handleRedirectFunction · 0.85
tlsPolicyFunction · 0.85
apiVersionPolicyFunction · 0.85
nonAzurePolicyFunction · 0.85

Calls 15

newObjectInRealmFunction · 0.85
getHeaders2Function · 0.85
oeFunction · 0.85
d6Function · 0.85
ne2Function · 0.85
promiseRejectedWithFunction · 0.85
PerformPromiseThenFunction · 0.85
pipeStepFunction · 0.85
targetFunction · 0.85
iteratorResultFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…