Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@justeat/f-footer
Advanced tools
f-footer
– Fozzie Footer ComponentAllows any project to install and use a variation of the Just Eat footer on their project.
If you are using the fozzie gulp build tasks, then Eyeglass is automatically setup ready to use. If not, you can use it in one of the following ways:
Install the f-footer module using NPM or Yarn:
yarn add @justeat/f-footer
Then within your Sass files, you will need to import this module.
@import 'f-footer';
You can then use the f-footer
fozzie footer module styling.
The footer HTML can be imported into your project using Handlebars.
The templates themselves are in the /footer folder in the /templates directory.
The data required to build the templates is in the /resources folder in the /templates directory, in the file footer.json. This contains all of the translations for the various tenants. The data is structured as an object, with each property in the object consisting of the data for one tenant.
When building the templates, the i18n Handlebars helper will use the data for the current tenant by iterating through the property items for the 'culture' that has been passed in via the model.
Footer links are integration tested, however must be manually run by the developer due to CORS issues with JSDOM and the Just Eat international websites.
To tests the links:
package.json
and change testEnvironmentOptions.url
to the page you want to testtest/integration/footer-links.test.js
skip
method on test describe
functionjest
in the terminal and fix any tests that failNote: At the time of writing some endpoints are unavailable within Just Eat's internal networks, i.e. they return 404s; in particular the pages run by Valtec. To test these pages you may have to tether your phone and run off your phone network connection
FAQs
Unknown package
The npm package @justeat/f-footer receives a total of 2 weekly downloads. As such, @justeat/f-footer popularity was classified as not popular.
We found that @justeat/f-footer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.