@babel/helper-annotate-as-pure
Advanced tools
Comparing version
@@ -16,3 +16,3 @@ "use strict"; | ||
function annotateAsPure(pathOrNode) { | ||
const node = pathOrNode["node"] || pathOrNode; | ||
const node = pathOrNode.node || pathOrNode; | ||
if (isPureAnnotated(node)) { | ||
@@ -19,0 +19,0 @@ return; |
{ | ||
"name": "@babel/helper-annotate-as-pure", | ||
"version": "7.27.1", | ||
"version": "7.27.3", | ||
"description": "Helper function to annotate paths and nodes with #__PURE__ comment", | ||
@@ -17,6 +17,6 @@ "repository": { | ||
"dependencies": { | ||
"@babel/types": "^7.27.1" | ||
"@babel/types": "^7.27.3" | ||
}, | ||
"devDependencies": { | ||
"@babel/traverse": "^7.27.1" | ||
"@babel/traverse": "^7.27.3" | ||
}, | ||
@@ -23,0 +23,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
4042
-0.3%Updated