msgpackr 1.4.6 → 1.5.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.
@@ -1,26 +0,0 @@
1
- {"widget": {
2
- "debug": "on",
3
- "window": {
4
- "title": "Sample Konfabulator Widget",
5
- "name": "main_window",
6
- "width": 500,
7
- "height": 500
8
- },
9
- "image": {
10
- "src": "Images/Sun.png",
11
- "name": "sun1",
12
- "hOffset": 250,
13
- "vOffset": 250,
14
- "alignment": "center"
15
- },
16
- "text": {
17
- "data": "Click Here",
18
- "size": 36,
19
- "style": "bold",
20
- "name": "text1",
21
- "hOffset": 250,
22
- "vOffset": 100,
23
- "alignment": "center",
24
- "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"
25
- }
26
- }}
@@ -1,22 +0,0 @@
1
- {
2
- "glossary": {
3
- "title": "example glossary",
4
- "GlossDiv": {
5
- "title": "S",
6
- "GlossList": {
7
- "GlossEntry": {
8
- "ID": "SGML",
9
- "SortAs": "SGML",
10
- "GlossTerm": "Standard Generalized Markup Language",
11
- "Acronym": "SGML",
12
- "Abbrev": "ISO 8879:1986",
13
- "GlossDef": {
14
- "para": "A meta-markup language, used to create markup languages such as DocBook.",
15
- "GlossSeeAlso": ["GML", "XML"]
16
- },
17
- "GlossSee": "markup"
18
- }
19
- }
20
- }
21
- }
22
- }
@@ -1 +0,0 @@
1
- {"metadata":{"Designs":["Randomized Controlled Trial"],"Types":[],"BriefSummary":"To determine the efficacy, long-term safety, and tolerability of alirocumab 300 mg every 4\n weeks (Q4W), in comparison with placebo, as well as its potential as a starting regimen. The\n dose regimen of 75 mg every 2 weeks (Q2W), as used in other studies, was added as a\n calibrator.","Abstract":"To determine the efficacy, long-term safety, and tolerability of alirocumab 300 mg every 4\n weeks (Q4W), in comparison with placebo, as well as its potential as a starting regimen. The\n dose regimen of 75 mg every 2 weeks (Q2W), as used in other studies, was added as a\n calibrator.","Acronym":null,"ArticleId":"Qy3gwKWSoaWRmbmFEQA","Authors":null,"CochraneID":null,"Confidential":false,"CorporateAuthor":null,"Country":"Bulgaria, Canada, Hungary, Israel, Norway, Slovakia, United Kingdom, United States","CustomData":null,"DatabaseType":"ClinicalTrials.gov","DOI":null,"EmbaseAccessionNumber":null,"Emtree":null,"ErrataText":null,"FullTextURL":null,"Institution":null,"ISSN":null,"Issue":null,"JournalTitle":null,"MedlineID":null,"MeSH":"Hypercholesterolemia|Antibodies, Monoclonal","Pages":null,"ParentChildStatus":null,"ParentID":null,"PublicationDate":"March 21, 2017","PublicationYear":2017,"PubType":null,"ReferenceStudy":null,"SecondarySourceID":null,"Source":"Regeneron Pharmaceuticals","SourceReferenceId":"NCT01926782","TaStudyDesign":"Randomized","Title":"A Randomized, Double-Blind, Placebo-Controlled Study to Evaluate the Efficacy and Safety of an Every Four Weeks Treatment Regimen of Alirocumab in Patients With Primary Hypercholesterolemia","TrialOutcome":null,"Volume":null,"Id":179246831,"Created":"2020-04-10T14:48:20.4384957Z","VersionNo":2,"ExtractData":null,"Digitized":true,"IsRapidExtract":false,"IsUploaded":false},"design":"Randomized Controlled Trial","conditions":[{"label":"Cholesterol Total Increased","id":"SUE_c"}],"phase":3,"name":"NCT01926782","trialIds":["NCT01926782"],"acronyms":[],"outcomeCount":156,"id":179246831,"groups":[{"Id":"4r","RefId":"B5|O2~Alirocumab 75 mg Q2W/Up 150 mg Q2W Without Concomitant Statin","OriginalName":"Alirocumab 75 mg Q2W/Up 150 mg Q2W Without Concomitant Statin","N":37,"age":59.3,"ageSD":11.3,"male":37.83783783783784,"Interventions":[{"termIds":[["SUBYEL","SUB_Oc"],["SUNUVb"]]}],"analyzeAs":"Alirocumab","analyzableScore":1.0717734625362931,"matchingScore":0},{"Id":"zB","RefId":"B6|O3~Alirocumab 300 mg Q4W/Up 150 mg Q2W Without Concomitant Statin","OriginalName":"Alirocumab 300 mg Q4W/Up 150 mg Q2W Without Concomitant Statin","N":146,"age":59.2,"ageSD":10.8,"male":45.205479452054796,"Interventions":[{"termIds":[["SUBYEL","SUB_Oc"]]}],"analyzeAs":"Statins","analyzableScore":1.0717734625362931,"matchingScore":0},{"Id":"3!","RefId":"B4|O1~Placebo Q2W Without Concomitant Statin","OriginalName":"Placebo Q2W Without Concomitant Statin","N":73,"age":59.4,"ageSD":10.2,"male":54.794520547945204,"Interventions":[{"termIds":[["SUGeLS"],["SUBYEL","SUB_Oc"]]}],"analyzeAs":"Control","analyzableScore":1.2020833333333334,"matchingScore":0},{"Id":"tv","RefId":"E3","OriginalName":"Alirocumab 300 mg Q4W/Up 150 mg Q2W","Interventions":[{"termIds":[["SUCO54","SUNUVb"]]}]},{"Id":"jt","RefId":"B3|O3~Alirocumab 300 mg Q4W/Up 150 mg Q2W With Concomitant Statin","OriginalName":"Alirocumab 300 mg Q4W/Up 150 mg Q2W With Concomitant Statin","N":312,"age":61.6,"ageSD":10,"male":60.8974358974359,"Interventions":[{"termIds":[["SUBYEL","SUB_Oc"]]}]},{"Id":"5!","RefId":"E2","OriginalName":"Alirocumab 75 mg Q2W/Up 150 mg Q2W","Interventions":[{"termIds":[["SUNUVb"]]}]},{"Id":"4E","RefId":"B2|O2~Alirocumab 75 mg Q2W/Up 150 mg Q2W With Concomitant Statin","OriginalName":"Alirocumab 75 mg Q2W/Up 150 mg Q2W With Concomitant Statin","N":78,"age":60.7,"ageSD":9.1,"male":65.38461538461539,"Interventions":[{"termIds":[["SUBYEL","SUB_Oc"],["SUNUVb"]]}]},{"Id":"i4","Interventions":[{"Id":"Ya","Name":178613599,"Treatments":[{"Id":"((","Phase":"k)"}],"Type":"Drug","termIds":[["SUGeLS"],["SUNUVb"]],"terms":[["Placebo"],["Alirocumab"]]},{"Id":"o)","Name":2159990,"Treatments":[{"Id":"1$","Phase":"k)"}],"Type":"Drug","termIds":[["SUBYEL"]],"terms":[["Statins"]]}],"RefId":"E1|Placebo Q2W","OriginalName":"Placebo Q2W"},{"Id":"Ls","RefId":"B1|O1~Placebo Q2W With Concomitant Statin","OriginalName":"Placebo Q2W With Concomitant Statin","N":157,"age":61.6,"ageSD":9.7,"male":64.3312101910828,"Interventions":[{"termIds":[["SUGeLS"],["SUBYEL","SUB_Oc"]]}]}],"hasDocData":true,"hasRapidExtract":false,"N":803,"queryScore":1.4868329805051381,"matchingScore":7.960635921410255,"score":22.084654254966498,"outcomes":[{"id":"179246387","type":"Change","unit":"%","termIds":[["SUF0R","SUBskP"]],"quantifiers":[],"name":"Calculated LDL-C in Not Receiving Concomitant Statin Therapy - On-Treatment Analysis","cells":[{"number":-0.4,"unit":"%","group":"3!","varType":"se","N":70,"se":2,"sd":16.73},{"number":-54.6,"unit":"%","group":"4r","varType":"se","N":37,"se":2.8,"sd":17.03},{"number":-59.4,"unit":"%","group":"zB","varType":"se","N":141,"se":1.4,"sd":16.62}],"time":{"Id":67122072,"Low":{"Value":"Baseline"},"High":{"Number":24,"Unit":"wk"},"Type":"Total","days":168,"description":"24wk"},"score":2.08,"matchingTerm":"SUF0R","suggestedPositive":false,"sourceUnit":"%"},{"id":"179246389","type":"Change","unit":"%","termIds":[["SUF0R","SUBskP"]],"quantifiers":[],"name":"Calculated LDL-C in Receiving Concomitant Statin Therapy - On-Treatment Analysis","cells":[{"number":-0.3,"unit":"%","group":"Ls","varType":"se","N":151,"se":2.1,"sd":25.81},{"number":-55.1,"unit":"%","group":"4E","varType":"se","N":75,"se":3,"sd":25.98},{"number":-62.3,"unit":"%","group":"jt","varType":"se","N":302,"se":1.5,"sd":26.07}],"time":{"Id":67122072,"Low":{"Value":"Baseline"},"High":{"Number":24,"Unit":"wk"},"Type":"Total","days":168,"description":"24wk"},"score":2.08,"matchingTerm":"SUF0R","suggestedPositive":false,"sourceUnit":"%"},{"id":"179246393","type":"Change","unit":"%","termIds":[["SUF0R","SUBskP"]],"quantifiers":[],"name":"Calculated LDL-C in Not Receiving Concomitant Statin Therapy - On-Treatment Analysis","cells":[{"number":-0.5,"unit":"%","group":"3!","varType":"se","N":70,"se":2,"sd":16.73},{"number":-53.9,"unit":"%","group":"4r","varType":"se","N":37,"se":2.7,"sd":16.42},{"number":-60,"unit":"%","group":"zB","varType":"se","N":141,"se":1.4,"sd":16.62}],"time":{"Id":67122069,"Low":{"Value":"Baseline"},"High":{"Number":12,"Unit":"wk"},"Type":"Total","days":84,"description":"12wk"},"score":2.08,"matchingTerm":"SUF0R","suggestedPositive":false,"sourceUnit":"%"},{"id":"179246394","type":"Change","unit":"%","termIds":[["SUF0R","SUBskP"]],"quantifiers":[],"name":"Calculated LDL-C in Receiving Concomitant Statin Therapy - On-Treatment Analysis","cells":[{"number":1.4,"unit":"%","group":"Ls","varType":"se","N":151,"se":1.9,"sd":23.35},{"number":-47.3,"unit":"%","group":"4E","varType":"se","N":75,"se":2.8,"sd":24.25},{"number":-58,"unit":"%","group":"jt","varType":"se","N":302,"se":1.4,"sd":24.33}],"time":{"Id":67122069,"Low":{"Value":"Baseline"},"High":{"Number":12,"Unit":"wk"},"Type":"Total","days":84,"description":"12wk"},"score":2.08,"matchingTerm":"SUF0R","suggestedPositive":false,"sourceUnit":"%"}],"characteristics":[{"id":"179246354","type":"Binary","isCharacteristic":true,"termIds":[["SUE_c","SUCbN","SUyJj"]],"quantifiers":[],"name":"Patients not having adequate control of their hypercholesterolemia based on their individual level of CVD risk","cells":[],"number":100}],"outcomesScore":18.97947630112307}
@@ -1,12 +0,0 @@
1
- {
2
- "name": "test",
3
- "greeting": "Hello, World!",
4
- "flag": true,
5
- "littleNum": 3,
6
- "biggerNum": 32254435,
7
- "decimal":1.332232,
8
- "bigDecimal": 3.5522E35,
9
- "negative": -54,
10
- "aNull": null,
11
- "more": "another string"
12
- }
package/tests/floats.json DELETED
@@ -1 +0,0 @@
1
- [0.53232,542.5325,3252200000,6643.2,0.000000432,1.992e20,5.1,9.3242e-20,525.235,8899.32,522.42,2342.43,12211.1,8888.3,0.000432]
package/tests/index.html DELETED
@@ -1,28 +0,0 @@
1
- <html>
2
- <head>
3
- <style>
4
- body {
5
- font-family: sans-serif;
6
- }
7
- h1 {
8
- font-size: 18px;
9
- }
10
- h2 {
11
- font-size: 16px;
12
- }
13
- </style>
14
- </head>
15
- <body>
16
- <script src="../node_modules/mocha/mocha.js"></script>
17
- <script src="../node_modules/chai/chai.js"></script>
18
- <script>
19
- mocha.setup('tdd')
20
- </script>
21
- <script src="../dist/index.js"></script>
22
- <script src="../dist/test.js"></script>
23
- <div id="mocha"></div>
24
- <script>
25
- mocha.run()
26
- </script>
27
- </body>
28
- </html>
@@ -1,231 +0,0 @@
1
- [
2
- {
3
- "_id":"56490c18d9275a0003000000",
4
- "author":null,
5
- "created_at":"2015-11-15T22:50:00.170Z",
6
- "description":"A weekly discussion by Ruby developers about programming, life, and careers.",
7
- "image":"https://s3.amazonaws.com/devchat.tv/ruby-rogues-thumb.jpg",
8
- "keywords":[
9
- "Business",
10
- "Careers",
11
- "Technology",
12
- "Software How-To"
13
- ],
14
- "language":"en",
15
- "permalink":"http://rubyrogues.com/",
16
- "published":true,
17
- "title":"The Ruby Rogues",
18
- "updated_at":"2015-11-15T22:50:06.565Z",
19
- "url":"http://feeds.feedwrench.com/RubyRogues.rss"
20
- },
21
- {
22
- "_id":"56490d6ad9275a00030000eb",
23
- "author":null,
24
- "created_at":"2015-11-15T22:55:38.074Z",
25
- "description":"Um podcast feito para programadores e empreendedores.",
26
- "image":"http://www.grokpodcast.com/images/logo_itunes_grande.png",
27
- "keywords":[
28
- "Technology",
29
- "Podcasting",
30
- "Business",
31
- "Careers"
32
- ],
33
- "language":"pt-BR",
34
- "permalink":"http://www.grokpodcast.com/",
35
- "published":true,
36
- "title":"Grok Podcast",
37
- "updated_at":"2015-11-15T22:55:47.498Z",
38
- "url":"http://www.grokpodcast.com/atom.xml"
39
- },
40
- {
41
- "_id":"564a1c30b1191d0003000000",
42
- "author":null,
43
- "created_at":"2015-11-16T18:10:56.610Z",
44
- "description":"The Web Platform Podcast is a developer discussion that dives deep into ‘all things’ web. We discuss everything from developing for mobile to building HDTV software. From wearables \u0026 robotics to user experience \u0026 mentoring, we bring to our listeners everything related to building products \u0026 services for The Web Platform of today, tomorrow, and beyond.",
45
- "image":"http://static.libsyn.com/p/assets/f/7/2/0/f7208dae16d0543e/twp-logo-flat-blue-square.png",
46
- "keywords":[
47
- "Technology",
48
- "Software How-To",
49
- "Tech News"
50
- ],
51
- "language":"en",
52
- "permalink":"http://thewebplatform.libsyn.com/webpage",
53
- "published":true,
54
- "title":"The Web Platform Podcast",
55
- "updated_at":"2015-11-16T18:11:02.022Z",
56
- "url":"http://thewebplatform.libsyn.com//rss"
57
- },
58
- {
59
- "_id":"564a1de3b1191d0003000047",
60
- "author":null,
61
- "created_at":"2015-11-16T18:18:11.854Z",
62
- "description":"Developer Tea is a podcast for web and software developers hosted by a developer that you can listen to in less than 10 minutes. The show will cover a wide variety of topics related to the career of being a developer. We hope you'll take the topics from this podcast and continue the conversation, either online or in person with your peers. The show is hosted by Jonathan Cutrell, Director of Technology at Whiteboard and the author of Hacking the Impossible, a developer's guide to working with visionaries. :: Twitter: @developertea @jcutrell :: Email: developertea@gmail.com",
63
- "image":"http://simplecast-media.s3.amazonaws.com/podcast/image/363/1440374119-artwork.jpg",
64
- "keywords":[
65
- "Technology",
66
- "Business",
67
- "Careers",
68
- "Society \u0026 Culture"
69
- ],
70
- "language":"en-us",
71
- "permalink":"http://www.developertea.com/",
72
- "published":true,
73
- "title":"Developer Tea",
74
- "updated_at":"2015-11-16T23:00:23.224Z",
75
- "url":"http://feeds.feedburner.com/developertea"
76
- },
77
- {
78
- "_id":"564a3163e51cc0000300004c",
79
- "author":null,
80
- "created_at":"2015-11-16T19:41:23.436Z",
81
- "description":"Conference talks from the Remote Conferences series put on by Devchat.tv",
82
- "image":"https://s3.amazonaws.com/devchat.tv/RemoteConfs.jpg",
83
- "keywords":[
84
-
85
- ],
86
- "language":"en",
87
- "permalink":"http://remoteconfs.com/",
88
- "published":true,
89
- "title":"Remote Conferences - Audio",
90
- "updated_at":"2015-11-16T19:41:24.367Z",
91
- "url":"http://feeds.feedwrench.com/remoteconfs-audio.rss"
92
- },
93
- {
94
- "_id":"564a315de51cc00003000000",
95
- "author":null,
96
- "created_at":"2015-11-16T19:41:17.492Z",
97
- "description":"Weekly discussion by freelancers and professionals about running a business, finding clients, marketing, and lifestyle related to being a freelancer.",
98
- "image":"https://s3.amazonaws.com/devchat.tv/freelancers_show_thumb.jpg",
99
- "keywords":[
100
- "Business",
101
- "Careers",
102
- "Management \u0026amp; Marketing",
103
- "Education",
104
- "Training"
105
- ],
106
- "language":"en",
107
- "permalink":"http://www.freelancersshow.com/",
108
- "published":true,
109
- "title":"The Freelancers' Show",
110
- "updated_at":"2015-11-16T19:41:27.459Z",
111
- "url":"http://feeds.feedwrench.com/TheFreelancersShow.rss"
112
- },
113
- {
114
- "_id":"564a3169e51cc000030000cd",
115
- "author":null,
116
- "created_at":"2015-11-16T19:41:29.686Z",
117
- "description":"React Native Radio Podcast",
118
- "image":"https://s3.amazonaws.com/devchat.tv/react-native-radio-album-art.jpg",
119
- "keywords":[
120
-
121
- ],
122
- "language":"en",
123
- "permalink":"http://devchat.tv/react-native-radio",
124
- "published":true,
125
- "title":"React Native Radio",
126
- "updated_at":"2015-11-16T19:41:29.999Z",
127
- "url":"http://feeds.feedwrench.com/react-native-radio.rss"
128
- },
129
- {
130
- "_id":"564a316fe51cc000030000d4",
131
- "author":null,
132
- "created_at":"2015-11-16T19:41:35.937Z",
133
- "description":"The iOS Development Podcast",
134
- "image":"https://s3.amazonaws.com/devchat.tv/iPhreaks-thumb.jpg",
135
- "keywords":[
136
- "Technology",
137
- "Tech News",
138
- "Software How-To"
139
- ],
140
- "language":"en",
141
- "permalink":"http://iphreaksshow.com/",
142
- "published":true,
143
- "title":"The iPhreaks Show",
144
- "updated_at":"2015-11-16T19:41:43.700Z",
145
- "url":"http://feeds.feedwrench.com/iPhreaks.rss"
146
- },
147
- {
148
- "_id":"564a3184e51cc00003000156",
149
- "author":null,
150
- "created_at":"2015-11-16T19:41:56.874Z",
151
- "description":"Weekly podcast discussion about Javascript on the front and back ends. Also discuss programming practices, coding environments, and the communities related to the technology.",
152
- "image":"https://s3.amazonaws.com/devchat.tv/javascript_jabber_thumb.jpg",
153
- "keywords":[
154
- "Education",
155
- "Training",
156
- "Technology",
157
- "Software How-To"
158
- ],
159
- "language":"en",
160
- "permalink":"http://javascriptjabber.com/",
161
- "published":true,
162
- "title":"JavaScript Jabber",
163
- "updated_at":"2015-11-16T19:42:24.692Z",
164
- "url":"http://feeds.feedwrench.com/JavaScriptJabber.rss"
165
- },
166
- {
167
- "_id":"564a31dee51cc00003000210",
168
- "author":null,
169
- "created_at":"2015-11-16T19:43:26.390Z",
170
- "description":"Each week we explore an aspect of web security.",
171
- "image":"http://devchat.cachefly.net/websecwarriors/logo_3000x3000.jpeg",
172
- "keywords":[
173
-
174
- ],
175
- "language":"en",
176
- "permalink":"http://websecuritywarriors.com/",
177
- "published":true,
178
- "title":"Web Security Warriors",
179
- "updated_at":"2015-11-16T19:43:28.133Z",
180
- "url":"http://feeds.feedwrench.com/websecwarriors.rss"
181
- },
182
- {
183
- "_id":"564a3ddbe51cc00003000217",
184
- "author":null,
185
- "created_at":"2015-11-16T20:34:35.791Z",
186
- "description":"Podcasts produzidos de 2008 a 2010 sobre jogos e todos os tipos de assuntos relacionados ao universo e cultura dos vídeogames.",
187
- "image":"http://jogabilida.de/wp-content/uploads/2011/12/nl-podcast.png",
188
- "keywords":[
189
- "Games \u0026 Hobbies",
190
- "Video Games"
191
- ],
192
- "language":"pt-BR",
193
- "permalink":"http://jogabilida.de/",
194
- "published":true,
195
- "title":"Podcast NowLoading",
196
- "updated_at":"2015-11-16T23:00:23.963Z",
197
- "url":"http://feeds.feedburner.com/podcastnowloading"
198
- },
199
- {
200
- "_id":"564b9cfe08602e00030000fa",
201
- "author":null,
202
- "created_at":"2015-11-17T21:32:46.210Z",
203
- "description":"Being Boss is a podcast for creative entrepreneurs. From Emily Thompson and Kathleen Shannon. Get your business together. Being boss is hard. Making a dream job of your own isn't easy. But getting paid for it, becoming known for it, and finding purpose in it, is so doable - if you do the work.",
204
- "image":"http://www.lovebeingboss.com/img/skin/Header_WhiteLogo.png",
205
- "keywords":[
206
-
207
- ],
208
- "language":null,
209
- "permalink":"http://www.lovebeingboss.com/",
210
- "published":true,
211
- "title":"Being Boss // A Podcast for Creative Entrepreneurs",
212
- "updated_at":"2015-11-17T21:32:50.672Z",
213
- "url":"http://www.lovebeingboss.com/RSSRetrieve.aspx?ID=18365\u0026Type=RSS20"
214
- },
215
- {
216
- "_id":"564c5c8008602e0003000128",
217
- "author":null,
218
- "created_at":"2015-11-18T11:09:52.991Z",
219
- "description":"O mundo pop vira piada no Jovem Nerd",
220
- "image":"http://jovemnerd.ig.com.br/wp-content/themes/jovemnerd_v2b/images/NC_FEED.jpg",
221
- "keywords":[
222
- "Society \u0026 Culture"
223
- ],
224
- "language":"pt-BR",
225
- "permalink":"http://jovemnerd.com.br/",
226
- "published":true,
227
- "title":"Nerdcast",
228
- "updated_at":"2015-11-18T11:11:20.034Z",
229
- "url":"http://jovemnerd.com.br/categoria/nerdcast/feed/"
230
- }
231
- ]
@@ -1 +0,0 @@
1
- ["metadata","Designs","Randomized Controlled Trial","Types","BriefSummary","To determine the efficacy, long-term safety, and tolerability of alirocumab , mg every ,\n weeks (Q,W), in comparison with placebo, as well as its potential as a starting regimen. The\n dose regimen of , mg every , weeks (Q,W), as used in other studies, was added as a\n calibrator.","Abstract","To determine the efficacy, long-term safety, and tolerability of alirocumab , mg every ,\n weeks (Q,W), in comparison with placebo, as well as its potential as a starting regimen. The\n dose regimen of , mg every , weeks (Q,W), as used in other studies, was added as a\n calibrator.","Acronym","null","ArticleId","Qy,gwKWSoaWRmbmFEQA","Authors","null","CochraneID","null","Confidential","false","CorporateAuthor","null","Country","Bulgaria, Canada, Hungary, Israel, Norway, Slovakia, United Kingdom, United States","CustomData","null","DatabaseType","ClinicalTrials.gov","DOI","null","EmbaseAccessionNumber","null","Emtree","null","ErrataText","null","FullTextURL","null","Institution","null","ISSN","null","Issue","null","JournalTitle","null","MedlineID","null","MeSH","Hypercholesterolemia|Antibodies, Monoclonal","Pages","null","ParentChildStatus","null","ParentID","null","PublicationDate","March","PublicationYear","PubType","null","ReferenceStudy","null","SecondarySourceID","null","Source","Regeneron Pharmaceuticals","SourceReferenceId","NCT","TaStudyDesign","Randomized","Title","A Randomized, Double-Blind, Placebo-Controlled Study to Evaluate the Efficacy and Safety of an Every Four Weeks Treatment Regimen of Alirocumab in Patients With Primary Hypercholesterolemia","TrialOutcome","null","Volume","null","Id","Created","VersionNo","ExtractData","null","Digitized","null","IsRapidExtract","false","IsUploaded","false","design","Randomized Controlled Trial","conditions","label","Cholesterol Total Increased","id","SUE_c","phase","name","NCT","trialIds","NCT","acronyms","outcomeCount","id","groups","Id","RefId","B,|O,~Alirocumab , mg Q,W/Up , mg Q,W Without Concomitant Statin","OriginalName","Alirocumab , mg Q,W/Up , mg Q,W Without Concomitant Statin","N","age","ageSD","male","Interventions","termIds","SUBYEL","SUB_Oc","SUNUVb","analyzeAs","Alirocumab","analyzableScore","matchingScore","Id","zB","RefId","B,|O,~Alirocumab , mg Q,W/Up , mg Q,W Without Concomitant Statin","OriginalName","Alirocumab , mg Q,W/Up , mg Q,W Without Concomitant Statin","N","age","ageSD","male","Interventions","termIds","SUBYEL","SUB_Oc","analyzeAs","Statins","analyzableScore","matchingScore","Id","RefId","B,|O,~Placebo Q,W Without Concomitant Statin","OriginalName","Placebo Q,W Without Concomitant Statin","N","age","ageSD","male","Interventions","termIds","SUGeLS","SUBYEL","SUB_Oc","analyzeAs","Control","analyzableScore","matchingScore","Id","tv","RefId","OriginalName","Alirocumab , mg Q,W/Up , mg Q,W","Interventions","termIds","SUCO","SUNUVb","Id","jt","RefId","B,|O,~Alirocumab , mg Q,W/Up , mg Q,W With Concomitant Statin","OriginalName","Alirocumab , mg Q,W/Up , mg Q,W With Concomitant Statin","N","age","ageSD","male","Interventions","termIds","SUBYEL","SUB_Oc","Id","RefId","OriginalName","Alirocumab , mg Q,W/Up , mg Q,W","Interventions","termIds","SUNUVb","Id","RefId","B,|O,~Alirocumab , mg Q,W/Up , mg Q,W With Concomitant Statin","OriginalName","Alirocumab , mg Q,W/Up , mg Q,W With Concomitant Statin","N","age","ageSD","male","Interventions","termIds","SUBYEL","SUB_Oc","SUNUVb","Id","Interventions","Id","Ya","Name","Treatments","Id","((","Phase","k)","Type","Drug","termIds","SUGeLS","SUNUVb","terms","Placebo","Alirocumab","Id","o)","Name","Treatments","Id","Phase","k)","Type","Drug","termIds","SUBYEL","terms","Statins","RefId","E,|Placebo Q,W","OriginalName","Placebo Q,W","Id","Ls","RefId","B,|O,~Placebo Q,W With Concomitant Statin","OriginalName","Placebo Q,W With Concomitant Statin","N","age","ageSD","male","Interventions","termIds","SUGeLS","SUBYEL","SUB_Oc","hasDocData","null","hasRapidExtract","false","N","queryScore","matchingScore","score","outcomes","id","type","Change","unit","%","termIds","SUF,R","SUBskP","quantifiers","name","Calculated LDL-C in Not Receiving Concomitant Statin Therapy - On-Treatment Analysis","cells","number","unit","%","group","!","varType","se","N","se","sd","number","unit","%","group","varType","se","N","se","sd","number","unit","%","group","zB","varType","se","N","se","sd","time","Id","Low","Value","Baseline","High","Number","Unit","wk","Type","Total","days","description","wk","score","matchingTerm","SUF,R","suggestedPositive","false","sourceUnit","%","id","type","Change","unit","%","termIds","SUF,R","SUBskP","quantifiers","name","Calculated LDL-C in Receiving Concomitant Statin Therapy - On-Treatment Analysis","cells","number","unit","%","group","Ls","varType","se","N","se","sd","number","unit","%","group","varType","se","N","se","sd","number","unit","%","group","jt","varType","se","N","se","sd","time","Id","Low","Value","Baseline","High","Number","Unit","wk","Type","Total","days","description","wk","score","matchingTerm","SUF,R","suggestedPositive","false","sourceUnit","%","id","type","Change","unit","%","termIds","SUF,R","SUBskP","quantifiers","name","Calculated LDL-C in Not Receiving Concomitant Statin Therapy - On-Treatment Analysis","cells","number","unit","%","group","varType","se","N","se","sd","number","unit","%","group","varType","se","N","se","sd","number","unit","%","group","zB","varType","se","N","se","sd","time","Id","Low","Value","Baseline","High","Number","Unit","wk","Type","Total","days","description","score","matchingTerm","SUF,R","suggestedPositive","false","sourceUnit","%","id","type","Change","unit","%","termIds","SUF,R","SUBskP","quantifiers","name","Calculated LDL-C in Receiving Concomitant Statin Therapy - On-Treatment Analysis","cells","number","unit","%","group","Ls","varType","se","N","se","sd","number","unit","%","group","E","varType","se","N","se","sd","number","unit","%","group","jt","varType","se","N","se","sd","time","Id","Low","Value","Baseline","High","Number","Unit","wk","Type","Total","days","description","wk","score","matchingTerm","SUF,R","suggestedPositive","false","sourceUnit","%","characteristics","id","type","Binary","isCharacteristic","null","termIds","SUE_c","SUCbN","SUyJj","quantifiers","name","Patients not having adequate control of their hypercholesterolemia based on their individual level of CVD risk","cells","number","outcomesScore"]
@@ -1,64 +0,0 @@
1
- const data = require('./example4.json');
2
- const { pack, unpack, Packr } = require('msgpackr/pack');
3
- const chai = require('chai');
4
-
5
- function tryRequire(module) {
6
- try {
7
- return require(module)
8
- } catch(error) {
9
- console.log(error)
10
- }
11
- }
12
- //if (typeof chai === 'undefined') { chai = require('chai') }
13
- const assert = chai.assert
14
- //if (typeof msgpackr === 'undefined') { msgpackr = require('..') }
15
- var msgpack_msgpack = tryRequire('@msgpack/msgpack');
16
- var msgpack_lite = tryRequire('msgpack-lite');
17
- var msgpack = tryRequire('msgpack');
18
-
19
- const addCompatibilitySuite = (data) => () => {
20
- if (msgpack_msgpack) {
21
- test('from @msgpack/msgpack', function(){
22
- var serialized = msgpack_msgpack.encode(data)
23
- var deserialized = unpack(serialized)
24
- assert.deepEqual(deserialized, data)
25
- })
26
-
27
- test('to @msgpack/msgpack', function(){
28
- var serialized = pack(data)
29
- var deserialized = msgpack_msgpack.decode(serialized)
30
- assert.deepEqual(deserialized, data)
31
- })
32
- }
33
- if (msgpack_lite) {
34
- test('from msgpack-lite', function(){
35
- var serialized = msgpack_lite.encode(data)
36
- var deserialized = unpack(serialized)
37
- assert.deepEqual(deserialized, data)
38
- })
39
-
40
- test('to msgpack-lite', function(){
41
- var serialized = pack(data)
42
- var deserialized = msgpack_lite.decode(serialized)
43
- assert.deepEqual(deserialized, data)
44
- })
45
- }
46
- if (msgpack) {
47
- test.skip('from msgpack', function(){
48
- var serialized = msgpack.pack(data)
49
- var deserialized = unpack(serialized)
50
- assert.deepEqual(deserialized, data)
51
- })
52
-
53
- test('to msgpack', function(){
54
- var serialized = pack(data)
55
- var deserialized = msgpack.unpack(serialized)
56
- assert.deepEqual(deserialized, data)
57
- })
58
- }
59
- }
60
-
61
- suite('msgpackr compatibility tests (example)', addCompatibilitySuite(require('./example.json')))
62
- suite('msgpackr compatibility tests (example4)', addCompatibilitySuite(require('./example4.json')))
63
- suite('msgpackr compatibility tests (example5)', addCompatibilitySuite(require('./example5.json')))
64
- suite.skip('msgpackr compatibility tests with dates', addCompatibilitySuite({ date: new Date() }))
@@ -1,41 +0,0 @@
1
- import { encode } from '../index.js'
2
- import { assert } from 'chai'
3
- import { Encoder } from '../pack.js'
4
-
5
- const tests = {
6
- string: 'interesting string',
7
- number: 12345,
8
- buffer: Buffer.from('hello world'),
9
- bigint: 12345678910n,
10
- array: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
11
- 'many-strings': [],
12
- set: new Set('abcdefghijklmnopqrstuvwxyz'.split('')),
13
- object: { a: 1, b: 2, c: 3, d: 4, e: 5, f: 6 }
14
- }
15
- for (let i = 0; i < 100; i++) {
16
- tests['many-strings'].push('test-data-' + i)
17
- }
18
-
19
- suite('encode and decode tests with partial values', function () {
20
- const encoder = new Encoder({ objectMode: true, structures: [], structuredClone: true })
21
-
22
- for (const [label, testData] of Object.entries(tests)) {
23
- test(label, () => {
24
- const encoded = encoder.encode(testData)
25
- assert.isTrue(Buffer.isBuffer(encoded), 'encode returns a Buffer')
26
- assert.deepStrictEqual(encoder.decode(encoded, encoded.length, true), testData, 'full buffer decodes well')
27
- const firstHalf = encoded.slice(0, Math.floor(encoded.length / 2))
28
- let value
29
- try {
30
- value = encoder.decode(firstHalf, firstHalf.length, true)
31
- } catch (err) {
32
- if (err.incomplete !== true) {
33
- assert.fail(`Should throw an error with .incomplete set to true, instead threw error <${err}>`)
34
- } else {
35
- return; // victory! correct outcome!
36
- }
37
- }
38
- assert.fail(`Should throw an error with .incomplete set to true, instead returned value ${JSON.stringify(value)}`)
39
- })
40
- }
41
- })
@@ -1,72 +0,0 @@
1
- import { encodeIter, decodeIter } from '../index.js'
2
- import { decode } from '../index.js'
3
- import { assert } from 'chai'
4
-
5
- const tests = [
6
- null,
7
- false,
8
- true,
9
- 'interesting string',
10
- 12345,
11
- 123456789n,
12
- 123.456,
13
- Buffer.from('Hello World'),
14
- 'abcdefghijklmnopqrstuvwxyz'.split('')
15
- ]
16
-
17
- suite('msgpackr iterators interface tests', function () {
18
- test('sync encode iterator', () => {
19
- const encodings = [...encodeIter(tests)]
20
- const decodings = encodings.map(x => decode(x))
21
- assert.deepStrictEqual(decodings, tests)
22
- })
23
-
24
- test('async encode iterator', async () => {
25
- async function * generate () {
26
- for (const test of tests) {
27
- await new Promise((resolve, reject) => setImmediate(resolve))
28
- yield test
29
- }
30
- }
31
-
32
- const chunks = []
33
- for await (const chunk of encodeIter(generate())) {
34
- chunks.push(chunk)
35
- }
36
-
37
- const decodings = chunks.map(x => decode(x))
38
- assert.deepStrictEqual(decodings, tests)
39
- })
40
-
41
- test('sync encode and decode iterator', () => {
42
- const encodings = [...encodeIter(tests)]
43
- assert.isTrue(encodings.every(v => Buffer.isBuffer(v)))
44
- const decodings = [...decodeIter(encodings)]
45
- assert.deepStrictEqual(decodings, tests)
46
-
47
- // also test decodings work with buffers multiple values in a buffer
48
- const concatEncoding = Buffer.concat([...encodings])
49
- const decodings2 = [...decodeIter([concatEncoding])]
50
- assert.deepStrictEqual(decodings2, tests)
51
-
52
- // also test decodings work with partial buffers that don't align to values perfectly
53
- const half1 = concatEncoding.slice(0, Math.floor(concatEncoding.length / 2))
54
- const half2 = concatEncoding.slice(Math.floor(concatEncoding.length / 2))
55
- const decodings3 = [...decodeIter([half1, half2])]
56
- assert.deepStrictEqual(decodings3, tests)
57
- })
58
-
59
- test('async encode and decode iterator', async () => {
60
- async function * generator () {
61
- for (const obj of tests) {
62
- await new Promise((resolve, reject) => setImmediate(resolve))
63
- yield obj
64
- }
65
- }
66
- const yields = []
67
- for await (const value of decodeIter(encodeIter(generator()))) {
68
- yields.push(value)
69
- }
70
- assert.deepStrictEqual(yields, tests)
71
- })
72
- })
@@ -1,76 +0,0 @@
1
- import { PackrStream, UnpackrStream } from '../node-index.js'
2
- import stream from 'stream'
3
- import chai from 'chai'
4
- import util from 'util'
5
- import fs from 'fs'
6
- const finished = util.promisify(stream.finished)
7
- var assert = chai.assert
8
-
9
- suite('msgpackr node stream tests', function(){
10
- test('serialize/parse stream', () => {
11
- const serializeStream = new PackrStream({
12
- })
13
- const parseStream = new UnpackrStream()
14
- serializeStream.pipe(parseStream)
15
- const received = []
16
- parseStream.on('data', data => {
17
- received.push(data)
18
- })
19
- const messages = [{
20
- name: 'first'
21
- }, {
22
- name: 'second'
23
- }, {
24
- name: 'third'
25
- }, {
26
- name: 'third',
27
- extra: [1, 3, { foo: 'hi'}, 'bye']
28
- }]
29
- for (const message of messages)
30
- serializeStream.write(message)
31
- return new Promise((resolve, reject) => {
32
- setTimeout(() => {
33
- assert.deepEqual(received, messages)
34
- resolve()
35
- }, 10)
36
- })
37
- })
38
- test('stream from buffer', () => new Promise(async resolve => {
39
- const parseStream = new UnpackrStream()
40
- let values = []
41
- parseStream.on('data', (value) => {
42
- values.push(value)
43
- })
44
- parseStream.on('end', () => {
45
- assert.deepEqual(values, [1, 2])
46
- resolve()
47
- })
48
- let bufferStream = new stream.Duplex()
49
- bufferStream.pipe(parseStream)
50
- bufferStream.push(new Uint8Array([1, 2]))
51
- bufferStream.push(null)
52
- }))
53
- test('serialize stream to file', async function() {
54
- const serializeStream = new PackrStream({
55
- })
56
- const fileStream = fs.createWriteStream('test-output.msgpack');
57
- serializeStream.pipe(fileStream);
58
- const messages = [{
59
- name: 'first'
60
- }, {
61
- name: 'second',
62
- extra: [1, 3, { foo: 'hi'}, 'bye']
63
- }]
64
- for (const message of messages)
65
- serializeStream.write(message)
66
- setTimeout(() => serializeStream.end(), 10)
67
-
68
- await finished(serializeStream)
69
- })
70
- teardown(function() {
71
- try {
72
- fs.unlinkSync('test-output.msgpack')
73
- }catch(error){}
74
- })
75
- })
76
-