Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/@babel/traverse/lib/path/modification.js

    rd565449 r0c6b92a  
    88exports._containerInsertBefore = _containerInsertBefore;
    99exports._verifyNodeList = _verifyNodeList;
    10 exports.hoist = hoist;
    1110exports.insertAfter = insertAfter;
    1211exports.insertBefore = insertBefore;
     
    6160}
    6261function _containerInsert(from, nodes) {
    63   this.updateSiblingKeys(from, nodes.length);
     62  updateSiblingKeys.call(this, from, nodes.length);
    6463  const paths = [];
    6564  this.container.splice(from, 0, ...nodes);
     
    7069    paths.push(path);
    7170    if ((_this$context = this.context) != null && _this$context.queue) {
    72       path.pushContext(this.context);
     71      _context.pushContext.call(path, this.context);
    7372    }
    7473  }
    7574  const contexts = _context._getQueueContexts.call(this);
    7675  for (const path of paths) {
    77     path.setScope();
     76    _context.setScope.call(path);
    7877    path.debug("Inserted.");
    7978    for (const context of contexts) {
     
    165164  const paths = (0, _cache.getCachedPaths)(this.hub, this.parent) || [];
    166165  for (const [, path] of paths) {
    167     if (typeof path.key === "number" && path.key >= fromIndex) {
     166    if (typeof path.key === "number" && path.container === this.container && path.key >= fromIndex) {
    168167      path.key += incrementBy;
    169168    }
     
    221220  return path.replaceWithMultiple(verifiedNodes);
    222221}
    223 function hoist(scope = this.scope) {
    224   const hoister = new _hoister.default(this, scope);
    225   return hoister.run();
     222{
     223  exports.hoist = function hoist(scope = this.scope) {
     224    const hoister = new _hoister.default(this, scope);
     225    return hoister.run();
     226  };
    226227}
    227228
Note: See TracChangeset for help on using the changeset viewer.