New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

compare-env-keys

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compare-env-keys - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

10

.dist/src/compare-env.js

@@ -44,4 +44,12 @@ "use strict";

const diff = (0, arr_diff_1.default)(mainEnvKeys, otherEnvKeys);
const reverseDiff = (0, arr_diff_1.default)(otherEnvKeys, mainEnvKeys);
if (diff.length === 0) {
utils.pass(`Pass`);
if (reverseDiff.length === 0) {
utils.pass(`Pass`);
}
else {
utils.pass(`Pass. But FYI found in ${utils.stringify(otherEnvPath)} these extra keys ${reverseDiff
.map((key) => utils.stringify(key))
.join(", ")}`);
}
}

@@ -48,0 +56,0 @@ else {

2

package.json
{
"name": "compare-env-keys",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -5,0 +5,0 @@ "license": "MITH",

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