Skip to content

Releases: sergei-startsev/deps-walker

v3.0.0

29 Jan 20:31
Compare
Choose a tag to compare

What's Changed

  • BREAKING CHANGES: discontinue nodejs 16x support

Full Changelog: v2.0.1...v3.0.0

v2.0.1

29 Jan 19:32
Compare
Choose a tag to compare

What's Changed

  • deps: bump dependecies
  • chore: use Node v20 in the pipelines

Full Changelog: v2.0.0...v2.0.1

v2.0.0

24 Apr 20:46
Compare
Choose a tag to compare

What's Changed

  • BREAKING CHANGES: Drop support of unmaintained Node.js versions. Node.js >= 16 is supported now.
  • feat: walk function returns an array of modules with their dependencies:
const graph = await walk(
      path.join(__dirname, 'examples/base/entry.js'),
      () => {}
);
console.log(graph);
/*
[
  {
    "filePath": "./test/examples/base/entry.js",
    "dependencies": [
      "./test/examples/base/a.js",
      "./test/examples/base/b.js",
    ],
  },
  {
    "filePath": "./test/examples/base/a.js",
    "dependencies": [
      "./test/examples/base/b.js",
      "./test/examples/base/c.js",
      "./test/examples/base/d.js",
    ],
  }
  ...
]
 */