is-ua-bot 1.2.0 → 1.2.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.
@@ -0,0 +1,25 @@
1
+ name: Publish to npm
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: read
12
+ id-token: write
13
+ steps:
14
+ - uses: actions/checkout@v6
15
+
16
+ - uses: actions/setup-node@v4
17
+ with:
18
+ node-version: '20.x'
19
+ registry-url: 'https://registry.npmjs.org'
20
+ cache: 'npm'
21
+
22
+ - run: npm ci
23
+ - run: npm publish --provenance
24
+ env:
25
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/README.md CHANGED
@@ -37,7 +37,7 @@ npm test
37
37
 
38
38
  ## Author
39
39
 
40
- ![[follow](https://img.shields.io/twitter/follow/antic.svg?style=social&label=Follow)](https://twitter.com/antic)
40
+ [![follow](https://img.shields.io/twitter/follow/antic.svg?style=social&label=Follow)](https://twitter.com/antic)
41
41
 
42
42
  worthy of a tip?
43
43
  ⚡ Lightning Bitcoin Tips Accepted https://tippin.me/@antic
package/data/bots.js CHANGED
@@ -1,5 +1,4 @@
1
1
  module.exports = [
2
- '!Susie',
3
2
  '\\(privoxy/',
4
3
  '^ng/',
5
4
  '008/',
@@ -12,20 +11,20 @@ module.exports = [
12
11
  'ackerm\\.com',
13
12
  'acoon',
14
13
  'Ad Muncher',
15
- 'adbeat\\.com',
14
+ 'adbeat',
16
15
  'AddThis',
17
16
  'ADmantX',
18
17
  'agada.de',
19
18
  'agadine/',
20
19
  'aggregator',
21
20
  'aiderss/',
22
- 'airmail\\.etn',
23
- 'airmail\\net',
21
+ 'airmail',
24
22
  'aladin/',
25
23
  'alertra\\.com',
26
24
  'alexa site audit',
27
25
  'allrati/',
28
26
  'AltaVista Intranet',
27
+ 'AlwaysOnline',
29
28
  'alyze\\.info',
30
29
  'amzn_assoc',
31
30
  'analyza',
@@ -49,12 +48,11 @@ module.exports = [
49
48
  'asahina-antenna/',
50
49
  'ask[-\\s]?jeeves',
51
50
  'ask\\.24x\\.info',
52
- 'ask\\.24x\\.info/',
53
51
  'aspseek/',
54
52
  'AspTear',
55
53
  'assort/',
56
54
  'asterias/',
57
- 'atomic_email_hunter/',
55
+ 'atomic_email_hunter',
58
56
  'atomz/',
59
57
  'augurfind',
60
58
  'augurnfind',
@@ -66,7 +64,7 @@ module.exports = [
66
64
  'BackStreet Browser',
67
65
  'BCKLINKS 1\\.0',
68
66
  'beammachine/',
69
- 'beebwaredirectory/v0\\.01',
67
+ 'beebwaredirectory',
70
68
  'bibnum\\.bnf',
71
69
  'Big Brother',
72
70
  'Big Fish',
@@ -97,7 +95,6 @@ module.exports = [
97
95
  'btwebclient/',
98
96
  'BUbiNG',
99
97
  'BullsEye',
100
- 'bumblebee@relevare\\.com',
101
98
  'BunnySlippers',
102
99
  'Buscaplus',
103
100
  'Butterfly/',
@@ -105,11 +102,10 @@ module.exports = [
105
102
  'bwh3_user_agent',
106
103
  'calif/',
107
104
  'capture',
108
- 'carleson/',
105
+ 'carleson',
109
106
  'CC Metadata Scaper',
110
107
  'ccubee/x\\.x',
111
108
  'CE-Preload',
112
- 'Ceramic Tile Installation Guide',
113
109
  'Cerberian Drtrs',
114
110
  'CERN-HTTPD',
115
111
  'cg-eye interactive',
@@ -124,7 +120,6 @@ module.exports = [
124
120
  'classify',
125
121
  'Claymont\\.com',
126
122
  'cloakdetect/',
127
- 'CloudFlare\-AlwaysOnline',
128
123
  'clown',
129
124
  'cnet\\.com',
130
125
  'COAST WebMaster Pro/',
@@ -140,7 +135,7 @@ module.exports = [
140
135
  'contenttabreceiver',
141
136
  'control',
142
137
  'convera',
143
- 'copperegg/revealuptime/fremontca',
138
+ 'copperegg',
144
139
  'coralwebprx/',
145
140
  'cosmos',
146
141
  'Covac UPPS Cathan',
@@ -149,7 +144,6 @@ module.exports = [
149
144
  'crowsnest/',
150
145
  'csci_b659/',
151
146
  'curl',
152
- 'Custo x\\.x \\(www\\.netwu\\.com\\)',
153
147
  'cuwhois/',
154
148
  'CyberPatrol',
155
149
  'DA \\d',
@@ -165,7 +159,7 @@ module.exports = [
165
159
  'de\\.com',
166
160
  'deep[-\\s]?link',
167
161
  'deepak-usc/isi',
168
- 'del\\.icio\\.us-thumbnails/',
162
+ 'del\\.icio\\.us',
169
163
  'delegate/',
170
164
  'DepSpid',
171
165
  'detector',
@@ -173,21 +167,13 @@ module.exports = [
173
167
  'diamond/x\\.0',
174
168
  'Digg',
175
169
  'DigOut4U',
176
- 'DISCo Pump x\\.x',
170
+ 'DISCo Pump',
177
171
  'dlman',
178
172
  'dlvr\\.it/',
179
173
  'DnloadMage',
180
174
  'docomo/',
181
175
  'DomainAppender',
182
- 'Download Demon',
183
- 'Download Druid',
184
- 'Download Express',
185
- 'Download Master',
186
- 'Download Ninja',
187
- 'Download Wonder',
188
- 'download(?:s|er)',
189
- 'Download\\.exe',
190
- 'DownloadDirect',
176
+ 'Download',
191
177
  'DreamPassport',
192
178
  'drupact',
193
179
  'Drupal',
@@ -199,20 +185,19 @@ module.exports = [
199
185
  'EARTHCOM',
200
186
  'easydl/',
201
187
  'EBrowse \\d',
202
- 'ecairn\\.com/grabber',
188
+ 'ecairn',
203
189
  'echo!/',
204
190
  'efp@gmx\\.net',
205
191
  'egothor/',
206
- 'ejupiter\\.com',
207
- 'EldoS TimelyWeb/',
192
+ 'ejupiter',
208
193
  'ElectricMonk',
209
194
  'EmailWolf',
210
195
  'Embedly/',
211
196
  'envolk',
212
197
  'ESurf15',
213
- 'eventax/',
198
+ 'eventax',
214
199
  'Evliya Celebi',
215
- 'evri\\.com/evrinid',
200
+ 'evrinid',
216
201
  'exactseek\\.com',
217
202
  'Exalead',
218
203
  'Exploratodo/',
@@ -230,11 +215,11 @@ module.exports = [
230
215
  'FavOrg',
231
216
  'FDM \\d',
232
217
  'feed',
233
- 'feeltiptop\\.com',
218
+ 'feeltiptop',
234
219
  'fetch',
235
- 'fileboost\\.net/',
220
+ 'fileboost',
236
221
  'filtrbox/',
237
- 'FindAnISP\\.com',
222
+ 'FindAnISP',
238
223
  'finder',
239
224
  'findlink',
240
225
  'findthatfile',
@@ -247,16 +232,16 @@ module.exports = [
247
232
  'flunky',
248
233
  'focusedsampler/',
249
234
  'FollowSite',
250
- 'forensiq\\.com',
235
+ 'forensiq',
251
236
  'francis/',
252
- 'freshdownload/x\\.xx',
253
237
  'FSurf',
254
238
  'FuseBulb\\.Com',
255
239
  'g00g1e\\.net',
256
240
  'galaxy\\.com',
257
241
  'gather',
258
242
  'gazz/x\\.x',
259
- 'geek-tools\\.org',
243
+ 'geek-tools',
244
+ 'Generator',
260
245
  'genieknows',
261
246
  'Genieo',
262
247
  'geourl/',
@@ -266,7 +251,7 @@ module.exports = [
266
251
  'ghostroutehunter/',
267
252
  'gigabaz/',
268
253
  'GigablastOpenSource',
269
- 'go-ahead-got-it/',
254
+ 'go-ahead-got-it',
270
255
  'Go!Zilla',
271
256
  'GoBeez',
272
257
  'goblin/',
@@ -279,7 +264,7 @@ module.exports = [
279
264
  'Google Web Preview',
280
265
  'Google Wireless Transcoder',
281
266
  'gopher',
282
- 'gossamer-threads\\.com',
267
+ 'gossamer-threads',
283
268
  'gozilla\\.com',
284
269
  'grapefx/',
285
270
  'gromit/',
@@ -291,13 +276,9 @@ module.exports = [
291
276
  'hack',
292
277
  'harvest',
293
278
  'haste/',
294
- 'Hatena Mobile Gateway/',
295
- 'Hatena Pagetitle Agent/',
296
- 'Hatena RSS/',
297
- 'hatenascreenshot/',
279
+ 'Hatena',
298
280
  'helix/',
299
281
  'heritrix',
300
- 'HiDownload',
301
282
  'hippias/',
302
283
  'HitList',
303
284
  'Holmes',
@@ -328,7 +309,7 @@ module.exports = [
328
309
  'InAGist',
329
310
  'incywincy',
330
311
  'index',
331
- 'info@pubblisito\\.com',
312
+ 'info@pubblisito',
332
313
  'infofly/',
333
314
  'infolink/',
334
315
  'infomine/',
@@ -365,9 +346,9 @@ module.exports = [
365
346
  'JetCar',
366
347
  'jigsaw/',
367
348
  'Journster',
368
- 'kalooga/kalooga-4\\.0-dev-datahouse',
349
+ 'kalooga',
369
350
  'Kapere',
370
- 'kasparek@naparek\\.cz',
351
+ 'kasparek@naparek',
371
352
  'KDDI-SN22',
372
353
  'ke_1\\.0/',
373
354
  'Kevin',
@@ -388,7 +369,6 @@ module.exports = [
388
369
  'LibertyW',
389
370
  'library',
390
371
  'libweb/clshttp',
391
- 'lightningdownload/',
392
372
  'Lincoln State Web Browser',
393
373
  'Link Commander',
394
374
  'Link Valet',
@@ -419,7 +399,7 @@ module.exports = [
419
399
  'mail\\.ru/',
420
400
  'mammoth/',
421
401
  'MantraAgent',
422
- 'MapoftheInternet\\.com',
402
+ 'MapoftheInternet',
423
403
  'Marketwave Hit List',
424
404
  'Martini',
425
405
  'Marvin',
@@ -450,7 +430,7 @@ module.exports = [
450
430
  'monitor',
451
431
  'monkeyagent',
452
432
  'monogol\\.de',
453
- 'MonTools\\.com',
433
+ 'MonTools',
454
434
  'moreover\\.com',
455
435
  'Morning Paper',
456
436
  'mowser\\.com',
@@ -503,7 +483,6 @@ module.exports = [
503
483
  'Page Valet/',
504
484
  'page2rss',
505
485
  'Pagebull',
506
- 'PagmIEDownload',
507
486
  'Panopta v',
508
487
  'panscient',
509
488
  'parasite',
@@ -541,7 +520,7 @@ module.exports = [
541
520
  'Powermarks',
542
521
  'pricepi\\.com',
543
522
  'prlog\\.ru',
544
- 'pro-sitemaps\\.com',
523
+ 'pro-sitemaps',
545
524
  'program',
546
525
  'Project XP5',
547
526
  'protopage/',
@@ -558,14 +537,14 @@ module.exports = [
558
537
  'QXW03018',
559
538
  'rabaz',
560
539
  'Radian6',
561
- 'RankSonicSiteAuditor/',
540
+ 'RankSonicSiteAuditor',
562
541
  'rating',
563
542
  'readability/',
564
543
  'reader',
565
- 'realdownload/',
566
544
  'reaper',
567
545
  'ReGet',
568
- 'responsecodetest/',
546
+ 'relevare',
547
+ 'responsecodetest',
569
548
  'retrieve',
570
549
  'rico/',
571
550
  'Riddler',
@@ -599,7 +578,6 @@ module.exports = [
599
578
  'seo-nastroj\\.cz',
600
579
  'SEOCentro',
601
580
  'SEOstats',
602
- 'Seznam screenshot-generator',
603
581
  'Shagseeker',
604
582
  'ShopWiki',
605
583
  'Siigle Orumcex',
@@ -610,11 +588,11 @@ module.exports = [
610
588
  'Site24x7',
611
589
  'SiteBar',
612
590
  'SiteCondor',
613
- 'siteexplorer\\.info',
591
+ 'siteexplorer',
614
592
  'SiteRecon',
615
593
  'SiteSnagger',
616
594
  'sitesucker/',
617
- 'SiteUptime\\.com',
595
+ 'SiteUptime',
618
596
  'SiteXpert',
619
597
  'sitexy\\.com',
620
598
  'skampy/',
@@ -625,14 +603,12 @@ module.exports = [
625
603
  'slider\\.com',
626
604
  'SlimerJS',
627
605
  'slurp',
628
- 'smartdownload/',
629
606
  'smartwit\\.com',
630
607
  'Snappy',
631
608
  'sniff',
632
609
  'sogou',
633
610
  'sohu agent',
634
611
  'somewhere',
635
- 'speeddownload/',
636
612
  'speedy',
637
613
  'speng',
638
614
  'Sphere Scout',
@@ -657,7 +633,7 @@ module.exports = [
657
633
  'sweep',
658
634
  'sygol\\.com',
659
635
  'synapse',
660
- 'syncit/x\\.x',
636
+ 'syncit',
661
637
  'szukacz/',
662
638
  'T-H-U-N-D-E-R-S-T-O-N-E',
663
639
  'tags2dir\\.com/',
@@ -668,10 +644,10 @@ module.exports = [
668
644
  'Teleport Pro',
669
645
  'teoma',
670
646
  'Teradex Mapper',
671
- 'test\\scertificate',
647
+ 'test certificate',
672
648
  'testing',
673
649
  'Theophrastus',
674
- 'timelyweb\\.com/',
650
+ 'timelyweb',
675
651
  'TinEye',
676
652
  'tkensaku',
677
653
  'tracker',
@@ -779,9 +755,7 @@ module.exports = [
779
755
  'wwwc/',
780
756
  'wwwoffle/',
781
757
  'wwwster/',
782
- 'wxDownload Fast',
783
758
  'xirq/',
784
- 'XML Sitemaps Generator',
785
759
  'xrl/',
786
760
  'Xylix',
787
761
  'Y!J-ASR',
@@ -802,7 +776,7 @@ module.exports = [
802
776
  'zedzo\\.digest/',
803
777
  'zeus',
804
778
  'Zippy',
805
- 'ZnajdzFoto/Image',
779
+ 'ZnajdzFoto',
806
780
  'Zotero',
807
781
  'ZyBorg'
808
782
  ];
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "is-ua-bot",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "useragent parsing for bot identification",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "test": "./node_modules/mocha/bin/mocha --timeout 10000"
7
+ "test": "mocha --timeout 10000"
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
@@ -25,7 +25,7 @@
25
25
  "url": "https://github.com/dtudury/is-ua-bot/issues"
26
26
  },
27
27
  "devDependencies": {
28
- "chai": "4.1.2",
29
- "mocha": "5.1.1"
28
+ "chai": "^6.2.2",
29
+ "mocha": "^11.3.0"
30
30
  }
31
31
  }
@@ -1,21 +0,0 @@
1
- <!-- START doctoc generated TOC please keep comment here to allow auto update -->
2
- <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3
- **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4
-
5
- - [Contributor Code of Conduct](#contributor-code-of-conduct)
6
- - [Version 0.4](#version-04)
7
-
8
- <!-- END doctoc generated TOC please keep comment here to allow auto update -->
9
-
10
- # Contributor Code of Conduct
11
- ## Version 0.4
12
-
13
- As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
14
-
15
- If any participant in this project has issues or takes exception with a contribution, they are obligated to provide constructive feedback and never resort to personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
16
-
17
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
18
-
19
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
20
-
21
- We promise to extend courtesy and respect to everyone involved in this project regardless of gender, gender identity, sexual orientation, ability or disability, ethnicity, religion, age, or level of experience.