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

@import-meta-env/babel

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@import-meta-env/babel - npm Package Compare versions

Comparing version 0.1.10 to 0.2.0

6

dist/index.js

@@ -86,7 +86,3 @@ "use strict";

// ../shared/constant.ts
var placeholder = "'__import_meta_env_placeholder__'";
var uniqueVariableName = (() => {
const uniqueVariableName2 = "import_meta_env_unique_id_";
return uniqueVariableName2 + Array(256 - uniqueVariableName2.length).fill("x").join("");
})();
var placeholder = `eval("var import_meta_env={};import_meta_env")`;
var envFilePath = ".env";

@@ -93,0 +89,0 @@

10

package.json
{
"name": "@import-meta-env/babel",
"version": "0.1.10",
"version": "0.2.0",
"description": "Load environment variables into import.meta.env object",

@@ -32,4 +32,10 @@ "license": "MIT",

"@babel/core": "^7.0.0-0",
"@import-meta-env/cli": "^0.2.0",
"dotenv": "^11.0.0 || ^12.0.4 || ^13.0.1 || ^14.3.2 || ^15.0.1 || ^16.0.0"
},
"peerDependenciesMeta": {
"@import-meta-env/cli": {
"optional": true
}
},
"dependencies": {

@@ -39,4 +45,4 @@ "picocolors": "^1.0.0"

"devDependencies": {
"@babel/core": "^7.17.8"
"@babel/core": "7.19.3"
}
}
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