serialized-query
Advanced tools
Comparing version 0.6.0 to 0.7.0
"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 */ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24
28543
2
498
+ Addedprotobufjs@6.8.8
+ Added@protobufjs/aspromise@1.1.2(transitive)
+ Added@protobufjs/base64@1.1.2(transitive)
+ Added@protobufjs/codegen@2.0.4(transitive)
+ Added@protobufjs/eventemitter@1.1.0(transitive)
+ Added@protobufjs/fetch@1.1.0(transitive)
+ Added@protobufjs/float@1.0.2(transitive)
+ Added@protobufjs/inquire@1.1.0(transitive)
+ Added@protobufjs/path@1.1.2(transitive)
+ Added@protobufjs/pool@1.1.0(transitive)
+ Added@protobufjs/utf8@1.1.0(transitive)
+ Added@types/long@4.0.2(transitive)
+ Added@types/node@10.17.60(transitive)
+ Addedlong@4.0.0(transitive)
+ Addedprotobufjs@6.8.8(transitive)
Updatedcommon-types@^1.10.22