Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@economist/fabric-components
Advanced tools
A Component library made for consumption by Fabric team.
These are a set of Components for exclusive usage by The Economist Group. For documentation and migration guides visit here. A few bigger set of components are served via their own npm packages, you can find the fabric-carousel at https://github.com/EconomistDigitalSolutions/fabric-carousel
npm install @economist/fabric-components
A sample implementation would be:
import React from "react";
import HeadEcon from "@economist/fabric-components/header/headecon/HeadEcon";
const App = () => {
return (
<div>
<HeadEcon />
</div>
);
};
export default App;
We have a handy script set up that you can use to create components. It can be invoked directly from the scripts folder or via npm
npm run new
The bash script will ask for category; if a category does not exist, it will create it for you. After you have a provided a category, bash will ask you to name the component, it will capitalise the first letter for you, see naming conventions below for more information. Once you provide it with component name, you will get three files, namely, "Component.jsx", "component.test.js", "component.md".
All new components should have prop-types, and atleast one test written. If a component has a lot of functionalities, make sure that they are tested as well. Finally, feel free to illustrate the usage of component and add in relevant information in the markdown file.
Feel free to create your components manually, though make sure to follow our naming conventions and directory conventions which are as follows :
Once you have created your component, do make sure to add it to the relevant categories index.js as an export.
For Component suggestions, please look into Suggestions.
Follow the below mentioned guidelines for filing component suggestions.
For further support in using, and any questions should be addressed to Aaditya Sahay
FAQs
A Component library made for consumption by Fabric team.
The npm package @economist/fabric-components receives a total of 28 weekly downloads. As such, @economist/fabric-components popularity was classified as not popular.
We found that @economist/fabric-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 134 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.