
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
landing-gear
Advanced tools
A collection of lit elements that mirror the wickedblocks project (https://blocks.wickedtemplates.com)
Landing Gear is a set of Lit-powered components that builds on the work done by wickedtemplates to create wickedblocks.
It was originally called "Wicked Landing Gear", but the "Wicked" was removed to avoid confusion as this code is not created or maintained by wickedtemplates.
landing-gear
via /YARN$ yarn add landing-gear
If you use npm
then this would be:
$ npm install landing-gear
Use HTML like the folloing:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Your Site</title>
<script type="module" src="../node_modules/landing-gear/dist/lg-alert/index.js"></script>
</head>
<body>
<h1>Your Site</h1>
<h2>A subtitle for your site</h2>
<!-- Basic alert, powered by landing-gear -->
<lg-alert class="alert"
variant="info"
title="Basic Alert"
description="Important alert text that needs to be shown"></lg-alert>
</body>
</html>
Build your project however it should be built depending on which bundler you used. If you used parcel
this is as simple as:
$ parcel
To add a new component:
yarn create @vitejs/app new-component --template lit-element-ts
Makefile
from an existing componentpackage.json
with the project name, and appropriate script
tasks and devDependencies
to match other projectspackage.json
for use with Vite library modeAlternatively you can also also copy an existing existing library, and make the appropriate replacements
To view an existing component's demo page, run the following:
$ COMPONENT=lg-content make serve-component-demo
Here are some things that should really get done at some point:
lit
import, multiple components, rather than every component having an instance of lit inside)FAQs
A collection of lit elements that mirror the wickedblocks project (https://blocks.wickedtemplates.com)
We found that landing-gear 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.