🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@babel/helper-annotate-as-pure

Package Overview
Dependencies
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-annotate-as-pure - npm Package Compare versions

Comparing version

to
7.27.3

2

lib/index.js

@@ -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