eslint-plugin-n
Advanced tools
Comparing version 17.10.2 to 17.10.3
@@ -7,3 +7,2 @@ /** | ||
const { isBuiltin } = require("node:module") | ||
const getConfiguredNodeVersion = require("../util/get-configured-node-version") | ||
@@ -14,3 +13,14 @@ const getSemverRange = require("../util/get-semver-range") | ||
const mergeVisitorsInPlace = require("../util/merge-visitors-in-place") | ||
const { | ||
NodeBuiltinModules, | ||
} = require("../unsupported-features/node-builtins.js") | ||
/** | ||
* @param {string} name The name of the node module | ||
* @returns {boolean} | ||
*/ | ||
function isBuiltin(name) { | ||
return Object.hasOwn(NodeBuiltinModules, name) | ||
} | ||
const messageId = "preferNodeProtocol" | ||
@@ -17,0 +27,0 @@ |
{ | ||
"name": "eslint-plugin-n", | ||
"version": "17.10.2", | ||
"version": "17.10.3", | ||
"description": "Additional ESLint's rules for Node.js", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
436639
11569