
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
@jvlk/rescript-fresh
Advanced tools
ReScript bindings and utils for Fresh.
Read the docs.
You can use this starter repo as a template. It's the same thing you get by creating a new Fresh app, just set up to use ReScript.
// rescript.json
{
"name": "rescript-fresh-example",
"sources": [
{
"dir": "components",
"subdirs": true
},
{
"dir": "islands",
"subdirs": true
},
{
"dir": "routes",
"subdirs": true
}
],
"package-specs": [
{
"module": "esmodule",
"in-source": true
}
],
"suffix": ".js", // the suffix needs to be .js for Fresh to pick up on route files
"jsx": {
"module": "preact" // Fresh uses Preact
},
"bs-dependencies": [
"@rescript/webapi", // it's highly recommended to use the webapi with Fresh
"@jvlk/rescript-fresh"
],
"bsc-flags": [
"-open WebAPI.Global"
]
}
// deno.json
{
"tasks": {
+ "res:dev": "rescript -w",
+ "res:build": "rescript",
+ "res:clean": "rescript clean"
},
"imports": {
+ "rescript": "npm:rescript@next",
+ "@rescript/webapi": "npm:@rescript/webapi@experimental",
+ "@jvlk/rescript-fresh": "npm:@jvlk/rescript-fresh@^0.2.0"
}
}
In one terminal run deno task res:dev
and in another run deno task start
.
FAQs
ReScript bindings and utils for [Fresh](https://fresh.deno.dev/).
The npm package @jvlk/rescript-fresh receives a total of 0 weekly downloads. As such, @jvlk/rescript-fresh popularity was classified as not popular.
We found that @jvlk/rescript-fresh 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.
Research
/Security News
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.