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 0.13.5 to 0.13.6

.github/workflows/run-tests.yml

6

codegeneration/CodeGenerationVisitor.js

@@ -791,2 +791,8 @@ /* eslint complexity: 0, camelcase: 0, "new-cap": 0 */

generateFuncDefExpression() {
throw new BsonTranspilersUnimplementedError(
'Support for exporting functions to languages other than javascript is not yet available.'
);
}
/**

@@ -793,0 +799,0 @@ * Overrides the ANTLR visitChildren method so that options can be set.

4

codegeneration/javascript/Generator.js

@@ -8,2 +8,6 @@ /*

}
generateFuncDefExpression(ctx) {
return ctx.getText();
}
};

5

codegeneration/javascript/Visitor.js

@@ -31,3 +31,2 @@ /* eslint complexity: 0 */

this.visitInstanceofExpression =
this.visitFuncDefExpression =
this.visitAssignmentExpression =

@@ -292,2 +291,6 @@ this.visitAssignmentOperatorExpression =

visitFuncDefExpression(ctx) {
return this.generateFuncDefExpression(ctx);
}
/*

@@ -294,0 +297,0 @@ *

{
"name": "bson-transpilers",
"version": "0.13.5",
"version": "0.13.6",
"apiVersion": "0.0.1",

@@ -20,6 +20,5 @@ "productName": "BSON Transpilers",

"symbol-table": "node compile-symbol-table.js",
"test": "npm run symbol-table && mocha",
"test": "mocha",
"prepublishOnly": "npm run compile",
"check": "mongodb-js-precommit './codegeneration/**/*{.js,.jsx}' './test/**/*.js' index.js",
"ci": "npm run check && npm run test"
"check": "mongodb-js-precommit './codegeneration/**/*{.js,.jsx}' './test/**/*.js' index.js"
},

@@ -26,0 +25,0 @@ "homepage": "http://github.com/mongodb-js/bson-transpilers",

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