Skip to content

Releases: dependents/Dependents

AMD/ES6 bug fixes

14 Jun 01:32
Compare
Choose a tag to compare

AMD Fix: properly support a baseUrl with a leading slash. Thanks to Mike Sherov for the bug report!

ES6 Fix: Properly parse files that contain JSX and ES7

Sublime Text 2 Support

08 Jun 18:24
Compare
Choose a tag to compare

All commands now work with ST2

Bug fixes and enhancements

04 Jun 00:51
Compare
Choose a tag to compare
  • Lots of AMD partial resolution bugs were fixed with the Jump To Dependency, Find Dependents, and Get Tree features.
  • Find Dependents: you can now find the dependents of any templates or styles that are imported by AMD modules
  • Get Tree: imported templates and styles will now show up as part of the dependency tree

Fix regression: Exclude handling

25 May 14:56
Compare
Choose a tag to compare

If you had an exclude array in your .deprc file, you might have seen undefined is not a function in the most recent update of Dependents.

Recently, a lot of work is going on under the hood to make Dependents easier to integrate with other editors.

Feel free to yell at me if you experience any regressions: @mrjoelkemp on Twitter

Find Dependents: Webpack support

16 May 02:13
Compare
Choose a tag to compare

The Find Dependents feature now supports processing modules that use Webpack aliasing for JS codebases. This means that if you're using resolve.alias in your webpack config, Dependents will resolve any of those aliased modules when it's searching for the Dependents of a module.

To use, you need a webpack_config entry in your .deprc file that points to the location of your webpack config:

{
  "webpack_config": "path/to/my/webpack.config.js"
}

Additional Dependents features will support Webpack resolution in future updates.

Update the Dependents package in Sublime Text or install it if you haven't yet.

Webpack support!

11 May 21:33
Compare
Choose a tag to compare

The JumpToDependency feature supports jumping to dependencies that are aliased via a webpack config.

You can now add a webpack_config to your .deprc file that points to the location of your webpack config:

{
  "webpack_config": "path/to/my/webpack.config.js"
}

Additional Dependents features will support Webpack resolution in future updates.

ES6 bugfix

20 Aug 04:01
Compare
Choose a tag to compare

ES6 projects with a RequireJS config file should be interpreted as AMD modules and use the config for resolution.

Internal Refactoring

12 Aug 12:36
Compare
Choose a tag to compare

Now using node-filing-cabinet as the lookup factory. This allows Dependents to care very little about the actual type of module/language we're dealing with.

This also moves more logic outside of Dependents and into node tooling.

Windows users rejoice!

24 Jul 04:25
Compare
Choose a tag to compare

I hope.

I landed a deduplication of the node tools that power this plugin. This should avoid Windows users hitting the
maximum filepath length bug that prevented the plugin from working.

This resulted in the deletion/move of 117k files, so let me know if anything breaks.

Dedupe

24 Jul 04:00
Compare
Choose a tag to compare

Dedupe removed about 22k files from the node_modules folder.