Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blaze_compiler

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blaze_compiler - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

test/scenarios/function7.yaml

2

package.json
{
"name": "blaze_compiler",
"version": "0.0.26",
"version": "0.0.27",
"description": "Transpiles extendable, schema orientated definitions into Firebase security rules",

@@ -5,0 +5,0 @@ "author": "Tom Larkworthy",

@@ -200,4 +200,2 @@ require('source-map-support').install();

} else if (node.type == "MemberExpression") {
console.log("MemberExpression:", node);
if (node.object.expr_type == "rule") {

@@ -204,0 +202,0 @@ node.expr_type = null;

@@ -245,3 +245,3 @@ /// <reference path="../types/node.d.ts" />

}else if(node.type == "MemberExpression"){
console.log("MemberExpression:", node);
//console.log("MemberExpression:", node);

@@ -248,0 +248,0 @@ //if the object is a type (rules, map or value) it unlocks different valid properties

@@ -64,2 +64,3 @@ (function (Modifier) {

this._static = false;
this._abstract = false;
this._extends = [];

@@ -80,2 +81,6 @@ this._implements = [];

};
JClass.prototype.setAbstract = function (_abstract) {
this._abstract = _abstract;
return this;
};
JClass.prototype.setName = function (_name) {

@@ -122,2 +127,4 @@ this._name = _name;

write("static ", output);
if (this._abstract)
write("abstract ", output);
if (this._isInterface) {

@@ -166,2 +173,3 @@ write("interface ", output);

this._static = false;
this._final = false;
}

@@ -176,2 +184,6 @@ JField.prototype.setModifier = function (_modifier) {

};
JField.prototype.setFinal = function (_final) {
this._final = _final;
return this;
};
JField.prototype.setName = function (_name) {

@@ -193,2 +205,4 @@ this._name = _name;

write("static ", output);
if (this._final)
write("final ", output);
write(this._type + " ", output);

@@ -207,2 +221,3 @@ write(this._name + " ", output);

this._static = false;
this._abstract = false;
this._body = null;

@@ -219,2 +234,6 @@ this._params = []; //array of [dec, name] pairs

};
JMethod.prototype.setAbstract = function (_abstract) {
this._abstract = _abstract;
return this;
};
JMethod.prototype.setName = function (_name) {

@@ -240,2 +259,4 @@ this._name = _name;

write("static ", output);
if (this._abstract)
write("abstract ", output);
if (this._type)

@@ -242,0 +263,0 @@ write(this._type + " ", output);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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