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
2.0.1
to
2.0.2
+2
src/Cookie.js
// Generated by ReScript, PLEASE EDIT WITH CARE
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

Sorry, the diff of this file is not supported yet

// Generated by ReScript, PLEASE EDIT WITH CARE
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

Sorry, the diff of this file is not supported yet

// Generated by ReScript, PLEASE EDIT WITH CARE
let SQLQuery = {};
let fromArray = (function(array) {
array.raw = [...array]
return array
});
let TemplateStringsArray = {
fromArray: fromArray
};
let query = (function(t, strings, params) {
let templateArray = TemplateStringsArray.fromArray(strings)
return t(templateArray, ...params)
});
let object = (function(t, obj, cols) {
return t(obj, ...cols)
});
let values = (function(t, values) {
return t(arr)
});
export {
SQLQuery,
TemplateStringsArray,
query,
object,
values,
}
/* No side effect */

Sorry, the diff of this file is not supported yet

+7
-4
{
"name": "rescript-bun",
"version": "2.0.1",
"version": "2.0.2",
"main": "src/Bun.js",

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

"build": "rescript build",
"pretest": "rescript build --dev",
"test": "bun test test/*.test.js",

@@ -15,2 +14,6 @@ "changeset": "changeset",

},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [

@@ -29,7 +32,7 @@ "rescript.json",

"@changesets/cli": "^2.29.5",
"rescript": "12.0.0-beta.3"
"rescript": "12.0.0-beta.11"
},
"peerDependencies": {
"rescript": "12.0.0-beta.3"
"rescript": ">= 12.0.0-alpha.4"
}
}
# rescript-bun
_Check out the `2.x` branch for ReScript v12 support._
## Release Branches
This repository maintains two active release branches:
- **`main` branch**: For 1.x releases (ReScript v11+ support)
- **`2.x` branch**: For 2.x releases (ReScript v12+ support)
Each branch has independent release cycles managed by changesets. See [DUAL_BRANCH_SETUP.md](DUAL_BRANCH_SETUP.md) for detailed information about the dual-branch setup.
Use [Bun](https://bun.sh) with ReScript.
> **Currently alpha state software**. You're encouraged to start using it, but please report all issues. There will be both bindings missing and some bindings will probably be wrong/suboptimal. We're going to work through the API surface as we go. Report all issues you find!
## Getting started

@@ -26,3 +14,3 @@

```bash
npm i rescript-bun@next
npm i rescript-bun@2
```

@@ -34,3 +22,3 @@

{
"bs-dependencies": ["rescript-bun"]
"dependencies": ["rescript-bun"]
}

@@ -231,5 +219,4 @@ ```

## Bindings style
_This will be fleshed out in a short while_.
// Generated by ReScript, PLEASE EDIT WITH CARE
import * as Js_dict from "rescript/lib/es6/Js_dict.js";
import * as Js_dict from "@rescript/runtime/lib/es6/Js_dict.js";
import * as Disconnect from "disconnect";
import * as Nodecluster from "node:cluster";
import * as Js_null_undefined from "rescript/lib/es6/Js_null_undefined.js";
import * as Js_null_undefined from "@rescript/runtime/lib/es6/Js_null_undefined.js";

@@ -8,0 +8,0 @@ function classify(x) {

// Generated by ReScript, PLEASE EDIT WITH CARE
import * as Pervasives from "rescript/lib/es6/Pervasives.js";
import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js";
import * as Nodeassert from "node:assert";

@@ -5,0 +5,0 @@ import * as Internal__JsTypeReflection$RescriptBun from "./internal/Internal__JsTypeReflection.js";

// Generated by ReScript, PLEASE EDIT WITH CARE
import * as Nodeperf_hooks from "node:perf_hooks";
import * as Js_null_undefined from "rescript/lib/es6/Js_null_undefined.js";
import * as Js_null_undefined from "@rescript/runtime/lib/es6/Js_null_undefined.js";

@@ -6,0 +6,0 @@ let PerformanceEntry = {};

// Generated by ReScript, PLEASE EDIT WITH CARE
import * as Pervasives from "rescript/lib/es6/Pervasives.js";
import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js";

@@ -5,0 +5,0 @@ function classifyOpt(value) {

// Generated by ReScript, PLEASE EDIT WITH CARE
import * as Nodeurl from "node:url";
import * as Js_null_undefined from "rescript/lib/es6/Js_null_undefined.js";
import * as Js_null_undefined from "@rescript/runtime/lib/es6/Js_null_undefined.js";

@@ -6,0 +6,0 @@ let SearchParams = {};

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet