bson-transpilers
Advanced tools
Comparing version 0.0.0-next-befaedd11aee7cec6575a48aff3f6a7bdd5cbdf7 to 0.0.0-next-bf76e6d6c59de958377825c5a6fd0ab1f00b373b
@@ -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
1377565
15866