
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@yamadayuki/bs-url
Advanced tools
url module bindings for BuckleScript in Reason.
@yamadayuki/bs-url$ npm install --save @yamadayuki/bs-url
@yamadayuki/bs-url to bs-dependencies section of bsconfig.json.Create URL object.
let myURL = URL.make("https://example.com");
Js.log(myURL);
/* Prints https://example.com */
let otherURL = URL.make("/foo", "https://example.com");
Js.log(otherURL);
/* Prints https://example.com/foo */
Get member in URL object.
URL.make("https://example.com/foo#bar")
|> URL.hash
|> Js.log
/* Prints #bar */
Resove a target URL relative to a base URL.
URL.resolve("https://example.com/", "/foo") /* https://example.com/foo */
Create URLSearchParams object.
/* from String */
let params0 = URLSearchParmas.make("user=abc&query=xyz");
/* from Object */
let params1 = URLSearchParmas.makeWithObject({"user": "abc", "query": [|"first", "second"|]});
/* from Array */
let params2 = URLSearchParmas.makeWithArray([|("user", "abc"), ("query", "first"), ("query", "second")|])
URLSearchParamsnpm run build
npm run start
If you use vscode, Press Windows + Shift + B it will build automatically
FAQs
url module bindings for ReasonML
We found that @yamadayuki/bs-url 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.