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

dataunlocker

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dataunlocker - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

dist/bin/patch/index.js

@@ -16,3 +16,3 @@ import { getEnv, getRelativeFileToCwd, isFileExists } from '../../lib/utils/index.js';

const id = args.id || getEnv('DATAUNLOCKER_ID');
const env = getEnv('DATAUNLOCKER_ENV').toLowerCase();
const env = getEnv('DATAUNLOCKER_ENV')?.toLowerCase() || '';
if (!file.endsWith('.js')) {

@@ -19,0 +19,0 @@ return warnAndExit(`Only .js files are supported. Provided file not supported: ${file}`);

@@ -1,1 +0,1 @@

export declare const getEnv: (name: string) => string;
export declare const getEnv: (name: string) => string | undefined;

@@ -1,1 +0,1 @@

export const getEnv = (name) => process.env[name] || process.env[`npm_config_${name.toLowerCase()}`] || '';
export const getEnv = (name) => process.env[name] || process.env[`npm_config_${name.toLowerCase()}`];
{
"name": "dataunlocker",
"version": "1.0.5",
"version": "1.0.6",
"description": "DataUnlocker's command line interface utilities",

@@ -5,0 +5,0 @@ "type": "module",

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