New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-minify-flip-comparisons

Package Overview
Dependencies
Maintainers
5
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-minify-flip-comparisons - npm Package Compare versions

Comparing version 0.3.0-alpha.7f4dc3d4 to 0.3.0-alpha.8857f145

14

lib/index.js
"use strict";
module.exports = function (_ref) {
var t = _ref.types;
module.exports = function ({ types: t }) {
const isVoid0 = require("babel-helper-is-void-0")(t);
var isVoid0 = require("babel-helper-is-void-0")(t);
return {

@@ -16,5 +14,5 @@ name: "minify-flip-comparisons",

BinaryExpression(path) {
var node = path.node;
var right = node.right,
left = node.left;
const node = path.node;
const right = node.right,
left = node.left;

@@ -37,3 +35,3 @@ // Make sure we have a constant on the right.

node.right = left;
var operator = void 0;
let operator;
switch (node.operator) {

@@ -40,0 +38,0 @@ case ">":

{
"name": "babel-plugin-minify-flip-comparisons",
"version": "0.3.0-alpha.7f4dc3d4",
"version": "0.3.0-alpha.8857f145",
"description": "",

@@ -15,4 +15,4 @@ "keywords": [

"dependencies": {
"babel-helper-is-void-0": "^0.3.0-alpha.7f4dc3d4"
"babel-helper-is-void-0": "^0.3.0-alpha.8857f145"
}
}
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