npm-pkg-lint 3.10.9 → 3.10.11

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.
package/dist/index.js CHANGED
@@ -16101,6 +16101,9 @@ async function npmInfo(pkg, options = { ignoreUnpublished: false }) {
16101
16101
  // src/rules/deprecated-dependency.ts
16102
16102
  var ruleId2 = "no-deprecated-dependency";
16103
16103
  function createEntry(key, version3, source) {
16104
+ if (version3.startsWith("file:")) {
16105
+ return null;
16106
+ }
16104
16107
  if (version3.startsWith("npm:")) {
16105
16108
  const [newKey, newVersion] = version3.slice("npm:".length).split("@", 2);
16106
16109
  key = newKey;