Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@hig/icons
Advanced tools
This package retains the source of the library of HIG icons. You can import individual icons to render on your app.
import { Assets24 } from "@hig/icons";
const MyComponent = () => (
<div className="my-class">
<Assets24 />
</div>
);
export default MyComponent
Read more about where and how to use icons on the website.
yarn add @hig/icons @hig/theme-context @hig/theme-data
To add a new SVG icon to the library, add the svg
file to the src/icons
directory.
Then run the following command:
yarn build-icons
This will use SVGO to optimize the new icon, and update our release files. Remember to commit these changes.
SVG source files for all icons are available in the build/svg
subdirectory of the @hig/icons
package (e.g. ./node_modules/@hig/icons/build/svg
).
FAQs
HIG icon assets
The npm package @hig/icons receives a total of 252 weekly downloads. As such, @hig/icons popularity was classified as not popular.
We found that @hig/icons 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.