
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
@astropub/assert
Advanced tools
npm install @astropub/assert
// astro.config.js
import { assertPlugin } from '@astropub/assert'
export default {
vite: {
plugins: [
assertPlugin()
]
}
}
You can pass in special handlers for load
and transform
when imports with assertions are encountered.
import { assertions } from '@astropub/assert'
// astro.config.js
export default {
vite: {
plugins: [
load(id, assert) {
console.log(assert)
// e.g. { type: "json" }
// e.g. { type: "react-component", client: "load" }
}
]
}
}
Codecs is a remix of Squoosh!.
Code original to this project is licensed under the CC0-1.0 License.
Code from Squoosh! is licensed under the Apache-2.0 License, Copyright Google Inc.
FAQs
```sh npm install @astropub/assert ```
The npm package @astropub/assert receives a total of 3 weekly downloads. As such, @astropub/assert popularity was classified as not popular.
We found that @astropub/assert 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
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.