@atproto/lexicon 0.1.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  import { CID } from 'multiformats/cid'
2
- import { Lexicons } from '../src/index'
2
+ import { lexiconDoc, Lexicons } from '../src/index'
3
+ import { object } from '../src/validators/complex'
3
4
  import LexiconDocs from './_scaffolds/lexicons'
4
5
 
5
6
  describe('Lexicons collection', () => {
@@ -41,13 +42,11 @@ describe('General validation', () => {
41
42
  object: { boolean: true },
42
43
  array: ['one', 'two'],
43
44
  boolean: true,
44
- float: 123.45,
45
45
  integer: 123,
46
46
  string: 'string',
47
47
  },
48
48
  array: ['one', 'two'],
49
49
  boolean: true,
50
- float: 123.45,
51
50
  integer: 123,
52
51
  string: 'string',
53
52
  datetime: new Date().toISOString(),
@@ -74,7 +73,6 @@ describe('General validation', () => {
74
73
  object: { boolean: true },
75
74
  array: ['one', 'two'],
76
75
  boolean: true,
77
- float: 123.45,
78
76
  integer: 123,
79
77
  string: 'string',
80
78
  })
@@ -87,6 +85,176 @@ describe('General validation', () => {
87
85
  expect(res.error?.message).toBe('Object must have the property "object"')
88
86
  }
89
87
  })
88
+ it('fails when a required property is missing', () => {
89
+ const schema = {
90
+ lexicon: 1,
91
+ id: 'com.example.kitchenSink',
92
+ defs: {
93
+ test: {
94
+ type: 'object',
95
+ required: ['foo'],
96
+ properties: {},
97
+ },
98
+ },
99
+ }
100
+ expect(() => {
101
+ lexiconDoc.parse(schema)
102
+ }).toThrow('Required field \\"foo\\" not defined')
103
+ })
104
+ it('fails when unknown fields are present', () => {
105
+ const schema = {
106
+ lexicon: 1,
107
+ id: 'com.example.unknownFields',
108
+ defs: {
109
+ test: {
110
+ type: 'object',
111
+ foo: 3,
112
+ },
113
+ },
114
+ }
115
+
116
+ expect(() => {
117
+ lexiconDoc.parse(schema)
118
+ }).toThrow("Unrecognized key(s) in object: 'foo'")
119
+ })
120
+ it('fails lexicon parsing when uri is invalid', () => {
121
+ const schema = {
122
+ lexicon: 1,
123
+ id: 'com.example.invalidUri',
124
+ defs: {
125
+ main: {
126
+ type: 'object',
127
+ properties: {
128
+ test: { type: 'ref', ref: 'com.example.invalid#test#test' },
129
+ },
130
+ },
131
+ },
132
+ }
133
+
134
+ expect(() => {
135
+ new Lexicons([schema])
136
+ }).toThrow('Uri can only have one hash segment')
137
+ })
138
+ it('fails validation when ref uri has multiple hash segments', () => {
139
+ const schema = {
140
+ lexicon: 1,
141
+ id: 'com.example.invalidUri',
142
+ defs: {
143
+ main: {
144
+ type: 'object',
145
+ properties: {
146
+ test: { type: 'integer' },
147
+ },
148
+ },
149
+ object: {
150
+ type: 'object',
151
+ required: ['test'],
152
+ properties: {
153
+ test: {
154
+ type: 'union',
155
+ refs: ['com.example.invalidUri'],
156
+ },
157
+ },
158
+ },
159
+ },
160
+ }
161
+ const lexicons = new Lexicons([schema])
162
+ expect(() => {
163
+ lexicons.validate('com.example.invalidUri#object', {
164
+ test: {
165
+ $type: 'com.example.invalidUri#main#main',
166
+ test: 123,
167
+ },
168
+ })
169
+ }).toThrow('Uri can only have one hash segment')
170
+ })
171
+ it('union handles both implicit and explicit #main', () => {
172
+ const schemas = [
173
+ {
174
+ lexicon: 1,
175
+ id: 'com.example.implicitMain',
176
+ defs: {
177
+ main: {
178
+ type: 'object',
179
+ required: ['test'],
180
+ properties: {
181
+ test: { type: 'string' },
182
+ },
183
+ },
184
+ },
185
+ },
186
+ {
187
+ lexicon: 1,
188
+ id: 'com.example.testImplicitMain',
189
+ defs: {
190
+ main: {
191
+ type: 'object',
192
+ required: ['union'],
193
+ properties: {
194
+ union: {
195
+ type: 'union',
196
+ refs: ['com.example.implicitMain'],
197
+ },
198
+ },
199
+ },
200
+ },
201
+ },
202
+ {
203
+ lexicon: 1,
204
+ id: 'com.example.testExplicitMain',
205
+ defs: {
206
+ main: {
207
+ type: 'object',
208
+ required: ['union'],
209
+ properties: {
210
+ union: {
211
+ type: 'union',
212
+ refs: ['com.example.implicitMain#main'],
213
+ },
214
+ },
215
+ },
216
+ },
217
+ },
218
+ ]
219
+
220
+ const lexicon = new Lexicons(schemas)
221
+
222
+ let result = lexicon.validate('com.example.testImplicitMain', {
223
+ union: {
224
+ $type: 'com.example.implicitMain',
225
+ test: 123,
226
+ },
227
+ })
228
+ expect(result.success).toBeFalsy()
229
+ expect(result['error']?.message).toBe('Object/union/test must be a string')
230
+
231
+ result = lexicon.validate('com.example.testImplicitMain', {
232
+ union: {
233
+ $type: 'com.example.implicitMain#main',
234
+ test: 123,
235
+ },
236
+ })
237
+ expect(result.success).toBeFalsy()
238
+ expect(result['error']?.message).toBe('Object/union/test must be a string')
239
+
240
+ result = lexicon.validate('com.example.testExplicitMain', {
241
+ union: {
242
+ $type: 'com.example.implicitMain',
243
+ test: 123,
244
+ },
245
+ })
246
+ expect(result.success).toBeFalsy()
247
+ expect(result['error']?.message).toBe('Object/union/test must be a string')
248
+
249
+ result = lexicon.validate('com.example.testExplicitMain', {
250
+ union: {
251
+ $type: 'com.example.implicitMain#main',
252
+ test: 123,
253
+ },
254
+ })
255
+ expect(result.success).toBeFalsy()
256
+ expect(result['error']?.message).toBe('Object/union/test must be a string')
257
+ })
90
258
  })
91
259
 
92
260
  describe('Record validation', () => {
@@ -98,13 +266,11 @@ describe('Record validation', () => {
98
266
  object: { boolean: true },
99
267
  array: ['one', 'two'],
100
268
  boolean: true,
101
- float: 123.45,
102
269
  integer: 123,
103
270
  string: 'string',
104
271
  },
105
272
  array: ['one', 'two'],
106
273
  boolean: true,
107
- float: 123.45,
108
274
  integer: 123,
109
275
  string: 'string',
110
276
  bytes: new Uint8Array([0, 1, 2, 3]),
@@ -144,7 +310,6 @@ describe('Record validation', () => {
144
310
  $type: 'com.example.kitchenSink',
145
311
  array: ['one', 'two'],
146
312
  boolean: true,
147
- float: 123.45,
148
313
  integer: 123,
149
314
  string: 'string',
150
315
  datetime: new Date().toISOString(),
@@ -187,18 +352,12 @@ describe('Record validation', () => {
187
352
  array: 1234,
188
353
  }),
189
354
  ).toThrow('Record/array must be an array')
190
- expect(() =>
191
- lex.assertValidRecord('com.example.kitchenSink', {
192
- ...passingSink,
193
- float: 'string',
194
- }),
195
- ).toThrow('Record/float must be a number')
196
355
  expect(() =>
197
356
  lex.assertValidRecord('com.example.kitchenSink', {
198
357
  ...passingSink,
199
358
  integer: true,
200
359
  }),
201
- ).toThrow('Record/integer must be a number')
360
+ ).toThrow('Record/integer must be an integer')
202
361
  expect(() =>
203
362
  lex.assertValidRecord('com.example.kitchenSink', {
204
363
  ...passingSink,
@@ -234,12 +393,10 @@ describe('Record validation', () => {
234
393
  $type: 'com.example.default',
235
394
  boolean: false,
236
395
  integer: 0,
237
- float: 0,
238
396
  string: '',
239
397
  object: {
240
398
  boolean: true,
241
399
  integer: 1,
242
- float: 1.5,
243
400
  string: 'x',
244
401
  },
245
402
  })
@@ -254,7 +411,6 @@ describe('Record validation', () => {
254
411
  object: { boolean: true },
255
412
  array: ['one', 'two'],
256
413
  boolean: true,
257
- float: 123.45,
258
414
  integer: 123,
259
415
  string: 'string',
260
416
  },
@@ -335,13 +491,13 @@ describe('Record validation', () => {
335
491
  $type: 'com.example.arrayLength',
336
492
  array: [1, '2', 3],
337
493
  }),
338
- ).toThrow('Record/array/1 must be a number')
494
+ ).toThrow('Record/array/1 must be an integer')
339
495
  expect(() =>
340
496
  lex.assertValidRecord('com.example.arrayLength', {
341
497
  $type: 'com.example.arrayLength',
342
498
  array: [1, undefined, 3],
343
499
  }),
344
- ).toThrow('Record/array/1 must be a number')
500
+ ).toThrow('Record/array/1 must be an integer')
345
501
  })
346
502
 
347
503
  it('Applies boolean const constraint', () => {
@@ -357,51 +513,6 @@ describe('Record validation', () => {
357
513
  ).toThrow('Record/boolean must be false')
358
514
  })
359
515
 
360
- it('Applies float range constraint', () => {
361
- lex.assertValidRecord('com.example.floatRange', {
362
- $type: 'com.example.floatRange',
363
- float: 2.5,
364
- })
365
- expect(() =>
366
- lex.assertValidRecord('com.example.floatRange', {
367
- $type: 'com.example.floatRange',
368
- float: 1,
369
- }),
370
- ).toThrow('Record/float can not be less than 2')
371
- expect(() =>
372
- lex.assertValidRecord('com.example.floatRange', {
373
- $type: 'com.example.floatRange',
374
- float: 5,
375
- }),
376
- ).toThrow('Record/float can not be greater than 4')
377
- })
378
-
379
- it('Applies float enum constraint', () => {
380
- lex.assertValidRecord('com.example.floatEnum', {
381
- $type: 'com.example.floatEnum',
382
- float: 1.5,
383
- })
384
- expect(() =>
385
- lex.assertValidRecord('com.example.floatEnum', {
386
- $type: 'com.example.floatEnum',
387
- float: 0,
388
- }),
389
- ).toThrow('Record/float must be one of (1|1.5|2)')
390
- })
391
-
392
- it('Applies float const constraint', () => {
393
- lex.assertValidRecord('com.example.floatConst', {
394
- $type: 'com.example.floatConst',
395
- float: 0,
396
- })
397
- expect(() =>
398
- lex.assertValidRecord('com.example.floatConst', {
399
- $type: 'com.example.floatConst',
400
- float: 1,
401
- }),
402
- ).toThrow('Record/float must be 0')
403
- })
404
-
405
516
  it('Applies integer range constraint', () => {
406
517
  lex.assertValidRecord('com.example.integerRange', {
407
518
  $type: 'com.example.integerRange',
@@ -695,6 +806,19 @@ describe('Record validation', () => {
695
806
  ).toThrow('Record/cid must be a cid string')
696
807
  })
697
808
 
809
+ it('Applies language formatting constraint', () => {
810
+ lex.assertValidRecord('com.example.language', {
811
+ $type: 'com.example.language',
812
+ language: 'en-US-boont',
813
+ })
814
+ expect(() =>
815
+ lex.assertValidRecord('com.example.language', {
816
+ $type: 'com.example.language',
817
+ language: 'not-a-language-',
818
+ }),
819
+ ).toThrow('Record/language must be a well-formed BCP 47 language tag')
820
+ })
821
+
698
822
  it('Applies bytes length constraints', () => {
699
823
  lex.assertValidRecord('com.example.byteLength', {
700
824
  $type: 'com.example.byteLength',
@@ -721,14 +845,12 @@ describe('XRPC parameter validation', () => {
721
845
  it('Passes valid parameters', () => {
722
846
  const queryResult = lex.assertValidXrpcParams('com.example.query', {
723
847
  boolean: true,
724
- float: 123.45,
725
848
  integer: 123,
726
849
  string: 'string',
727
850
  array: ['x', 'y'],
728
851
  })
729
852
  expect(queryResult).toEqual({
730
853
  boolean: true,
731
- float: 123.45,
732
854
  integer: 123,
733
855
  string: 'string',
734
856
  array: ['x', 'y'],
@@ -736,7 +858,6 @@ describe('XRPC parameter validation', () => {
736
858
  })
737
859
  const paramResult = lex.assertValidXrpcParams('com.example.procedure', {
738
860
  boolean: true,
739
- float: 123.45,
740
861
  integer: 123,
741
862
  string: 'string',
742
863
  array: ['x', 'y'],
@@ -744,7 +865,6 @@ describe('XRPC parameter validation', () => {
744
865
  })
745
866
  expect(paramResult).toEqual({
746
867
  boolean: true,
747
- float: 123.45,
748
868
  integer: 123,
749
869
  string: 'string',
750
870
  array: ['x', 'y'],
@@ -755,19 +875,16 @@ describe('XRPC parameter validation', () => {
755
875
  it('Handles required correctly', () => {
756
876
  lex.assertValidXrpcParams('com.example.query', {
757
877
  boolean: true,
758
- float: 123.45,
759
878
  integer: 123,
760
879
  })
761
880
  expect(() =>
762
881
  lex.assertValidXrpcParams('com.example.query', {
763
882
  boolean: true,
764
- float: 123.45,
765
883
  }),
766
884
  ).toThrow('Params must have the property "integer"')
767
885
  expect(() =>
768
886
  lex.assertValidXrpcParams('com.example.query', {
769
887
  boolean: true,
770
- float: 123.45,
771
888
  integer: undefined,
772
889
  }),
773
890
  ).toThrow('Params must have the property "integer"')
@@ -777,19 +894,10 @@ describe('XRPC parameter validation', () => {
777
894
  expect(() =>
778
895
  lex.assertValidXrpcParams('com.example.query', {
779
896
  boolean: 'string',
780
- float: 123.45,
781
897
  integer: 123,
782
898
  string: 'string',
783
899
  }),
784
900
  ).toThrow('boolean must be a boolean')
785
- expect(() =>
786
- lex.assertValidXrpcParams('com.example.procedure', {
787
- boolean: true,
788
- float: true,
789
- integer: 123,
790
- string: 'string',
791
- }),
792
- ).toThrow('float must be a number')
793
901
  expect(() =>
794
902
  lex.assertValidXrpcParams('com.example.query', {
795
903
  boolean: true,
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "extends": "./tsconfig.json",
3
3
  "exclude": ["**/*.spec.ts", "**/*.test.ts"]
4
- }
4
+ }
package/tsconfig.json CHANGED
@@ -11,4 +11,4 @@
11
11
  { "path": "../nsid/tsconfig.build.json" },
12
12
  { "path": "../uri/tsconfig.build.json" }
13
13
  ]
14
- }
14
+ }
@@ -1 +0,0 @@
1
- {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.webworker.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/zod/lib/helpers/typealiases.d.ts","../../node_modules/zod/lib/helpers/util.d.ts","../../node_modules/zod/lib/zoderror.d.ts","../../node_modules/zod/lib/locales/en.d.ts","../../node_modules/zod/lib/errors.d.ts","../../node_modules/zod/lib/helpers/parseutil.d.ts","../../node_modules/zod/lib/helpers/enumutil.d.ts","../../node_modules/zod/lib/helpers/errorutil.d.ts","../../node_modules/zod/lib/helpers/partialutil.d.ts","../../node_modules/zod/lib/types.d.ts","../../node_modules/zod/lib/external.d.ts","../../node_modules/zod/lib/index.d.ts","../../node_modules/zod/index.d.ts","../common-web/src/check.ts","../common-web/src/util.ts","../common-web/src/async.ts","../common-web/src/tid.ts","../../node_modules/multiformats/types/src/bases/interface.d.ts","../../node_modules/multiformats/types/src/hashes/interface.d.ts","../../node_modules/multiformats/types/src/cid.d.ts","../../node_modules/uint8arrays/types/src/compare.d.ts","../../node_modules/uint8arrays/types/src/concat.d.ts","../../node_modules/uint8arrays/types/src/equals.d.ts","../../node_modules/multiformats/types/src/bases/base.d.ts","../../node_modules/uint8arrays/types/src/util/bases.d.ts","../../node_modules/uint8arrays/types/src/from-string.d.ts","../../node_modules/uint8arrays/types/src/to-string.d.ts","../../node_modules/uint8arrays/types/src/xor.d.ts","../../node_modules/uint8arrays/types/src/index.d.ts","../common-web/src/ipld.ts","../common-web/src/types.ts","../common-web/src/times.ts","../common-web/src/strings.ts","../common-web/src/index.ts","./src/blob-refs.ts","../nsid/src/index.ts","./src/types.ts","../identifier/src/resolve.ts","../identifier/src/reserved.ts","../identifier/src/handle.ts","../identifier/src/did.ts","../identifier/src/index.ts","../uri/src/validation.ts","../uri/src/index.ts","../../node_modules/iso-datestring-validator/dist/is-valid-date/is-valid-date.function.d.ts","../../node_modules/iso-datestring-validator/dist/is-valid-iso-datestring/is-valid-iso-datestring.function.d.ts","../../node_modules/iso-datestring-validator/dist/is-valid-time/is-valid-time.function.d.ts","../../node_modules/iso-datestring-validator/dist/is-valid-year-month/is-valid-year-month.function.d.ts","../../node_modules/iso-datestring-validator/dist/index.d.ts","./src/validators/formats.ts","./src/validators/primitives.ts","./src/validators/blob.ts","./src/validators/complex.ts","./src/util.ts","./src/validators/xrpc.ts","./src/validation.ts","./src/lexicons.ts","./src/serialize.ts","./src/index.ts","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@types/babel__template/index.d.ts","../../node_modules/@types/babel__traverse/index.d.ts","../../node_modules/@types/babel__core/index.d.ts","../../node_modules/@types/node/ts4.8/assert.d.ts","../../node_modules/@types/node/ts4.8/assert/strict.d.ts","../../node_modules/@types/node/ts4.8/globals.d.ts","../../node_modules/@types/node/ts4.8/async_hooks.d.ts","../../node_modules/@types/node/ts4.8/buffer.d.ts","../../node_modules/@types/node/ts4.8/child_process.d.ts","../../node_modules/@types/node/ts4.8/cluster.d.ts","../../node_modules/@types/node/ts4.8/console.d.ts","../../node_modules/@types/node/ts4.8/constants.d.ts","../../node_modules/@types/node/ts4.8/crypto.d.ts","../../node_modules/@types/node/ts4.8/dgram.d.ts","../../node_modules/@types/node/ts4.8/diagnostics_channel.d.ts","../../node_modules/@types/node/ts4.8/dns.d.ts","../../node_modules/@types/node/ts4.8/dns/promises.d.ts","../../node_modules/@types/node/ts4.8/domain.d.ts","../../node_modules/@types/node/ts4.8/dom-events.d.ts","../../node_modules/@types/node/ts4.8/events.d.ts","../../node_modules/@types/node/ts4.8/fs.d.ts","../../node_modules/@types/node/ts4.8/fs/promises.d.ts","../../node_modules/@types/node/ts4.8/http.d.ts","../../node_modules/@types/node/ts4.8/http2.d.ts","../../node_modules/@types/node/ts4.8/https.d.ts","../../node_modules/@types/node/ts4.8/inspector.d.ts","../../node_modules/@types/node/ts4.8/module.d.ts","../../node_modules/@types/node/ts4.8/net.d.ts","../../node_modules/@types/node/ts4.8/os.d.ts","../../node_modules/@types/node/ts4.8/path.d.ts","../../node_modules/@types/node/ts4.8/perf_hooks.d.ts","../../node_modules/@types/node/ts4.8/process.d.ts","../../node_modules/@types/node/ts4.8/punycode.d.ts","../../node_modules/@types/node/ts4.8/querystring.d.ts","../../node_modules/@types/node/ts4.8/readline.d.ts","../../node_modules/@types/node/ts4.8/readline/promises.d.ts","../../node_modules/@types/node/ts4.8/repl.d.ts","../../node_modules/@types/node/ts4.8/stream.d.ts","../../node_modules/@types/node/ts4.8/stream/promises.d.ts","../../node_modules/@types/node/ts4.8/stream/consumers.d.ts","../../node_modules/@types/node/ts4.8/stream/web.d.ts","../../node_modules/@types/node/ts4.8/string_decoder.d.ts","../../node_modules/@types/node/ts4.8/test.d.ts","../../node_modules/@types/node/ts4.8/timers.d.ts","../../node_modules/@types/node/ts4.8/timers/promises.d.ts","../../node_modules/@types/node/ts4.8/tls.d.ts","../../node_modules/@types/node/ts4.8/trace_events.d.ts","../../node_modules/@types/node/ts4.8/tty.d.ts","../../node_modules/@types/node/ts4.8/url.d.ts","../../node_modules/@types/node/ts4.8/util.d.ts","../../node_modules/@types/node/ts4.8/v8.d.ts","../../node_modules/@types/node/ts4.8/vm.d.ts","../../node_modules/@types/node/ts4.8/wasi.d.ts","../../node_modules/@types/node/ts4.8/worker_threads.d.ts","../../node_modules/@types/node/ts4.8/zlib.d.ts","../../node_modules/@types/node/ts4.8/globals.global.d.ts","../../node_modules/@types/node/ts4.8/index.d.ts","../../node_modules/@types/bn.js/index.d.ts","../../node_modules/@types/connect/index.d.ts","../../node_modules/@types/body-parser/index.d.ts","../../node_modules/@types/cors/index.d.ts","../../node_modules/@types/elliptic/index.d.ts","../../node_modules/@types/range-parser/index.d.ts","../../node_modules/@types/qs/index.d.ts","../../node_modules/@types/express-serve-static-core/index.d.ts","../../node_modules/@types/mime/mime.d.ts","../../node_modules/@types/mime/index.d.ts","../../node_modules/@types/serve-static/index.d.ts","../../node_modules/@types/express/index.d.ts","../../node_modules/@types/graceful-fs/index.d.ts","../../node_modules/@types/http-errors/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/jsonwebtoken/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../node_modules/@types/nodemailer/lib/xoauth2/index.d.ts","../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../node_modules/@types/nodemailer/lib/shared/index.d.ts","../../node_modules/@types/nodemailer/lib/json-transport/index.d.ts","../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../node_modules/@types/nodemailer/lib/ses-transport/index.d.ts","../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts","../../node_modules/@types/nodemailer/lib/stream-transport/index.d.ts","../../node_modules/@types/nodemailer/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/pg-types/index.d.ts","../../node_modules/pg-protocol/dist/messages.d.ts","../../node_modules/pg-protocol/dist/serializer.d.ts","../../node_modules/pg-protocol/dist/parser.d.ts","../../node_modules/pg-protocol/dist/index.d.ts","../../node_modules/@types/pg/index.d.ts","../../node_modules/@types/prettier/index.d.ts","../../node_modules/@types/sharp/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/ws/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"adb09ec0a64fc17dbbc4a228b3b18aa5f01db3440a6b0cbb02354df58674d584","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"9afae14803f3b7343ed6d193173008715c1fa3421a353a818c805244ed737a84","bb98c05ae5cb9bd7cb7ad76fe517251a661787a6f24337b842f47faf393f79c7","a93bf95f7009c90e7d1edb092560d4052e3ebbe9b9ad2d796bcd95dc4306825c","8485b6da53ec35637d072e516631d25dae53984500de70a6989058f24354666f","ebe80346928736532e4a822154eb77f57ef3389dbe2b3ba4e571366a15448ef2","c2cb3c8ff388781258ea9ddbcd8a947f751bddd6886e1d3b3ea09ddaa895df80","f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","014b34d4c2ef27191fdf3feabb6557ec92127f813910725b6e79ed9a49e466b6","72efc3e8cee3cb13144cb63bb8aacf28f918439a2ff222de89e0e5d7ba9c7170","b61efb129c7011068cb4ccbbd86d5741ac82653476b09f46d3d06dd99b5b687e","2b7961486503fa279a4f1a52928d8c31fc6558c335b750878721467210552dd7","d1f62988c7e8e8650f7ed39520a766648155abbf75dd89f60e24f069433301d4","5568d7c32e5cf5f35e092649f4e5e168c3114c800b1d7545b7ae5e0415704802","2eac0c94868a313867d229d227285d116b05dda41fe5540057fef78effe2ad5a","796a34eab1df5eafb9eec317c4022acdcca2a0746823264315dd665a204ea7a9","0158f65dd661b1917cabf88db0753f9e054b4d0e242893ef1273cafd59bd6a5e","a4c7f74586dafdf53d17e7b022bec236b43c3a52aef698db104ea45faab2af72","930446bf32192f698b78f8ea4b309d8c2cfe02ab5ad78e4db907417405ebf5e7","5d3e07dbeabff37885262d9b4bd21c3185d95a09a268ab795f81135046a32bf4","7d309fbde13b5e30eff77c07a28b66451b0b50b83564d0cfa6a2a52c8b69aae6","90cf3b12cd05d01c42193be1cd25af2c8dbef608ae143e5eaacf73cdb99840d2","4e37a214f2cd5a350affba5580d1d7c01ca83da6393ef2c13a66d74fc7b95eac","3157fa89ebde7e5d5499da49d8ae13e523c1de12d5c1285251c17b7672887b1e","729b819a6779d842c3a6908ba4ed93d9fe50e2533d989f05f55a4811b3dd9910","e47d9ea931ddade1deee3946884e8dc7aafbf4af74f9ecb85ef77c895100bd39","0841c3aed9354ad025302d5c7cde53916825047646e559d918b62a31500aebe7","7c515715da56f17e695e2c3611cf073d2cebfd417497652b35f9042b7235d5b2","a4942fc385f0368be5a50d7e7280c5c6ad47b082a9eaa0284042c89ce2df9e08","91072b0ddd41ce84a3c85f36cf927f2e7b1724f7ce71accf16715d99bafc113a","1a5d1ca1d55cc087752fa043ac9aaedb0297122525138cb12233c772069ed491","d941fe730bae08934508af7701ebf60bbc5278cb0f96b964970d882cd07980c6","cef9f120bb3c8fa482010add8056cd37b279a1588f583c36ff48bf898af3305e","c3ce03833d3363c3fb0c195395fbdce067bdfd189440a77c929e5b1f04263545","cf4eca11030b5f9ec3937e21b77dbc074a777930daab31e81c9497b4032af2b9",{"version":"a952889d3f903a3b81c461553ee7cba0aef5cd6c07ee7c19555921b060c3e278","signature":"69fdd4fce770e3f76ccf464b5553bc88bb4c5130289a188105652548ab6210dd"},"4acd13c41a8772d769dde9696e301fff35b1190f753b2250983fdef71f14d157",{"version":"b0dbea8ae1458183e56b21f92c782886ed4d8871196178dc37e9444701ed3e4c","signature":"57003cea07594f30b00bf1b4adf3fb3eb183cee9b85dcf2a7e6063d416f4896c"},"2348c5fd73594920fd17a3d5c9acbec20030faa6633f29b3d2c49282cfc388b3","3f1e8dac5f09e5c97ea2f3904c32977be31f685aa0841d67931cb55ace0c65f2","75fdc138c9e36cfe99ed6a1af4c324e37282da0da7311b54b4fea24b31625b7b","2cb08924591e0690031755ad69255d6af7b473817f4b5142a0a1ab68e55af25a","4c8881dcbb661453968d81400934670bbb2c320e209c745a922468f23e1bacb1","38c30bde16d1745f093865f4a31b2a50946c672fca3b5e0bad80c91e0342ba98","d7c53c3c5a133b4774bff2ea16a5d5a138b42970edcc6875ac09534b8e7105b9","d0a24e00653be2a93b83449af73d3dfdecd6d80e67ea2d600d81e2ba40f43558","d0cfa8040af641c79e548c12c1ad91ef0cb5bd09146b6f630959931594f43d3b","3f1647fae43442e77958d732c6680060fe420bfd38f8b8c9273bc7c57e0b29ef","9073a0de3bb3da4da39a57c03369283866c50bb7476c1dc238ef4c3e267fb9b5","d56436ff9eaaf3ad8755d6605b25d0a632bb0c72102f2fac80342a42323384e8",{"version":"5992e58275e78a8ab7835ea169bd77593d87782c042a53a47380b3b873cbb3dc","signature":"300e608030b30d2fd8b8b78595ae841decf6c8de261c3acc236ca9a64b7fec65"},{"version":"e02f81362469a50e09b9be22c44470f31cd8e2d2f2c4328a9ac3806b394599c6","signature":"f75ea9f5a6387f9d515ef7d6c6f0efbc6a83a001f1f35244f1558f2471e0445f"},{"version":"284c08a0472ec3e784dd5425c8e5ad492538eab344d0181bdc11de0039d00a62","signature":"b7243042791381c830b02b1d0f2122958d5f954b8f33d3f10e51e0879c9c5530"},{"version":"e3a811b5dd5dbe45ea59973c07be958936db49f06df6b74b139353fc55fab029","signature":"550269df54dba25dbc006b2720ad3f41036f8db9a45d74bf5cde1bace5e8ff04"},{"version":"eeba766db6576e44e8f27d706b7a071168af140f89ba967c27705e1dc12bcb43","signature":"1f4a908d40d40e6449423b48c57ec6a23e06d879f661ccf4f165a6bcee17649d"},{"version":"09108e84d17bf3d9c27d8425d02d7fc792d745ea56819d9ef1824b1466ef7899","signature":"250054ba635e74f2fcb7bbe8defc7c77d586c51cda1b2739a696bb813eaef402"},{"version":"3379180ffc10e9e4266552e85f0d9d5c3f91f83ebeba74cbf20e455aff5a6a4e","signature":"6b3ed5fc09ee078dfee964fa04ba98349cff3e073f0644e183b95dc842e3702d"},{"version":"b36786a6a9a46aeb178fe212379be5c7d395328d8648f0c3cddc75c7f8b98ff8","signature":"79c656fcd59ce9059905f939a8d38c6c36c01840a6bd65b29e88aa49da7139ec"},{"version":"f9504071cbaadb1ffbf236a1a4740f4d7711ee0b19acce20c2e1ab05b09e767f","signature":"1fa0be17b1f68a9972750fe67506a4dc89618ca90da95d30921d76d75b3fc111"},{"version":"18bb8183f7b99634111b309a592c828b42fe79f1015a19864042cbed2c4a7907","signature":"5754a019a1c1d6675966dc9f3736f3a1e646676ea262579fcc9dc676b4c269e0"},"c561efdf5ba0b62619745d4761fe2d9756f23db972e039367d15922fed67fd2f","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","7ec238b220ea991b6643e24191b1f552a65956d5f6de4c6144e700b9985265d8","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"02873d070f9cb79f50833fbf4a9a27ac578a2edf8ddb8421eba1b37faba83bfb","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"c0db280fa6b09d7b8d6720a19a47f485956a41ee0e6914f1b704033eb69c6058","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","afcc1c426b76db7ec80e563d4fb0ba9e6bcc6e63c2d7e9342e649dc56d26347f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","b01a80007e448d035a16c74b5c95a5405b2e81b12fabcf18b75aa9eb9ef28990","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","dbe5aa5a5dd8bd1c6a8d11b1310c3f0cdabaacc78a37b394a8c7b14faeb5fb84","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"d4ac44f01d42f541631c5fc88d0ed8efac29a3a3ad9a745d9fd58f8b61ed132e","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","3163f47436da41706c6e2b3c1511f3b7cce9f9f3905b2f3e01246c48b4ba7d14","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","213fc4f2b172d8beb74b77d7c1b41488d67348066d185e4263470cbb010cd6e8",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"f7db71191aa7aac5d6bc927ed6e7075c2763d22c7238227ec0c63c8cf5cb6a8b","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"652ee9c5103e89102d87bc20d167a02a0e3e5e53665674466c8cfea8a9e418c7","01f7828047b5c6703d3c601473618b448f5506a88fcac852638b0715c3abf4eb","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","6fbd58e4015b9ae31ea977d4d549eb24a1102cc798b57ec5d70868b542c06612","b8a427b9fe88504a6fb092e21adfe272d144394a2ced7f9e4adc3de7efa6e216","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"ae3fe461989bbd951344efc1f1fe932360ce7392e6126bdb225a82a1bbaf15ee","affectsGlobalScope":true},"5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7","951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e","f47887b61c6cf2f48746980390d6cb5b8013518951d912cfb37fe748071942be","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","f463d61cf39c3a6a5f96cdf7adfdb72a0b1d663f7b5d5b6dd042adba835430c2","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","763e521cf114b80e0dd0e21ca49b9f8ae62e8999555a5e7bade8ce36b33001c2","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","3e6bbb0883148627ca0854a9f62d820aaf1a0f1842f5568176721fef156b8f23","ffcc5500e77223169833fc6eb59b3a507944a1f89574e0a1276b0ea7fc22c4a4","22f13de9e2fe5f0f4724797abd3d34a1cdd6e47ef81fc4933fea3b8bf4ad524b","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","cda0cb09b995489b7f4c57f168cd31b83dcbaa7aad49612734fb3c9c73f6e4f2","f72f8428f3c1caa22e9c247d046603b85b442c0dae7b77a7a0bc092c18867cb7",{"version":"195f63105abc03e72b6a176e3e34dfb5ac932b55db378fdc7874b1617e24b465","affectsGlobalScope":true},"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","bb4ed283cfb3db7ec1d4bb79c37f5e96d39b340f1f4de995c4b0b836c8d5fa05","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","bb654d426b82e0846cd4bd7de91d637039ecdfd63c94447373490178f80846fe","db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d","92ad68795c32309fb43576cacb38bd2677deeed38f5730dcd4a8c5e65463ae15","4b16417aab5a4b276fd4a7db95120a8c7b4d49a6d68ddfe075e9f46dcbf22f00","eecb2ea10a1500dcc6bdeff14be1fb43806f63a9b8562e16e1b4fc8baa8dfa8d","221a6ab66d611349faaf80af49c7a34d95623787610fd153fed4da0811abdcae","f3d84d6f83cf131e4db335dc8100898adbeb01dd4cf4e2fe695ab220eac98be4","6521aaade4e1d23cbc4b665083b004aeaca23f3347ba2422f88d1828968a0056","e79130cf2ba010f2b79747bf43b086252ad041b130768331a1144c0a86185877","e9709ed827c40789c669736fc78e2ab603605e8e81325d1e6d7a5eb451810dd0","dafce7a7b279977940b6b4b50017625e4f922f73094433d2875994bdc0b27e87","6fc76efbb61d3336833ef44ff3f37552667f26c2a73b368f3b4b259f19f2c234","479496e5bb48f2f5e981ef646665bc09fd9ab080e86e9ea882ca4369411604af","6c559dee3c6251c261b67df08e01d4cbc89cbd7a63300150c636705733cebfff","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","fa5c2d3fcd8e227e180815df0a0903ed4b116400452af8a75ac5b68e5e1de9da","93c4fc5b5237c09bc9ed65cb8f0dc1d89034406ab40500b89701341994897142","9adb78bae51a473d33f40da9bdb50c0e491d1cc7a5db776665853effa0cd3374","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","77c5c7f8578d139c74102a29384f5f4f0792a12d819ddcdcaf8307185ff2d45d","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","28288f5e5f8b7b895ed2abe6359c1da3e0d14a64b5aef985071285671f347c01"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":1,"module":1,"noImplicitAny":false,"outDir":"./dist","removeComments":true,"rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"strictPropertyInitialization":false,"target":7},"fileIdsList":[[116,168],[168],[168,195],[116,117,118,119,120,168],[116,118,168],[168,175],[141,168,175,177],[141,168,175],[141,168],[168,176],[138,141,168,175,181,182],[168,178,182,183,186],[139,168,175],[168,190],[168,191],[168,197,200],[168,184],[168,185],[122,168],[125,168],[126,131,159,168],[127,138,139,146,156,167,168],[127,128,138,146,168],[129,168],[130,131,139,147,168],[131,156,164,168],[132,134,138,146,168],[133,168],[134,135,168],[138,168],[136,138,168],[138,139,140,156,167,168],[138,139,140,153,156,159,168],[168,172],[141,146,156,167,168],[138,139,141,142,146,156,164,167,168],[141,143,156,164,167,168],[122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174],[138,144,168],[145,167,168],[134,138,146,156,168],[147,168],[148,168],[125,149,168],[150,166,168,172],[151,168],[152,168],[138,153,154,168],[153,155,168,170],[126,138,156,157,158,159,168],[126,156,158,168],[156,157,168],[159,168],[160,168],[138,162,163,168],[162,163,168],[131,146,156,164,168],[165,168],[146,166,168],[126,141,152,167,168],[131,168],[156,168,169],[168,170],[168,171],[126,131,138,140,149,156,167,168,170,172],[156,168,173],[168,175,207,209,213,214,215,216,217,218],[156,168,175],[138,168,175,207,209,210,212,219],[138,146,156,167,168,175,206,207,208,210,211,212,219],[156,168,175,209,210],[156,168,175,209,211],[168,175,207,209,210,212,219],[156,168,175,211],[138,146,156,164,168,175,208,210,212],[138,168,175,207,209,210,211,212,219],[138,156,168,175,207,208,209,210,211,212,219],[138,156,168,175,207,209,210,212,219],[141,156,168,175,212],[138,156,164,168,175,222,223,226,227],[141,168,175,185],[138,141,143,156,164,167,168,173,175],[168,232],[168,193,199],[101,102,103,104,168],[168,197],[168,194,198],[74,168],[74,75,168],[168,175,223,224,225],[156,168,175,223],[168,196],[81,168],[77,78,79,82,83,84,168],[74,80,168],[68,168],[59,60,168],[57,58,59,61,62,66,168],[58,59,168],[67,168],[59,168],[57,58,59,62,63,64,65,168],[57,58,68,168],[71,168],[69,168],[70,71,72,73,86,87,88,89,168],[76,85,168],[69,70,76,168],[94,95,168],[94,95,96,97,168],[90,135,168],[69,76,90,168],[91,93,113,114,168],[69,93,109,110,112,168],[76,90,91,168],[69,92,168],[93,109,113,168],[93,109,110,111,113,168],[91,93,113,168],[93,107,108,110,113,168],[76,92,93,98,100,105,168],[76,90,93,106,113,168],[93,107,109,113,168],[99,168],[92,98,168],[69,76],[91,93,113,114],[93],[90,91],[69],[93,113]],"referencedMap":[[118,1],[116,2],[193,2],[196,3],[195,2],[121,4],[117,1],[119,5],[120,1],[176,6],[178,7],[177,8],[179,9],[180,10],[183,11],[187,12],[188,13],[189,2],[190,2],[191,14],[192,15],[201,16],[202,2],[203,6],[185,17],[184,18],[204,2],[205,2],[122,19],[123,19],[125,20],[126,21],[127,22],[128,23],[129,24],[130,25],[131,26],[132,27],[133,28],[134,29],[135,29],[137,30],[136,31],[138,30],[139,32],[140,33],[124,34],[174,2],[141,35],[142,36],[143,37],[175,38],[144,39],[145,40],[146,41],[147,42],[148,43],[149,44],[150,45],[151,46],[152,47],[153,48],[154,48],[155,49],[156,50],[158,51],[157,52],[159,53],[160,54],[161,2],[162,55],[163,56],[164,57],[165,58],[166,59],[167,60],[168,61],[169,62],[170,63],[171,64],[172,65],[173,66],[219,67],[206,68],[213,69],[209,70],[207,71],[210,72],[214,73],[215,69],[212,74],[211,75],[216,76],[217,77],[218,78],[208,79],[220,2],[221,2],[227,80],[228,2],[182,2],[181,2],[186,81],[229,68],[230,2],[231,82],[232,2],[233,83],[194,2],[200,84],[105,85],[101,2],[102,2],[103,2],[104,2],[198,86],[199,87],[80,88],[74,2],[76,89],[75,2],[226,90],[223,6],[225,91],[224,6],[222,2],[197,92],[11,2],[12,2],[15,2],[14,2],[2,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[23,2],[3,2],[4,2],[27,2],[24,2],[25,2],[26,2],[28,2],[29,2],[30,2],[5,2],[31,2],[32,2],[33,2],[34,2],[6,2],[35,2],[36,2],[37,2],[38,2],[7,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[8,2],[49,2],[46,2],[47,2],[48,2],[50,2],[9,2],[51,2],[52,2],[53,2],[54,2],[55,2],[1,2],[10,2],[56,2],[13,2],[77,2],[78,2],[79,2],[82,93],[85,94],[83,93],[81,95],[84,2],[69,96],[61,97],[67,98],[63,2],[64,2],[62,99],[65,96],[57,2],[58,2],[68,100],[60,101],[66,102],[59,103],[72,104],[70,105],[90,106],[86,107],[89,2],[73,104],[88,2],[87,108],[71,2],[97,2],[96,109],[98,110],[95,2],[94,111],[91,112],[115,113],[113,114],[114,115],[93,116],[110,117],[112,118],[108,119],[109,120],[106,121],[107,122],[111,123],[92,2],[100,124],[99,125]],"exportedModulesMap":[[118,1],[116,2],[193,2],[196,3],[195,2],[121,4],[117,1],[119,5],[120,1],[176,6],[178,7],[177,8],[179,9],[180,10],[183,11],[187,12],[188,13],[189,2],[190,2],[191,14],[192,15],[201,16],[202,2],[203,6],[185,17],[184,18],[204,2],[205,2],[122,19],[123,19],[125,20],[126,21],[127,22],[128,23],[129,24],[130,25],[131,26],[132,27],[133,28],[134,29],[135,29],[137,30],[136,31],[138,30],[139,32],[140,33],[124,34],[174,2],[141,35],[142,36],[143,37],[175,38],[144,39],[145,40],[146,41],[147,42],[148,43],[149,44],[150,45],[151,46],[152,47],[153,48],[154,48],[155,49],[156,50],[158,51],[157,52],[159,53],[160,54],[161,2],[162,55],[163,56],[164,57],[165,58],[166,59],[167,60],[168,61],[169,62],[170,63],[171,64],[172,65],[173,66],[219,67],[206,68],[213,69],[209,70],[207,71],[210,72],[214,73],[215,69],[212,74],[211,75],[216,76],[217,77],[218,78],[208,79],[220,2],[221,2],[227,80],[228,2],[182,2],[181,2],[186,81],[229,68],[230,2],[231,82],[232,2],[233,83],[194,2],[200,84],[105,85],[101,2],[102,2],[103,2],[104,2],[198,86],[199,87],[80,88],[74,2],[76,89],[75,2],[226,90],[223,6],[225,91],[224,6],[222,2],[197,92],[11,2],[12,2],[15,2],[14,2],[2,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[23,2],[3,2],[4,2],[27,2],[24,2],[25,2],[26,2],[28,2],[29,2],[30,2],[5,2],[31,2],[32,2],[33,2],[34,2],[6,2],[35,2],[36,2],[37,2],[38,2],[7,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[8,2],[49,2],[46,2],[47,2],[48,2],[50,2],[9,2],[51,2],[52,2],[53,2],[54,2],[55,2],[1,2],[10,2],[56,2],[13,2],[77,2],[78,2],[79,2],[82,93],[85,94],[83,93],[81,95],[84,2],[69,96],[61,97],[67,98],[63,2],[64,2],[62,99],[65,96],[57,2],[58,2],[68,100],[60,101],[66,102],[59,103],[72,104],[70,105],[90,106],[86,107],[89,2],[73,104],[88,2],[87,108],[71,2],[97,2],[96,109],[98,110],[95,2],[94,111],[91,126],[115,127],[113,128],[114,129],[93,130],[110,131],[112,131],[108,131],[109,131],[106,128],[107,131],[111,131],[92,2],[100,124],[99,125]],"semanticDiagnosticsPerFile":[118,116,193,196,195,121,117,119,120,176,178,177,179,180,183,187,188,189,190,191,192,201,202,203,185,184,204,205,122,123,125,126,127,128,129,130,131,132,133,134,135,137,136,138,139,140,124,174,141,142,143,175,144,145,146,147,148,149,150,151,152,153,154,155,156,158,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,219,206,213,209,207,210,214,215,212,211,216,217,218,208,220,221,227,228,182,181,186,229,230,231,232,233,194,200,105,101,102,103,104,198,199,80,74,76,75,226,223,225,224,222,197,11,12,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,35,36,37,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,54,55,1,10,56,13,77,78,79,82,85,83,81,84,69,61,67,63,64,62,65,57,58,68,60,66,59,72,70,90,86,89,73,88,87,71,97,96,98,95,94,91,115,113,114,93,110,112,108,109,106,107,111,92,100,99],"latestChangedDtsFile":"./dist/blob-refs.d.ts"},"version":"4.8.4"}
package/update-pkg.js DELETED
@@ -1,14 +0,0 @@
1
- const pkgJson = require('@npmcli/package-json')
2
-
3
- if (process.argv.includes('--update-main-to-dist')) {
4
- return pkgJson
5
- .load(__dirname)
6
- .then((pkg) => pkg.update({ main: 'dist/index.js' }))
7
- .then((pkg) => pkg.save())
8
- }
9
- if (process.argv.includes('--update-main-to-src')) {
10
- return pkgJson
11
- .load(__dirname)
12
- .then((pkg) => pkg.update({ main: 'src/index.ts' }))
13
- .then((pkg) => pkg.save())
14
- }