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

    rd565449 r0c6b92a  
    88exports.canHaveVariableDeclarationOrExpression = canHaveVariableDeclarationOrExpression;
    99exports.canSwapBetweenExpressionAndStatement = canSwapBetweenExpressionAndStatement;
    10 exports.equals = equals;
    1110exports.getSource = getSource;
    12 exports.has = has;
    13 exports.is = void 0;
    1411exports.isCompletionRecord = isCompletionRecord;
    1512exports.isConstantExpression = isConstantExpression;
     
    1815exports.isStatementOrBlock = isStatementOrBlock;
    1916exports.isStatic = isStatic;
    20 exports.isnt = isnt;
    2117exports.matchesPattern = matchesPattern;
    2218exports.referencesImport = referencesImport;
     
    3834  return _matchesPattern(this.node, pattern, allowPartial);
    3935}
    40 function has(key) {
    41   var _this$node;
    42   const val = (_this$node = this.node) == null ? void 0 : _this$node[key];
    43   if (val && Array.isArray(val)) {
    44     return !!val.length;
    45   } else {
    46     return !!val;
    47   }
     36{
     37  exports.has = function has(key) {
     38    var _this$node;
     39    const val = (_this$node = this.node) == null ? void 0 : _this$node[key];
     40    if (val && Array.isArray(val)) {
     41      return !!val.length;
     42    } else {
     43      return !!val;
     44    }
     45  };
    4846}
    4947function isStatic() {
    5048  return this.scope.isStatic(this.node);
    5149}
    52 const is = exports.is = has;
    53 function isnt(key) {
    54   return !this.has(key);
    55 }
    56 function equals(key, value) {
    57   return this.node[key] === value;
     50{
     51  exports.is = exports.has;
     52  exports.isnt = function isnt(key) {
     53    return !this.has(key);
     54  };
     55  exports.equals = function equals(key, value) {
     56    return this.node[key] === value;
     57  };
    5858}
    5959function isNodeType(type) {
Note: See TracChangeset for help on using the changeset viewer.