Socket
Socket
Sign inDemoInstall

@rescript/std

Package Overview
Dependencies
0
Maintainers
6
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 11.1.0-rc.1 to 11.1.0-rc.2

20

lib/es6/caml_exceptions.js
var id = {
contents: 0
};
var idMap = new Map();
function create(str) {
id.contents = id.contents + 1 | 0;
return str + ("/" + id.contents);
var v = idMap.get(str);
var id;
if (v !== undefined) {
var id$1 = v + 1 | 0;
idMap.set(str, id$1);
id = id$1;
} else {
idMap.set(str, 1);
id = 1;
}
return str + ("/" + id);
}

@@ -26,3 +33,2 @@

export {
id ,
create ,

@@ -32,2 +38,2 @@ is_extension ,

}
/* No side effect */
/* idMap Not a pure module */

@@ -31,2 +31,2 @@

}
/* No side effect */
/* Caml_exceptions Not a pure module */
'use strict';
var id = {
contents: 0
};
var idMap = new Map();
function create(str) {
id.contents = id.contents + 1 | 0;
return str + ("/" + id.contents);
var v = idMap.get(str);
var id;
if (v !== undefined) {
var id$1 = v + 1 | 0;
idMap.set(str, id$1);
id = id$1;
} else {
idMap.set(str, 1);
id = 1;
}
return str + ("/" + id);
}

@@ -25,6 +32,5 @@

exports.id = id;
exports.create = create;
exports.is_extension = is_extension;
exports.exn_slot_name = exn_slot_name;
/* No side effect */
/* idMap Not a pure module */

@@ -29,2 +29,2 @@ 'use strict';

exports.as_js_exn = as_js_exn;
/* No side effect */
/* Caml_exceptions Not a pure module */
{
"name": "@rescript/std",
"version": "11.1.0-rc.1",
"version": "11.1.0-rc.2",
"keywords": [

@@ -5,0 +5,0 @@ "rescript",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc