Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

rescript-bun

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rescript-bun - npm Package Compare versions

Comparing version
0.5.0
to
0.6.0
+12
src/BunSqlite.js
// Generated by ReScript, PLEASE EDIT WITH CARE
var Statement = {};
var Database = {};
export {
Statement ,
Database ,
}
/* No side effect */

Sorry, the diff of this file is not supported yet

// Generated by ReScript, PLEASE EDIT WITH CARE
import * as $$Bun from "bun";
var RedisClient = {};
var redis = new $$Bun.RedisClient();
export {
RedisClient ,
redis ,
}
/* redis Not a pure module */

Sorry, the diff of this file is not supported yet

+9
-6
{
"name": "rescript-bun",
"version": "0.5.0",
"version": "0.6.0",
"main": "src/Bun.js",

@@ -9,3 +9,5 @@ "sideEffects": false,

"build": "rescript build",
"test": "bun test test/*.test.js"
"test": "bun test test/*.test.js",
"changeset": "changeset",
"release": "changeset publish"
},

@@ -24,9 +26,10 @@ "files": [

"devDependencies": {
"@rescript/core": "1.3.0",
"rescript": "11.1.1"
"@changesets/cli": "^2.29.5",
"@rescript/core": "^1.6.1",
"rescript": "^11.1.4"
},
"peerDependencies": {
"rescript": ">=11.1.0",
"@rescript/core": ">=1.3.0"
"@rescript/core": ">=1.3.0",
"rescript": ">=11.1.0"
}
}
+8
-1
# rescript-bun
_Check out the `2.x` branch for ReScript v12 support._
Use [Bun](https://bun.sh) with ReScript.

@@ -80,3 +82,3 @@

->Headers.get("x-user-name")
->Option.getWithDefault("Unknown user")
->Option.getOr("Unknown user")

@@ -220,4 +222,9 @@ Response.make(`Hello ${userName}!`, ~options={status: 200})

## Versioning and releasing
This project uses [Changesets](https://github.com/changesets/changesets) to manage versions and changelogs. Run `npm run changeset` to create a changeset describing your changes. When changes are merged to `main`, a GitHub Action opens a release PR and merging that will publish a new version.
## Bindings style
_This will be fleshed out in a short while_.

@@ -13,2 +13,4 @@ // Generated by ReScript, PLEASE EDIT WITH CARE

var BunRequest = {};
var Destination = {};

@@ -176,2 +178,3 @@

BunFile ,
BunRequest ,
Write ,

@@ -178,0 +181,0 @@ TypedArrayOrBuffer ,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet