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

@cerebral/firebase

Package Overview
Dependencies
Maintainers
3
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cerebral/firebase - npm Package Compare versions

Comparing version 0.0.0-beta.2 to 0.0.0-beta.3

LICENSE

8

lib/helpers.js

@@ -58,6 +58,6 @@ 'use strict';

var events = {
'onChildAdded': 'child_added',
'onChildChanged': 'child_changed',
'onChildRemoved': 'child_removed',
'onValue': 'value',
onChildAdded: 'child_added',
onChildChanged: 'child_changed',
onChildRemoved: 'child_removed',
onValue: 'value',
'*': '*'

@@ -64,0 +64,0 @@ };

@@ -17,3 +17,5 @@ 'use strict';

if (ref) {
throw new _errors.FirebaseProviderError({ message: 'You have already a setOnDisconnect' });
throw new _errors.FirebaseProviderError({
message: 'You have already a setOnDisconnect'
});
}

@@ -20,0 +22,0 @@

@@ -24,3 +24,3 @@ 'use strict';

if (!resolve.isTag(option, 'state', 'signal')) {
throw new Error('@cerebral/firebase: The value for \'progress\' option should be either \'state\' or \'signal\' tag.');
throw new Error("@cerebral/firebase: The value for 'progress' option should be either 'state' or 'signal' tag.");
}

@@ -27,0 +27,0 @@

@@ -32,4 +32,3 @@ 'use strict';

totalBytes: snapshot.totalBytes,
state: snapshot.state // 'paused', 'running'
});
state: snapshot.state });
}, function (error) {

@@ -36,0 +35,0 @@ reject(new _errors.FirebaseProviderError(error));

@@ -16,3 +16,6 @@ 'use strict';

return ref.transaction(transactionFunction).then(function (result) {
return { committed: result.committed, value: result.snapshot.val() };
return {
committed: result.committed,
value: result.snapshot.val()
};
}).catch(function (error) {

@@ -19,0 +22,0 @@ throw new _errors.FirebaseProviderError(error);

{
"name": "@cerebral/firebase",
"version": "0.0.0-beta.2",
"version": "0.0.0-beta.3",
"description": "Firebase provider for Cerebral",
"main": "lib/index.js",
"scripts": {
"test": "mocha --compilers js:babel-register 'src/**/*.test.js'",
"test": "mocha --compilers js:babel-register \"src/**/*.test.js\"",
"build": "cross-env BABEL_ENV=production babel src/ --out-dir=lib/ -s",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cerebral/cerebral.git"
},
"keywords": [

@@ -15,8 +19,17 @@ "cerebral",

],
"author": "Christian Alfoni",
"license": "MIT",
"bugs": {
"url": "https://github.com/cerebral/cerebral/issues"
},
"homepage": "https://github.com/cerebral/cerebral/tree/master/packages/firebase#readme",
"dependencies": {
"firebase": "^3.5.2"
"firebase": "^3.9.0"
},
"peerDependencies": {
"cerebral": "^2.0.0-beta.2"
"cerebral": "^2.0.0-beta.3"
},
"devDependencies": {
"cerebral": "^2.0.0-beta.3"
}
}

@@ -6,7 +6,7 @@ # @cerebral/firebase

`npm install @cerebral/firebase@next --save --save-next`
`npm install @cerebral/firebase --save`
**YARN**
`yarn add @cerebral/firebase@next --exact`
`yarn add @cerebral/firebase`

@@ -13,0 +13,0 @@ ## description

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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