@firebase/util
Advanced tools
Comparing version 0.1.6 to 0.1.7-canary.81d6b1e
@@ -16,16 +16,16 @@ /** | ||
*/ | ||
export * from './src/assert'; | ||
export * from './src/crypt'; | ||
export * from './src/constants'; | ||
export * from './src/deepCopy'; | ||
export * from './src/deferred'; | ||
export * from './src/environment'; | ||
export * from './src/errors'; | ||
export * from './src/json'; | ||
export * from './src/jwt'; | ||
export * from './src/obj'; | ||
export * from './src/query'; | ||
export * from './src/sha1'; | ||
export * from './src/subscribe'; | ||
export * from './src/validation'; | ||
export * from './src/utf8'; | ||
export { assert, assertionError } from './src/assert'; | ||
export { base64, base64Decode, base64Encode } from './src/crypt'; | ||
export { CONSTANTS } from './src/constants'; | ||
export { deepCopy, deepExtend, patchProperty } from './src/deepCopy'; | ||
export { Deferred } from './src/deferred'; | ||
export { getUA, isMobileCordova, isNodeSdk, isReactNative } from './src/environment'; | ||
export { ErrorFactory, ErrorList, FirebaseError, patchCapture, StringLike } from './src/errors'; | ||
export { jsonEval, stringify } from './src/json'; | ||
export { decode, isAdmin, issuedAtTime, isValidFormat, isValidTimestamp } from './src/jwt'; | ||
export { clone, contains, every, extend, findKey, findValue, forEach, getAnyKey, getCount, getValues, isEmpty, isNonNullObject, map, safeGet } from './src/obj'; | ||
export { querystring, querystringDecode } from './src/query'; | ||
export { Sha1 } from './src/sha1'; | ||
export { async, CompleteFn, createSubscribe, ErrorFn, Executor, NextFn, Observable, Observer, PartialObserver, Subscribe, Unsubscribe } from './src/subscribe'; | ||
export { errorPrefix, validateArgCount, validateCallback, validateContextObject, validateNamespace } from './src/validation'; | ||
export { stringLength, stringToByteArray } from './src/utf8'; |
@@ -17,22 +17,69 @@ "use strict"; | ||
*/ | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./src/assert")); | ||
__export(require("./src/crypt")); | ||
__export(require("./src/constants")); | ||
__export(require("./src/deepCopy")); | ||
__export(require("./src/deferred")); | ||
__export(require("./src/environment")); | ||
__export(require("./src/errors")); | ||
__export(require("./src/json")); | ||
__export(require("./src/jwt")); | ||
__export(require("./src/obj")); | ||
__export(require("./src/query")); | ||
__export(require("./src/sha1")); | ||
__export(require("./src/subscribe")); | ||
__export(require("./src/validation")); | ||
__export(require("./src/utf8")); | ||
var assert_1 = require("./src/assert"); | ||
exports.assert = assert_1.assert; | ||
exports.assertionError = assert_1.assertionError; | ||
var crypt_1 = require("./src/crypt"); | ||
exports.base64 = crypt_1.base64; | ||
exports.base64Decode = crypt_1.base64Decode; | ||
exports.base64Encode = crypt_1.base64Encode; | ||
var constants_1 = require("./src/constants"); | ||
exports.CONSTANTS = constants_1.CONSTANTS; | ||
var deepCopy_1 = require("./src/deepCopy"); | ||
exports.deepCopy = deepCopy_1.deepCopy; | ||
exports.deepExtend = deepCopy_1.deepExtend; | ||
exports.patchProperty = deepCopy_1.patchProperty; | ||
var deferred_1 = require("./src/deferred"); | ||
exports.Deferred = deferred_1.Deferred; | ||
var environment_1 = require("./src/environment"); | ||
exports.getUA = environment_1.getUA; | ||
exports.isMobileCordova = environment_1.isMobileCordova; | ||
exports.isNodeSdk = environment_1.isNodeSdk; | ||
exports.isReactNative = environment_1.isReactNative; | ||
var errors_1 = require("./src/errors"); | ||
exports.ErrorFactory = errors_1.ErrorFactory; | ||
exports.FirebaseError = errors_1.FirebaseError; | ||
exports.patchCapture = errors_1.patchCapture; | ||
var json_1 = require("./src/json"); | ||
exports.jsonEval = json_1.jsonEval; | ||
exports.stringify = json_1.stringify; | ||
var jwt_1 = require("./src/jwt"); | ||
exports.decode = jwt_1.decode; | ||
exports.isAdmin = jwt_1.isAdmin; | ||
exports.issuedAtTime = jwt_1.issuedAtTime; | ||
exports.isValidFormat = jwt_1.isValidFormat; | ||
exports.isValidTimestamp = jwt_1.isValidTimestamp; | ||
var obj_1 = require("./src/obj"); | ||
exports.clone = obj_1.clone; | ||
exports.contains = obj_1.contains; | ||
exports.every = obj_1.every; | ||
exports.extend = obj_1.extend; | ||
exports.findKey = obj_1.findKey; | ||
exports.findValue = obj_1.findValue; | ||
exports.forEach = obj_1.forEach; | ||
exports.getAnyKey = obj_1.getAnyKey; | ||
exports.getCount = obj_1.getCount; | ||
exports.getValues = obj_1.getValues; | ||
exports.isEmpty = obj_1.isEmpty; | ||
exports.isNonNullObject = obj_1.isNonNullObject; | ||
exports.map = obj_1.map; | ||
exports.safeGet = obj_1.safeGet; | ||
var query_1 = require("./src/query"); | ||
exports.querystring = query_1.querystring; | ||
exports.querystringDecode = query_1.querystringDecode; | ||
var sha1_1 = require("./src/sha1"); | ||
exports.Sha1 = sha1_1.Sha1; | ||
var subscribe_1 = require("./src/subscribe"); | ||
exports.async = subscribe_1.async; | ||
exports.createSubscribe = subscribe_1.createSubscribe; | ||
var validation_1 = require("./src/validation"); | ||
exports.errorPrefix = validation_1.errorPrefix; | ||
exports.validateArgCount = validation_1.validateArgCount; | ||
exports.validateCallback = validation_1.validateCallback; | ||
exports.validateContextObject = validation_1.validateContextObject; | ||
exports.validateNamespace = validation_1.validateNamespace; | ||
var utf8_1 = require("./src/utf8"); | ||
exports.stringLength = utf8_1.stringLength; | ||
exports.stringToByteArray = utf8_1.stringToByteArray; | ||
//# sourceMappingURL=index.js.map |
@@ -16,16 +16,16 @@ /** | ||
*/ | ||
export * from './src/assert'; | ||
export * from './src/crypt'; | ||
export * from './src/constants'; | ||
export * from './src/deepCopy'; | ||
export * from './src/deferred'; | ||
export * from './src/environment'; | ||
export * from './src/errors'; | ||
export * from './src/json'; | ||
export * from './src/jwt'; | ||
export * from './src/obj'; | ||
export * from './src/query'; | ||
export * from './src/sha1'; | ||
export * from './src/subscribe'; | ||
export * from './src/validation'; | ||
export * from './src/utf8'; | ||
export { assert, assertionError } from './src/assert'; | ||
export { base64, base64Decode, base64Encode } from './src/crypt'; | ||
export { CONSTANTS } from './src/constants'; | ||
export { deepCopy, deepExtend, patchProperty } from './src/deepCopy'; | ||
export { Deferred } from './src/deferred'; | ||
export { getUA, isMobileCordova, isNodeSdk, isReactNative } from './src/environment'; | ||
export { ErrorFactory, ErrorList, FirebaseError, patchCapture, StringLike } from './src/errors'; | ||
export { jsonEval, stringify } from './src/json'; | ||
export { decode, isAdmin, issuedAtTime, isValidFormat, isValidTimestamp } from './src/jwt'; | ||
export { clone, contains, every, extend, findKey, findValue, forEach, getAnyKey, getCount, getValues, isEmpty, isNonNullObject, map, safeGet } from './src/obj'; | ||
export { querystring, querystringDecode } from './src/query'; | ||
export { Sha1 } from './src/sha1'; | ||
export { async, CompleteFn, createSubscribe, ErrorFn, Executor, NextFn, Observable, Observer, PartialObserver, Subscribe, Unsubscribe } from './src/subscribe'; | ||
export { errorPrefix, validateArgCount, validateCallback, validateContextObject, validateNamespace } from './src/validation'; | ||
export { stringLength, stringToByteArray } from './src/utf8'; |
@@ -16,18 +16,18 @@ /** | ||
*/ | ||
export * from './src/assert'; | ||
export * from './src/crypt'; | ||
export * from './src/constants'; | ||
export * from './src/deepCopy'; | ||
export * from './src/deferred'; | ||
export * from './src/environment'; | ||
export * from './src/errors'; | ||
export * from './src/json'; | ||
export * from './src/jwt'; | ||
export * from './src/obj'; | ||
export * from './src/query'; | ||
export * from './src/sha1'; | ||
export * from './src/subscribe'; | ||
export * from './src/validation'; | ||
export * from './src/utf8'; | ||
export { assert, assertionError } from './src/assert'; | ||
export { base64, base64Decode, base64Encode } from './src/crypt'; | ||
export { CONSTANTS } from './src/constants'; | ||
export { deepCopy, deepExtend, patchProperty } from './src/deepCopy'; | ||
export { Deferred } from './src/deferred'; | ||
export { getUA, isMobileCordova, isNodeSdk, isReactNative } from './src/environment'; | ||
export { ErrorFactory, FirebaseError, patchCapture } from './src/errors'; | ||
export { jsonEval, stringify } from './src/json'; | ||
export { decode, isAdmin, issuedAtTime, isValidFormat, isValidTimestamp } from './src/jwt'; | ||
export { clone, contains, every, extend, findKey, findValue, forEach, getAnyKey, getCount, getValues, isEmpty, isNonNullObject, map, safeGet } from './src/obj'; | ||
export { querystring, querystringDecode } from './src/query'; | ||
export { Sha1 } from './src/sha1'; | ||
export { async, createSubscribe } from './src/subscribe'; | ||
export { errorPrefix, validateArgCount, validateCallback, validateContextObject, validateNamespace } from './src/validation'; | ||
export { stringLength, stringToByteArray } from './src/utf8'; | ||
//# sourceMappingURL=index.js.map |
80
index.ts
@@ -17,16 +17,66 @@ /** | ||
export * from './src/assert'; | ||
export * from './src/crypt'; | ||
export * from './src/constants'; | ||
export * from './src/deepCopy'; | ||
export * from './src/deferred'; | ||
export * from './src/environment'; | ||
export * from './src/errors'; | ||
export * from './src/json'; | ||
export * from './src/jwt'; | ||
export * from './src/obj'; | ||
export * from './src/query'; | ||
export * from './src/sha1'; | ||
export * from './src/subscribe'; | ||
export * from './src/validation'; | ||
export * from './src/utf8'; | ||
export { assert, assertionError } from './src/assert'; | ||
export { base64, base64Decode, base64Encode } from './src/crypt'; | ||
export { CONSTANTS } from './src/constants'; | ||
export { deepCopy, deepExtend, patchProperty } from './src/deepCopy'; | ||
export { Deferred } from './src/deferred'; | ||
export { | ||
getUA, | ||
isMobileCordova, | ||
isNodeSdk, | ||
isReactNative | ||
} from './src/environment'; | ||
export { | ||
ErrorFactory, | ||
ErrorList, | ||
FirebaseError, | ||
patchCapture, | ||
StringLike | ||
} from './src/errors'; | ||
export { jsonEval, stringify } from './src/json'; | ||
export { | ||
decode, | ||
isAdmin, | ||
issuedAtTime, | ||
isValidFormat, | ||
isValidTimestamp | ||
} from './src/jwt'; | ||
export { | ||
clone, | ||
contains, | ||
every, | ||
extend, | ||
findKey, | ||
findValue, | ||
forEach, | ||
getAnyKey, | ||
getCount, | ||
getValues, | ||
isEmpty, | ||
isNonNullObject, | ||
map, | ||
safeGet | ||
} from './src/obj'; | ||
export { querystring, querystringDecode } from './src/query'; | ||
export { Sha1 } from './src/sha1'; | ||
export { | ||
async, | ||
CompleteFn, | ||
createSubscribe, | ||
ErrorFn, | ||
Executor, | ||
NextFn, | ||
Observable, | ||
Observer, | ||
PartialObserver, | ||
Subscribe, | ||
Unsubscribe | ||
} from './src/subscribe'; | ||
export { | ||
errorPrefix, | ||
validateArgCount, | ||
validateCallback, | ||
validateContextObject, | ||
validateNamespace | ||
} from './src/validation'; | ||
export { stringLength, stringToByteArray } from './src/utf8'; |
{ | ||
"name": "@firebase/util", | ||
"version": "0.1.6", | ||
"version": "0.1.7-canary.81d6b1e", | ||
"description": "", | ||
@@ -13,3 +13,3 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"test:browser": "karma start --single-run", | ||
"test:node": "nyc --reporter lcovonly -- mocha test/**/*.test.* --compilers ts:ts-node/register --exit", | ||
"test:node": "TS_NODE_CACHE=NO nyc --reporter lcovonly -- mocha test/**/*.test.* --compilers ts:ts-node/register/type-check --exit", | ||
"prepare": "gulp build" | ||
@@ -35,3 +35,3 @@ }, | ||
"ts-loader": "^3.1.0", | ||
"ts-node": "^3.3.0", | ||
"ts-node": "^4.1.0", | ||
"typescript": "^2.4.2", | ||
@@ -38,0 +38,0 @@ "webpack": "^3.8.1" |
Sorry, the diff of this file is not supported yet
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
548154
19
8367