cqm-models 2.0.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/.eslintrc.json +1 -1
  3. data/README.md +9 -6
  4. data/app/assets/javascripts/AdverseEvent.js +9 -3
  5. data/app/assets/javascripts/AllDataElements.js +18 -6
  6. data/app/assets/javascripts/AllergyIntolerance.js +8 -2
  7. data/app/assets/javascripts/AssessmentOrder.js +8 -2
  8. data/app/assets/javascripts/AssessmentPerformed.js +11 -3
  9. data/app/assets/javascripts/AssessmentRecommended.js +8 -2
  10. data/app/assets/javascripts/CareGoal.js +10 -3
  11. data/app/assets/javascripts/CommunicationPerformed.js +12 -6
  12. data/app/assets/javascripts/DeviceApplied.js +9 -2
  13. data/app/assets/javascripts/DeviceOrder.js +8 -2
  14. data/app/assets/javascripts/DeviceRecommended.js +8 -2
  15. data/app/assets/javascripts/Diagnosis.js +8 -2
  16. data/app/assets/javascripts/DiagnosticStudyOrder.js +8 -2
  17. data/app/assets/javascripts/DiagnosticStudyPerformed.js +9 -2
  18. data/app/assets/javascripts/DiagnosticStudyRecommended.js +8 -2
  19. data/app/assets/javascripts/EncounterOrder.js +9 -2
  20. data/app/assets/javascripts/EncounterPerformed.js +11 -5
  21. data/app/assets/javascripts/EncounterRecommended.js +8 -2
  22. data/app/assets/javascripts/FamilyHistory.js +8 -2
  23. data/app/assets/javascripts/ImmunizationAdministered.js +9 -2
  24. data/app/assets/javascripts/ImmunizationOrder.js +8 -2
  25. data/app/assets/javascripts/InterventionOrder.js +8 -2
  26. data/app/assets/javascripts/InterventionPerformed.js +9 -2
  27. data/app/assets/javascripts/InterventionRecommended.js +8 -2
  28. data/app/assets/javascripts/LaboratoryTestOrder.js +8 -2
  29. data/app/assets/javascripts/LaboratoryTestPerformed.js +9 -2
  30. data/app/assets/javascripts/LaboratoryTestRecommended.js +8 -2
  31. data/app/assets/javascripts/MedicationActive.js +9 -2
  32. data/app/assets/javascripts/MedicationAdministered.js +9 -2
  33. data/app/assets/javascripts/MedicationDischarge.js +9 -2
  34. data/app/assets/javascripts/MedicationDispensed.js +10 -4
  35. data/app/assets/javascripts/MedicationOrder.js +9 -4
  36. data/app/assets/javascripts/Participation.js +8 -2
  37. data/app/assets/javascripts/PatientCareExperience.js +8 -2
  38. data/app/assets/javascripts/PatientCharacteristic.js +7 -2
  39. data/app/assets/javascripts/PatientCharacteristicBirthdate.js +7 -2
  40. data/app/assets/javascripts/PatientCharacteristicClinicalTrialParticipant.js +7 -2
  41. data/app/assets/javascripts/PatientCharacteristicEthnicity.js +7 -2
  42. data/app/assets/javascripts/PatientCharacteristicExpired.js +7 -2
  43. data/app/assets/javascripts/PatientCharacteristicPayer.js +7 -2
  44. data/app/assets/javascripts/PatientCharacteristicRace.js +7 -2
  45. data/app/assets/javascripts/PatientCharacteristicSex.js +7 -2
  46. data/app/assets/javascripts/PhysicalExamOrder.js +8 -2
  47. data/app/assets/javascripts/PhysicalExamPerformed.js +9 -2
  48. data/app/assets/javascripts/PhysicalExamRecommended.js +8 -2
  49. data/app/assets/javascripts/ProcedureOrder.js +10 -3
  50. data/app/assets/javascripts/ProcedurePerformed.js +11 -3
  51. data/app/assets/javascripts/ProcedureRecommended.js +9 -3
  52. data/app/assets/javascripts/ProviderCareExperience.js +8 -2
  53. data/app/assets/javascripts/QDMPatient.js +25 -9
  54. data/app/assets/javascripts/RelatedPerson.js +42 -0
  55. data/app/assets/javascripts/SubstanceAdministered.js +9 -2
  56. data/app/assets/javascripts/SubstanceOrder.js +9 -2
  57. data/app/assets/javascripts/SubstanceRecommended.js +8 -2
  58. data/app/assets/javascripts/Symptom.js +8 -2
  59. data/app/assets/javascripts/attributes/CarePartner.js +31 -0
  60. data/app/assets/javascripts/attributes/Component.js +22 -1
  61. data/app/assets/javascripts/attributes/DiagnosisComponent.js +34 -0
  62. data/app/assets/javascripts/attributes/Entity.js +58 -0
  63. data/app/assets/javascripts/attributes/FacilityLocation.js +4 -1
  64. data/app/assets/javascripts/attributes/Identifier.js +23 -0
  65. data/app/assets/javascripts/attributes/Organization.js +31 -0
  66. data/app/assets/javascripts/attributes/PatientEntity.js +30 -0
  67. data/app/assets/javascripts/attributes/Practitioner.js +33 -0
  68. data/app/assets/javascripts/attributes/ResultComponent.js +31 -0
  69. data/app/assets/javascripts/basetypes/Any.js +24 -14
  70. data/app/assets/javascripts/basetypes/AnyEntity.js +44 -0
  71. data/app/assets/javascripts/basetypes/Code.js +8 -11
  72. data/app/assets/javascripts/basetypes/DataElement.js +14 -6
  73. data/app/assets/javascripts/basetypes/Interval.js +2 -2
  74. data/app/assets/javascripts/basetypes/QDMDate.js +36 -0
  75. data/app/assets/javascripts/basetypes/Quantity.js +1 -1
  76. data/app/assets/javascripts/basetypes/Ratio.js +1 -1
  77. data/app/assets/javascripts/cqm/Provider.js +0 -2
  78. data/app/models/cqm/provider.rb +4 -4
  79. data/app/models/hqmfOid_to_datatype_map.json +1 -1
  80. data/app/models/models.rb +12 -5
  81. data/app/models/qdm/adverse_event.rb +3 -2
  82. data/app/models/qdm/allergy_intolerance.rb +2 -1
  83. data/app/models/qdm/assessment_order.rb +2 -1
  84. data/app/models/qdm/assessment_performed.rb +5 -2
  85. data/app/models/qdm/assessment_recommended.rb +2 -1
  86. data/app/models/qdm/attributes/care_partner.rb +8 -0
  87. data/app/models/qdm/attributes/component.rb +1 -1
  88. data/app/models/qdm/attributes/diagnosis_component.rb +10 -0
  89. data/app/models/qdm/attributes/entity.rb +15 -0
  90. data/app/models/qdm/attributes/facility_location.rb +1 -1
  91. data/app/models/qdm/{id.rb → attributes/identifier.rb} +3 -4
  92. data/app/models/qdm/attributes/organization.rb +8 -0
  93. data/app/models/qdm/attributes/patient_entity.rb +7 -0
  94. data/app/models/qdm/attributes/practitioner.rb +10 -0
  95. data/app/models/qdm/{result_component.rb → attributes/result_component.rb} +1 -3
  96. data/app/models/qdm/basetypes/code.rb +8 -10
  97. data/app/models/qdm/basetypes/data_element.rb +19 -6
  98. data/app/models/qdm/basetypes/date.rb +38 -0
  99. data/app/models/qdm/basetypes/interval.rb +2 -2
  100. data/app/models/qdm/care_goal.rb +4 -2
  101. data/app/models/qdm/communication_performed.rb +6 -5
  102. data/app/models/qdm/device_applied.rb +3 -1
  103. data/app/models/qdm/device_order.rb +2 -1
  104. data/app/models/qdm/device_recommended.rb +2 -1
  105. data/app/models/qdm/diagnosis.rb +2 -1
  106. data/app/models/qdm/diagnostic_study_order.rb +2 -1
  107. data/app/models/qdm/diagnostic_study_performed.rb +3 -1
  108. data/app/models/qdm/diagnostic_study_recommended.rb +2 -1
  109. data/app/models/qdm/encounter_order.rb +3 -1
  110. data/app/models/qdm/encounter_performed.rb +3 -2
  111. data/app/models/qdm/encounter_recommended.rb +2 -1
  112. data/app/models/qdm/family_history.rb +2 -1
  113. data/app/models/qdm/immunization_administered.rb +3 -1
  114. data/app/models/qdm/immunization_order.rb +2 -1
  115. data/app/models/qdm/intervention_order.rb +2 -1
  116. data/app/models/qdm/intervention_performed.rb +3 -1
  117. data/app/models/qdm/intervention_recommended.rb +2 -1
  118. data/app/models/qdm/laboratory_test_order.rb +2 -1
  119. data/app/models/qdm/laboratory_test_performed.rb +3 -1
  120. data/app/models/qdm/laboratory_test_recommended.rb +2 -1
  121. data/app/models/qdm/medication_active.rb +3 -1
  122. data/app/models/qdm/medication_administered.rb +3 -1
  123. data/app/models/qdm/medication_discharge.rb +3 -1
  124. data/app/models/qdm/medication_dispensed.rb +4 -3
  125. data/app/models/qdm/medication_order.rb +3 -3
  126. data/app/models/qdm/participation.rb +2 -1
  127. data/app/models/qdm/patient.rb +1 -1
  128. data/app/models/qdm/patient_care_experience.rb +2 -1
  129. data/app/models/qdm/patient_characteristic.rb +1 -1
  130. data/app/models/qdm/patient_characteristic_birthdate.rb +1 -1
  131. data/app/models/qdm/patient_characteristic_clinical_trial_participant.rb +1 -1
  132. data/app/models/qdm/patient_characteristic_ethnicity.rb +1 -1
  133. data/app/models/qdm/patient_characteristic_expired.rb +1 -1
  134. data/app/models/qdm/patient_characteristic_payer.rb +1 -1
  135. data/app/models/qdm/patient_characteristic_race.rb +1 -1
  136. data/app/models/qdm/patient_characteristic_sex.rb +1 -1
  137. data/app/models/qdm/physical_exam_order.rb +2 -1
  138. data/app/models/qdm/physical_exam_performed.rb +3 -1
  139. data/app/models/qdm/physical_exam_recommended.rb +2 -1
  140. data/app/models/qdm/procedure_order.rb +4 -2
  141. data/app/models/qdm/procedure_performed.rb +5 -2
  142. data/app/models/qdm/procedure_recommended.rb +3 -2
  143. data/app/models/qdm/provider_care_experience.rb +2 -1
  144. data/app/models/qdm/related_person.rb +13 -0
  145. data/app/models/qdm/substance_administered.rb +3 -1
  146. data/app/models/qdm/substance_order.rb +3 -1
  147. data/app/models/qdm/substance_recommended.rb +2 -1
  148. data/app/models/qdm/symptom.rb +2 -1
  149. data/bin/validate_generator.sh +1 -1
  150. data/cqm-models.gemspec +2 -2
  151. data/data/oids_qdm_5.5.json +321 -0
  152. data/dist/browser.js +3434 -3356
  153. data/dist/index.js +3433 -3355
  154. data/lib/generate_models.rb +78 -39
  155. data/lib/generate_patients.rb +3 -3
  156. data/lib/generate_types.rb +1 -1
  157. data/lib/generator_helpers.rb +14 -0
  158. data/modelinfo/qdm-modelinfo-5.5.xml +982 -0
  159. data/package.json +2 -2
  160. data/templates/entity_extension.rb.erb +6 -0
  161. data/templates/identifier_extension.rb.erb +58 -0
  162. data/templates/{id_template.js.erb → identifier_template.js.erb} +6 -5
  163. data/templates/models_template.rb.erb +19 -4
  164. data/templates/mongoose_template.js.erb +86 -12
  165. data/templates/patient_template.js.erb +0 -4
  166. data/yarn.lock +245 -201
  167. metadata +31 -11
  168. data/app/assets/javascripts/Id.js +0 -21
  169. data/app/assets/javascripts/ProviderCharacteristic.js +0 -36
  170. data/app/assets/javascripts/ResultComponent.js +0 -33
  171. data/app/models/qdm/provider_characteristic.rb +0 -12
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cqm-models",
3
- "version": "2.0.1",
3
+ "version": "2.0.0",
4
4
  "description": "This library contains auto generated Mongo (Mongoose.js) models that correspond to the QDM (Quality Data Model) specification.",
5
5
  "main": "app/assets/javascripts/index.js",
6
6
  "browser": {
@@ -16,7 +16,7 @@
16
16
  ],
17
17
  "license": "Apache-2.0",
18
18
  "dependencies": {
19
- "cql-execution": "~1.3.3",
19
+ "cql-execution": "1.4.0",
20
20
  "mongoose": "^5.4.14"
21
21
  },
22
22
  "devDependencies": {
@@ -0,0 +1,6 @@
1
+ def initialize(options = {})
2
+ super(options)
3
+ # default id to the mongo ObjectId for this DataElement if it isnt already defined
4
+ self.id = _id.to_s unless id?
5
+ end
6
+ end
@@ -0,0 +1,58 @@
1
+
2
+ def initialize(options = {})
3
+ super(options)
4
+ end
5
+
6
+ # Returns the attribute requested on the datatype.
7
+ def get(attribute)
8
+ send(attribute) if has_attribute?(attribute)
9
+ end
10
+
11
+ def mongoize
12
+ json_representation = {}
13
+ attribute_names.each do |field|
14
+ json_representation[field] = send(field).mongoize
15
+ end
16
+ json_representation
17
+ end
18
+
19
+ # Include '_type' in any JSON output. This is necessary for deserialization.
20
+ def to_json(options = nil)
21
+ serializable_hash(methods: :_type).to_json(options)
22
+ end
23
+
24
+ class << self
25
+ # Get the object as it was stored in the database, and instantiate
26
+ # this custom class from it.
27
+ def demongoize(object)
28
+ return nil unless object
29
+ object = object.symbolize_keys
30
+ if object.is_a?(Hash)
31
+ # This will turn the object into the concrete type eg: facilityLocation
32
+ data_element = QDM::Identifier.new
33
+ data_element.attribute_names.each do |field|
34
+ data_element.send(field + '=', object[field.to_sym])
35
+ end
36
+ data_element
37
+ else object
38
+ end
39
+ end
40
+
41
+ # Takes any possible object and converts it to how it would be
42
+ # stored in the database.
43
+ def mongoize(object)
44
+ case object
45
+ when nil then nil
46
+ when QDM::Identifier then object.mongoize
47
+ when Hash
48
+ object = object.symbolize_keys
49
+ data_element = QDM::Identifier.new
50
+ data_element.attribute_names.each do |field|
51
+ data_element.send(field + '=', object[field.to_sym])
52
+ end
53
+ data_element.mongoize
54
+ else object
55
+ end
56
+ end
57
+ end
58
+ end
@@ -5,16 +5,17 @@ const [Number, String] = [
5
5
  mongoose.Schema.Types.String,
6
6
  ];
7
7
 
8
- const IdSchema = mongoose.Schema({
8
+ const IdentifierSchema = mongoose.Schema({
9
9
  <%- for attribute in attrs_with_extras -%>
10
10
  <% if attribute[:default] %><%= attribute[:name] %>: { type: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>, default: '<%= attribute[:default] %>' },<% else %><%= attribute[:name] %>: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>,<%- end %>
11
11
  <%- end %>
12
12
  }, { _id: false, id: false });
13
13
 
14
- module.exports.IdSchema = IdSchema;
15
- class Id extends mongoose.Document {
14
+ module.exports.IdentifierSchema = IdentifierSchema;
15
+ class Identifier extends mongoose.Document {
16
16
  constructor(object) {
17
- super(object, IdSchema);
17
+ super(object, IdentifierSchema);
18
+ this._type = 'QDM::<%= datatype %>';
18
19
  }
19
20
  }
20
- module.exports.Id = Id;
21
+ module.exports.Identifier = Identifier;
@@ -1,4 +1,4 @@
1
- # Base QDM module (generated from lib/generate_models.rb) for QDM 5.3
1
+ # Base QDM module (generated from lib/generate_models.rb) for QDM 5.5
2
2
  module QDM
3
3
  end
4
4
  require 'mongoid'
@@ -7,17 +7,25 @@ require 'mongoid'
7
7
  require_relative 'model_finder'
8
8
 
9
9
  # Generated models that are dependencies for base types
10
- require_relative 'qdm/id'
10
+ require_relative 'qdm/attributes/attribute'
11
+ require_relative 'qdm/attributes/identifier'
11
12
 
12
13
  # base types
13
14
  require_relative 'qdm/basetypes/code'
14
15
  require_relative 'qdm/basetypes/data_element'
16
+ require_relative 'qdm/basetypes/date'
15
17
  require_relative 'qdm/basetypes/interval'
16
18
  require_relative 'qdm/basetypes/quantity'
17
19
  require_relative 'qdm/basetypes/ratio'
18
- require_relative 'qdm/attributes/attribute'
19
20
  require_relative 'qdm/attributes/facility_location'
20
21
  require_relative 'qdm/attributes/component'
22
+ require_relative 'qdm/attributes/entity'
23
+ require_relative 'qdm/attributes/care_partner'
24
+ require_relative 'qdm/attributes/diagnosis_component'
25
+ require_relative 'qdm/attributes/organization'
26
+ require_relative 'qdm/attributes/patient_entity'
27
+ require_relative 'qdm/attributes/practitioner'
28
+ require_relative 'qdm/attributes/result_component'
21
29
 
22
30
  # Tacoma-specific models
23
31
  require_relative 'cqm/measure'
@@ -38,8 +46,15 @@ require_relative '../../lib/generate_patients'
38
46
 
39
47
  # Generated models
40
48
  <%- datatypes.each_key do |datatype| -%>
41
- <%- next if datatype.underscore == 'id' -%>
49
+ <%- next if datatype.underscore == 'identifier' -%>
42
50
  <%- next if datatype.underscore == 'facility_location' -%>
43
51
  <%- next if datatype.underscore == 'component' -%>
52
+ <%- next if datatype.underscore == 'entity' -%>
53
+ <%- next if datatype.underscore == 'care_partner' -%>
54
+ <%- next if datatype.underscore == 'diagnosis_component' -%>
55
+ <%- next if datatype.underscore == 'organization' -%>
56
+ <%- next if datatype.underscore == 'patient_entity' -%>
57
+ <%- next if datatype.underscore == 'practitioner' -%>
58
+ <%- next if datatype.underscore == 'result_component' -%>
44
59
  require_relative 'qdm/<%= datatype.underscore %>'
45
60
  <%- end -%>
@@ -1,33 +1,83 @@
1
1
  const mongoose = require('mongoose/browser');
2
- <% unless datatype.downcase == 'component' || datatype.downcase == 'facilitylocation' %>
3
- <% unless datatype.downcase == 'id' %>const { IdSchema } = require('./Id');<% end %>
2
+ <% if datatype.downcase == 'component' || datatype.downcase == 'facilitylocation' || datatype.downcase == 'diagnosiscomponent'%>
3
+ const Code = require('../basetypes/Code');
4
+ const Interval = require('../basetypes/Interval');
5
+ const Quantity = require('../basetypes/Quantity');
6
+ const DateTime = require('../basetypes/DateTime');
7
+ const QDMDate = require('../basetypes/QDMDate');
8
+ const Any = require('../basetypes/Any');
9
+ <%if datatype.downcase == 'component'%>
10
+ const [Schema] = [mongoose.Schema];<% end %>
11
+ <% elsif datatype.downcase == 'resultcomponent'%>
12
+ const { ComponentSchemaFunction } = require('./Component');
13
+ const Code = require('../basetypes/Code');
14
+ const Interval = require('../basetypes/Interval');
15
+ const Quantity = require('../basetypes/Quantity');
16
+ const DateTime = require('../basetypes/DateTime');
17
+ const QDMDate = require('../basetypes/QDMDate');
18
+ const Any = require('../basetypes/Any');
19
+ <% elsif datatype.downcase == 'entity'%>
20
+ const { IdentifierSchema } = require('./Identifier');
21
+ const Code = require('../basetypes/Code');
22
+ const Interval = require('../basetypes/Interval');
23
+ const Quantity = require('../basetypes/Quantity');
24
+ const DateTime = require('../basetypes/DateTime');
25
+ const QDMDate = require('../basetypes/QDMDate');
26
+ const Any = require('../basetypes/Any');
27
+
28
+ const [Schema] = [mongoose.Schema];
29
+ <% elsif datatype.downcase == 'carepartner' || datatype.downcase == 'organization' || datatype.downcase == 'practitioner' || datatype.downcase == 'patiententity'%>
30
+ const { EntitySchemaFunction } = require('./Entity');
31
+ const Code = require('../basetypes/Code');
32
+ const Interval = require('../basetypes/Interval');
33
+ const Quantity = require('../basetypes/Quantity');
34
+ const DateTime = require('../basetypes/DateTime');
35
+ const QDMDate = require('../basetypes/QDMDate');
36
+ const Any = require('../basetypes/Any');
37
+ <% else %>
38
+ <% unless datatype.downcase == 'identifier' %>const { IdentifierSchema } = require('./attributes/Identifier');<% end %>
4
39
  const { DataElementSchema } = require('./basetypes/DataElement');
5
40
  const Code = require('./basetypes/Code');
6
41
  const Interval = require('./basetypes/Interval');
7
42
  const Quantity = require('./basetypes/Quantity');
8
43
  const DateTime = require('./basetypes/DateTime');
44
+ const QDMDate = require('./basetypes/QDMDate');
9
45
  const Any = require('./basetypes/Any');
46
+ const AnyEntity = require('./basetypes/AnyEntity');
10
47
  const { ComponentSchema } = require('./attributes/Component');
11
48
  const { FacilityLocationSchema } = require('./attributes/FacilityLocation');
12
- <% else %>
13
- const Code = require('../basetypes/Code');
14
- const Interval = require('../basetypes/Interval');
15
- const Quantity = require('../basetypes/Quantity');
16
- const DateTime = require('../basetypes/DateTime');
17
- const Any = require('../basetypes/Any');
49
+ const { EntitySchema } = require('./attributes/Entity');
50
+ <% unless datatype.downcase != 'encounterperformed' %>const { DiagnosisComponentSchema } = require('./attributes/DiagnosisComponent');<% end %>
18
51
  <% end %>
19
-
20
52
  const [Number, String] = [
21
53
  mongoose.Schema.Types.Number,
22
54
  mongoose.Schema.Types.String,
23
55
  ];
24
-
25
- const <%= datatype -%>Schema = <% unless datatype == 'Component' || datatype == 'FacilityLocation' %>DataElementSchema<% else %>new mongoose.Schema<%- end %>({
56
+ <% if datatype.downcase == 'component' || datatype.downcase == 'facilitylocation' || datatype.downcase == 'entity' || datatype.downcase == 'diagnosiscomponent'%>
57
+ const <%= datatype -%>Schema = new mongoose.Schema({
26
58
  <%- for attribute in attrs_with_extras -%>
27
59
  <% if attribute[:default] %><%= attribute[:name] %>: { type: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>, default: '<%= attribute[:default] %>' },<% else %><%= attribute[:name] %>: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>,<%- end %>
28
60
  <%- end %>
29
61
  });
30
-
62
+ <% elsif datatype.downcase == 'resultcomponent'%>
63
+ const <%= datatype -%>Schema = ComponentSchemaFunction({
64
+ <%- for attribute in attrs_with_extras -%>
65
+ <% if attribute[:default] %><%= attribute[:name] %>: { type: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>, default: '<%= attribute[:default] %>' },<% else %><%= attribute[:name] %>: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>,<%- end %>
66
+ <%- end %>
67
+ });
68
+ <% elsif datatype.downcase == 'carepartner' || datatype.downcase == 'organization' || datatype.downcase == 'practitioner' || datatype.downcase == 'patiententity'%>
69
+ const <%= datatype -%>Schema = EntitySchemaFunction({
70
+ <%- for attribute in attrs_with_extras -%>
71
+ <% if attribute[:default] %><%= attribute[:name] %>: { type: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>, default: '<%= attribute[:default] %>' },<% else %><%= attribute[:name] %>: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>,<%- end %>
72
+ <%- end %>
73
+ });
74
+ <% else %>
75
+ const <%= datatype -%>Schema = DataElementSchema({
76
+ <%- for attribute in attrs_with_extras -%>
77
+ <% if attribute[:default] %><%= attribute[:name] %>: { type: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>, default: '<%= attribute[:default] %>' },<% else %><%= attribute[:name] %>: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>,<%- end %>
78
+ <%- end %>
79
+ });
80
+ <% end %>
31
81
  module.exports.<%= datatype %>Schema = <%= datatype %>Schema;
32
82
  class <%= datatype %> extends mongoose.Document {
33
83
  constructor(object) {
@@ -35,4 +85,28 @@ class <%= datatype %> extends mongoose.Document {
35
85
  this._type = 'QDM::<%= datatype %>';
36
86
  }
37
87
  }
88
+ <% if datatype.downcase == 'entity' || datatype.downcase == 'component'%>
89
+ function <%= datatype %>SchemaFunction(add, options) {
90
+ const extended = new Schema({
91
+ <%- for attribute in attrs_with_extras.select{|a| a[:name] != 'id'} -%>
92
+ <% if attribute[:default] %><%= attribute[:name] %>: { type: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>, default: '<%= attribute[:default] %>' },<% else %><%= attribute[:name] %>: <%= TYPE_LOOKUP_JS[attribute[:type]] -%>,<%- end %>
93
+ <%- end %>
94
+ <%- if datatype.downcase == 'entity'%>
95
+ id: {
96
+ type: String,
97
+ default() {
98
+ return this._id ? this._id.toString() : mongoose.Types.ObjectId().toString();
99
+ },
100
+ },
101
+ <%- end %>
102
+ }, options);
103
+
104
+ if (add) {
105
+ extended.add(add);
106
+ }
107
+
108
+ return extended;
109
+ }
110
+ <% end %>
38
111
  module.exports.<%= datatype %> = <%= datatype %>;
112
+ <% if datatype.downcase == 'entity' || datatype.downcase == 'component'%>module.exports.<%= datatype %>SchemaFunction = <%= datatype %>SchemaFunction;<% end %>
@@ -212,10 +212,6 @@ QDMPatientSchema.methods.preferences = function preferences() {
212
212
  return this.getDataElements({ qdmCategory: 'preference' });
213
213
  };
214
214
 
215
- QDMPatientSchema.methods.provider_characteristics = function provider_characteristics() {
216
- return this.getDataElements({ qdmCategory: 'provider_characteristic' });
217
- };
218
-
219
215
  QDMPatientSchema.methods.procedures = function procedures() {
220
216
  return this.getDataElements({ qdmCategory: 'procedure' });
221
217
  };
data/yarn.lock CHANGED
@@ -20,6 +20,11 @@ abbrev@1.0.x:
20
20
  resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135"
21
21
  integrity sha1-kbR5JYinc4wl813W9jdSovh3YTU=
22
22
 
23
+ acorn-dynamic-import@^4.0.0:
24
+ version "4.0.0"
25
+ resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz#482210140582a36b83c3e342e1cfebcaa9240948"
26
+ integrity sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==
27
+
23
28
  acorn-jsx@^3.0.0:
24
29
  version "3.0.1"
25
30
  resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b"
@@ -28,18 +33,19 @@ acorn-jsx@^3.0.0:
28
33
  acorn "^3.0.4"
29
34
 
30
35
  acorn-node@^1.2.0, acorn-node@^1.3.0, acorn-node@^1.5.2, acorn-node@^1.6.1:
31
- version "1.8.2"
32
- resolved "https://registry.yarnpkg.com/acorn-node/-/acorn-node-1.8.2.tgz#114c95d64539e53dede23de8b9d96df7c7ae2af8"
33
- integrity sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==
36
+ version "1.6.2"
37
+ resolved "https://registry.yarnpkg.com/acorn-node/-/acorn-node-1.6.2.tgz#b7d7ceca6f22e6417af933a62cad4de01048d5d2"
38
+ integrity sha512-rIhNEZuNI8ibQcL7ANm/mGyPukIaZsRNX9psFNQURyJW0nu6k8wjSDld20z6v2mDBWqX13pIEnk9gGZJHIlEXg==
34
39
  dependencies:
35
- acorn "^7.0.0"
36
- acorn-walk "^7.0.0"
37
- xtend "^4.0.2"
40
+ acorn "^6.0.2"
41
+ acorn-dynamic-import "^4.0.0"
42
+ acorn-walk "^6.1.0"
43
+ xtend "^4.0.1"
38
44
 
39
- acorn-walk@^7.0.0:
40
- version "7.0.0"
41
- resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.0.0.tgz#c8ba6f0f1aac4b0a9e32d1f0af12be769528f36b"
42
- integrity sha512-7Bv1We7ZGuU79zZbb6rRqcpxo3OY+zrdtloZWoyD8fmGX+FeXRjE+iuGkZjSXLVovLzrsvMGMy0EkwA0E0umxg==
45
+ acorn-walk@^6.1.0:
46
+ version "6.1.1"
47
+ resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-6.1.1.tgz#d363b66f5fac5f018ff9c3a1e7b6f8e310cc3913"
48
+ integrity sha512-OtUw6JUTgxA2QoqqmrmQ7F2NYqiBPi/L2jqHyFtllhOUvXYQXf0Z1CYUinIfyT4bTCGmrA7gX9FvHA81uzCoVw==
43
49
 
44
50
  acorn@^3.0.4:
45
51
  version "3.3.0"
@@ -51,10 +57,10 @@ acorn@^5.5.0:
51
57
  resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"
52
58
  integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==
53
59
 
54
- acorn@^7.0.0:
55
- version "7.1.0"
56
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
57
- integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==
60
+ acorn@^6.0.2:
61
+ version "6.1.0"
62
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.1.0.tgz#b0a3be31752c97a0f7013c5f4903b71a05db6818"
63
+ integrity sha512-MW/FjM+IvU9CgBzjO3UIPCE2pyEwUsoFl+VGdczOPEdxfGFjuKny/gN54mOuX7Qxmb9Rg9MCn2oKiSUeW+pjrw==
58
64
 
59
65
  ajv-keywords@^2.1.0:
60
66
  version "2.1.1"
@@ -110,6 +116,11 @@ argparse@^1.0.7:
110
116
  dependencies:
111
117
  sprintf-js "~1.0.2"
112
118
 
119
+ array-filter@~0.0.0:
120
+ version "0.0.1"
121
+ resolved "https://registry.yarnpkg.com/array-filter/-/array-filter-0.0.1.tgz#7da8cf2e26628ed732803581fd21f67cacd2eeec"
122
+ integrity sha1-fajPLiZijtcygDWB/SH2fKzS7uw=
123
+
113
124
  array-includes@^3.0.3:
114
125
  version "3.0.3"
115
126
  resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.0.3.tgz#184b48f62d92d7452bb31b323165c7f8bd02266d"
@@ -118,6 +129,16 @@ array-includes@^3.0.3:
118
129
  define-properties "^1.1.2"
119
130
  es-abstract "^1.7.0"
120
131
 
132
+ array-map@~0.0.0:
133
+ version "0.0.0"
134
+ resolved "https://registry.yarnpkg.com/array-map/-/array-map-0.0.0.tgz#88a2bab73d1cf7bcd5c1b118a003f66f665fa662"
135
+ integrity sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=
136
+
137
+ array-reduce@~0.0.0:
138
+ version "0.0.0"
139
+ resolved "https://registry.yarnpkg.com/array-reduce/-/array-reduce-0.0.0.tgz#173899d3ffd1c7d9383e4479525dbe278cab5f2b"
140
+ integrity sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=
141
+
121
142
  asn1.js@^4.0.0:
122
143
  version "4.10.1"
123
144
  resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0"
@@ -128,11 +149,10 @@ asn1.js@^4.0.0:
128
149
  minimalistic-assert "^1.0.0"
129
150
 
130
151
  assert@^1.4.0:
131
- version "1.5.0"
132
- resolved "https://registry.yarnpkg.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb"
133
- integrity sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==
152
+ version "1.4.1"
153
+ resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91"
154
+ integrity sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=
134
155
  dependencies:
135
- object-assign "^4.1.1"
136
156
  util "0.10.3"
137
157
 
138
158
  async@1.x:
@@ -140,6 +160,13 @@ async@1.x:
140
160
  resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
141
161
  integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=
142
162
 
163
+ async@2.6.2:
164
+ version "2.6.2"
165
+ resolved "https://registry.yarnpkg.com/async/-/async-2.6.2.tgz#18330ea7e6e313887f5d2f2a904bac6fe4dd5381"
166
+ integrity sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg==
167
+ dependencies:
168
+ lodash "^4.17.11"
169
+
143
170
  babel-code-frame@^6.22.0:
144
171
  version "6.26.0"
145
172
  resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
@@ -155,9 +182,9 @@ balanced-match@^1.0.0:
155
182
  integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
156
183
 
157
184
  base64-js@^1.0.2:
158
- version "1.3.1"
159
- resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1"
160
- integrity sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==
185
+ version "1.3.0"
186
+ resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.0.tgz#cab1e6118f051095e58b5281aea8c1cd22bfc0e3"
187
+ integrity sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==
161
188
 
162
189
  bluebird@3.5.1:
163
190
  version "3.5.1"
@@ -261,9 +288,9 @@ browserify-zlib@~0.2.0:
261
288
  pako "~1.0.5"
262
289
 
263
290
  browserify@^16.1.0:
264
- version "16.5.0"
265
- resolved "https://registry.yarnpkg.com/browserify/-/browserify-16.5.0.tgz#a1c2bc0431bec11fd29151941582e3f645ede881"
266
- integrity sha512-6bfI3cl76YLAnCZ75AGu/XPOsqUhRyc0F/olGIJeCxtfxF2HvPKEcmjU9M8oAPxl4uBY1U7Nry33Q6koV3f2iw==
291
+ version "16.2.3"
292
+ resolved "https://registry.yarnpkg.com/browserify/-/browserify-16.2.3.tgz#7ee6e654ba4f92bce6ab3599c3485b1cc7a0ad0b"
293
+ integrity sha512-zQt/Gd1+W+IY+h/xX2NYMW4orQWhqSwyV+xsblycTtpOuB27h1fZhhNQuipJ4t79ohw4P4mMem0jp/ZkISQtjQ==
267
294
  dependencies:
268
295
  JSONStream "^1.0.3"
269
296
  assert "^1.4.0"
@@ -302,7 +329,7 @@ browserify@^16.1.0:
302
329
  shasum "^1.0.0"
303
330
  shell-quote "^1.6.1"
304
331
  stream-browserify "^2.0.0"
305
- stream-http "^3.0.0"
332
+ stream-http "^2.0.0"
306
333
  string_decoder "^1.1.1"
307
334
  subarg "^1.0.0"
308
335
  syntax-error "^1.1.1"
@@ -330,9 +357,9 @@ buffer-xor@^1.0.3:
330
357
  integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=
331
358
 
332
359
  buffer@^5.0.2:
333
- version "5.4.3"
334
- resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115"
335
- integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A==
360
+ version "5.2.1"
361
+ resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.2.1.tgz#dd57fa0f109ac59c602479044dca7b8b3d0b71d6"
362
+ integrity sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==
336
363
  dependencies:
337
364
  base64-js "^1.0.2"
338
365
  ieee754 "^1.1.4"
@@ -342,7 +369,7 @@ builtin-status-codes@^3.0.0:
342
369
  resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8"
343
370
  integrity sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=
344
371
 
345
- cached-path-relative@^1.0.0, cached-path-relative@^1.0.2:
372
+ cached-path-relative@^1.0.0:
346
373
  version "1.0.2"
347
374
  resolved "https://registry.yarnpkg.com/cached-path-relative/-/cached-path-relative-1.0.2.tgz#a13df4196d26776220cc3356eb147a52dba2c6db"
348
375
  integrity sha512-5r2GqsoEb4qMTTN9J+WzXfjov+hjxT+j3u5K+kIVNIwAd99DLCJE9pBIMP1qVeybV6JiijL385Oz0DcYxfbOIg==
@@ -436,7 +463,7 @@ combine-source-map@^0.8.0, combine-source-map@~0.8.0:
436
463
  lodash.memoize "~3.0.3"
437
464
  source-map "~0.5.3"
438
465
 
439
- commander@2.20.0:
466
+ commander@~2.20.0:
440
467
  version "2.20.0"
441
468
  resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"
442
469
  integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==
@@ -483,10 +510,10 @@ core-util-is@~1.0.0:
483
510
  resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
484
511
  integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
485
512
 
486
- cql-execution@~1.3.3:
487
- version "1.3.5"
488
- resolved "https://registry.yarnpkg.com/cql-execution/-/cql-execution-1.3.5.tgz#0036b8ebc4eb6d1fd94810ea9203657625e44a5a"
489
- integrity sha512-Gz/EKkjql1jFQcUviU4uvTtyntneOmL9xxsStwkcrKiIb/JPNO3YP5r6ws7iHiTF77WcpJbG0XRa4nRBdelf2w==
513
+ cql-execution@1.4.0:
514
+ version "1.4.0"
515
+ resolved "https://registry.yarnpkg.com/cql-execution/-/cql-execution-1.4.0.tgz#610d3b63d50c7cba9ec3f35f145b3def4c15caa4"
516
+ integrity sha512-4d5VTeUWjG/oXKSfI1scJKGSeZ5afhIeHqWUav+V9jyZL1KOFhLoUm9VDa1Fu1IGKQDDMyACxAuInBVdlfd5XA==
490
517
  dependencies:
491
518
  moment "^2.20.1"
492
519
  ucum "0.0.7"
@@ -548,11 +575,6 @@ crypto-browserify@^3.0.0:
548
575
  randombytes "^2.0.0"
549
576
  randomfill "^1.0.3"
550
577
 
551
- dash-ast@^1.0.0:
552
- version "1.0.0"
553
- resolved "https://registry.yarnpkg.com/dash-ast/-/dash-ast-1.0.0.tgz#12029ba5fb2f8aa6f0a861795b23c1b4b6c27d37"
554
- integrity sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==
555
-
556
578
  date-now@^0.1.4:
557
579
  version "0.1.4"
558
580
  resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
@@ -584,7 +606,7 @@ deep-is@~0.1.3:
584
606
  resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
585
607
  integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=
586
608
 
587
- define-properties@^1.1.2, define-properties@^1.1.3:
609
+ define-properties@^1.1.2:
588
610
  version "1.1.3"
589
611
  resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1"
590
612
  integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==
@@ -660,9 +682,9 @@ duplexer2@^0.1.2, duplexer2@~0.1.0, duplexer2@~0.1.2:
660
682
  readable-stream "^2.0.2"
661
683
 
662
684
  elliptic@^6.0.0:
663
- version "6.5.1"
664
- resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.1.tgz#c380f5f909bf1b9b4428d028cd18d3b0efd6b52b"
665
- integrity sha512-xvJINNLbTeWQjrl6X+7eQCrIy/YPv5XCpKW6kB5mKvtnGILoLDcySuwomfdzt0BMdLNVnuRNTuzKNHj0bva1Cg==
685
+ version "6.4.1"
686
+ resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.1.tgz#c2d0b7776911b86722c632c3c06c60f2f819939a"
687
+ integrity sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==
666
688
  dependencies:
667
689
  bn.js "^4.4.0"
668
690
  brorand "^1.0.1"
@@ -679,21 +701,17 @@ error-ex@^1.2.0:
679
701
  dependencies:
680
702
  is-arrayish "^0.2.1"
681
703
 
682
- es-abstract@^1.12.0, es-abstract@^1.7.0:
683
- version "1.15.0"
684
- resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.15.0.tgz#8884928ec7e40a79e3c9bc812d37d10c8b24cc57"
685
- integrity sha512-bhkEqWJ2t2lMeaJDuk7okMkJWI/yqgH/EoGwpcvv0XW9RWQsRspI4wt6xuyuvMvvQE3gg/D9HXppgk21w78GyQ==
704
+ es-abstract@^1.7.0:
705
+ version "1.13.0"
706
+ resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.13.0.tgz#ac86145fdd5099d8dd49558ccba2eaf9b88e24e9"
707
+ integrity sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg==
686
708
  dependencies:
687
709
  es-to-primitive "^1.2.0"
688
710
  function-bind "^1.1.1"
689
711
  has "^1.0.3"
690
- has-symbols "^1.0.0"
691
712
  is-callable "^1.1.4"
692
713
  is-regex "^1.0.4"
693
- object-inspect "^1.6.0"
694
- object-keys "^1.1.1"
695
- string.prototype.trimleft "^2.1.0"
696
- string.prototype.trimright "^2.1.0"
714
+ object-keys "^1.0.12"
697
715
 
698
716
  es-to-primitive@^1.2.0:
699
717
  version "1.2.0"
@@ -737,17 +755,17 @@ eslint-import-resolver-node@^0.3.2:
737
755
  resolve "^1.5.0"
738
756
 
739
757
  eslint-module-utils@^2.4.0:
740
- version "2.4.1"
741
- resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz#7b4675875bf96b0dbf1b21977456e5bb1f5e018c"
742
- integrity sha512-H6DOj+ejw7Tesdgbfs4jeS4YMFrT8uI8xwd1gtQqXssaR0EQ26L+2O/w6wkYFy2MymON0fTwHmXBvvfLNZVZEw==
758
+ version "2.4.0"
759
+ resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.4.0.tgz#8b93499e9b00eab80ccb6614e69f03678e84e09a"
760
+ integrity sha512-14tltLm38Eu3zS+mt0KvILC3q8jyIAH518MlG+HO0p+yK885Lb1UHTY/UgR91eOyGdmxAPb+OLoW4znqIT6Ndw==
743
761
  dependencies:
744
762
  debug "^2.6.8"
745
763
  pkg-dir "^2.0.0"
746
764
 
747
765
  eslint-plugin-import@^2.8.0:
748
- version "2.18.2"
749
- resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz#02f1180b90b077b33d447a17a2326ceb400aceb6"
750
- integrity sha512-5ohpsHAiUBRNaBWAF08izwUGlbrJoJJ+W9/TBwsGoR1MnlgfwMIKrFeSjWbt6moabiXW9xNvtFz+97KHRfI4HQ==
766
+ version "2.18.0"
767
+ resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.18.0.tgz#7a5ba8d32622fb35eb9c8db195c2090bd18a3678"
768
+ integrity sha512-PZpAEC4gj/6DEMMoU2Df01C5c50r7zdGIN52Yfi7CvvWaYssG7Jt5R9nFG5gmqodxNOz9vQS87xk6Izdtpdrig==
751
769
  dependencies:
752
770
  array-includes "^3.0.3"
753
771
  contains-path "^0.1.0"
@@ -756,8 +774,8 @@ eslint-plugin-import@^2.8.0:
756
774
  eslint-import-resolver-node "^0.3.2"
757
775
  eslint-module-utils "^2.4.0"
758
776
  has "^1.0.3"
777
+ lodash "^4.17.11"
759
778
  minimatch "^3.0.4"
760
- object.values "^1.1.0"
761
779
  read-pkg-up "^2.0.0"
762
780
  resolve "^1.11.0"
763
781
 
@@ -775,9 +793,9 @@ eslint-scope@^3.7.1:
775
793
  estraverse "^4.1.1"
776
794
 
777
795
  eslint-visitor-keys@^1.0.0:
778
- version "1.1.0"
779
- resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
780
- integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==
796
+ version "1.0.0"
797
+ resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d"
798
+ integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==
781
799
 
782
800
  eslint@^4.17.0:
783
801
  version "4.19.1"
@@ -861,14 +879,14 @@ estraverse@^1.9.1:
861
879
  integrity sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=
862
880
 
863
881
  estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1:
864
- version "4.3.0"
865
- resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"
866
- integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==
882
+ version "4.2.0"
883
+ resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13"
884
+ integrity sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=
867
885
 
868
886
  esutils@^2.0.2:
869
- version "2.0.3"
870
- resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
871
- integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
887
+ version "2.0.2"
888
+ resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b"
889
+ integrity sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=
872
890
 
873
891
  events@^2.0.0:
874
892
  version "2.1.0"
@@ -975,7 +993,19 @@ glob@^5.0.15:
975
993
  once "^1.3.0"
976
994
  path-is-absolute "^1.0.0"
977
995
 
978
- glob@^7.0.6, glob@^7.1.0, glob@^7.1.2, glob@^7.1.3:
996
+ glob@^7.0.6, glob@^7.1.0:
997
+ version "7.1.3"
998
+ resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
999
+ integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==
1000
+ dependencies:
1001
+ fs.realpath "^1.0.0"
1002
+ inflight "^1.0.4"
1003
+ inherits "2"
1004
+ minimatch "^3.0.4"
1005
+ once "^1.3.0"
1006
+ path-is-absolute "^1.0.0"
1007
+
1008
+ glob@^7.1.2, glob@^7.1.3:
979
1009
  version "7.1.4"
980
1010
  resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
981
1011
  integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==
@@ -993,14 +1023,14 @@ globals@^11.0.1:
993
1023
  integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==
994
1024
 
995
1025
  graceful-fs@^4.1.2:
996
- version "4.2.2"
997
- resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.2.tgz#6f0952605d0140c1cfdb138ed005775b92d67b02"
998
- integrity sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q==
1026
+ version "4.2.0"
1027
+ resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.0.tgz#8d8fdc73977cb04104721cb53666c1ca64cd328b"
1028
+ integrity sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==
999
1029
 
1000
1030
  handlebars@^4.0.1:
1001
- version "4.4.3"
1002
- resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.4.3.tgz#180bae52c1d0e9ec0c15d7e82a4362d662762f6e"
1003
- integrity sha512-B0W4A2U1ww3q7VVthTKfh+epHx+q4mCt6iK+zEAzbMBpWQAwxCeKxEGpj/1oQTpzPXDNSOG7hmG14TsISH50yw==
1031
+ version "4.1.2"
1032
+ resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.1.2.tgz#b6b37c1ced0306b221e094fc7aca3ec23b131b67"
1033
+ integrity sha512-nvfrjqvt9xQ8Z/w0ijewdD/vvWDTOweBUm96NTr66Wfvo1mJenBLwcYmPs3TIBP5ruzYGD7Hx/DaM9RmhroGPw==
1004
1034
  dependencies:
1005
1035
  neo-async "^2.6.0"
1006
1036
  optimist "^0.6.1"
@@ -1063,9 +1093,9 @@ hmac-drbg@^1.0.0:
1063
1093
  minimalistic-crypto-utils "^1.0.1"
1064
1094
 
1065
1095
  hosted-git-info@^2.1.4:
1066
- version "2.8.5"
1067
- resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c"
1068
- integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==
1096
+ version "2.7.1"
1097
+ resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047"
1098
+ integrity sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==
1069
1099
 
1070
1100
  htmlescape@^1.1.0:
1071
1101
  version "1.1.1"
@@ -1085,9 +1115,9 @@ iconv-lite@^0.4.17:
1085
1115
  safer-buffer ">= 2.1.2 < 3"
1086
1116
 
1087
1117
  ieee754@^1.1.4:
1088
- version "1.1.13"
1089
- resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84"
1090
- integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==
1118
+ version "1.1.12"
1119
+ resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.12.tgz#50bf24e5b9c8bb98af4964c941cdb0918da7b60b"
1120
+ integrity sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA==
1091
1121
 
1092
1122
  ignore@^3.3.3:
1093
1123
  version "3.3.10"
@@ -1107,7 +1137,7 @@ inflight@^1.0.4:
1107
1137
  once "^1.3.0"
1108
1138
  wrappy "1"
1109
1139
 
1110
- inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3:
1140
+ inherits@2, inherits@^2.0.3, inherits@~2.0.3:
1111
1141
  version "2.0.4"
1112
1142
  resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
1113
1143
  integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
@@ -1117,7 +1147,7 @@ inherits@2.0.1:
1117
1147
  resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1"
1118
1148
  integrity sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=
1119
1149
 
1120
- inherits@2.0.3:
1150
+ inherits@2.0.3, inherits@^2.0.1, inherits@~2.0.1:
1121
1151
  version "2.0.3"
1122
1152
  resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
1123
1153
  integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
@@ -1219,6 +1249,11 @@ isarray@^1.0.0, isarray@~1.0.0:
1219
1249
  resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
1220
1250
  integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=
1221
1251
 
1252
+ isarray@^2.0.4:
1253
+ version "2.0.4"
1254
+ resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.4.tgz#38e7bcbb0f3ba1b7933c86ba1894ddfc3781bbb7"
1255
+ integrity sha512-GMxXOiUirWg1xTKRipM0Ek07rX+ubx4nNVElTJdNLYmNO/2YrDkgJGw9CljXn+r4EWiDQg/8lsRdHyg2PJuUaA==
1256
+
1222
1257
  isexe@^2.0.0:
1223
1258
  version "2.0.0"
1224
1259
  resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
@@ -1298,17 +1333,18 @@ jsonparse@^1.2.0:
1298
1333
  resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280"
1299
1334
  integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=
1300
1335
 
1301
- kareem@2.3.1:
1302
- version "2.3.1"
1303
- resolved "https://registry.yarnpkg.com/kareem/-/kareem-2.3.1.tgz#def12d9c941017fabfb00f873af95e9c99e1be87"
1304
- integrity sha512-l3hLhffs9zqoDe8zjmb/mAN4B8VT3L56EUvKNqLFVs9YlFA+zx7ke1DO8STAdDyYNkeSo1nKmjuvQeI12So8Xw==
1336
+ kareem@2.3.0:
1337
+ version "2.3.0"
1338
+ resolved "https://registry.yarnpkg.com/kareem/-/kareem-2.3.0.tgz#ef33c42e9024dce511eeaf440cd684f3af1fc769"
1339
+ integrity sha512-6hHxsp9e6zQU8nXsP+02HGWXwTkOEw6IROhF2ZA28cYbUk4eJ6QbtZvdqZOdD9YPKghG3apk5eOCvs+tLl3lRg==
1305
1340
 
1306
1341
  labeled-stream-splicer@^2.0.0:
1307
- version "2.0.2"
1308
- resolved "https://registry.yarnpkg.com/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz#42a41a16abcd46fd046306cf4f2c3576fffb1c21"
1309
- integrity sha512-Ca4LSXFFZUjPScRaqOcFxneA0VpKZr4MMYCljyQr4LIewTLb3Y0IUTIsnBBsVubIeEfxeSZpSjSsRM8APEQaAw==
1342
+ version "2.0.1"
1343
+ resolved "https://registry.yarnpkg.com/labeled-stream-splicer/-/labeled-stream-splicer-2.0.1.tgz#9cffa32fd99e1612fd1d86a8db962416d5292926"
1344
+ integrity sha512-MC94mHZRvJ3LfykJlTUipBqenZz1pacOZEMhhQ8dMGcDHs0SBE5GbsavUXV7YtP3icBW17W0Zy1I0lfASmo9Pg==
1310
1345
  dependencies:
1311
1346
  inherits "^2.0.1"
1347
+ isarray "^2.0.4"
1312
1348
  stream-splicer "^2.0.0"
1313
1349
 
1314
1350
  levn@^0.3.0, levn@~0.3.0:
@@ -1342,10 +1378,10 @@ lodash.memoize@~3.0.3:
1342
1378
  resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-3.0.4.tgz#2dcbd2c287cbc0a55cc42328bd0c736150d53e3f"
1343
1379
  integrity sha1-LcvSwofLwKVcxCMovQxzYVDVPj8=
1344
1380
 
1345
- lodash@^4.17.4, lodash@^4.3.0:
1346
- version "4.17.15"
1347
- resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
1348
- integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
1381
+ lodash@^4.17.11, lodash@^4.17.4, lodash@^4.3.0:
1382
+ version "4.17.14"
1383
+ resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.14.tgz#9ce487ae66c96254fe20b599f21b6816028078ba"
1384
+ integrity sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw==
1349
1385
 
1350
1386
  lru-cache@^4.0.1:
1351
1387
  version "4.1.5"
@@ -1364,6 +1400,11 @@ md5.js@^1.3.4:
1364
1400
  inherits "^2.0.1"
1365
1401
  safe-buffer "^5.1.2"
1366
1402
 
1403
+ memory-pager@^1.0.2:
1404
+ version "1.5.0"
1405
+ resolved "https://registry.yarnpkg.com/memory-pager/-/memory-pager-1.5.0.tgz#d8751655d22d384682741c972f2c3d6dfa3e66b5"
1406
+ integrity sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==
1407
+
1367
1408
  miller-rabin@^4.0.0:
1368
1409
  version "4.0.1"
1369
1410
  resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d"
@@ -1417,13 +1458,13 @@ mkdirp@0.5.x, mkdirp@^0.5.0, mkdirp@^0.5.1:
1417
1458
  minimist "0.0.8"
1418
1459
 
1419
1460
  module-deps@^6.0.0:
1420
- version "6.2.1"
1421
- resolved "https://registry.yarnpkg.com/module-deps/-/module-deps-6.2.1.tgz#cfe558784060e926824f474b4e647287837cda50"
1422
- integrity sha512-UnEn6Ah36Tu4jFiBbJVUtt0h+iXqxpLqDvPS8nllbw5RZFmNJ1+Mz5BjYnM9ieH80zyxHkARGLnMIHlPK5bu6A==
1461
+ version "6.2.0"
1462
+ resolved "https://registry.yarnpkg.com/module-deps/-/module-deps-6.2.0.tgz#d41a2e790245ce319171e4e7c4d8c73993ba3cd5"
1463
+ integrity sha512-hKPmO06so6bL/ZvqVNVqdTVO8UAYsi3tQWlCa+z9KuWhoN4KDQtb5hcqQQv58qYiDE21wIvnttZEPiDgEbpwbA==
1423
1464
  dependencies:
1424
1465
  JSONStream "^1.0.3"
1425
1466
  browser-resolve "^1.7.0"
1426
- cached-path-relative "^1.0.2"
1467
+ cached-path-relative "^1.0.0"
1427
1468
  concat-stream "~1.6.0"
1428
1469
  defined "^1.0.0"
1429
1470
  detective "^5.0.2"
@@ -1442,14 +1483,24 @@ moment@^2.20.1:
1442
1483
  resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b"
1443
1484
  integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==
1444
1485
 
1445
- mongodb@3.3.2:
1446
- version "3.3.2"
1447
- resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-3.3.2.tgz#ff086b5f552cf07e24ce098694210f3d42d668b2"
1448
- integrity sha512-fqJt3iywelk4yKu/lfwQg163Bjpo5zDKhXiohycvon4iQHbrfflSAz9AIlRE6496Pm/dQKQK5bMigdVo2s6gBg==
1486
+ mongodb-core@3.2.7:
1487
+ version "3.2.7"
1488
+ resolved "https://registry.yarnpkg.com/mongodb-core/-/mongodb-core-3.2.7.tgz#a8ef1fe764a192c979252dacbc600dc88d77e28f"
1489
+ integrity sha512-WypKdLxFNPOH/Jy6i9z47IjG2wIldA54iDZBmHMINcgKOUcWJh8og+Wix76oGd7EyYkHJKssQ2FAOw5Su/n4XQ==
1449
1490
  dependencies:
1450
1491
  bson "^1.1.1"
1451
1492
  require_optional "^1.0.1"
1452
1493
  safe-buffer "^5.1.2"
1494
+ optionalDependencies:
1495
+ saslprep "^1.0.0"
1496
+
1497
+ mongodb@3.2.7:
1498
+ version "3.2.7"
1499
+ resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-3.2.7.tgz#8ba149e4be708257cad0dea72aebb2bbb311a7ac"
1500
+ integrity sha512-2YdWrdf1PJgxcCrT1tWoL6nHuk6hCxhddAAaEh8QJL231ci4+P9FLyqopbTm2Z2sAU6mhCri+wd9r1hOcHdoMw==
1501
+ dependencies:
1502
+ mongodb-core "3.2.7"
1503
+ safe-buffer "^5.1.2"
1453
1504
 
1454
1505
  mongoose-legacy-pluralize@1.0.2:
1455
1506
  version "1.0.2"
@@ -1457,16 +1508,18 @@ mongoose-legacy-pluralize@1.0.2:
1457
1508
  integrity sha512-Yo/7qQU4/EyIS8YDFSeenIvXxZN+ld7YdV9LqFVQJzTLye8unujAWPZ4NWKfFA+RNjh+wvTWKY9Z3E5XM6ZZiQ==
1458
1509
 
1459
1510
  mongoose@^5.4.14:
1460
- version "5.7.5"
1461
- resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-5.7.5.tgz#b787b47216edf62036aa358c3ef0f1869c46cdc2"
1462
- integrity sha512-BZ4FxtnbTurc/wcm/hLltLdI4IDxo4nsE0D9q58YymTdZwreNzwO62CcjVtaHhmr8HmJtOInp2W/T12FZaMf8g==
1511
+ version "5.6.4"
1512
+ resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-5.6.4.tgz#049ca8ad5ac16a528c23a20301579f7ac92fdb0e"
1513
+ integrity sha512-mwMpa82uGvxSmkwTbxCmXb8/Nn9+2e+X61DiGFV9ZeenTsJKcdjc0QMGwDyDEkLcnYwQ5VrQbiB9548RZbFgVw==
1463
1514
  dependencies:
1515
+ async "2.6.2"
1464
1516
  bson "~1.1.1"
1465
- kareem "2.3.1"
1466
- mongodb "3.3.2"
1517
+ kareem "2.3.0"
1518
+ mongodb "3.2.7"
1519
+ mongodb-core "3.2.7"
1467
1520
  mongoose-legacy-pluralize "1.0.2"
1468
1521
  mpath "0.6.0"
1469
- mquery "3.2.2"
1522
+ mquery "3.2.1"
1470
1523
  ms "2.1.2"
1471
1524
  regexp-clone "1.0.0"
1472
1525
  safe-buffer "5.1.2"
@@ -1478,10 +1531,10 @@ mpath@0.6.0:
1478
1531
  resolved "https://registry.yarnpkg.com/mpath/-/mpath-0.6.0.tgz#aa922029fca4f0f641f360e74c5c1b6a4c47078e"
1479
1532
  integrity sha512-i75qh79MJ5Xo/sbhxrDrPSEG0H/mr1kcZXJ8dH6URU5jD/knFxCVqVC/gVSW7GIXL/9hHWlT9haLbCXWOll3qw==
1480
1533
 
1481
- mquery@3.2.2:
1482
- version "3.2.2"
1483
- resolved "https://registry.yarnpkg.com/mquery/-/mquery-3.2.2.tgz#e1383a3951852ce23e37f619a9b350f1fb3664e7"
1484
- integrity sha512-XB52992COp0KP230I3qloVUbkLUxJIu328HBP2t2EsxSFtf4W1HPSOBWOXf1bqxK4Xbb66lfMJ+Bpfd9/yZE1Q==
1534
+ mquery@3.2.1:
1535
+ version "3.2.1"
1536
+ resolved "https://registry.yarnpkg.com/mquery/-/mquery-3.2.1.tgz#8b059a49cdae0a8a9e804284ef64c2f58d3ac05d"
1537
+ integrity sha512-kY/K8QToZWTTocm0U+r8rqcJCp5PRl6e8tPmoDs5OeSO3DInZE2rAL6AYH+V406JTo8305LdASOQcxRDqHojyw==
1485
1538
  dependencies:
1486
1539
  bluebird "3.5.1"
1487
1540
  debug "3.1.0"
@@ -1510,9 +1563,9 @@ natural-compare@^1.4.0:
1510
1563
  integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=
1511
1564
 
1512
1565
  neo-async@^2.6.0:
1513
- version "2.6.1"
1514
- resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
1515
- integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==
1566
+ version "2.6.0"
1567
+ resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.0.tgz#b9d15e4d71c6762908654b5183ed38b753340835"
1568
+ integrity sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA==
1516
1569
 
1517
1570
  nopt@3.x:
1518
1571
  version "3.0.6"
@@ -1531,31 +1584,16 @@ normalize-package-data@^2.3.2:
1531
1584
  semver "2 || 3 || 4 || 5"
1532
1585
  validate-npm-package-license "^3.0.1"
1533
1586
 
1534
- object-assign@^4.0.1, object-assign@^4.1.1:
1587
+ object-assign@^4.0.1:
1535
1588
  version "4.1.1"
1536
1589
  resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
1537
1590
  integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
1538
1591
 
1539
- object-inspect@^1.6.0:
1540
- version "1.6.0"
1541
- resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b"
1542
- integrity sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==
1543
-
1544
- object-keys@^1.0.12, object-keys@^1.1.1:
1592
+ object-keys@^1.0.12:
1545
1593
  version "1.1.1"
1546
1594
  resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e"
1547
1595
  integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==
1548
1596
 
1549
- object.values@^1.1.0:
1550
- version "1.1.0"
1551
- resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.0.tgz#bf6810ef5da3e5325790eaaa2be213ea84624da9"
1552
- integrity sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==
1553
- dependencies:
1554
- define-properties "^1.1.3"
1555
- es-abstract "^1.12.0"
1556
- function-bind "^1.1.1"
1557
- has "^1.0.3"
1558
-
1559
1597
  once@1.x, once@^1.3.0:
1560
1598
  version "1.4.0"
1561
1599
  resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
@@ -1620,9 +1658,9 @@ p-try@^1.0.0:
1620
1658
  integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=
1621
1659
 
1622
1660
  pako@~1.0.5:
1623
- version "1.0.10"
1624
- resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.10.tgz#4328badb5086a426aa90f541977d4955da5c9732"
1625
- integrity sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==
1661
+ version "1.0.8"
1662
+ resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.8.tgz#6844890aab9c635af868ad5fecc62e8acbba3ea4"
1663
+ integrity sha512-6i0HVbUfcKaTv+EG8ZTr75az7GFXcLYk9UyLEg7Notv/Ma+z/UG3TCoz6GiNeOrn1E/e63I0X/Hpw18jHOTUnA==
1626
1664
 
1627
1665
  parents@^1.0.0, parents@^1.0.1:
1628
1666
  version "1.0.1"
@@ -1632,9 +1670,9 @@ parents@^1.0.0, parents@^1.0.1:
1632
1670
  path-platform "~0.11.15"
1633
1671
 
1634
1672
  parse-asn1@^5.0.0:
1635
- version "5.1.5"
1636
- resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.5.tgz#003271343da58dc94cace494faef3d2147ecea0e"
1637
- integrity sha512-jkMYn1dcJqF6d5CpU689bq7w/b5ALS9ROVSpQDPrZsqqesUJii9qutvoT5ltGedNXMO2e16YUWIghG9KxaViTQ==
1673
+ version "5.1.4"
1674
+ resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.4.tgz#37f6628f823fbdeb2273b4d540434a22f3ef1fcc"
1675
+ integrity sha512-Qs5duJcuvNExRfFZ99HDD3z4mAi3r9Wl/FOjEOijlxwCZs7E7mW2vjTpgQ4J8LpTF8x5v+1Vn5UQFejmWT11aw==
1638
1676
  dependencies:
1639
1677
  asn1.js "^4.0.0"
1640
1678
  browserify-aes "^1.0.0"
@@ -1811,7 +1849,7 @@ read-pkg@^2.0.0:
1811
1849
  normalize-package-data "^2.3.2"
1812
1850
  path-type "^2.0.0"
1813
1851
 
1814
- readable-stream@^2.0.2, readable-stream@^2.2.2, readable-stream@~2.3.6:
1852
+ readable-stream@^2.0.2, readable-stream@^2.2.2, readable-stream@^2.3.6, readable-stream@~2.3.6:
1815
1853
  version "2.3.6"
1816
1854
  resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
1817
1855
  integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==
@@ -1824,15 +1862,6 @@ readable-stream@^2.0.2, readable-stream@^2.2.2, readable-stream@~2.3.6:
1824
1862
  string_decoder "~1.1.1"
1825
1863
  util-deprecate "~1.0.1"
1826
1864
 
1827
- readable-stream@^3.0.6:
1828
- version "3.4.0"
1829
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.4.0.tgz#a51c26754658e0a3c21dbf59163bd45ba6f447fc"
1830
- integrity sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==
1831
- dependencies:
1832
- inherits "^2.0.3"
1833
- string_decoder "^1.1.1"
1834
- util-deprecate "^1.0.1"
1835
-
1836
1865
  regexp-clone@1.0.0, regexp-clone@^1.0.0:
1837
1866
  version "1.0.0"
1838
1867
  resolved "https://registry.yarnpkg.com/regexp-clone/-/regexp-clone-1.0.0.tgz#222db967623277056260b992626354a04ce9bf63"
@@ -1874,10 +1903,17 @@ resolve@1.1.7, resolve@1.1.x:
1874
1903
  resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
1875
1904
  integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
1876
1905
 
1877
- resolve@^1.1.4, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.4.0, resolve@^1.5.0:
1878
- version "1.12.0"
1879
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
1880
- integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==
1906
+ resolve@^1.1.4, resolve@^1.4.0:
1907
+ version "1.10.0"
1908
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba"
1909
+ integrity sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==
1910
+ dependencies:
1911
+ path-parse "^1.0.6"
1912
+
1913
+ resolve@^1.10.0, resolve@^1.11.0, resolve@^1.5.0:
1914
+ version "1.11.1"
1915
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.11.1.tgz#ea10d8110376982fef578df8fc30b9ac30a07a3e"
1916
+ integrity sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==
1881
1917
  dependencies:
1882
1918
  path-parse "^1.0.6"
1883
1919
 
@@ -1923,12 +1959,12 @@ rx-lite@*, rx-lite@^4.0.8:
1923
1959
  resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444"
1924
1960
  integrity sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=
1925
1961
 
1926
- safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
1962
+ safe-buffer@5.1.2, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
1927
1963
  version "5.1.2"
1928
1964
  resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
1929
1965
  integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
1930
1966
 
1931
- safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0:
1967
+ safe-buffer@^5.1.2:
1932
1968
  version "5.2.0"
1933
1969
  resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519"
1934
1970
  integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==
@@ -1938,10 +1974,17 @@ safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2,
1938
1974
  resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
1939
1975
  integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
1940
1976
 
1977
+ saslprep@^1.0.0:
1978
+ version "1.0.3"
1979
+ resolved "https://registry.yarnpkg.com/saslprep/-/saslprep-1.0.3.tgz#4c02f946b56cf54297e347ba1093e7acac4cf226"
1980
+ integrity sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==
1981
+ dependencies:
1982
+ sparse-bitfield "^3.0.3"
1983
+
1941
1984
  "semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.3.0:
1942
- version "5.7.1"
1943
- resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
1944
- integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
1985
+ version "5.7.0"
1986
+ resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b"
1987
+ integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==
1945
1988
 
1946
1989
  sha.js@^2.4.0, sha.js@^2.4.8, sha.js@~2.4.4:
1947
1990
  version "2.4.11"
@@ -1972,9 +2015,14 @@ shebang-regex@^1.0.0:
1972
2015
  integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=
1973
2016
 
1974
2017
  shell-quote@^1.6.1:
1975
- version "1.7.2"
1976
- resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2"
1977
- integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==
2018
+ version "1.6.1"
2019
+ resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.6.1.tgz#f4781949cce402697127430ea3b3c5476f481767"
2020
+ integrity sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=
2021
+ dependencies:
2022
+ array-filter "~0.0.0"
2023
+ array-map "~0.0.0"
2024
+ array-reduce "~0.0.0"
2025
+ jsonify "~0.0.0"
1978
2026
 
1979
2027
  sift@7.0.1:
1980
2028
  version "7.0.1"
@@ -2020,6 +2068,13 @@ source-map@~0.5.3:
2020
2068
  resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
2021
2069
  integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
2022
2070
 
2071
+ sparse-bitfield@^3.0.3:
2072
+ version "3.0.3"
2073
+ resolved "https://registry.yarnpkg.com/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz#ff4ae6e68656056ba4b3e792ab3334d38273ca11"
2074
+ integrity sha1-/0rm5oZWBWuks+eSqzM004JzyhE=
2075
+ dependencies:
2076
+ memory-pager "^1.0.2"
2077
+
2023
2078
  spdx-correct@^3.0.0:
2024
2079
  version "3.1.0"
2025
2080
  resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4"
@@ -2067,20 +2122,21 @@ stream-combiner2@^1.1.1:
2067
2122
  duplexer2 "~0.1.0"
2068
2123
  readable-stream "^2.0.2"
2069
2124
 
2070
- stream-http@^3.0.0:
2071
- version "3.1.0"
2072
- resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-3.1.0.tgz#22fb33fe9b4056b4eccf58bd8f400c4b993ffe57"
2073
- integrity sha512-cuB6RgO7BqC4FBYzmnvhob5Do3wIdIsXAgGycHJnW+981gHqoYcYz9lqjJrk8WXRddbwPuqPYRl+bag6mYv4lw==
2125
+ stream-http@^2.0.0:
2126
+ version "2.8.3"
2127
+ resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc"
2128
+ integrity sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==
2074
2129
  dependencies:
2075
2130
  builtin-status-codes "^3.0.0"
2076
2131
  inherits "^2.0.1"
2077
- readable-stream "^3.0.6"
2132
+ readable-stream "^2.3.6"
2133
+ to-arraybuffer "^1.0.0"
2078
2134
  xtend "^4.0.0"
2079
2135
 
2080
2136
  stream-splicer@^2.0.0:
2081
- version "2.0.1"
2082
- resolved "https://registry.yarnpkg.com/stream-splicer/-/stream-splicer-2.0.1.tgz#0b13b7ee2b5ac7e0609a7463d83899589a363fcd"
2083
- integrity sha512-Xizh4/NPuYSyAXyT7g8IvdJ9HJpxIGL9PjyhtywCZvvP0OPIdqyrr4dMikeuvY8xahpdKEBlBTySe583totajg==
2137
+ version "2.0.0"
2138
+ resolved "https://registry.yarnpkg.com/stream-splicer/-/stream-splicer-2.0.0.tgz#1b63be438a133e4b671cc1935197600175910d83"
2139
+ integrity sha1-G2O+Q4oTPktnHMGTUZdgAXWRDYM=
2084
2140
  dependencies:
2085
2141
  inherits "^2.0.1"
2086
2142
  readable-stream "^2.0.2"
@@ -2093,28 +2149,12 @@ string-width@^2.1.0, string-width@^2.1.1:
2093
2149
  is-fullwidth-code-point "^2.0.0"
2094
2150
  strip-ansi "^4.0.0"
2095
2151
 
2096
- string.prototype.trimleft@^2.1.0:
2097
- version "2.1.0"
2098
- resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz#6cc47f0d7eb8d62b0f3701611715a3954591d634"
2099
- integrity sha512-FJ6b7EgdKxxbDxc79cOlok6Afd++TTs5szo+zJTUyow3ycrRfJVE2pq3vcN53XexvKZu/DJMDfeI/qMiZTrjTw==
2100
- dependencies:
2101
- define-properties "^1.1.3"
2102
- function-bind "^1.1.1"
2103
-
2104
- string.prototype.trimright@^2.1.0:
2105
- version "2.1.0"
2106
- resolved "https://registry.yarnpkg.com/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz#669d164be9df9b6f7559fa8e89945b168a5a6c58"
2107
- integrity sha512-fXZTSV55dNBwv16uw+hh5jkghxSnc5oHq+5K/gXgizHwAvMetdAJlHqqoFC1FSDVPYWLkAKl2cxpUT41sV7nSg==
2108
- dependencies:
2109
- define-properties "^1.1.3"
2110
- function-bind "^1.1.1"
2111
-
2112
2152
  string_decoder@^1.1.1:
2113
- version "1.3.0"
2114
- resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
2115
- integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
2153
+ version "1.2.0"
2154
+ resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.2.0.tgz#fe86e738b19544afe70469243b2a1ee9240eae8d"
2155
+ integrity sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w==
2116
2156
  dependencies:
2117
- safe-buffer "~5.2.0"
2157
+ safe-buffer "~5.1.0"
2118
2158
 
2119
2159
  string_decoder@~1.1.1:
2120
2160
  version "1.1.1"
@@ -2224,6 +2264,11 @@ tmp@^0.0.33:
2224
2264
  dependencies:
2225
2265
  os-tmpdir "~1.0.2"
2226
2266
 
2267
+ to-arraybuffer@^1.0.0:
2268
+ version "1.0.1"
2269
+ resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"
2270
+ integrity sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=
2271
+
2227
2272
  tty-browserify@0.0.1:
2228
2273
  version "0.0.1"
2229
2274
  resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.1.tgz#3f05251ee17904dfd0677546670db9651682b811"
@@ -2247,11 +2292,11 @@ ucum@0.0.7:
2247
2292
  integrity sha1-zQfv5VmaF+9/syd3i/g46DLf0aQ=
2248
2293
 
2249
2294
  uglify-js@^3.1.4:
2250
- version "3.6.2"
2251
- resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.6.2.tgz#fd8048c86d990ddd29fe99d3300e0cb329103f4d"
2252
- integrity sha512-+gh/xFte41GPrgSMJ/oJVq15zYmqr74pY9VoM69UzMzq9NFk4YDylclb1/bhEzZSaUQjbW5RvniHeq1cdtRYjw==
2295
+ version "3.5.10"
2296
+ resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.5.10.tgz#652bef39f86d9dbfd6674407ee05a5e2d372cf2d"
2297
+ integrity sha512-/GTF0nosyPLbdJBd+AwYiZ+Hu5z8KXWnO0WCGt1BQ/u9Iamhejykqmz5o1OHJ53+VAk6xVxychonnApDjuqGsw==
2253
2298
  dependencies:
2254
- commander "2.20.0"
2299
+ commander "~2.20.0"
2255
2300
  source-map "~0.6.1"
2256
2301
 
2257
2302
  umd@^3.0.0:
@@ -2260,12 +2305,11 @@ umd@^3.0.0:
2260
2305
  integrity sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow==
2261
2306
 
2262
2307
  undeclared-identifiers@^1.1.2:
2263
- version "1.1.3"
2264
- resolved "https://registry.yarnpkg.com/undeclared-identifiers/-/undeclared-identifiers-1.1.3.tgz#9254c1d37bdac0ac2b52de4b6722792d2a91e30f"
2265
- integrity sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw==
2308
+ version "1.1.2"
2309
+ resolved "https://registry.yarnpkg.com/undeclared-identifiers/-/undeclared-identifiers-1.1.2.tgz#7d850a98887cff4bd0bf64999c014d08ed6d1acc"
2310
+ integrity sha512-13EaeocO4edF/3JKime9rD7oB6QI8llAGhgn5fKOPyfkJbRb6NFv9pYV6dFEmpa4uRjKeBqLZP8GpuzqHlKDMQ==
2266
2311
  dependencies:
2267
2312
  acorn-node "^1.3.0"
2268
- dash-ast "^1.0.0"
2269
2313
  get-assigned-identifiers "^1.2.0"
2270
2314
  simple-concat "^1.0.0"
2271
2315
  xtend "^4.0.1"
@@ -2278,7 +2322,7 @@ url@~0.11.0:
2278
2322
  punycode "1.3.2"
2279
2323
  querystring "0.2.0"
2280
2324
 
2281
- util-deprecate@^1.0.1, util-deprecate@~1.0.1:
2325
+ util-deprecate@~1.0.1:
2282
2326
  version "1.0.2"
2283
2327
  resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
2284
2328
  integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=
@@ -2339,10 +2383,10 @@ write@^0.2.1:
2339
2383
  dependencies:
2340
2384
  mkdirp "^0.5.1"
2341
2385
 
2342
- xtend@^4.0.0, xtend@^4.0.1, xtend@^4.0.2, xtend@~4.0.1:
2343
- version "4.0.2"
2344
- resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"
2345
- integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==
2386
+ xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1:
2387
+ version "4.0.1"
2388
+ resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
2389
+ integrity sha1-pcbVMr5lbiPbgg77lDofBJmNY68=
2346
2390
 
2347
2391
  yallist@^2.1.2:
2348
2392
  version "2.1.2"