Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Releases: YahooArchive/locator

updated debug version

Choose a tag to compare

@drewfish drewfish released this 08 Nov 15:27
  • (1f8ba84) updated debug dep to ^3.1.0

added support for scoped packages

Choose a tag to compare

@drewfish drewfish released this 18 Aug 00:33
  • (4463c22) add support for scoped npm packages (PR #35)

[security issue] update semver module to latest

Choose a tag to compare

@redonkulus redonkulus released this 09 Nov 21:19
v1.2.0

Release v1.2.0.

Update to debug@2

Choose a tag to compare

@redonkulus redonkulus released this 28 Oct 22:43
v1.1.2

Release v1.1.2.

bugfix

Choose a tag to compare

@caridy caridy released this 22 Sep 22:28
  • PR #31: expands path to bundle using fs.realpathSync() for the internal
    registry to guarantee resolution when developing using symblinks to bundles.

jsnext support

Choose a tag to compare

@caridy caridy released this 20 Aug 22:27

PR #30:

Fixes #25 - logs

  • relied on debug() to log locator warnings
  • moved logic to dedupe duplicates into its own method for better testing

Fixes #27 - method deprecation:

* listAllResources() -> getAllResources()
* listBundleNames() -> getBundleNames()

PR #29:

Fixes #25 - support rulesets generation thru rulesetFn configuration

This will allow us to do something like:

var locator = new Locator({
    rulesetFn: function (bundle) {
        if (bundle.pkg && bundle.pkg['jsnext:main']) {
            return { /* create synthetic rules for ES6 packages */ };
        }
    }
});

Fixes filter behavior by allowing falsy filter value and empty object {} as filters that will pass for all files and resources, but fails if there is a key in the filter object that doesn't match extensions or types. You can now do:

locator.getBundleResources('foo'); // return all resources in bundle
locator.getBundleResources('foo', {}); // return all resources in bundle
locator.getBundleResources('foo', { crazy: 1 }); // return no resources
locator.getBundleResources('foo', { types: 'model' }); // return model resources

new api

Choose a tag to compare

@caridy caridy released this 12 Aug 20:04
  • locator.getBundleResources(): to filter resources per bundle. e.g.: this is used
    by consumers to collect all templates from a given bundle.
  • locator.getBundleFiles(): to filter files per bundle. e.g.: this is used by consumers
    to collect all css files from a given bundle.

major release

Choose a tag to compare

@caridy caridy released this 12 Aug 18:51

1.0.0

  • !IMPORTANT! This release contains a notable backward-incompatible change.
  • !Backwards-Incompatible Change! sync version of locator without plugins.
  • !Backwards-Incompatible Change! removed support for nodejs 0.8.x.

No more plugins

The support for plugins was removed, and therefore, any build process for files
and resources should happen as a separate routine. This new version of locator can
be used by grunt/gulp/broccoli tasks to apply custom builds based on the semantic
of the application, in it can also be used during the runtime process as part of
application code to get the semantic of the source files and resources.

minor release

Choose a tag to compare

@juandopazo juandopazo released this 12 Mar 20:38
  • Do not override an existing promise implementation with ypromise. This opens up the possibility to use other promise libraries with Locator.

minor release

Choose a tag to compare

@caridy caridy released this 20 Feb 15:51
  • Remove dependency on YUI. Use standalone ypromise for promises.