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

@import-meta-env/unplugin

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.3.0 to 0.3.1

22

dist/index.js

@@ -210,3 +210,3 @@ "use strict";

// package.json
var version = "0.3.0";
var version = "0.3.1";

@@ -1393,5 +1393,8 @@ // ../shared/constant.ts

}
if (s.hasChanged() === false) {
return;
}
return {
code: s.toString(),
map: s.generateMap()
map: s.generateMap({ source: id, includeContent: true })
};

@@ -1445,5 +1448,8 @@ }

}
if (s.hasChanged() === false) {
return;
}
return {
code: s.toString(),
map: s.generateMap()
map: s.generateMap({ source: id, includeContent: true })
};

@@ -1580,3 +1586,3 @@ }

debug && console.debug("=== code after ===");
debug && console.debug(result.code);
debug && console.debug((result == null ? void 0 : result.code) ?? code);
} else {

@@ -1588,10 +1594,6 @@ debug && console.debug("=== runtime transform ===", id);

debug && console.debug("=== after ===");
debug && console.debug(result.code);
debug && console.debug((result == null ? void 0 : result.code) ?? code);
}
debug && console.debug("==================");
if (meta.framework === "webpack") {
return result.code;
} else {
return result;
}
return result == null ? void 0 : result.code;
},

@@ -1598,0 +1600,0 @@ buildEnd() {

@@ -14,2 +14,2 @@ import { UnpluginContextMeta } from "unplugin";

map: import("magic-string").SourceMap;
};
} | undefined;

@@ -12,2 +12,2 @@ import { UnpluginContextMeta } from "unplugin";

map: import("magic-string").SourceMap;
};
} | undefined;
{
"name": "@import-meta-env/unplugin",
"version": "0.3.0",
"version": "0.3.1",
"description": "Build once, deploy anywhere. Startup/runtime environment variable solution for JavaScript.",

@@ -47,4 +47,4 @@ "license": "MIT",

"typescript": "4.8.4",
"vite": "3.2.2",
"webpack": "5.74.0"
"vite": "3.2.3",
"webpack": "5.75.0"
},

@@ -51,0 +51,0 @@ "peerDependencies": {

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