Stardog.js depends on old lodash version

The _.pairs function in Connection.prototype.query does not exist in the latest version of lodash (4.17.4). Version 3.10.1 still has it.

Edit: I did find an npm reference to _.pairs here. I’m in the browser so I’m not sure.

If you’re just loading <script> tags in your <head> element, then you should target the version of lodash that stardog.js requires. Which per the package.json is 2.4.2.

Shoulda looked. Sorry. Thanks.

Is bower going away?

Yes eventually. You can check the 1.0.0 milestone for an idea of what changes are in the pipeline.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.