You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@babel/helper-annotate-as-pure

Package Overview
Dependencies
Maintainers
6
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-beta.38 to 7.0.0-beta.39

11

lib/index.js

@@ -12,10 +12,5 @@ "use strict";

var isPureAnnotated = function isPureAnnotated(node) {
var leadingComments = node.leadingComments;
if (leadingComments === undefined) {
return false;
}
return leadingComments.some(function (comment) {
var isPureAnnotated = function isPureAnnotated(_ref) {
var leadingComments = _ref.leadingComments;
return !!leadingComments && leadingComments.some(function (comment) {
return /[@#]__PURE__/.test(comment.value);

@@ -22,0 +17,0 @@ });

{
"name": "@babel/helper-annotate-as-pure",
"version": "7.0.0-beta.38",
"version": "7.0.0-beta.39",
"description": "Helper function to annotate paths and nodes with #__PURE__ comment",

@@ -9,4 +9,4 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-annotate-as-pure",

"dependencies": {
"@babel/types": "7.0.0-beta.38"
"@babel/types": "7.0.0-beta.39"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc