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
0
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.0.0-next-befaedd11aee7cec6575a48aff3f6a7bdd5cbdf7 to 0.0.0-next-bf76e6d6c59de958377825c5a6fd0ab1f00b373b

3

codegeneration/CodeGenerationVisitor.js

@@ -0,1 +1,2 @@

'use strict';
/* eslint complexity: 0, camelcase: 0, "new-cap": 0 */

@@ -469,3 +470,3 @@ const {

while (type !== null) {
if (!(type.attr.hasOwnProperty(rhs))) {
if (!(Object.prototype.hasOwnProperty.call(type.attr, rhs))) {
if (type.id in this.BsonTypes && this.BsonTypes[type.id].id !== null) { // TODO: tell symbols vs types

@@ -472,0 +473,0 @@ throw new BsonTranspilersAttributeError(

@@ -0,1 +1,2 @@

'use strict';
/*

@@ -2,0 +3,0 @@ * Class for handling edge cases for csharp code generation. Defines "emit" methods.

@@ -0,1 +1,2 @@

'use strict';
/**

@@ -2,0 +3,0 @@ * Stores declarations for use in the DriverTemplate

@@ -0,1 +1,2 @@

'use strict';
const antlr4 = require('antlr4');

@@ -2,0 +3,0 @@

@@ -0,1 +1,2 @@

'use strict';
/*

@@ -2,0 +3,0 @@ * Class for handling edge cases for Go code generation. Defines "emit" methods.

@@ -0,1 +1,2 @@

'use strict';
/* eslint complexity: 0 */

@@ -2,0 +3,0 @@ const {doubleQuoteStringify, removeQuotes} = require('../../helper/format');

@@ -0,1 +1,2 @@

'use strict';
/*

@@ -2,0 +3,0 @@ * Class for handling edge cases for node code generation. Defines "emit" methods.

@@ -0,1 +1,2 @@

'use strict';
/* eslint complexity: 0 */

@@ -2,0 +3,0 @@ const vm = require('vm');

@@ -0,1 +1,2 @@

'use strict';
/* eslint new-cap: 0 camelcase: 0 */

@@ -2,0 +3,0 @@ const bson = require('bson');

@@ -0,1 +1,2 @@

'use strict';
/*

@@ -2,0 +3,0 @@ * Class for handling edge cases for php code generation. Defines "emit" methods.

@@ -0,1 +1,2 @@

'use strict';
/**

@@ -2,0 +3,0 @@ * Common functions to use in PHP templates

@@ -0,1 +1,2 @@

'use strict';
/*

@@ -2,0 +3,0 @@ * Class for handling edge cases for python code generation. Defines "emit" methods.

@@ -0,1 +1,2 @@

'use strict';
/* eslint camelcase: 0 complexity: 0*/

@@ -2,0 +3,0 @@ const vm = require('vm');

@@ -0,1 +1,2 @@

'use strict';
/*

@@ -2,0 +3,0 @@ * Class for handling edge cases for ruby code generation. Defines "emit" methods.

@@ -0,1 +1,2 @@

'use strict';
/*

@@ -2,0 +3,0 @@ * Class for handling edge cases for rust code generation. Defines "emit" methods.

@@ -0,1 +1,2 @@

'use strict';
/*

@@ -2,0 +3,0 @@ * Class for handling edge cases for shell code generation. Defines "emit" methods.

@@ -0,1 +1,2 @@

'use strict';
/* eslint complexity: 0 */

@@ -2,0 +3,0 @@ const vm = require('vm');

@@ -0,1 +1,2 @@

'use strict';
/* eslint-disable no-sync */

@@ -2,0 +3,0 @@ const path = require('path');

@@ -0,1 +1,2 @@

'use strict';
/* eslint-disable no-console */

@@ -2,0 +3,0 @@ /* eslint-disable no-sync */

@@ -0,1 +1,2 @@

'use strict';
const config = require('../config/error.json');

@@ -2,0 +3,0 @@ const errors = {};

@@ -0,1 +1,2 @@

'use strict';
/**

@@ -2,0 +3,0 @@ * Takes in an identifier that may or may not be a string and returns a string

@@ -0,1 +1,2 @@

'use strict';
const antlr4 = require('antlr4');

@@ -2,0 +3,0 @@ const ECMAScriptLexer = require('./lib/antlr/ECMAScriptLexer.js');

{
"name": "bson-transpilers",
"version": "0.0.0-next-befaedd11aee7cec6575a48aff3f6a7bdd5cbdf7",
"version": "0.0.0-next-bf76e6d6c59de958377825c5a6fd0ab1f00b373b",
"apiVersion": "0.0.1",

@@ -23,3 +23,3 @@ "description": "Source to source compilers using ANTLR",

"test-ci": "mocha",
"depcheck": "depcheck",
"depcheck": "compass-scripts check-peer-deps && depcheck",
"check": "npm run lint && npm run depcheck",

@@ -36,6 +36,6 @@ "lint": "eslint .",

"devDependencies": {
"@mongodb-js/eslint-config-compass": "0.0.0-next-bf76e6d6c59de958377825c5a6fd0ab1f00b373b",
"chai": "^4.3.4",
"depcheck": "^1.4.1",
"eslint": "^7.25.0",
"eslint-config-mongodb-js": "^2.1.0",
"mocha": "^10.2.0"

@@ -52,3 +52,3 @@ },

},
"gitHead": "befaedd11aee7cec6575a48aff3f6a7bdd5cbdf7"
"gitHead": "bf76e6d6c59de958377825c5a6fd0ab1f00b373b"
}

Sorry, the diff of this file is not supported yet

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