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

serialized-query

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serialized-query - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

16

lib/cjs/serialized-query.js
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -139,7 +131,5 @@ function slashNotation(path) {

/** execute the query as a one time fetch */
execute() {
return __awaiter(this, void 0, void 0, function* () {
const snap = yield this.deserialize().once("value");
return this._handleSnapshot ? this._handleSnapshot(snap) : snap;
});
async execute() {
const snap = await this.deserialize().once("value");
return this._handleSnapshot ? this._handleSnapshot(snap) : snap;
}

@@ -146,0 +136,0 @@ /** allows a shorthand notation for simple serialized queries */

42

package.json
{
"name": "serialized-query",
"version": "0.6.0",
"version": "0.7.0",
"description": "A simple Typescript class to serialize Firebase queries",

@@ -22,2 +22,3 @@ "license": "MIT",

"clean": "rimraf lib",
"clean:nuclear": "rimraf lib dist node_modeles && yarn cache clean && rm yarn.lock && yarn && yarn upgrade",
"lint": "tslint --force --format verbose \"src/**/*.ts\"",

@@ -34,3 +35,4 @@ "build": "rm -rf lib && tsc -P tsconfig.esnext.json && tsc -P tsconfig.json",

"dependencies": {
"common-types": "^1.10.20"
"common-types": "^1.10.22",
"protobufjs": "6.8.8"
},

@@ -43,24 +45,20 @@ "devDependencies": {

"@types/node": "^6.0.0",
"@types/rimraf": "^0.0.28",
"@types/stack-trace": "^0.0.28",
"abstracted-admin": "^0.17.0",
"abstracted-firebase": "^0.25.0",
"async-shelljs": "^0.1.2",
"bili": "^3.1.2",
"chai": "^4.1.0",
"chalk": "^2.3.0",
"coveralls": "^2.0.0",
"firemock": "^0.19.1",
"firemodel": "^0.20.1",
"js-yaml": "^3.0.0",
"lodash": "^4.0.0",
"mocha": "^5.0.1",
"nyc": "^11.4.0",
"prettier": "^1.10.2",
"rimraf": "^2.0.0",
"@types/rimraf": "^2.0.2",
"@types/shelljs": "^0.8.5",
"@types/stack-trace": "^0.0.29",
"abstracted-admin": "^0.26.3",
"chai": "^4.2.0",
"chalk": "^2.4.2",
"firemock": "^0.25.5",
"firemodel": "^0.25.2",
"js-yaml": "^3.13.1",
"lodash": "^4.17.11",
"mocha": "^6.1.4",
"prettier": "^1.17.1",
"rimraf": "^2.6.3",
"shelljs": "^0.8.3",
"test-console": "^1.1.0",
"ts-node": "^8.0.2",
"tslint": "^5.13.1",
"ts-node": "^8.1.0",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
"typed-conversions": "^0.8.9",
"typescript": "^3.4.5"

@@ -67,0 +65,0 @@ },

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