worldstate-emitter 1.0.4 → 1.0.8

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 (76) hide show
  1. package/README.md +6 -6
  2. package/SECURITY.md +17 -0
  3. package/handlers/Twitter.js +2 -2
  4. package/handlers/Worldstate.js +16 -163
  5. package/handlers/events/arrayLike.js +20 -0
  6. package/handlers/events/checkOverrides.js +19 -0
  7. package/handlers/events/cycleLike.js +1 -1
  8. package/handlers/events/eKeyOverrides.js +28 -0
  9. package/handlers/events/kuva.js +31 -0
  10. package/handlers/events/objectLike.js +1 -1
  11. package/handlers/events/parse.js +72 -0
  12. package/package.json +63 -20
  13. package/resources/tweeters.json +3 -3
  14. package/utilities/WSCache.js +5 -1
  15. package/.codeclimate.yml +0 -13
  16. package/.eslintrc.json +0 -33
  17. package/.github/.stale.yml +0 -13
  18. package/.github/CODEOWNERS +0 -1
  19. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -27
  20. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  21. package/.github/PULL_REQUEST_TEMPLATE.md +0 -17
  22. package/.github/update_docs.sh +0 -22
  23. package/.snyk +0 -8
  24. package/docs/RSS.html +0 -424
  25. package/docs/TwitterCache.html +0 -900
  26. package/docs/WSCache.html +0 -734
  27. package/docs/Worldstate.html +0 -1294
  28. package/docs/classes.list.html +0 -344
  29. package/docs/fonts/glyphicons-halflings-regular.eot +0 -0
  30. package/docs/fonts/glyphicons-halflings-regular.svg +0 -288
  31. package/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
  32. package/docs/fonts/glyphicons-halflings-regular.woff +0 -0
  33. package/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
  34. package/docs/global.html +0 -1882
  35. package/docs/handlers_RSS.js.html +0 -321
  36. package/docs/handlers_Twitter.js.html +0 -431
  37. package/docs/handlers_Worldstate.js.html +0 -559
  38. package/docs/img/glyphicons-halflings-white.png +0 -0
  39. package/docs/img/glyphicons-halflings.png +0 -0
  40. package/docs/index.html +0 -402
  41. package/docs/quicksearch.html +0 -31
  42. package/docs/scripts/docstrap.lib.js +0 -11
  43. package/docs/scripts/fulltext-search-ui.js +0 -89
  44. package/docs/scripts/fulltext-search.js +0 -36
  45. package/docs/scripts/lunr.min.js +0 -6
  46. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  47. package/docs/scripts/prettify/jquery.min.js +0 -6
  48. package/docs/scripts/prettify/lang-css.js +0 -21
  49. package/docs/scripts/prettify/prettify.js +0 -496
  50. package/docs/scripts/sunlight.js +0 -1157
  51. package/docs/scripts/toc.js +0 -203
  52. package/docs/styles/darkstrap.css +0 -960
  53. package/docs/styles/prettify-tomorrow.css +0 -132
  54. package/docs/styles/site.cerulean.css +0 -7008
  55. package/docs/styles/site.cosmo.css +0 -7061
  56. package/docs/styles/site.cyborg.css +0 -7048
  57. package/docs/styles/site.darkly.css +0 -7171
  58. package/docs/styles/site.darkstrap.css +0 -5638
  59. package/docs/styles/site.dibs-bootstrap.css +0 -5899
  60. package/docs/styles/site.flatly.css +0 -7147
  61. package/docs/styles/site.journal.css +0 -6973
  62. package/docs/styles/site.lumen.css +0 -7298
  63. package/docs/styles/site.paper.css +0 -7623
  64. package/docs/styles/site.readable.css +0 -6997
  65. package/docs/styles/site.sandstone.css +0 -7035
  66. package/docs/styles/site.simplex.css +0 -7023
  67. package/docs/styles/site.slate.css +0 -7343
  68. package/docs/styles/site.spacelab.css +0 -7055
  69. package/docs/styles/site.superhero.css +0 -7131
  70. package/docs/styles/site.united.css +0 -6895
  71. package/docs/styles/site.yeti.css +0 -7195
  72. package/docs/styles/sunlight.dark.css +0 -345
  73. package/docs/styles/sunlight.default.css +0 -344
  74. package/docs/utilities_WSCache.js.html +0 -322
  75. package/docs/utilities_index.js.html +0 -338
  76. package/jsdoc-config.json +0 -35
@@ -1 +0,0 @@
1
- * @WFCD/node-libraries
@@ -1,27 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: ''
5
- labels: 'Severity3: Minor, Status: Pending, Scope: Emitting, Type: Bug'
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Describe the bug**
11
- A clear and concise description of what the bug is.
12
-
13
- **To Reproduce**
14
- Steps to reproduce the behavior:
15
- 1. Go to '...'
16
- 2. Click on '....'
17
- 3. Scroll down to '....'
18
- 4. See error
19
-
20
- **Expected behavior**
21
- A clear and concise description of what you expected to happen.
22
-
23
- **Additional context**
24
- Add any other context about the problem here.
25
-
26
- **Current Code Usage**
27
- Give us a nice code snippet if possible
@@ -1,20 +0,0 @@
1
- ---
2
- name: Feature request
3
- about: Suggest an idea for this project
4
- title: ''
5
- labels: 'Scope: Framework, Status: Pending, Type: Feature Request'
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Is your feature request related to a problem? Please describe.**
11
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
-
13
- **Describe the solution you'd like**
14
- A clear and concise description of what you want to happen.
15
-
16
- **Describe alternatives you've considered**
17
- A clear and concise description of any alternative solutions or features you've considered.
18
-
19
- **Additional context**
20
- Add any other context or screenshots about the feature request here.
@@ -1,17 +0,0 @@
1
- ---
2
- name: Pull request
3
- about: Help by contributing to our code!
4
- title: ''
5
- labels: 'Severity3: Minor, Status: Pending, Scope: Framework, Type: Enhancement'
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Summary**
11
-
12
- ---
13
- **Resolves issue**
14
- resolves #
15
-
16
- ---
17
- **Screenshots/examples**
@@ -1,22 +0,0 @@
1
- #!/bin/bash
2
- setup_git() {
3
- git checkout ${TRAVIS_BRANCH}
4
- git config --global user.email "travis@travis-ci.com"
5
- git config --global user.name "Travis CI"
6
- git config --global push.default current
7
- }
8
-
9
- publish_docs() {
10
- git add docs/.
11
- git commit -m "chore(automated): Docs Update ${TRAVIS_BUILD_NUMBER} [ci skip]"
12
- git push https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
13
- }
14
-
15
- if [ $(git tag --points-at HEAD) ]; then
16
- setup_git
17
- echo Regenerating documentation:
18
- npm run build-docs
19
- publish_docs
20
- else
21
- echo Skipping doc regeneration since no new tag was created.
22
- fi
package/.snyk DELETED
@@ -1,8 +0,0 @@
1
- # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2
- version: v1.14.1
3
- ignore: {}
4
- # patches apply the minimum changes required to fix a vulnerability
5
- patch:
6
- SNYK-JS-LODASH-567746:
7
- - winston > async > lodash:
8
- patched: '2020-04-30T13:12:05.694Z'
package/docs/RSS.html DELETED
@@ -1,424 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html lang="en">
4
- <head>
5
- <meta charset="utf-8">
6
- <meta name="viewport" content="width=device-width">
7
- <title>Worldstate Emitter Class: RSS</title>
8
-
9
- <!--[if lt IE 9]>
10
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
- <![endif]-->
12
- <link type="text/css" rel="stylesheet" href="styles/sunlight.dark.css">
13
-
14
- <link type="text/css" rel="stylesheet" href="styles/site.cosmo.css">
15
-
16
- </head>
17
-
18
- <body>
19
-
20
- <div class="navbar navbar-default navbar-fixed-top navbar-inverse">
21
- <div class="container">
22
- <div class="navbar-header">
23
- <a class="navbar-brand" href="index.html">Worldstate Emitter</a>
24
- <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
25
- <span class="icon-bar"></span>
26
- <span class="icon-bar"></span>
27
- <span class="icon-bar"></span>
28
- </button>
29
- </div>
30
- <div class="navbar-collapse collapse" id="topNavigation">
31
- <ul class="nav navbar-nav">
32
-
33
- <li class="dropdown">
34
- <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
35
- <ul class="dropdown-menu inline">
36
- <li><a href="RSS.html">RSS</a></li><li><a href="TwitterCache.html">TwitterCache</a></li><li><a href="Worldstate.html">Worldstate</a></li><li><a href="WSCache.html">WSCache</a></li>
37
- </ul>
38
- </li>
39
-
40
- <li class="dropdown">
41
- <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
42
- <ul class="dropdown-menu inline">
43
- <li><a href="global.html#arrayLike">arrayLike</a></li><li><a href="global.html#between">between</a></li><li><a href="global.html#checkOverrides">checkOverrides</a></li><li><a href="global.html#fromNow">fromNow</a></li><li><a href="global.html#groupBy">groupBy</a></li><li><a href="global.html#initCycleStart">initCycleStart</a></li><li><a href="global.html#kuvaProcessing">kuvaProcessing</a></li><li><a href="global.html#lastUpdated">lastUpdated</a></li><li><a href="global.html#parseNew">parseNew</a></li>
44
- </ul>
45
- </li>
46
-
47
- </ul>
48
-
49
- <div class="col-sm-3 col-md-3">
50
- <form class="navbar-form" role="search">
51
- <div class="input-group">
52
- <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
53
- <div class="input-group-btn">
54
- <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
55
- </div>
56
- </div>
57
- </form>
58
- </div>
59
-
60
- </div>
61
-
62
- </div>
63
- </div>
64
-
65
-
66
- <div class="container" id="toc-content">
67
- <div class="row">
68
-
69
-
70
- <div class="col-md-8">
71
-
72
- <div id="main">
73
-
74
-
75
- <h1 class="page-title">Class: RSS</h1>
76
- <section>
77
-
78
- <header>
79
-
80
- <h2>
81
- RSS
82
- </h2>
83
-
84
- <div class="class-description">RSS Emitter, leverages [rss-feed-emitter](https://npmjs.org/package/rss-feed-emitter)</div>
85
-
86
-
87
- </header>
88
-
89
-
90
- <article>
91
- <div class="container-overview">
92
-
93
-
94
- <hr>
95
- <dt>
96
- <h4 class="name" id="RSS"><span class="type-signature"></span>new RSS(eventEmitter)</h4>
97
-
98
-
99
- </dt>
100
- <dd>
101
-
102
-
103
- <div class="description">
104
- Set up emitting events for warframe forum entries
105
- </div>
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
- <h5>Parameters:</h5>
115
-
116
-
117
- <table class="params table table-striped">
118
- <thead>
119
- <tr>
120
-
121
- <th>Name</th>
122
-
123
-
124
- <th>Type</th>
125
-
126
-
127
-
128
-
129
-
130
- <th class="last">Description</th>
131
- </tr>
132
- </thead>
133
-
134
- <tbody>
135
-
136
-
137
- <tr>
138
-
139
- <td class="name"><code>eventEmitter</code></td>
140
-
141
-
142
- <td class="type">
143
-
144
-
145
- <span class="param-type">EventEmitter</span>
146
-
147
-
148
-
149
-
150
- </td>
151
-
152
-
153
-
154
-
155
-
156
- <td class="description last">Emitter to send events from</td>
157
- </tr>
158
-
159
-
160
- </tbody>
161
- </table>
162
-
163
-
164
-
165
-
166
- <dl class="details">
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
-
196
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
197
- <dd class="tag-source">
198
- <ul class="dummy">
199
- <li>
200
- <a href="handlers_RSS.js.html">handlers/RSS.js</a>,
201
- <a href="handlers_RSS.js.html#sunlight-1-line-16">line 16</a>
202
- </li>
203
- </ul>
204
- </dd>
205
-
206
-
207
-
208
-
209
-
210
-
211
-
212
- </dl>
213
-
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
- </dd>
229
-
230
-
231
- </div>
232
-
233
-
234
-
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
- </article>
251
-
252
- </section>
253
-
254
-
255
-
256
-
257
- </div>
258
- </div>
259
-
260
- <div class="clearfix"></div>
261
-
262
-
263
- <div class="col-md-3">
264
- <div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
265
- </div>
266
-
267
-
268
- </div>
269
- </div>
270
-
271
-
272
- <div class="modal fade" id="searchResults">
273
- <div class="modal-dialog">
274
- <div class="modal-content">
275
- <div class="modal-header">
276
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
277
- <h4 class="modal-title">Search results</h4>
278
- </div>
279
- <div class="modal-body"></div>
280
- <div class="modal-footer">
281
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
282
- </div>
283
- </div><!-- /.modal-content -->
284
- </div><!-- /.modal-dialog -->
285
- </div>
286
-
287
-
288
- <footer>
289
-
290
-
291
- <span class="copyright">
292
- ©2020, WFCD
293
- </span>
294
-
295
- <span class="jsdoc-message">
296
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a>
297
-
298
- on Monday, August 10th 2020, 15:25:12
299
-
300
- using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
301
- </span>
302
- </footer>
303
-
304
- <script src="scripts/docstrap.lib.js"></script>
305
- <script src="scripts/toc.js"></script>
306
-
307
- <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
308
-
309
-
310
- <script>
311
- $( function () {
312
- $( "[id*='$']" ).each( function () {
313
- var $this = $( this );
314
-
315
- $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
316
- } );
317
-
318
- $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
319
- var $this = $( this );
320
-
321
- var example = $this.find( "code" );
322
- exampleText = example.html();
323
- var lang = /{@lang (.*?)}/.exec( exampleText );
324
- if ( lang && lang[1] ) {
325
- exampleText = exampleText.replace( lang[0], "" );
326
- example.html( exampleText );
327
- lang = lang[1];
328
- } else {
329
- var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
330
- lang = langClassMatch ? langClassMatch[1] : "javascript";
331
- }
332
-
333
- if ( lang ) {
334
-
335
- $this
336
- .addClass( "sunlight-highlight-" + lang )
337
- .addClass( "linenums" )
338
- .html( example.html() );
339
-
340
- }
341
- } );
342
-
343
- Sunlight.highlightAll( {
344
- lineNumbers : true,
345
- showMenu : true,
346
- enableDoclinks : true
347
- } );
348
-
349
- $.catchAnchorLinks( {
350
- navbarOffset: 10
351
- } );
352
- $( "#toc" ).toc( {
353
- anchorName : function ( i, heading, prefix ) {
354
- return $( heading ).attr( "id" ) || ( prefix + i );
355
- },
356
- selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
357
- showAndHide : false,
358
- smoothScrolling: true
359
- } );
360
-
361
- $( "#main span[id^='toc']" ).addClass( "toc-shim" );
362
- $( '.dropdown-toggle' ).dropdown();
363
-
364
- $( "table" ).each( function () {
365
- var $this = $( this );
366
- $this.addClass('table');
367
- } );
368
-
369
- } );
370
- </script>
371
-
372
-
373
-
374
- <!--Navigation and Symbol Display-->
375
-
376
- <script>
377
- $( function () {
378
- $( '#main' ).localScroll( {
379
- offset : { top : 60 } //offset by the height of your header (give or take a few px, see what works for you)
380
- } );
381
- $( "dt.name" ).each( function () {
382
- var $this = $( this ).find("h4");
383
- var icon = $( "<i/>" ).addClass( "icon-plus-sign" ).addClass( "pull-right" ).addClass( "icon-white" );
384
- var dt = $(this);
385
- var children = dt.next( "dd" );
386
-
387
- dt.prepend( icon ).css( {cursor : "pointer"} );
388
- dt.addClass( "member-collapsed" ).addClass( "member" );
389
-
390
-
391
- children.hide();
392
-
393
- dt.children().on( "click", function () {
394
- children = dt.next( "dd" );
395
- children.slideToggle( "fast", function () {
396
-
397
- if ( children.is( ":visible" ) ) {
398
- icon.addClass( "icon-minus-sign" ).removeClass( "icon-plus-sign" ).removeClass( "icon-white" );
399
- dt.addClass( "member-open" ).animate( "member-collapsed" );
400
- } else {
401
- icon.addClass( "icon-plus-sign" ).removeClass( "icon-minus-sign" ).addClass( "icon-white" );
402
- dt.addClass( "member-collapsed" ).removeClass( "member-open" );
403
- }
404
- } );
405
- } );
406
-
407
- } );
408
- } );
409
- </script>
410
-
411
-
412
- <!--Google Analytics-->
413
-
414
-
415
-
416
- <script type="text/javascript">
417
- $(document).ready(function() {
418
- SearcherDisplay.init();
419
- });
420
- </script>
421
-
422
-
423
- </body>
424
- </html>