Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/types

Package Overview
Dependencies
Maintainers
4
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/types - npm Package Compare versions

Comparing version 7.18.13 to 7.19.0

lib/asserts/assertNode.js.map

4

lib/asserts/assertNode.js

@@ -17,2 +17,4 @@ "use strict";

}
}
}
//# sourceMappingURL=assertNode.js.map

@@ -1522,2 +1522,4 @@ "use strict";

assert("SpreadProperty", node, opts);
}
}
//# sourceMappingURL=index.js.map

@@ -20,2 +20,4 @@ "use strict";

}
}
}
//# sourceMappingURL=createFlowUnionType.js.map

@@ -41,2 +41,4 @@ "use strict";

throw new Error("Invalid typeof value: " + type);
}
}
//# sourceMappingURL=createTypeAnnotationBasedOnTypeof.js.map

@@ -2227,2 +2227,4 @@ "use strict";

return spreadElement(argument);
}
}
//# sourceMappingURL=index.js.map

@@ -1519,2 +1519,4 @@ "use strict";

var _index = require("./index");
var _index = require("./index");
//# sourceMappingURL=uppercase.js.map

@@ -29,2 +29,4 @@ "use strict";

return elements;
}
}
//# sourceMappingURL=buildChildren.js.map

@@ -25,2 +25,4 @@ "use strict";

}
}
}
//# sourceMappingURL=createTSUnionType.js.map

@@ -20,2 +20,4 @@ "use strict";

return node;
}
}
//# sourceMappingURL=validateNode.js.map

@@ -12,2 +12,4 @@ "use strict";

return (0, _cloneNode.default)(node, false);
}
}
//# sourceMappingURL=clone.js.map

@@ -12,2 +12,4 @@ "use strict";

return (0, _cloneNode.default)(node);
}
}
//# sourceMappingURL=cloneDeep.js.map

@@ -12,2 +12,4 @@ "use strict";

return (0, _cloneNode.default)(node, true, true);
}
}
//# sourceMappingURL=cloneDeepWithoutLoc.js.map

@@ -120,2 +120,4 @@ "use strict";

});
}
}
//# sourceMappingURL=cloneNode.js.map

@@ -12,2 +12,4 @@ "use strict";

return (0, _cloneNode.default)(node, false, true);
}
}
//# sourceMappingURL=cloneWithoutLoc.js.map

@@ -15,2 +15,4 @@ "use strict";

}]);
}
}
//# sourceMappingURL=addComment.js.map

@@ -23,2 +23,4 @@ "use strict";

return node;
}
}
//# sourceMappingURL=addComments.js.map

@@ -12,2 +12,4 @@ "use strict";

(0, _inherit.default)("innerComments", child, parent);
}
}
//# sourceMappingURL=inheritInnerComments.js.map

@@ -12,2 +12,4 @@ "use strict";

(0, _inherit.default)("leadingComments", child, parent);
}
}
//# sourceMappingURL=inheritLeadingComments.js.map

@@ -19,2 +19,4 @@ "use strict";

return child;
}
}
//# sourceMappingURL=inheritsComments.js.map

@@ -12,2 +12,4 @@ "use strict";

(0, _inherit.default)("trailingComments", child, parent);
}
}
//# sourceMappingURL=inheritTrailingComments.js.map

@@ -16,2 +16,4 @@ "use strict";

return node;
}
}
//# sourceMappingURL=removeComments.js.map

@@ -107,2 +107,4 @@ "use strict";

const TSBASETYPE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["TSBaseType"];
exports.TSBASETYPE_TYPES = TSBASETYPE_TYPES;
exports.TSBASETYPE_TYPES = TSBASETYPE_TYPES;
//# sourceMappingURL=index.js.map

@@ -49,2 +49,4 @@ "use strict";

const NOT_LOCAL_BINDING = Symbol.for("should not be considered a local binding");
exports.NOT_LOCAL_BINDING = NOT_LOCAL_BINDING;
exports.NOT_LOCAL_BINDING = NOT_LOCAL_BINDING;
//# sourceMappingURL=index.js.map

@@ -14,2 +14,4 @@ "use strict";

return result;
}
}
//# sourceMappingURL=ensureBlock.js.map

@@ -75,2 +75,4 @@ "use strict";

}
}
}
//# sourceMappingURL=gatherSequenceExpressions.js.map

@@ -14,2 +14,4 @@ "use strict";

return name;
}
}
//# sourceMappingURL=toBindingIdentifierName.js.map

@@ -34,2 +34,4 @@ "use strict";

return (0, _generated2.blockStatement)(blockNodes);
}
}
//# sourceMappingURL=toBlock.js.map

@@ -15,2 +15,4 @@ "use strict";

return key;
}
}
//# sourceMappingURL=toComputedKey.js.map

@@ -33,2 +33,4 @@ "use strict";

return node;
}
}
//# sourceMappingURL=toExpression.js.map

@@ -30,2 +30,4 @@ "use strict";

return name || "_";
}
}
//# sourceMappingURL=toIdentifier.js.map

@@ -46,2 +46,4 @@ "use strict";

}
};
};
//# sourceMappingURL=toKeyAlias.js.map

@@ -21,2 +21,4 @@ "use strict";

return result;
}
}
//# sourceMappingURL=toSequenceExpression.js.map

@@ -47,2 +47,4 @@ "use strict";

return node;
}
}
//# sourceMappingURL=toStatement.js.map

@@ -99,2 +99,4 @@ "use strict";

throw new Error("don't know how to turn this value into a node");
}
}
//# sourceMappingURL=valueToNode.js.map

@@ -1714,2 +1714,4 @@ "use strict";

aliases: ["Scopable", "BlockParent", "FunctionParent"]
});
});
//# sourceMappingURL=core.js.map

@@ -133,2 +133,4 @@ "use strict";

aliases: ["Expression"]
});
});
//# sourceMappingURL=experimental.js.map

@@ -486,2 +486,4 @@ "use strict";

}
});
});
//# sourceMappingURL=flow.js.map

@@ -103,2 +103,4 @@ "use strict";

const TYPES = [].concat(Object.keys(_utils.VISITOR_KEYS), Object.keys(_utils.FLIPPED_ALIAS_KEYS), Object.keys(_utils.DEPRECATED_KEYS));
exports.TYPES = TYPES;
exports.TYPES = TYPES;
//# sourceMappingURL=index.js.map

@@ -157,2 +157,4 @@ "use strict";

aliases: ["Immutable"]
});
});
//# sourceMappingURL=jsx.js.map

@@ -32,2 +32,4 @@ "use strict";

}
});
});
//# sourceMappingURL=misc.js.map

@@ -33,2 +33,4 @@ "use strict";

});
});
});
//# sourceMappingURL=placeholders.js.map

@@ -495,2 +495,4 @@ "use strict";

}
});
});
//# sourceMappingURL=typescript.js.map

@@ -343,2 +343,4 @@ "use strict";

const store = {};
const store = {};
//# sourceMappingURL=utils.js.map

@@ -647,2 +647,4 @@ "use strict";

};
exports.react = react;
exports.react = react;
//# sourceMappingURL=index.js.map

@@ -15,2 +15,4 @@ "use strict";

return member;
}
}
//# sourceMappingURL=appendToMemberExpression.js.map

@@ -78,2 +78,4 @@ "use strict";

return types;
}
}
//# sourceMappingURL=removeTypeDuplicates.js.map

@@ -33,2 +33,4 @@ "use strict";

return child;
}
}
//# sourceMappingURL=inherits.js.map

@@ -19,2 +19,4 @@ "use strict";

return member;
}
}
//# sourceMappingURL=prependToMemberExpression.js.map

@@ -29,2 +29,4 @@ "use strict";

}
}
}
//# sourceMappingURL=removeProperties.js.map

@@ -15,2 +15,4 @@ "use strict";

return tree;
}
}
//# sourceMappingURL=removePropertiesDeep.js.map

@@ -78,2 +78,4 @@ "use strict";

return types;
}
}
//# sourceMappingURL=removeTypeDuplicates.js.map

@@ -105,2 +105,4 @@ "use strict";

VariableDeclarator: ["id"]
};
};
//# sourceMappingURL=getBindingIdentifiers.js.map

@@ -15,2 +15,4 @@ "use strict";

return (0, _getBindingIdentifiers.default)(node, duplicates, true);
}
}
//# sourceMappingURL=getOuterBindingIdentifiers.js.map

@@ -55,2 +55,4 @@ "use strict";

if (exit) exit(node, ancestors, state);
}
}
//# sourceMappingURL=traverse.js.map

@@ -28,2 +28,4 @@ "use strict";

}
}
}
//# sourceMappingURL=traverseFast.js.map

@@ -12,2 +12,4 @@ "use strict";

}
}
}
//# sourceMappingURL=inherit.js.map

@@ -47,2 +47,4 @@ "use strict";

if (str) args.push((0, _generated.stringLiteral)(str));
}
}
//# sourceMappingURL=cleanJSXElementLiteralChild.js.map

@@ -18,2 +18,4 @@ "use strict";

return true;
}
}
//# sourceMappingURL=shallowEqual.js.map

@@ -13,2 +13,4 @@ "use strict";

return member => (0, _matchesPattern.default)(member, parts, allowPartial);
}
}
//# sourceMappingURL=buildMatchMemberExpression.js.map

@@ -33,2 +33,4 @@ "use strict";

}
}
}
//# sourceMappingURL=is.js.map

@@ -31,2 +31,4 @@ "use strict";

return false;
}
}
//# sourceMappingURL=isBinding.js.map

@@ -14,2 +14,4 @@ "use strict";

return (0, _generated.isFunctionDeclaration)(node) || (0, _generated.isClassDeclaration)(node) || (0, _isLet.default)(node);
}
}
//# sourceMappingURL=isBlockScoped.js.map

@@ -24,2 +24,4 @@ "use strict";

return false;
}
}
//# sourceMappingURL=isImmutable.js.map

@@ -14,2 +14,4 @@ "use strict";

return (0, _generated.isVariableDeclaration)(node) && (node.kind !== "var" || node[_constants.BLOCK_SCOPED_SYMBOL]);
}
}
//# sourceMappingURL=isLet.js.map

@@ -12,2 +12,4 @@ "use strict";

return !!(node && _definitions.VISITOR_KEYS[node.type]);
}
}
//# sourceMappingURL=isNode.js.map

@@ -70,2 +70,4 @@ "use strict";

return true;
}
}
//# sourceMappingURL=isNodesEquivalent.js.map

@@ -21,2 +21,4 @@ "use strict";

return false;
}
}
//# sourceMappingURL=isPlaceholderType.js.map

@@ -128,2 +128,4 @@ "use strict";

return true;
}
}
//# sourceMappingURL=isReferenced.js.map

@@ -20,2 +20,4 @@ "use strict";

return (0, _generated.isScopable)(node);
}
}
//# sourceMappingURL=isScope.js.map

@@ -14,2 +14,4 @@ "use strict";

});
}
}
//# sourceMappingURL=isSpecifierDefault.js.map

@@ -24,2 +24,4 @@ "use strict";

return false;
}
}
//# sourceMappingURL=isType.js.map

@@ -14,2 +14,4 @@ "use strict";

return (0, _isValidIdentifier.default)(name) && !RESERVED_WORDS_ES3_ONLY.has(name);
}
}
//# sourceMappingURL=isValidES3Identifier.js.map

@@ -20,2 +20,4 @@ "use strict";

return (0, _helperValidatorIdentifier.isIdentifierName)(name);
}
}
//# sourceMappingURL=isValidIdentifier.js.map

@@ -16,2 +16,4 @@ "use strict";

}) && !node[_constants.BLOCK_SCOPED_SYMBOL];
}
}
//# sourceMappingURL=isVar.js.map

@@ -42,2 +42,4 @@ "use strict";

return true;
}
}
//# sourceMappingURL=matchesPattern.js.map

@@ -10,2 +10,4 @@ "use strict";

return !!tagName && /^[a-z]/.test(tagName);
}
}
//# sourceMappingURL=isCompatTag.js.map

@@ -12,2 +12,4 @@ "use strict";

var _default = isReactComponent;
exports.default = _default;
exports.default = _default;
//# sourceMappingURL=isReactComponent.js.map

@@ -32,2 +32,4 @@ "use strict";

validate(node, key, val);
}
}
//# sourceMappingURL=validate.js.map
{
"name": "@babel/types",
"version": "7.18.13",
"version": "7.19.0",
"description": "Babel Types is a Lodash-esque utility library for AST nodes",

@@ -32,4 +32,4 @@ "author": "The Babel Team (https://babel.dev/team)",

"devDependencies": {
"@babel/generator": "^7.18.13",
"@babel/parser": "^7.18.13",
"@babel/generator": "^7.19.0",
"@babel/parser": "^7.19.0",
"chalk": "^4.1.0",

@@ -36,0 +36,0 @@ "glob": "^7.2.0"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc