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/context.js

    rd565449 r0c6b92a  
    1111exports._resyncRemoved = _resyncRemoved;
    1212exports.call = call;
    13 exports.isBlacklisted = exports.isDenylisted = isDenylisted;
     13exports.isDenylisted = isDenylisted;
    1414exports.popContext = popContext;
    1515exports.pushContext = pushContext;
     
    6262  var _this$opts$denylist;
    6363  const denylist = (_this$opts$denylist = this.opts.denylist) != null ? _this$opts$denylist : this.opts.blacklist;
    64   return denylist && denylist.indexOf(this.node.type) > -1;
     64  return denylist == null ? void 0 : denylist.includes(this.node.type);
     65}
     66{
     67  exports.isBlacklisted = isDenylisted;
    6568}
    6669function restoreContext(path, context) {
     
    8386  }
    8487  const currentContext = this.context;
    85   if (this.shouldSkip || this.call("enter")) {
     88  if (this.shouldSkip || call.call(this, "enter")) {
    8689    this.debug("Skip...");
    8790    return this.shouldStop;
     
    9194  this.shouldStop = (0, _traverseNode.traverseNode)(this.node, this.opts, this.scope, this.state, this, this.skipKeys);
    9295  restoreContext(this, currentContext);
    93   this.call("exit");
     96  call.call(this, "exit");
    9497  return this.shouldStop;
    9598}
     
    133136    this.opts = context.opts;
    134137  }
    135   this.setScope();
     138  setScope.call(this);
    136139  return this;
    137140}
     
    155158    for (let i = 0; i < this.container.length; i++) {
    156159      if (this.container[i] === this.node) {
    157         this.setKey(i);
     160        setKey.call(this, i);
    158161        return;
    159162      }
     
    162165    for (const key of Object.keys(this.container)) {
    163166      if (this.container[key] === this.node) {
    164         this.setKey(key);
     167        setKey.call(this, key);
    165168        return;
    166169      }
     
    196199  this.container = container;
    197200  this.parentPath = parentPath || this.parentPath;
    198   this.setKey(key);
     201  setKey.call(this, key);
    199202}
    200203function setKey(key) {
Note: See TracChangeset for help on using the changeset viewer.