
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
dustjs-helpers
Advanced tools
Additional functionality for dustjs-linkedin package
Read more here : https://github.com/linkedin/dustjs-helpers
A quick tutorial for how to use Dust https://github.com/linkedin/dustjs/wiki/Dust-Tutorial
Open https://github.com/linkedin/dustjs-helpers in a browser and fork it. Then clone your fork:
git clone https://github.com/<your github account>/dustjs-helpers dustjs-helpers
cd dustjs-helpers
Set up a branch for what you are working on
git checkout -b myBranchName
Install Grunt-cli, it lets you run grunt
commands. For more information see http://gruntjs.com/getting-started
npm install -g grunt-cli
Install node dependencies needed for development in this project
npm install
Make your changes on the branch and run jshint\tests to make sure changes are OK
grunt test
Commit your changes and push them to github
git add .
git commit -m "My changes to dustjs-helpers repo"
git push origin myBranchName
Go to github and post a pull request, see https://help.github.com/articles/creating-a-pull-request
To debug code in a browser run grunt dev
task. It will generate jasmine spec runner and serve it on http://localhost:3000/_SpecRunner.html
URL.
Generated spec runner references unminified dust-helpers.js and dust-full.js files. This will allow you to easily step through the code and set up breakpoints.
This task also watches changes to lib directory, so you can simply refresh the page to see the changes without a need to re-run grunt dev
task. Press Ctrl + C
to disconnect from server.
grunt watch
will monitor dust-helpers.js and test spec files. Whenever change is made to those files, it will jshint them and run unit tests in Phantom (will not run them in node or rhino).
It is handy way to keep testing your changes without a need to manually run grunt testPhantom
task.
Be sure to run grunt test
before sending pull request. It will test your change in all environments and make sure that a travis build for your pull request succeeds.
Use grunt testClient
to test prod version code in any browser. Similarly to grunt dev
task it will host spec runner on http://localhost:3000/_SpecRunner.html
URL.
Task grunt coverage
runs jasmine unit tests against unminified source code and generates coverage report under tmp/coverage
folder.
Open index.html
file in a browser to view the coverage.
v1.4.0 (2014/11/04 22:03 +00:00)
FAQs
Helpers for dustjs-linkedin
The npm package dustjs-helpers receives a total of 4,069 weekly downloads. As such, dustjs-helpers popularity was classified as popular.
We found that dustjs-helpers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.