Socket
Socket
Sign inDemoInstall

babel-plugin-transform-node-env-inline

Package Overview
Dependencies
Maintainers
5
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-node-env-inline - npm Package Compare versions

Comparing version 0.5.0-alpha.55276695 to 0.5.0-alpha.01eac1c3

7

lib/index.js
"use strict";
module.exports = function (_ref) {
var t = _ref.types;
module.exports = function ({
types: t
}) {
return {

@@ -13,3 +14,3 @@ name: "transform-node-env-inline",

if (path.parentPath.isBinaryExpression()) {
var evaluated = path.parentPath.evaluate();
const evaluated = path.parentPath.evaluate();

@@ -16,0 +17,0 @@ if (evaluated.confident) {

{
"name": "babel-plugin-transform-node-env-inline",
"version": "0.5.0-alpha.55276695",
"version": "0.5.0-alpha.01eac1c3",
"description": "Inline the `NODE_ENV` environment variable and evaluate it if possible",

@@ -5,0 +5,0 @@ "keywords": [

@@ -29,3 +29,3 @@ # babel-plugin-transform-node-env-inline

```sh
npm install babel-plugin-transform-node-env-inline
npm install babel-plugin-transform-node-env-inline --save-dev
```

@@ -32,0 +32,0 @@

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