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.
@ifaxity/fx
Advanced tools
The result is this, a lit-html powered custom element with a Vue like syntax and reactivity system. All written in Typescript to have the useful typehints in an editor like VSCode.
As this is a WIP and just my hobby project its not ready for serious use yet. Mostly because there is still not a lot of users using a web components ready browser version (~70%).
A lot is going to change in the package so don't expect code to work when you update. More packages for this coming soon like a router and maybe a Flux like store.
To install just use your preferred package manager, like npm:
npm install @ifaxity/fx --save
To use the module just import it like this:
import Fx from '@ifaxity/fx';
And then you can then use the module like this:
import Fx from '@ifaxity/fx';
// Define a element like this
// The tagname is important the element will only render when the browser sees this tagname
Fx.define('hello-world', {
props: {
name: {
type: String,
default: 'World',
},
},
render(html) {
return html`
<h1>Hello ${this.name}!</h1>
`;
},
});
// Then it will automatically be rendered in the browser when it detects the tagname.
FAQs
Custom Element with Vue.js like syntax & features
The npm package @ifaxity/fx receives a total of 0 weekly downloads. As such, @ifaxity/fx popularity was classified as not popular.
We found that @ifaxity/fx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.