Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
modal-svelte
Advanced tools
Changelog
1.3.1 - 2024 Jan 10
Readme
Modal component for Svelte
Features:
npm install modal-svelte
<script>
import Modal from 'modal-svelte'
</script>
<Modal title="Hello world!" onCancel={() => (open = false)}>
<p>Content</p>
</Modal>
This shows all available functionality
<Modal
title="Hello world!"
onCancel={() => (open = false)}
form={() => submitMyForm()}
noEscapeHandling
noCloseIcon
class="w-full"
>
<p>Content</p>
<input />
<!-- If you want to bring focus to a specific element -->
<input autofocus />
<div slot="buttons">
<button type="submit">Submit</button>
</div>
</Modal>
:root {
--modal-bg: #fff;
color: #000;
}
npm install
npm run dev
: Start in dev modenpm run build
: Buildnpm run lint
: Lintnpm run format
: FormatCHANGELOG.md
npm run lint
npm version --no-git-tag <version>
npm run build:package
npm publish
FAQs
Modal component for Svelte
The npm package modal-svelte receives a total of 4 weekly downloads. As such, modal-svelte popularity was classified as not popular.
We found that modal-svelte demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.