@babel/helper-annotate-as-pure
Advanced tools
Comparing version 7.21.4-esm.3 to 7.21.4-esm.4
@@ -1,8 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = annotateAsPure; | ||
var _t = require("@babel/types"); | ||
import * as _t from "@babel/types"; | ||
const { | ||
@@ -15,3 +9,3 @@ addComment | ||
}) => !!leadingComments && leadingComments.some(comment => /[@#]__PURE__/.test(comment.value)); | ||
function annotateAsPure(pathOrNode) { | ||
export default function annotateAsPure(pathOrNode) { | ||
const node = pathOrNode["node"] || pathOrNode; | ||
@@ -18,0 +12,0 @@ if (isPureAnnotated(node)) { |
{ | ||
"name": "@babel/helper-annotate-as-pure", | ||
"version": "7.21.4-esm.3", | ||
"version": "7.21.4-esm.4", | ||
"description": "Helper function to annotate paths and nodes with #__PURE__ comment", | ||
@@ -17,3 +17,3 @@ "repository": { | ||
"dependencies": { | ||
"@babel/types": "7.21.4-esm.3" | ||
"@babel/types": "7.21.4-esm.4" | ||
}, | ||
@@ -20,0 +20,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6
3938
16
+ Added@babel/helper-string-parser@7.21.4-esm.4(transitive)
+ Added@babel/helper-validator-identifier@7.21.4-esm.4(transitive)
+ Added@babel/types@7.21.4-esm.4(transitive)
- Removed@babel/helper-string-parser@7.21.4-esm.3(transitive)
- Removed@babel/helper-validator-identifier@7.21.4-esm.3(transitive)
- Removed@babel/types@7.21.4-esm.3(transitive)
Updated@babel/types@7.21.4-esm.4