Comparing version 0.4.3 to 0.4.4
const areInSync = require('./lib/areInSync') | ||
const areInSyncFirestoreTimestamps = require('./lib/areInSyncFirestoreTimestamps') | ||
const containsProperties = require('./lib/containsProperties') | ||
@@ -8,2 +9,4 @@ const containsUpdatedProperties = require('./lib/containsUpdatedProperties') | ||
const isNonDeletedObject = require('./lib/isNonDeletedObject') | ||
const isNonEmptyFirestoreDocumentSnapshot = require('./lib/isNonEmptyFirestoreDocumentSnapshot') | ||
const isNonEmptyFirestoreQuerySnapshot = require('./lib/isNonEmptyFirestoreQuerySnapshot') | ||
const isNonEmptyObject = require('./lib/isNonEmptyObject') | ||
@@ -15,2 +18,3 @@ const isShortDate = require('./lib/isShortDate') | ||
areInSync, | ||
areInSyncFirestoreTimestamps, | ||
containsProperties, | ||
@@ -22,2 +26,4 @@ containsUpdatedProperties, | ||
isNonDeletedObject, | ||
isNonEmptyFirestoreDocumentSnapshot, | ||
isNonEmptyFirestoreQuerySnapshot, | ||
isNonEmptyObject, | ||
@@ -24,0 +30,0 @@ isShortDate, |
@@ -1,6 +0,3 @@ | ||
const _isObject = require('./_isObject') | ||
const _isFirestoreTimestamp = require('./_isFirestoreTimestamp') | ||
module.exports = timestamp => | ||
_isObject(timestamp) && | ||
typeof timestamp.toDate === 'function' && | ||
typeof timestamp.toMillis === 'function' | ||
module.exports = timestamp => _isFirestoreTimestamp(timestamp) |
{ | ||
"name": "check-if", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "Input validation for Apollo Server.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
10115
24
100