@staff0rd/assist 0.144.0 → 0.144.1

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { Command } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@staff0rd/assist",
9
- version: "0.144.0",
9
+ version: "0.144.1",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -7204,6 +7204,7 @@ import { SyntaxKind as SyntaxKind2 } from "ts-morph";
7204
7204
  function collectReferencedNames(sourceFile) {
7205
7205
  const names = /* @__PURE__ */ new Set();
7206
7206
  for (const id of sourceFile.getDescendantsOfKind(SyntaxKind2.Identifier)) {
7207
+ if (id.getFirstAncestorByKind(SyntaxKind2.ImportDeclaration)) continue;
7207
7208
  names.add(id.getText());
7208
7209
  }
7209
7210
  return names;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.144.0",
3
+ "version": "0.144.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {