Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-dev

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-dev - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

lib/index.js

@@ -8,6 +8,6 @@ 'use strict';

function plugin(_ref) {
var t = _ref.types;
var template = _ref.template;
var t = _ref.types,
template = _ref.template;
var expr = template('"production" !== process.env.NODE_ENV')();
var expr = template('"production" !== process.env.NODE_ENV', { placeholderPattern: false })();
var bool = t.booleanLiteral('production' !== process.env.NODE_ENV);

@@ -14,0 +14,0 @@

{
"name": "babel-plugin-transform-dev",
"version": "2.0.0",
"version": "2.0.1",
"description": "A plugin for Babel v6 which replaces `__DEV__` with the result of evaluating `'production' !== process.env.NODE_ENV`.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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