doc-detective-common 3.1.2-dev.3 → 3.2.0

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.
@@ -3864,7 +3864,6 @@
3864
3864
  "type": "string",
3865
3865
  "title": "Cookie file path",
3866
3866
  "description": "File path to save the cookie, relative to directory. Uses Netscape cookie format.",
3867
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
3868
3867
  "transform": [
3869
3868
  "trim"
3870
3869
  ]
@@ -3921,11 +3920,6 @@
3921
3920
  "required": [
3922
3921
  "directory"
3923
3922
  ]
3924
- },
3925
- {
3926
- "required": [
3927
- "overwrite"
3928
- ]
3929
3923
  }
3930
3924
  ]
3931
3925
  }
@@ -3976,7 +3970,6 @@
3976
3970
  "type": "string",
3977
3971
  "title": "Cookie file path",
3978
3972
  "description": "File path to save the cookie, relative to directory. Uses Netscape cookie format.",
3979
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
3980
3973
  "transform": [
3981
3974
  "trim"
3982
3975
  ]
@@ -4033,11 +4026,6 @@
4033
4026
  "required": [
4034
4027
  "directory"
4035
4028
  ]
4036
- },
4037
- {
4038
- "required": [
4039
- "overwrite"
4040
- ]
4041
4029
  }
4042
4030
  ]
4043
4031
  }
@@ -4049,6 +4037,7 @@
4049
4037
  },
4050
4038
  "examples": [
4051
4039
  "session_token",
4040
+ "test_env_cookie",
4052
4041
  {
4053
4042
  "name": "auth_cookie",
4054
4043
  "path": "auth-cookie.txt"
@@ -4057,6 +4046,11 @@
4057
4046
  "name": "session_token",
4058
4047
  "variable": "SESSION_TOKEN"
4059
4048
  },
4049
+ {
4050
+ "name": "test_cookie",
4051
+ "path": "test-cookie.txt",
4052
+ "overwrite": true
4053
+ },
4060
4054
  {
4061
4055
  "name": "user_session",
4062
4056
  "path": "user-session.txt",
@@ -4558,7 +4552,6 @@
4558
4552
  "type": "string",
4559
4553
  "title": "Cookie file path",
4560
4554
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
4561
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
4562
4555
  "transform": [
4563
4556
  "trim"
4564
4557
  ]
@@ -4659,7 +4652,6 @@
4659
4652
  "type": "string",
4660
4653
  "title": "Cookie file path",
4661
4654
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
4662
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
4663
4655
  "transform": [
4664
4656
  "trim"
4665
4657
  ]
@@ -4688,10 +4680,15 @@
4688
4680
  "examples": [
4689
4681
  "session_token",
4690
4682
  "./test-data/auth-session.txt",
4683
+ "test_env_cookie",
4691
4684
  {
4692
4685
  "name": "auth_cookie",
4693
4686
  "variable": "AUTH_COOKIE"
4694
4687
  },
4688
+ {
4689
+ "name": "test_cookie",
4690
+ "path": "test-cookie.txt"
4691
+ },
4695
4692
  {
4696
4693
  "name": "session_token",
4697
4694
  "path": "session-token.txt",
@@ -4463,7 +4463,6 @@
4463
4463
  "type": "string",
4464
4464
  "title": "Cookie file path",
4465
4465
  "description": "File path to save the cookie, relative to directory. Uses Netscape cookie format.",
4466
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
4467
4466
  "transform": [
4468
4467
  "trim"
4469
4468
  ]
@@ -4520,11 +4519,6 @@
4520
4519
  "required": [
4521
4520
  "directory"
4522
4521
  ]
4523
- },
4524
- {
4525
- "required": [
4526
- "overwrite"
4527
- ]
4528
4522
  }
4529
4523
  ]
4530
4524
  }
@@ -4575,7 +4569,6 @@
4575
4569
  "type": "string",
4576
4570
  "title": "Cookie file path",
4577
4571
  "description": "File path to save the cookie, relative to directory. Uses Netscape cookie format.",
4578
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
4579
4572
  "transform": [
4580
4573
  "trim"
4581
4574
  ]
@@ -4632,11 +4625,6 @@
4632
4625
  "required": [
4633
4626
  "directory"
4634
4627
  ]
4635
- },
4636
- {
4637
- "required": [
4638
- "overwrite"
4639
- ]
4640
4628
  }
4641
4629
  ]
4642
4630
  }
@@ -4648,6 +4636,7 @@
4648
4636
  },
4649
4637
  "examples": [
4650
4638
  "session_token",
4639
+ "test_env_cookie",
4651
4640
  {
4652
4641
  "name": "auth_cookie",
4653
4642
  "path": "auth-cookie.txt"
@@ -4656,6 +4645,11 @@
4656
4645
  "name": "session_token",
4657
4646
  "variable": "SESSION_TOKEN"
4658
4647
  },
4648
+ {
4649
+ "name": "test_cookie",
4650
+ "path": "test-cookie.txt",
4651
+ "overwrite": true
4652
+ },
4659
4653
  {
4660
4654
  "name": "user_session",
4661
4655
  "path": "user-session.txt",
@@ -5157,7 +5151,6 @@
5157
5151
  "type": "string",
5158
5152
  "title": "Cookie file path",
5159
5153
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
5160
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
5161
5154
  "transform": [
5162
5155
  "trim"
5163
5156
  ]
@@ -5258,7 +5251,6 @@
5258
5251
  "type": "string",
5259
5252
  "title": "Cookie file path",
5260
5253
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
5261
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
5262
5254
  "transform": [
5263
5255
  "trim"
5264
5256
  ]
@@ -5287,10 +5279,15 @@
5287
5279
  "examples": [
5288
5280
  "session_token",
5289
5281
  "./test-data/auth-session.txt",
5282
+ "test_env_cookie",
5290
5283
  {
5291
5284
  "name": "auth_cookie",
5292
5285
  "variable": "AUTH_COOKIE"
5293
5286
  },
5287
+ {
5288
+ "name": "test_cookie",
5289
+ "path": "test-cookie.txt"
5290
+ },
5294
5291
  {
5295
5292
  "name": "session_token",
5296
5293
  "path": "session-token.txt",
@@ -9923,7 +9920,6 @@
9923
9920
  "type": "string",
9924
9921
  "title": "Cookie file path",
9925
9922
  "description": "File path to save the cookie, relative to directory. Uses Netscape cookie format.",
9926
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
9927
9923
  "transform": [
9928
9924
  "trim"
9929
9925
  ]
@@ -9980,11 +9976,6 @@
9980
9976
  "required": [
9981
9977
  "directory"
9982
9978
  ]
9983
- },
9984
- {
9985
- "required": [
9986
- "overwrite"
9987
- ]
9988
9979
  }
9989
9980
  ]
9990
9981
  }
@@ -10035,7 +10026,6 @@
10035
10026
  "type": "string",
10036
10027
  "title": "Cookie file path",
10037
10028
  "description": "File path to save the cookie, relative to directory. Uses Netscape cookie format.",
10038
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
10039
10029
  "transform": [
10040
10030
  "trim"
10041
10031
  ]
@@ -10092,11 +10082,6 @@
10092
10082
  "required": [
10093
10083
  "directory"
10094
10084
  ]
10095
- },
10096
- {
10097
- "required": [
10098
- "overwrite"
10099
- ]
10100
10085
  }
10101
10086
  ]
10102
10087
  }
@@ -10108,6 +10093,7 @@
10108
10093
  },
10109
10094
  "examples": [
10110
10095
  "session_token",
10096
+ "test_env_cookie",
10111
10097
  {
10112
10098
  "name": "auth_cookie",
10113
10099
  "path": "auth-cookie.txt"
@@ -10116,6 +10102,11 @@
10116
10102
  "name": "session_token",
10117
10103
  "variable": "SESSION_TOKEN"
10118
10104
  },
10105
+ {
10106
+ "name": "test_cookie",
10107
+ "path": "test-cookie.txt",
10108
+ "overwrite": true
10109
+ },
10119
10110
  {
10120
10111
  "name": "user_session",
10121
10112
  "path": "user-session.txt",
@@ -10617,7 +10608,6 @@
10617
10608
  "type": "string",
10618
10609
  "title": "Cookie file path",
10619
10610
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
10620
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
10621
10611
  "transform": [
10622
10612
  "trim"
10623
10613
  ]
@@ -10718,7 +10708,6 @@
10718
10708
  "type": "string",
10719
10709
  "title": "Cookie file path",
10720
10710
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
10721
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
10722
10711
  "transform": [
10723
10712
  "trim"
10724
10713
  ]
@@ -10747,10 +10736,15 @@
10747
10736
  "examples": [
10748
10737
  "session_token",
10749
10738
  "./test-data/auth-session.txt",
10739
+ "test_env_cookie",
10750
10740
  {
10751
10741
  "name": "auth_cookie",
10752
10742
  "variable": "AUTH_COOKIE"
10753
10743
  },
10744
+ {
10745
+ "name": "test_cookie",
10746
+ "path": "test-cookie.txt"
10747
+ },
10754
10748
  {
10755
10749
  "name": "session_token",
10756
10750
  "path": "session-token.txt",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doc-detective-common",
3
- "version": "3.1.2-dev.3",
3
+ "version": "3.2.0",
4
4
  "description": "Shared components for Doc Detective projects.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -86,7 +86,6 @@
86
86
  "type": "string",
87
87
  "title": "Cookie file path",
88
88
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
89
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
90
89
  "transform": [
91
90
  "trim"
92
91
  ]
@@ -115,10 +114,15 @@
115
114
  "examples": [
116
115
  "session_token",
117
116
  "./test-data/auth-session.txt",
117
+ "test_env_cookie",
118
118
  {
119
119
  "name": "auth_cookie",
120
120
  "variable": "AUTH_COOKIE"
121
121
  },
122
+ {
123
+ "name": "test_cookie",
124
+ "path": "test-cookie.txt"
125
+ },
122
126
  {
123
127
  "name": "session_token",
124
128
  "path": "session-token.txt",
@@ -52,7 +52,6 @@
52
52
  "type": "string",
53
53
  "title": "Cookie file path",
54
54
  "description": "File path to save the cookie, relative to directory. Uses Netscape cookie format.",
55
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
56
55
  "transform": [
57
56
  "trim"
58
57
  ]
@@ -109,11 +108,6 @@
109
108
  "required": [
110
109
  "directory"
111
110
  ]
112
- },
113
- {
114
- "required": [
115
- "overwrite"
116
- ]
117
111
  }
118
112
  ]
119
113
  }
@@ -125,6 +119,7 @@
125
119
  },
126
120
  "examples": [
127
121
  "session_token",
122
+ "test_env_cookie",
128
123
  {
129
124
  "name": "auth_cookie",
130
125
  "path": "auth-cookie.txt"
@@ -133,6 +128,11 @@
133
128
  "name": "session_token",
134
129
  "variable": "SESSION_TOKEN"
135
130
  },
131
+ {
132
+ "name": "test_cookie",
133
+ "path": "test-cookie.txt",
134
+ "overwrite": true
135
+ },
136
136
  {
137
137
  "name": "user_session",
138
138
  "path": "user-session.txt",
@@ -4637,7 +4637,6 @@
4637
4637
  "type": "string",
4638
4638
  "title": "Cookie file path",
4639
4639
  "description": "File path to save the cookie, relative to directory. Uses Netscape cookie format.",
4640
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
4641
4640
  "transform": [
4642
4641
  "trim"
4643
4642
  ]
@@ -4694,11 +4693,6 @@
4694
4693
  "required": [
4695
4694
  "directory"
4696
4695
  ]
4697
- },
4698
- {
4699
- "required": [
4700
- "overwrite"
4701
- ]
4702
4696
  }
4703
4697
  ]
4704
4698
  }
@@ -4749,7 +4743,6 @@
4749
4743
  "type": "string",
4750
4744
  "title": "Cookie file path",
4751
4745
  "description": "File path to save the cookie, relative to directory. Uses Netscape cookie format.",
4752
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
4753
4746
  "transform": [
4754
4747
  "trim"
4755
4748
  ]
@@ -4806,11 +4799,6 @@
4806
4799
  "required": [
4807
4800
  "directory"
4808
4801
  ]
4809
- },
4810
- {
4811
- "required": [
4812
- "overwrite"
4813
- ]
4814
4802
  }
4815
4803
  ]
4816
4804
  }
@@ -4822,6 +4810,7 @@
4822
4810
  },
4823
4811
  "examples": [
4824
4812
  "session_token",
4813
+ "test_env_cookie",
4825
4814
  {
4826
4815
  "name": "auth_cookie",
4827
4816
  "path": "auth-cookie.txt"
@@ -4830,6 +4819,11 @@
4830
4819
  "name": "session_token",
4831
4820
  "variable": "SESSION_TOKEN"
4832
4821
  },
4822
+ {
4823
+ "name": "test_cookie",
4824
+ "path": "test-cookie.txt",
4825
+ "overwrite": true
4826
+ },
4833
4827
  {
4834
4828
  "name": "user_session",
4835
4829
  "path": "user-session.txt",
@@ -5331,7 +5325,6 @@
5331
5325
  "type": "string",
5332
5326
  "title": "Cookie file path",
5333
5327
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
5334
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
5335
5328
  "transform": [
5336
5329
  "trim"
5337
5330
  ]
@@ -5432,7 +5425,6 @@
5432
5425
  "type": "string",
5433
5426
  "title": "Cookie file path",
5434
5427
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
5435
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
5436
5428
  "transform": [
5437
5429
  "trim"
5438
5430
  ]
@@ -5461,10 +5453,15 @@
5461
5453
  "examples": [
5462
5454
  "session_token",
5463
5455
  "./test-data/auth-session.txt",
5456
+ "test_env_cookie",
5464
5457
  {
5465
5458
  "name": "auth_cookie",
5466
5459
  "variable": "AUTH_COOKIE"
5467
5460
  },
5461
+ {
5462
+ "name": "test_cookie",
5463
+ "path": "test-cookie.txt"
5464
+ },
5468
5465
  {
5469
5466
  "name": "session_token",
5470
5467
  "path": "session-token.txt",
@@ -10516,7 +10513,6 @@
10516
10513
  "type": "string",
10517
10514
  "title": "Cookie file path",
10518
10515
  "description": "File path to save the cookie, relative to directory. Uses Netscape cookie format.",
10519
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
10520
10516
  "transform": [
10521
10517
  "trim"
10522
10518
  ]
@@ -10573,11 +10569,6 @@
10573
10569
  "required": [
10574
10570
  "directory"
10575
10571
  ]
10576
- },
10577
- {
10578
- "required": [
10579
- "overwrite"
10580
- ]
10581
10572
  }
10582
10573
  ]
10583
10574
  }
@@ -10628,7 +10619,6 @@
10628
10619
  "type": "string",
10629
10620
  "title": "Cookie file path",
10630
10621
  "description": "File path to save the cookie, relative to directory. Uses Netscape cookie format.",
10631
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
10632
10622
  "transform": [
10633
10623
  "trim"
10634
10624
  ]
@@ -10685,11 +10675,6 @@
10685
10675
  "required": [
10686
10676
  "directory"
10687
10677
  ]
10688
- },
10689
- {
10690
- "required": [
10691
- "overwrite"
10692
- ]
10693
10678
  }
10694
10679
  ]
10695
10680
  }
@@ -10701,6 +10686,7 @@
10701
10686
  },
10702
10687
  "examples": [
10703
10688
  "session_token",
10689
+ "test_env_cookie",
10704
10690
  {
10705
10691
  "name": "auth_cookie",
10706
10692
  "path": "auth-cookie.txt"
@@ -10709,6 +10695,11 @@
10709
10695
  "name": "session_token",
10710
10696
  "variable": "SESSION_TOKEN"
10711
10697
  },
10698
+ {
10699
+ "name": "test_cookie",
10700
+ "path": "test-cookie.txt",
10701
+ "overwrite": true
10702
+ },
10712
10703
  {
10713
10704
  "name": "user_session",
10714
10705
  "path": "user-session.txt",
@@ -11210,7 +11201,6 @@
11210
11201
  "type": "string",
11211
11202
  "title": "Cookie file path",
11212
11203
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
11213
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
11214
11204
  "transform": [
11215
11205
  "trim"
11216
11206
  ]
@@ -11311,7 +11301,6 @@
11311
11301
  "type": "string",
11312
11302
  "title": "Cookie file path",
11313
11303
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
11314
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
11315
11304
  "transform": [
11316
11305
  "trim"
11317
11306
  ]
@@ -11340,10 +11329,15 @@
11340
11329
  "examples": [
11341
11330
  "session_token",
11342
11331
  "./test-data/auth-session.txt",
11332
+ "test_env_cookie",
11343
11333
  {
11344
11334
  "name": "auth_cookie",
11345
11335
  "variable": "AUTH_COOKIE"
11346
11336
  },
11337
+ {
11338
+ "name": "test_cookie",
11339
+ "path": "test-cookie.txt"
11340
+ },
11347
11341
  {
11348
11342
  "name": "session_token",
11349
11343
  "path": "session-token.txt",
@@ -77,7 +77,6 @@
77
77
  "type": "string",
78
78
  "title": "Cookie file path",
79
79
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
80
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
81
80
  "transform": [
82
81
  "trim"
83
82
  ]
@@ -178,7 +177,6 @@
178
177
  "type": "string",
179
178
  "title": "Cookie file path",
180
179
  "description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
181
- "pattern": "^(?:[A-Za-z0-9_.-]+\\.(?:txt|cookies)|\\$[A-Za-z_][A-Za-z0-9_]*)$",
182
180
  "transform": [
183
181
  "trim"
184
182
  ]
@@ -207,10 +205,15 @@
207
205
  "examples": [
208
206
  "session_token",
209
207
  "./test-data/auth-session.txt",
208
+ "test_env_cookie",
210
209
  {
211
210
  "name": "auth_cookie",
212
211
  "variable": "AUTH_COOKIE"
213
212
  },
213
+ {
214
+ "name": "test_cookie",
215
+ "path": "test-cookie.txt"
216
+ },
214
217
  {
215
218
  "name": "session_token",
216
219
  "path": "session-token.txt",