cqm-models 4.1.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/basetypes/Any.js +1 -1
- data/cqm-models.gemspec +1 -1
- data/dist/browser.js +1 -1
- data/dist/index.js +1 -1
- data/package-lock.json +4083 -0
- data/package.json +2 -2
- data/yarn.lock +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 930fdd6c260f1cf2e8b97f3abb93fe74fafe8c5caf418c4fb41f7975a733d555
|
4
|
+
data.tar.gz: 896a73479c131df363f00dcd8627b83a6fd39e5b3ced36c3b8983e9d96a549c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b91579699b17533ace81ac84e05997fd903b3d6ca415f912dbcf03bd93a0dfdacd1889f27cbd1e25ef5db23bb9090dc5a377a66084f0fe532dd22600d46042e
|
7
|
+
data.tar.gz: 6ef858a99cbec230afc9661690318838a72882837dac94440fab97327da096164aba4947083d06caac036bd7d9531ac31b2ae55ae6bb1be9ac4e80b9af9ecfab
|
@@ -7,7 +7,7 @@ function Any(key, options) {
|
|
7
7
|
Any.prototype = Object.create(mongoose.SchemaType.prototype);
|
8
8
|
|
9
9
|
function RecursiveCast(any) {
|
10
|
-
if (any && any.value && any.unit) {
|
10
|
+
if (any && any.value !== undefined && any.unit) {
|
11
11
|
return new cql.Quantity(any.value, any.unit);
|
12
12
|
}
|
13
13
|
|
data/cqm-models.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'cqm-models'
|
7
|
-
spec.version = '4.1.
|
7
|
+
spec.version = '4.1.1'
|
8
8
|
spec.authors = ['aholmes@mitre.org', 'mokeefe@mitre.org', 'lades@mitre.org']
|
9
9
|
|
10
10
|
spec.summary = 'Mongo models that correspond to the QDM specification.'
|
data/dist/browser.js
CHANGED
@@ -3429,7 +3429,7 @@ function Any(key, options) {
|
|
3429
3429
|
Any.prototype = Object.create(mongoose.SchemaType.prototype);
|
3430
3430
|
|
3431
3431
|
function RecursiveCast(any) {
|
3432
|
-
if (any && any.value && any.unit) {
|
3432
|
+
if (any && any.value !== undefined && any.unit) {
|
3433
3433
|
return new cql.Quantity(any.value, any.unit);
|
3434
3434
|
}
|
3435
3435
|
|
data/dist/index.js
CHANGED
@@ -3429,7 +3429,7 @@ function Any(key, options) {
|
|
3429
3429
|
Any.prototype = Object.create(mongoose.SchemaType.prototype);
|
3430
3430
|
|
3431
3431
|
function RecursiveCast(any) {
|
3432
|
-
if (any && any.value && any.unit) {
|
3432
|
+
if (any && any.value !== undefined && any.unit) {
|
3433
3433
|
return new cql.Quantity(any.value, any.unit);
|
3434
3434
|
}
|
3435
3435
|
|