Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@fleek-platform/env-guards
Advanced tools
This package is solving not direct usage of `process.env`. Instead create in `src` of your package where you need secrets file `secrets.ts` and use it like this:
This package is solving not direct usage of process.env
. Instead create in src
of your package where you need secrets file secrets.ts
and use it like this:
import { parseEnvs } from '@fleek-platform/env-guards';
export const envGuards = parseEnvs([
'HERE_LIST', //
'THE_ENV_VARIABLES',
'YOU_WANT_TO_USE',
]);
and then everywhere in your package you can use it like this:
import { envGuards } from './envGuards';
console.log(envGuards.HERE_LIST);
The list of strings (name of envs) that you can pass to parseEnvs
function is limited. If you want to extend it and add new env name, feel free to add it in this file: /packages/env-guards/src/lib/availableEnvKeys.ts
and build the package before usage.
FAQs
This package is solving not direct usage of `process.env`. Instead create in `src` of your package where you need secrets file `secrets.ts` and use it like this:
The npm package @fleek-platform/env-guards receives a total of 5 weekly downloads. As such, @fleek-platform/env-guards popularity was classified as not popular.
We found that @fleek-platform/env-guards demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.