New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bson-transpilers

Package Overview
Dependencies
Maintainers
30
Versions
503
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bson-transpilers - npm Package Compare versions

Comparing version 1.7.0 to 1.8.0

codegeneration/rust/Generator.js

2

compile-symbol-table.js

@@ -62,3 +62,3 @@ /* eslint-disable no-sync */

const inputLangs = ['javascript', 'shell', 'python'];
const outputLangs = ['java', 'shell', 'python', 'csharp', 'javascript', 'object', 'ruby'];
const outputLangs = ['java', 'shell', 'python', 'csharp', 'javascript', 'object', 'ruby', 'rust'];
if (!fs.existsSync(dir)) {

@@ -65,0 +65,0 @@ fs.mkdirSync(dir);

@@ -30,2 +30,3 @@ const antlr4 = require('antlr4');

const getRubyGenerator = require('./codegeneration/ruby/Generator.js');
const getRustGenerator = require('./codegeneration/rust/Generator.js');

@@ -38,2 +39,3 @@ const javascriptjavasymbols = require('./lib/symbol-table/javascripttojava');

const javascriptrubysymbols = require('./lib/symbol-table/javascripttoruby');
const javascriptrustsymbols = require('./lib/symbol-table/javascripttorust');

@@ -46,2 +48,3 @@ const shelljavasymbols = require('./lib/symbol-table/shelltojava');

const shellrubysymbols = require('./lib/symbol-table/shelltoruby');
const shellrustsymbols = require('./lib/symbol-table/shelltorust');

@@ -54,2 +57,3 @@ const pythonjavasymbols = require('./lib/symbol-table/pythontojava');

const pythonrubysymbols = require('./lib/symbol-table/pythontoruby');
const pythonrustsymbols = require('./lib/symbol-table/pythontorust');

@@ -220,2 +224,8 @@ /**

javascriptrubysymbols
),
rust: getTranspiler(
loadJSTree,
getJavascriptVisitor(getCodeGenerationVisitor(JavascriptANTLRVisitor)),
getRustGenerator,
javascriptrustsymbols
)

@@ -259,2 +269,8 @@ },

shellrubysymbols
),
rust: getTranspiler(
loadJSTree,
getShellVisitor(getJavascriptVisitor(getCodeGenerationVisitor(JavascriptANTLRVisitor))),
getRustGenerator,
shellrustsymbols
)

@@ -298,2 +314,8 @@ },

pythonrubysymbols
),
rust: getTranspiler(
loadPyTree,
getPythonVisitor(getCodeGenerationVisitor(PythonANTLRVisitor)),
getRustGenerator,
pythonrustsymbols
)

@@ -300,0 +322,0 @@ },

{
"name": "bson-transpilers",
"version": "1.7.0",
"version": "1.8.0",
"apiVersion": "0.0.1",

@@ -13,6 +13,3 @@ "productName": "BSON Transpilers",

"main": "index.js",
"exports": {
"webpack": "./index.js",
"require": "./index.js"
},
"compass:main": "index.js",
"scripts": {

@@ -57,3 +54,3 @@ "start": "node index.js",

},
"gitHead": "c125a379bd769b3305e494b68a4fc9bdfdc7d1bb"
"gitHead": "2c4149184e87b8340851590663287b914d7ee63e"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc