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.5ee3078e to 0.3.0-alpha.636ae276

14

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

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

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

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

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

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

{
"name": "babel-plugin-minify-flip-comparisons",
"version": "0.3.0-alpha.5ee3078e",
"version": "0.3.0-alpha.636ae276",
"description": "",

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

"dependencies": {
"babel-helper-is-void-0": "^0.3.0-alpha.5ee3078e"
"babel-helper-is-void-0": "^0.3.0-alpha.636ae276"
}
}
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