Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
astro-crank
Advanced tools
An integration for Crank in Astro
npm i astro-crank
Add the integration to astro.config.mjs
.
import {defineConfig} from "astro/config";
import crank from "astro-crank";
export default defineConfig({
// ...
integrations: [crank()],
});
[0.2.0] - 2020-07-01
<input checked />
and then <input />
will not cause the checked prop to be deleted on the actual element.Renderer.prototype.render
and Context.prototype.refresh
now return rendered values rather than undefined.Props
, FunctionComponent
, GeneratorComponent
, IntrinsicProps
, ChildIterator
, ChildGenerator
and Key
have been removed from the public API.crank-ref
props.Context.prototype.schedule
.Context.prototype.cleanup
.Context.prototype.props
.Context.prototype.value
.dispatchEvent
now does bubbling and capturing correctly.Context.prototype.dispatchEvent
not responding to stopPropagation
and stopImmediatePropagation
.FAQs
Use Crank components within Astro
We found that astro-crank 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.