@bernierllc/email-sendgrid-plugin 1.1.0 → 1.1.2

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.
Files changed (29) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/jest.config.js +2 -1
  3. package/package.json +8 -4
  4. package/coverage/clover.xml +0 -395
  5. package/coverage/coverage-final.json +0 -12
  6. package/coverage/lcov-report/api/errors.ts.html +0 -232
  7. package/coverage/lcov-report/api/index.html +0 -146
  8. package/coverage/lcov-report/api/rate-limiter.ts.html +0 -322
  9. package/coverage/lcov-report/api/sendgrid-client.ts.html +0 -343
  10. package/coverage/lcov-report/base.css +0 -224
  11. package/coverage/lcov-report/block-navigation.js +0 -87
  12. package/coverage/lcov-report/converters/index.html +0 -131
  13. package/coverage/lcov-report/converters/sender-converter.ts.html +0 -208
  14. package/coverage/lcov-report/converters/template-converter.ts.html +0 -376
  15. package/coverage/lcov-report/favicon.png +0 -0
  16. package/coverage/lcov-report/index.html +0 -161
  17. package/coverage/lcov-report/plugin/index.html +0 -161
  18. package/coverage/lcov-report/plugin/sender-manager.ts.html +0 -583
  19. package/coverage/lcov-report/plugin/sendgrid-plugin.ts.html +0 -1033
  20. package/coverage/lcov-report/plugin/sync-manager.ts.html +0 -430
  21. package/coverage/lcov-report/plugin/template-manager.ts.html +0 -805
  22. package/coverage/lcov-report/prettify.css +0 -1
  23. package/coverage/lcov-report/prettify.js +0 -2
  24. package/coverage/lcov-report/safety/index.html +0 -131
  25. package/coverage/lcov-report/safety/ownership-validator.ts.html +0 -250
  26. package/coverage/lcov-report/safety/prefix-enforcer.ts.html +0 -196
  27. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  28. package/coverage/lcov-report/sorter.js +0 -210
  29. package/coverage/lcov.info +0 -734
package/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ # @bernierllc/email-sendgrid-plugin
2
+
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`73c1d1e`](https://github.com/bernierllc/tools/commit/73c1d1e46114cf2ccfd5b74b83743361247f4502)]:
8
+ - @bernierllc/logger@1.1.0
9
+
10
+ ## 1.1.1
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`24899fa`](https://github.com/bernierllc/tools/commit/24899fa4eaf80ae329f7bd74483cf97a132f5d4c)]:
15
+ - @bernierllc/logger@1.0.4
package/jest.config.js CHANGED
@@ -8,7 +8,8 @@ Redistribution or use in other products or commercial offerings is not permitted
8
8
 
9
9
  module.exports = {
10
10
  preset: 'ts-jest',
11
- testEnvironment: 'node',
11
+ // Use fixed environment to handle Node.js v25+ localStorage issue
12
+ testEnvironment: '<rootDir>/../../../jest-environment-node-fixed.cjs',
12
13
  collectCoverageFrom: [
13
14
  'src/**/*.{ts,tsx}',
14
15
  '!src/**/*.d.ts',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bernierllc/email-sendgrid-plugin",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "deprecated": "This package is deprecated. SendGrid functionality has been merged into @bernierllc/email-sender@3.0.0+. See https://github.com/BernierLLC/tools/blob/main/packages/core/email-sender/MIGRATION.md for migration guide.",
5
5
  "description": "SendGrid-specific template management, sender verification, and advanced features plugin for email template service",
6
6
  "main": "dist/index.js",
@@ -17,9 +17,9 @@
17
17
  "license": "SEE LICENSE IN LICENSE",
18
18
  "dependencies": {
19
19
  "@sendgrid/mail": "^8.1.3",
20
- "@bernierllc/logger": "^1.0.1",
21
- "@bernierllc/retry-policy": "^0.1.3",
22
- "@bernierllc/rate-limiter": "^0.1.3"
20
+ "@bernierllc/logger": "1.1.0",
21
+ "@bernierllc/retry-policy": "0.1.6",
22
+ "@bernierllc/rate-limiter": "0.1.7"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/jest": "^29.5.12",
@@ -31,6 +31,10 @@
31
31
  "ts-jest": "^29.1.2",
32
32
  "typescript": "^5.4.2"
33
33
  },
34
+ "publishConfig": {
35
+ "access": "public",
36
+ "registry": "https://registry.npmjs.org/"
37
+ },
34
38
  "scripts": {
35
39
  "build": "tsc",
36
40
  "clean": "rm -rf dist",
@@ -1,395 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1762055126110" clover="3.2.0">
3
- <project timestamp="1762055126110" name="All files">
4
- <metrics statements="344" coveredstatements="236" conditionals="99" coveredconditionals="62" methods="96" coveredmethods="73" elements="539" coveredelements="371" complexity="0" loc="344" ncloc="344" packages="4" files="11" classes="11"/>
5
- <package name="api">
6
- <metrics statements="70" coveredstatements="55" conditionals="9" coveredconditionals="7" methods="18" coveredmethods="15"/>
7
- <file name="errors.ts" path="/Users/mattbernier/projects/tools/packages/core/email-sendgrid-plugin/src/api/errors.ts">
8
- <metrics statements="20" coveredstatements="13" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="3"/>
9
- <line num="9" count="5" type="stmt"/>
10
- <line num="12" count="6" type="stmt"/>
11
- <line num="13" count="6" type="stmt"/>
12
- <line num="15" count="6" type="stmt"/>
13
- <line num="16" count="6" type="stmt"/>
14
- <line num="20" count="5" type="stmt"/>
15
- <line num="21" count="0" type="stmt"/>
16
- <line num="22" count="0" type="stmt"/>
17
- <line num="23" count="0" type="stmt"/>
18
- <line num="27" count="5" type="stmt"/>
19
- <line num="29" count="1" type="stmt"/>
20
- <line num="30" count="1" type="stmt"/>
21
- <line num="34" count="5" type="stmt"/>
22
- <line num="36" count="0" type="stmt"/>
23
- <line num="37" count="0" type="stmt"/>
24
- <line num="39" count="0" type="stmt"/>
25
- <line num="40" count="0" type="stmt"/>
26
- <line num="44" count="5" type="stmt"/>
27
- <line num="46" count="1" type="stmt"/>
28
- <line num="47" count="1" type="stmt"/>
29
- </file>
30
- <file name="rate-limiter.ts" path="/Users/mattbernier/projects/tools/packages/core/email-sendgrid-plugin/src/api/rate-limiter.ts">
31
- <metrics statements="27" coveredstatements="25" conditionals="3" coveredconditionals="3" methods="9" coveredmethods="9"/>
32
- <line num="9" count="2" type="stmt"/>
33
- <line num="16" count="2" type="stmt"/>
34
- <line num="17" count="12" type="stmt"/>
35
- <line num="22" count="12" type="stmt"/>
36
- <line num="23" count="12" type="stmt"/>
37
- <line num="27" count="20" type="stmt"/>
38
- <line num="30" count="20" type="stmt"/>
39
- <line num="31" count="19" type="stmt"/>
40
- <line num="35" count="20" type="stmt"/>
41
- <line num="36" count="19" type="stmt"/>
42
- <line num="39" count="20" type="cond" truecount="1" falsecount="0"/>
43
- <line num="40" count="1" type="stmt"/>
44
- <line num="41" count="1" type="stmt"/>
45
- <line num="42" count="1" type="stmt"/>
46
- <line num="46" count="19" type="cond" truecount="1" falsecount="0"/>
47
- <line num="47" count="1" type="stmt"/>
48
- <line num="48" count="1" type="cond" truecount="1" falsecount="0"/>
49
- <line num="49" count="1" type="stmt"/>
50
- <line num="51" count="0" type="stmt"/>
51
- <line num="52" count="0" type="stmt"/>
52
- <line num="56" count="18" type="stmt"/>
53
- <line num="64" count="1" type="stmt"/>
54
- <line num="68" count="4" type="stmt"/>
55
- <line num="69" count="4" type="stmt"/>
56
- <line num="70" count="3" type="stmt"/>
57
- <line num="72" count="4" type="stmt"/>
58
- <line num="74" count="4" type="stmt"/>
59
- </file>
60
- <file name="sendgrid-client.ts" path="/Users/mattbernier/projects/tools/packages/core/email-sendgrid-plugin/src/api/sendgrid-client.ts">
61
- <metrics statements="23" coveredstatements="17" conditionals="6" coveredconditionals="4" methods="4" coveredmethods="3"/>
62
- <line num="10" count="1" type="stmt"/>
63
- <line num="23" count="1" type="stmt"/>
64
- <line num="27" count="6" type="stmt"/>
65
- <line num="30" count="6" type="stmt"/>
66
- <line num="31" count="6" type="stmt"/>
67
- <line num="32" count="6" type="stmt"/>
68
- <line num="37" count="6" type="cond" truecount="1" falsecount="0"/>
69
- <line num="38" count="5" type="stmt"/>
70
- <line num="41" count="6" type="stmt"/>
71
- <line num="42" count="6" type="stmt"/>
72
- <line num="44" count="6" type="stmt"/>
73
- <line num="54" count="6" type="stmt"/>
74
- <line num="57" count="6" type="stmt"/>
75
- <line num="59" count="6" type="stmt"/>
76
- <line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
77
- <line num="66" count="0" type="stmt"/>
78
- <line num="67" count="0" type="stmt"/>
79
- <line num="69" count="6" type="cond" truecount="1" falsecount="0"/>
80
- <line num="70" count="5" type="stmt"/>
81
- <line num="76" count="6" type="cond" truecount="2" falsecount="0"/>
82
- <line num="80" count="0" type="stmt"/>
83
- <line num="81" count="0" type="stmt"/>
84
- <line num="83" count="0" type="stmt"/>
85
- </file>
86
- </package>
87
- <package name="converters">
88
- <metrics statements="23" coveredstatements="23" conditionals="26" coveredconditionals="25" methods="9" coveredmethods="9"/>
89
- <file name="sender-converter.ts" path="/Users/mattbernier/projects/tools/packages/core/email-sendgrid-plugin/src/converters/sender-converter.ts">
90
- <metrics statements="8" coveredstatements="8" conditionals="11" coveredconditionals="11" methods="3" coveredmethods="3"/>
91
- <line num="11" count="3" type="stmt"/>
92
- <line num="13" count="7" type="stmt"/>
93
- <line num="15" count="7" type="stmt"/>
94
- <line num="28" count="19" type="cond" truecount="2" falsecount="0"/>
95
- <line num="33" count="14" type="cond" truecount="1" falsecount="0"/>
96
- <line num="36" count="11" type="cond" truecount="1" falsecount="0"/>
97
- <line num="37" count="9" type="cond" truecount="1" falsecount="0"/>
98
- <line num="39" count="7" type="stmt"/>
99
- </file>
100
- <file name="template-converter.ts" path="/Users/mattbernier/projects/tools/packages/core/email-sendgrid-plugin/src/converters/template-converter.ts">
101
- <metrics statements="15" coveredstatements="15" conditionals="15" coveredconditionals="14" methods="6" coveredmethods="6"/>
102
- <line num="16" count="3" type="stmt"/>
103
- <line num="20" count="18" type="stmt"/>
104
- <line num="28" count="5" type="cond" truecount="3" falsecount="1"/>
105
- <line num="30" count="5" type="stmt"/>
106
- <line num="48" count="1" type="stmt"/>
107
- <line num="50" count="1" type="stmt"/>
108
- <line num="79" count="6" type="stmt"/>
109
- <line num="80" count="6" type="stmt"/>
110
- <line num="81" count="6" type="stmt"/>
111
- <line num="83" count="6" type="stmt"/>
112
- <line num="84" count="12" type="stmt"/>
113
- <line num="86" count="12" type="cond" truecount="3" falsecount="0"/>
114
- <line num="87" count="10" type="stmt"/>
115
- <line num="91" count="6" type="stmt"/>
116
- <line num="95" count="3" type="cond" truecount="2" falsecount="0"/>
117
- </file>
118
- </package>
119
- <package name="plugin">
120
- <metrics statements="226" coveredstatements="133" conditionals="59" coveredconditionals="25" methods="57" coveredmethods="37"/>
121
- <file name="sender-manager.ts" path="/Users/mattbernier/projects/tools/packages/core/email-sendgrid-plugin/src/plugin/sender-manager.ts">
122
- <metrics statements="53" coveredstatements="40" conditionals="30" coveredconditionals="14" methods="11" coveredmethods="9"/>
123
- <line num="10" count="2" type="stmt"/>
124
- <line num="18" count="2" type="stmt"/>
125
- <line num="21" count="11" type="stmt"/>
126
- <line num="24" count="11" type="stmt"/>
127
- <line num="25" count="11" type="stmt"/>
128
- <line num="26" count="11" type="stmt"/>
129
- <line num="34" count="5" type="cond" truecount="1" falsecount="0"/>
130
- <line num="40" count="1" type="stmt"/>
131
- <line num="41" count="1" type="stmt"/>
132
- <line num="44" count="4" type="stmt"/>
133
- <line num="48" count="4" type="cond" truecount="0" falsecount="1"/>
134
- <line num="49" count="0" type="stmt"/>
135
- <line num="56" count="4" type="stmt"/>
136
- <line num="57" count="4" type="stmt"/>
137
- <line num="60" count="4" type="stmt"/>
138
- <line num="61" count="4" type="stmt"/>
139
- <line num="63" count="4" type="stmt"/>
140
- <line num="65" count="4" type="stmt"/>
141
- <line num="69" count="3" type="stmt"/>
142
- <line num="70" count="3" type="stmt"/>
143
- <line num="73" count="3" type="stmt"/>
144
- <line num="74" count="3" type="cond" truecount="2" falsecount="0"/>
145
- <line num="77" count="3" type="cond" truecount="1" falsecount="0"/>
146
- <line num="78" count="1" type="stmt"/>
147
- <line num="89" count="2" type="stmt"/>
148
- <line num="90" count="2" type="stmt"/>
149
- <line num="91" count="2" type="cond" truecount="2" falsecount="0"/>
150
- <line num="94" count="2" type="cond" truecount="1" falsecount="0"/>
151
- <line num="95" count="1" type="stmt"/>
152
- <line num="100" count="1" type="stmt"/>
153
- <line num="105" count="1" type="stmt"/>
154
- <line num="115" count="0" type="stmt"/>
155
- <line num="117" count="0" type="cond" truecount="0" falsecount="3"/>
156
- <line num="118" count="0" type="stmt"/>
157
- <line num="122" count="0" type="cond" truecount="0" falsecount="1"/>
158
- <line num="123" count="0" type="stmt"/>
159
- <line num="128" count="0" type="stmt"/>
160
- <line num="129" count="0" type="cond" truecount="0" falsecount="3"/>
161
- <line num="130" count="0" type="stmt"/>
162
- <line num="132" count="0" type="cond" truecount="0" falsecount="3"/>
163
- <line num="133" count="0" type="cond" truecount="0" falsecount="3"/>
164
- <line num="134" count="0" type="stmt"/>
165
- <line num="139" count="2" type="stmt"/>
166
- <line num="140" count="2" type="stmt"/>
167
- <line num="141" count="2" type="stmt"/>
168
- <line num="145" count="1" type="stmt"/>
169
- <line num="148" count="1" type="stmt"/>
170
- <line num="150" count="1" type="stmt"/>
171
- <line num="151" count="1" type="cond" truecount="0" falsecount="1"/>
172
- <line num="153" count="1" type="stmt"/>
173
- <line num="156" count="1" type="cond" truecount="0" falsecount="1"/>
174
- <line num="160" count="0" type="stmt"/>
175
- <line num="164" count="1" type="stmt"/>
176
- </file>
177
- <file name="sendgrid-plugin.ts" path="/Users/mattbernier/projects/tools/packages/core/email-sendgrid-plugin/src/plugin/sendgrid-plugin.ts">
178
- <metrics statements="76" coveredstatements="56" conditionals="8" coveredconditionals="7" methods="25" coveredmethods="20"/>
179
- <line num="23" count="1" type="stmt"/>
180
- <line num="24" count="1" type="stmt"/>
181
- <line num="25" count="1" type="stmt"/>
182
- <line num="26" count="1" type="stmt"/>
183
- <line num="27" count="1" type="stmt"/>
184
- <line num="28" count="1" type="stmt"/>
185
- <line num="29" count="1" type="stmt"/>
186
- <line num="30" count="1" type="stmt"/>
187
- <line num="31" count="1" type="stmt"/>
188
- <line num="58" count="1" type="stmt"/>
189
- <line num="59" count="22" type="stmt"/>
190
- <line num="60" count="22" type="stmt"/>
191
- <line num="61" count="22" type="stmt"/>
192
- <line num="80" count="22" type="stmt"/>
193
- <line num="83" count="22" type="stmt"/>
194
- <line num="87" count="7" type="cond" truecount="1" falsecount="0"/>
195
- <line num="88" count="1" type="stmt"/>
196
- <line num="92" count="6" type="cond" truecount="1" falsecount="0"/>
197
- <line num="93" count="5" type="stmt"/>
198
- <line num="100" count="6" type="stmt"/>
199
- <line num="107" count="6" type="stmt"/>
200
- <line num="111" count="6" type="stmt"/>
201
- <line num="114" count="6" type="stmt"/>
202
- <line num="115" count="6" type="stmt"/>
203
- <line num="118" count="6" type="stmt"/>
204
- <line num="126" count="6" type="stmt"/>
205
- <line num="132" count="6" type="stmt"/>
206
- <line num="140" count="6" type="stmt"/>
207
- <line num="142" count="6" type="stmt"/>
208
- <line num="143" count="6" type="stmt"/>
209
- <line num="147" count="2" type="cond" truecount="1" falsecount="0"/>
210
- <line num="148" count="1" type="stmt"/>
211
- <line num="151" count="1" type="stmt"/>
212
- <line num="152" count="1" type="stmt"/>
213
- <line num="154" count="1" type="stmt"/>
214
- <line num="155" count="1" type="stmt"/>
215
- <line num="160" count="1" type="stmt"/>
216
- <line num="161" count="0" type="stmt"/>
217
- <line num="165" count="0" type="stmt"/>
218
- <line num="166" count="0" type="stmt"/>
219
- <line num="170" count="0" type="stmt"/>
220
- <line num="171" count="0" type="stmt"/>
221
- <line num="175" count="1" type="stmt"/>
222
- <line num="176" count="0" type="stmt"/>
223
- <line num="180" count="1" type="stmt"/>
224
- <line num="181" count="0" type="stmt"/>
225
- <line num="186" count="1" type="stmt"/>
226
- <line num="187" count="0" type="stmt"/>
227
- <line num="191" count="1" type="stmt"/>
228
- <line num="192" count="0" type="stmt"/>
229
- <line num="197" count="1" type="stmt"/>
230
- <line num="198" count="0" type="stmt"/>
231
- <line num="202" count="1" type="stmt"/>
232
- <line num="203" count="0" type="stmt"/>
233
- <line num="207" count="1" type="stmt"/>
234
- <line num="208" count="0" type="stmt"/>
235
- <line num="215" count="0" type="stmt"/>
236
- <line num="216" count="0" type="stmt"/>
237
- <line num="220" count="0" type="stmt"/>
238
- <line num="221" count="0" type="stmt"/>
239
- <line num="228" count="0" type="stmt"/>
240
- <line num="230" count="0" type="stmt"/>
241
- <line num="234" count="1" type="stmt"/>
242
- <line num="235" count="0" type="stmt"/>
243
- <line num="240" count="11" type="stmt"/>
244
- <line num="284" count="18" type="stmt"/>
245
- <line num="288" count="5" type="stmt"/>
246
- <line num="289" count="2" type="cond" truecount="2" falsecount="0"/>
247
- <line num="294" count="1" type="stmt"/>
248
- <line num="302" count="6" type="stmt"/>
249
- <line num="303" count="6" type="stmt"/>
250
- <line num="304" count="0" type="stmt"/>
251
- <line num="306" count="6" type="cond" truecount="1" falsecount="1"/>
252
- <line num="307" count="6" type="stmt"/>
253
- <line num="312" count="9" type="cond" truecount="1" falsecount="0"/>
254
- <line num="313" count="9" type="stmt"/>
255
- </file>
256
- <file name="sync-manager.ts" path="/Users/mattbernier/projects/tools/packages/core/email-sendgrid-plugin/src/plugin/sync-manager.ts">
257
- <metrics statements="32" coveredstatements="5" conditionals="7" coveredconditionals="0" methods="8" coveredmethods="1"/>
258
- <line num="15" count="1" type="stmt"/>
259
- <line num="17" count="6" type="stmt"/>
260
- <line num="18" count="6" type="stmt"/>
261
- <line num="19" count="6" type="stmt"/>
262
- <line num="20" count="6" type="stmt"/>
263
- <line num="27" count="0" type="stmt"/>
264
- <line num="28" count="0" type="stmt"/>
265
- <line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
266
- <line num="32" count="0" type="stmt"/>
267
- <line num="34" count="0" type="stmt"/>
268
- <line num="45" count="0" type="stmt"/>
269
- <line num="47" count="0" type="stmt"/>
270
- <line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
271
- <line num="59" count="0" type="stmt"/>
272
- <line num="61" count="0" type="stmt"/>
273
- <line num="75" count="0" type="stmt"/>
274
- <line num="79" count="0" type="cond" truecount="0" falsecount="1"/>
275
- <line num="80" count="0" type="stmt"/>
276
- <line num="83" count="0" type="stmt"/>
277
- <line num="84" count="0" type="stmt"/>
278
- <line num="86" count="0" type="stmt"/>
279
- <line num="90" count="0" type="stmt"/>
280
- <line num="92" count="0" type="stmt"/>
281
- <line num="94" count="0" type="stmt"/>
282
- <line num="95" count="0" type="stmt"/>
283
- <line num="96" count="0" type="stmt"/>
284
- <line num="99" count="0" type="stmt"/>
285
- <line num="102" count="0" type="stmt"/>
286
- <line num="103" count="0" type="stmt"/>
287
- <line num="105" count="0" type="stmt"/>
288
- <line num="109" count="0" type="stmt"/>
289
- <line num="113" count="0" type="stmt"/>
290
- </file>
291
- <file name="template-manager.ts" path="/Users/mattbernier/projects/tools/packages/core/email-sendgrid-plugin/src/plugin/template-manager.ts">
292
- <metrics statements="65" coveredstatements="32" conditionals="14" coveredconditionals="4" methods="13" coveredmethods="7"/>
293
- <line num="10" count="2" type="stmt"/>
294
- <line num="20" count="2" type="stmt"/>
295
- <line num="22" count="8" type="stmt"/>
296
- <line num="23" count="8" type="stmt"/>
297
- <line num="24" count="8" type="stmt"/>
298
- <line num="25" count="8" type="stmt"/>
299
- <line num="26" count="8" type="stmt"/>
300
- <line num="34" count="1" type="stmt"/>
301
- <line num="37" count="1" type="stmt"/>
302
- <line num="42" count="1" type="stmt"/>
303
- <line num="47" count="1" type="cond" truecount="0" falsecount="1"/>
304
- <line num="48" count="0" type="stmt"/>
305
- <line num="55" count="1" type="stmt"/>
306
- <line num="56" count="1" type="stmt"/>
307
- <line num="59" count="1" type="stmt"/>
308
- <line num="62" count="1" type="stmt"/>
309
- <line num="71" count="1" type="stmt"/>
310
- <line num="73" count="1" type="stmt"/>
311
- <line num="78" count="0" type="stmt"/>
312
- <line num="81" count="0" type="stmt"/>
313
- <line num="84" count="0" type="cond" truecount="0" falsecount="1"/>
314
- <line num="85" count="0" type="stmt"/>
315
- <line num="92" count="0" type="stmt"/>
316
- <line num="100" count="0" type="stmt"/>
317
- <line num="104" count="0" type="stmt"/>
318
- <line num="106" count="0" type="stmt"/>
319
- <line num="110" count="0" type="cond" truecount="0" falsecount="1"/>
320
- <line num="111" count="0" type="stmt"/>
321
- <line num="118" count="0" type="stmt"/>
322
- <line num="119" count="0" type="stmt"/>
323
- <line num="123" count="0" type="stmt"/>
324
- <line num="125" count="0" type="stmt"/>
325
- <line num="129" count="0" type="cond" truecount="0" falsecount="1"/>
326
- <line num="130" count="0" type="stmt"/>
327
- <line num="133" count="0" type="cond" truecount="0" falsecount="1"/>
328
- <line num="134" count="0" type="stmt"/>
329
- <line num="141" count="0" type="stmt"/>
330
- <line num="142" count="0" type="stmt"/>
331
- <line num="146" count="7" type="stmt"/>
332
- <line num="150" count="7" type="cond" truecount="1" falsecount="0"/>
333
- <line num="151" count="6" type="stmt"/>
334
- <line num="158" count="1" type="stmt"/>
335
- <line num="161" count="1" type="stmt"/>
336
- <line num="162" count="1" type="stmt"/>
337
- <line num="166" count="1" type="stmt"/>
338
- <line num="167" count="1" type="stmt"/>
339
- <line num="170" count="1" type="stmt"/>
340
- <line num="171" count="1" type="stmt"/>
341
- <line num="179" count="1" type="stmt"/>
342
- <line num="188" count="1" type="stmt"/>
343
- <line num="193" count="1" type="cond" truecount="0" falsecount="1"/>
344
- <line num="194" count="0" type="stmt"/>
345
- <line num="201" count="1" type="stmt"/>
346
- <line num="202" count="1" type="stmt"/>
347
- <line num="206" count="0" type="stmt"/>
348
- <line num="211" count="0" type="cond" truecount="0" falsecount="1"/>
349
- <line num="212" count="0" type="stmt"/>
350
- <line num="219" count="0" type="stmt"/>
351
- <line num="224" count="0" type="stmt"/>
352
- <line num="228" count="0" type="stmt"/>
353
- <line num="230" count="0" type="cond" truecount="0" falsecount="1"/>
354
- <line num="231" count="0" type="stmt"/>
355
- <line num="234" count="0" type="cond" truecount="0" falsecount="1"/>
356
- <line num="235" count="0" type="stmt"/>
357
- <line num="238" count="0" type="stmt"/>
358
- </file>
359
- </package>
360
- <package name="safety">
361
- <metrics statements="25" coveredstatements="25" conditionals="5" coveredconditionals="5" methods="12" coveredmethods="12"/>
362
- <file name="ownership-validator.ts" path="/Users/mattbernier/projects/tools/packages/core/email-sendgrid-plugin/src/safety/ownership-validator.ts">
363
- <metrics statements="15" coveredstatements="15" conditionals="3" coveredconditionals="3" methods="7" coveredmethods="7"/>
364
- <line num="9" count="3" type="stmt"/>
365
- <line num="13" count="3" type="stmt"/>
366
- <line num="14" count="21" type="stmt"/>
367
- <line num="21" count="21" type="stmt"/>
368
- <line num="22" count="21" type="stmt"/>
369
- <line num="26" count="13" type="stmt"/>
370
- <line num="27" count="13" type="stmt"/>
371
- <line num="31" count="2" type="stmt"/>
372
- <line num="32" count="2" type="stmt"/>
373
- <line num="36" count="4" type="cond" truecount="3" falsecount="0"/>
374
- <line num="37" count="1" type="stmt"/>
375
- <line num="44" count="6" type="stmt"/>
376
- <line num="48" count="5" type="stmt"/>
377
- <line num="52" count="2" type="stmt"/>
378
- <line num="53" count="2" type="stmt"/>
379
- </file>
380
- <file name="prefix-enforcer.ts" path="/Users/mattbernier/projects/tools/packages/core/email-sendgrid-plugin/src/safety/prefix-enforcer.ts">
381
- <metrics statements="10" coveredstatements="10" conditionals="2" coveredconditionals="2" methods="5" coveredmethods="5"/>
382
- <line num="9" count="4" type="stmt"/>
383
- <line num="13" count="34" type="stmt"/>
384
- <line num="17" count="8" type="cond" truecount="1" falsecount="0"/>
385
- <line num="18" count="3" type="stmt"/>
386
- <line num="20" count="5" type="stmt"/>
387
- <line num="24" count="11" type="cond" truecount="1" falsecount="0"/>
388
- <line num="25" count="9" type="stmt"/>
389
- <line num="27" count="2" type="stmt"/>
390
- <line num="31" count="6" type="stmt"/>
391
- <line num="35" count="2" type="stmt"/>
392
- </file>
393
- </package>
394
- </project>
395
- </coverage>