Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@polkadot/ui-settings
Advanced tools
Manages app settings including endpoints, themes and prefixes
User preferences are set as a settings object in the browser's local storage.
import settings from '@polkadot/ui-settings';
render () {
// get api endpoint for the selected chain
const WS_URL = settings.apiUrl();
// get the selected il8n language
const language = settings.il8nLang();
// get all available il8n languages
const languages = settings.availableLanguages();
// update settings
const updatedSettings = {
...settings,
i18nLang: 'Arabic'
}
settings.set(updatedSettings);
// NOTE: API currently does not handle hot reconnecting properly,
so you need to manually reload the page after updating settings.
window.location.reload();
}
Apps that currently use the settings package
2.9.7 Aug 24, 2022
Changes:
@polkadot/util
10.1.6FAQs
Manages app settings
The npm package @polkadot/ui-settings receives a total of 12,588 weekly downloads. As such, @polkadot/ui-settings popularity was classified as popular.
We found that @polkadot/ui-settings 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.