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.23 to 0.0.24

test/scenarios/minimum1.yaml

2

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

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

@@ -265,3 +265,3 @@ # Blaze Security Compiler for Firebase

These inline tests are good for documenting intent and providing fast feedback when authoring a new schema. Note that
inline tests cannot understand the constraint field, they can only test the schema.
inline tests cannot understand the constraint field, they can only test the schema.

@@ -388,2 +388,3 @@ ```YAML

- bugfix: function with next or prev were not moved around when in constraints properly (similar to Nov 4th bug)
- bugfix: minimum and maximum

@@ -390,0 +391,0 @@ - 20th November 2014:

{
"rules":{
".write":"((newData.val()>now*60))",
".read":"false"
".write":"false",
".read":"false",
"$workspace_id": {
".write":"false",
".read":"false",
"$user_id": {
".write":"((root.child('/rels/workspaces/users/').child($workspace_id).child(auth.id).child('role').val()=='administrator'))",
".validate":"((root.child('/rels/workspaces/users/').child($workspace_id).child(auth.id).child('role').val()=='administrator'))",
".read":"false"
}
}
}
}

@@ -9,3 +9,3 @@ var fs = require("fs");

function run() {
console.log("working?", checkScenario("./test/scenarios/function3.yaml"));
console.log("working?", checkScenario("./test/scenarios/minimum1.yaml"));
}

@@ -12,0 +12,0 @@

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

//called if this file is run, used to enable runtime debugging
console.log("working?", checkScenario("./test/scenarios/function3.yaml"))
console.log("working?", checkScenario("./test/scenarios/minimum1.yaml"))
}

@@ -18,0 +18,0 @@

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