Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@dhleong/now-shadow-cljs
Advanced tools
A now builder for ClojureScript projects using shadow-cljs
A ▲ Now 2.0 builder for ClojureScript projects using shadow-clj. The builder will build your shadow-cljs targets and deploy them to ▲ Now.
This is a fork of jntn/now-shadow-cljs, which may or may not still be maintained, in order to introduce compatibility fixes.
Create a shadow-cljs project. This builder supports building :browser
and :node-library
targets. If the target is :browser
it will be deployed as a static page and if it is :node-library
it will be deployed as a lambda function.
Write a now.json
file that uses @dhleong/now-shadow-cljs
. Note: If you do not specify a routes
section, the build output will be available under the specified output folder. For :node-library
it is the :output-to
path and for :browser
it is the :output-dir
path.
For an example using both browser and node builds, see github.com/jntn/haiku
now.json
{
"version": 2,
"name": "haiku",
"builds": [
{
"src": "shadow-cljs.edn",
"use": "@dhleong/now-shadow-cljs"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "/public/$1"
},
{
"src": "/api/(.*)",
"dest": "/api/$1"
}
]
}
shadow-cljs.edn
{:builds {:haikus {:target :node-library
;; Will be available at "/api/haikus"
:output-to "api/haikus/index.js"
:exports-var jntn.api.haikus/handler}
:app {:target :browser
;; Will by default be available at "/public" but
;; using the now.json above it is reached at "/"
:output-dir "public/js"
:asset-path "js"
:modules {:main {:entries [jntn.app.core]}}
:devtools {:http-root "public"
:proxy-url "http://localhost:3000"
:http-port 8000}}}}
:browser
and :node-library
.:deps true
in shadow-cljs.edn
.FAQs
A now builder for ClojureScript projects using shadow-cljs
The npm package @dhleong/now-shadow-cljs receives a total of 0 weekly downloads. As such, @dhleong/now-shadow-cljs popularity was classified as not popular.
We found that @dhleong/now-shadow-cljs 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.