Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@envdoctor/envdoctor-config-essentials
Advanced tools
This configuration holds an essential check of version
const { COMPARATORS } = require("@envdoctor/envdoctor-config-essentials");
Possible comparators:
COMPARATORS.EQ
COMPARATORS.GT
COMPARATORS.GTE
COMPARATORS.LT
COMPARATORS.LTE
COMPARATORS.SATISFIES
interface INodeVersion {
file?: string;
comparator?: string;
version?: string;
}
{
"node-version": [2, { comparator: COMPARATORS.GT, version: "9" ]
}
⚠️ There is also experimental API which takes the name of the file: { file: ".nvmrc"}
for instance. This will look for .nvmrc
file for the version and then ensure that user uses the same major version.
interface INodeVersion {
comparator?: string;
version?: string;
}
{
"yarn-version": [2, { comparator: COMPARATORS.GT, version: "9" }]
}
yarn add @envdoctor/core @envdoctor/envdoctor-config-essentials -D
In your .envdoctorrc
file
const { COMPARATORS } = require("@envdoctor/envdoctor-config-essentials");
module.exports = {
extends: ["@envdoctor/essentials"],
rules: {
"node-version": [2, { comparator: COMPARATORS.GT, version: "9" }],
"yarn-version": [2, { comparator: COMPARATORS.EQ, version: "1.12.3" }]
}
};
FAQs
Essentials rules for Envdoctor
The npm package @envdoctor/envdoctor-config-essentials receives a total of 12 weekly downloads. As such, @envdoctor/envdoctor-config-essentials popularity was classified as not popular.
We found that @envdoctor/envdoctor-config-essentials demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.