eslint-plugin-n 15.3.0 → 15.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,6 +26,12 @@ exports.checkPublish = function checkPublish(context, filePath, targets) {
26
26
  return
27
27
  }
28
28
 
29
+ // Private packages are never published so we don't need to check the imported dependencies either.
30
+ // More information: https://docs.npmjs.com/cli/v8/configuring-npm/package-json#private
31
+ if (packageInfo.private === true) {
32
+ return
33
+ }
34
+
29
35
  const allowed = new Set(getAllowModules(context))
30
36
  const convertPath = getConvertPath(context)
31
37
  const basedir = path.dirname(packageInfo.filePath)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-n",
3
- "version": "15.3.0",
3
+ "version": "15.4.0",
4
4
  "description": "Additional ESLint's rules for Node.js",
5
5
  "engines": {
6
6
  "node": ">=12.22.0"