harperdb 3.1.1 → 3.1.4

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 (1585) hide show
  1. package/README.md +1 -1
  2. package/bin/BinObjects.jsc +0 -0
  3. package/bin/harperdb.js +1 -1
  4. package/bin/harperdb.jsc +0 -0
  5. package/bin/install.jsc +0 -0
  6. package/bin/register.jsc +0 -0
  7. package/bin/run.jsc +0 -0
  8. package/bin/stop.jsc +0 -0
  9. package/bin/upgrade.jsc +0 -0
  10. package/bin/utility.jsc +0 -0
  11. package/bin/version.jsc +0 -0
  12. package/coverage/lcov.info +14536 -17045
  13. package/data_layer/CreateAttributeObject.jsc +0 -0
  14. package/data_layer/CreateTableObject.jsc +0 -0
  15. package/data_layer/DataLayerObjects.jsc +0 -0
  16. package/data_layer/DeleteBeforeObject.jsc +0 -0
  17. package/data_layer/DeleteObject.jsc +0 -0
  18. package/data_layer/DropAttributeObject.jsc +0 -0
  19. package/data_layer/InsertObject.jsc +0 -0
  20. package/data_layer/ReadTransactionLogObject.jsc +0 -0
  21. package/data_layer/SQLSearch.jsc +0 -0
  22. package/data_layer/SearchByConditionsObject.jsc +0 -0
  23. package/data_layer/SearchByHashObject.jsc +0 -0
  24. package/data_layer/SearchObject.jsc +0 -0
  25. package/data_layer/SqlSearchObject.jsc +0 -0
  26. package/data_layer/UpdateObject.jsc +0 -0
  27. package/data_layer/UpsertObject.jsc +0 -0
  28. package/data_layer/bulkLoad.jsc +0 -0
  29. package/data_layer/data_objects/BulkLoadObjects.jsc +0 -0
  30. package/data_layer/data_objects/UpsertObject.jsc +0 -0
  31. package/data_layer/delete.jsc +0 -0
  32. package/data_layer/export.jsc +0 -0
  33. package/data_layer/harperBridge/BridgeMethods.jsc +0 -0
  34. package/data_layer/harperBridge/bridgeUtility/checkForNewAttr.jsc +0 -0
  35. package/data_layer/harperBridge/bridgeUtility/convertOperationToTransaction.jsc +0 -0
  36. package/data_layer/harperBridge/bridgeUtility/evaluateTableGetAttributes.jsc +0 -0
  37. package/data_layer/harperBridge/bridgeUtility/insertUpdateReturnObj.jsc +0 -0
  38. package/data_layer/harperBridge/bridgeUtility/insertUpdateValidate.jsc +0 -0
  39. package/data_layer/harperBridge/harperBridge.jsc +0 -0
  40. package/data_layer/harperBridge/lmdbBridge/LMDBBridge.jsc +0 -0
  41. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/DeleteTransactionsBeforeResults.jsc +0 -0
  42. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateAttribute.jsc +0 -0
  43. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateRecords.jsc +0 -0
  44. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateSchema.jsc +0 -0
  45. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateTable.jsc +0 -0
  46. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDeleteRecords.jsc +0 -0
  47. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDeleteRecordsBefore.jsc +0 -0
  48. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDeleteTransactionLogsBefore.jsc +0 -0
  49. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDropAttribute.jsc +0 -0
  50. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDropSchema.jsc +0 -0
  51. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDropTable.jsc +0 -0
  52. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbGetDataByHash.jsc +0 -0
  53. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbGetDataByValue.jsc +0 -0
  54. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbReadTransactionLog.jsc +0 -0
  55. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbSearchByConditions.jsc +0 -0
  56. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbSearchByHash.jsc +0 -0
  57. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbSearchByValue.jsc +0 -0
  58. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbUpdateRecords.jsc +0 -0
  59. package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbUpsertRecords.jsc +0 -0
  60. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBCreateAttributeObject.jsc +0 -0
  61. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBDeleteTransactionObject.jsc +0 -0
  62. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBInsertTransactionObject.jsc +0 -0
  63. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBTransactionObject.jsc +0 -0
  64. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBUpdateTransactionObject.jsc +0 -0
  65. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBUpsertTransactionObject.jsc +0 -0
  66. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/TableSizeObject.jsc +0 -0
  67. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/ThreadSearchObject.jsc +0 -0
  68. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/initializeHashSearch.jsc +0 -0
  69. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/initializePaths.jsc +0 -0
  70. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbCheckForNewAttributes.jsc +0 -0
  71. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbCreateTransactionsEnvironment.jsc +0 -0
  72. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbDropAllAttributes.jsc +0 -0
  73. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbGetTableSize.jsc +0 -0
  74. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbProcessRows.jsc +0 -0
  75. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbSearch.jsc +0 -0
  76. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbThreadSearch.jsc +0 -0
  77. package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbWriteTransaction.jsc +0 -0
  78. package/data_layer/hdbInfoController.jsc +0 -0
  79. package/data_layer/insert.jsc +0 -0
  80. package/data_layer/readTransactionLog.jsc +0 -0
  81. package/data_layer/schema.jsc +0 -0
  82. package/data_layer/schemaDescribe.jsc +0 -0
  83. package/data_layer/search.jsc +0 -0
  84. package/data_layer/update.jsc +0 -0
  85. package/events/ClusterStatusEmitter.jsc +0 -0
  86. package/events/SioServerStoppedEvent.jsc +0 -0
  87. package/events/SocketClusterStatusEmitter.jsc +0 -0
  88. package/node_modules/@pm2/js-api/node_modules/async/CHANGELOG.md +275 -0
  89. package/node_modules/@pm2/js-api/node_modules/async/LICENSE +19 -0
  90. package/node_modules/@pm2/js-api/node_modules/async/README.md +56 -0
  91. package/node_modules/@pm2/js-api/node_modules/async/all.js +50 -0
  92. package/node_modules/@pm2/js-api/node_modules/async/allLimit.js +42 -0
  93. package/node_modules/@pm2/js-api/node_modules/async/allSeries.js +37 -0
  94. package/node_modules/@pm2/js-api/node_modules/async/any.js +52 -0
  95. package/node_modules/@pm2/js-api/node_modules/async/anyLimit.js +43 -0
  96. package/node_modules/@pm2/js-api/node_modules/async/anySeries.js +38 -0
  97. package/node_modules/@pm2/js-api/node_modules/async/apply.js +68 -0
  98. package/node_modules/@pm2/js-api/node_modules/async/applyEach.js +51 -0
  99. package/node_modules/@pm2/js-api/node_modules/async/applyEachSeries.js +37 -0
  100. package/node_modules/@pm2/js-api/node_modules/async/asyncify.js +110 -0
  101. package/node_modules/@pm2/js-api/node_modules/async/auto.js +289 -0
  102. package/node_modules/@pm2/js-api/node_modules/async/autoInject.js +170 -0
  103. package/node_modules/@pm2/js-api/node_modules/async/bower.json +17 -0
  104. package/node_modules/@pm2/js-api/node_modules/async/cargo.js +94 -0
  105. package/node_modules/@pm2/js-api/node_modules/async/compose.js +58 -0
  106. package/node_modules/@pm2/js-api/node_modules/async/concat.js +43 -0
  107. package/node_modules/@pm2/js-api/node_modules/async/concatLimit.js +65 -0
  108. package/node_modules/@pm2/js-api/node_modules/async/concatSeries.js +36 -0
  109. package/node_modules/@pm2/js-api/node_modules/async/constant.js +66 -0
  110. package/node_modules/@pm2/js-api/node_modules/async/detect.js +61 -0
  111. package/node_modules/@pm2/js-api/node_modules/async/detectLimit.js +48 -0
  112. package/node_modules/@pm2/js-api/node_modules/async/detectSeries.js +38 -0
  113. package/node_modules/@pm2/js-api/node_modules/async/dir.js +43 -0
  114. package/node_modules/@pm2/js-api/node_modules/async/dist/async.js +5609 -0
  115. package/node_modules/@pm2/js-api/node_modules/async/dist/async.min.js +2 -0
  116. package/node_modules/@pm2/js-api/node_modules/async/dist/async.min.map +1 -0
  117. package/node_modules/@pm2/js-api/node_modules/async/doDuring.js +66 -0
  118. package/node_modules/@pm2/js-api/node_modules/async/doUntil.js +39 -0
  119. package/node_modules/@pm2/js-api/node_modules/async/doWhilst.js +59 -0
  120. package/node_modules/@pm2/js-api/node_modules/async/during.js +76 -0
  121. package/node_modules/@pm2/js-api/node_modules/async/each.js +82 -0
  122. package/node_modules/@pm2/js-api/node_modules/async/eachLimit.js +45 -0
  123. package/node_modules/@pm2/js-api/node_modules/async/eachOf.js +111 -0
  124. package/node_modules/@pm2/js-api/node_modules/async/eachOfLimit.js +41 -0
  125. package/node_modules/@pm2/js-api/node_modules/async/eachOfSeries.js +35 -0
  126. package/node_modules/@pm2/js-api/node_modules/async/eachSeries.js +37 -0
  127. package/node_modules/@pm2/js-api/node_modules/async/ensureAsync.js +73 -0
  128. package/node_modules/@pm2/js-api/node_modules/async/every.js +50 -0
  129. package/node_modules/@pm2/js-api/node_modules/async/everyLimit.js +42 -0
  130. package/node_modules/@pm2/js-api/node_modules/async/everySeries.js +37 -0
  131. package/node_modules/@pm2/js-api/node_modules/async/filter.js +45 -0
  132. package/node_modules/@pm2/js-api/node_modules/async/filterLimit.js +37 -0
  133. package/node_modules/@pm2/js-api/node_modules/async/filterSeries.js +35 -0
  134. package/node_modules/@pm2/js-api/node_modules/async/find.js +61 -0
  135. package/node_modules/@pm2/js-api/node_modules/async/findLimit.js +48 -0
  136. package/node_modules/@pm2/js-api/node_modules/async/findSeries.js +38 -0
  137. package/node_modules/@pm2/js-api/node_modules/async/foldl.js +78 -0
  138. package/node_modules/@pm2/js-api/node_modules/async/foldr.js +44 -0
  139. package/node_modules/@pm2/js-api/node_modules/async/forEach.js +82 -0
  140. package/node_modules/@pm2/js-api/node_modules/async/forEachLimit.js +45 -0
  141. package/node_modules/@pm2/js-api/node_modules/async/forEachOf.js +111 -0
  142. package/node_modules/@pm2/js-api/node_modules/async/forEachOfLimit.js +41 -0
  143. package/node_modules/@pm2/js-api/node_modules/async/forEachOfSeries.js +35 -0
  144. package/node_modules/@pm2/js-api/node_modules/async/forEachSeries.js +37 -0
  145. package/node_modules/@pm2/js-api/node_modules/async/forever.js +65 -0
  146. package/node_modules/@pm2/js-api/node_modules/async/groupBy.js +54 -0
  147. package/node_modules/@pm2/js-api/node_modules/async/groupByLimit.js +71 -0
  148. package/node_modules/@pm2/js-api/node_modules/async/groupBySeries.js +37 -0
  149. package/node_modules/@pm2/js-api/node_modules/async/index.js +582 -0
  150. package/node_modules/@pm2/js-api/node_modules/async/inject.js +78 -0
  151. package/node_modules/@pm2/js-api/node_modules/async/internal/DoublyLinkedList.js +88 -0
  152. package/node_modules/@pm2/js-api/node_modules/async/internal/applyEach.js +38 -0
  153. package/node_modules/@pm2/js-api/node_modules/async/internal/breakLoop.js +9 -0
  154. package/node_modules/@pm2/js-api/node_modules/async/internal/consoleFunc.js +42 -0
  155. package/node_modules/@pm2/js-api/node_modules/async/internal/createTester.js +44 -0
  156. package/node_modules/@pm2/js-api/node_modules/async/internal/doLimit.js +12 -0
  157. package/node_modules/@pm2/js-api/node_modules/async/internal/doParallel.js +23 -0
  158. package/node_modules/@pm2/js-api/node_modules/async/internal/doParallelLimit.js +23 -0
  159. package/node_modules/@pm2/js-api/node_modules/async/internal/eachOfLimit.js +74 -0
  160. package/node_modules/@pm2/js-api/node_modules/async/internal/filter.js +75 -0
  161. package/node_modules/@pm2/js-api/node_modules/async/internal/findGetResult.js +10 -0
  162. package/node_modules/@pm2/js-api/node_modules/async/internal/getIterator.js +13 -0
  163. package/node_modules/@pm2/js-api/node_modules/async/internal/initialParams.js +21 -0
  164. package/node_modules/@pm2/js-api/node_modules/async/internal/iterator.js +58 -0
  165. package/node_modules/@pm2/js-api/node_modules/async/internal/map.js +35 -0
  166. package/node_modules/@pm2/js-api/node_modules/async/internal/notId.js +10 -0
  167. package/node_modules/@pm2/js-api/node_modules/async/internal/once.js +15 -0
  168. package/node_modules/@pm2/js-api/node_modules/async/internal/onlyOnce.js +15 -0
  169. package/node_modules/@pm2/js-api/node_modules/async/internal/parallel.js +42 -0
  170. package/node_modules/@pm2/js-api/node_modules/async/internal/queue.js +204 -0
  171. package/node_modules/@pm2/js-api/node_modules/async/internal/reject.js +21 -0
  172. package/node_modules/@pm2/js-api/node_modules/async/internal/setImmediate.js +42 -0
  173. package/node_modules/@pm2/js-api/node_modules/async/internal/slice.js +16 -0
  174. package/node_modules/@pm2/js-api/node_modules/async/internal/withoutIndex.js +12 -0
  175. package/node_modules/@pm2/js-api/node_modules/async/internal/wrapAsync.js +25 -0
  176. package/node_modules/@pm2/js-api/node_modules/async/log.js +41 -0
  177. package/node_modules/@pm2/js-api/node_modules/async/map.js +54 -0
  178. package/node_modules/@pm2/js-api/node_modules/async/mapLimit.js +37 -0
  179. package/node_modules/@pm2/js-api/node_modules/async/mapSeries.js +36 -0
  180. package/node_modules/@pm2/js-api/node_modules/async/mapValues.js +63 -0
  181. package/node_modules/@pm2/js-api/node_modules/async/mapValuesLimit.js +61 -0
  182. package/node_modules/@pm2/js-api/node_modules/async/mapValuesSeries.js +37 -0
  183. package/node_modules/@pm2/js-api/node_modules/async/memoize.js +101 -0
  184. package/node_modules/@pm2/js-api/node_modules/async/nextTick.js +51 -0
  185. package/node_modules/@pm2/js-api/node_modules/async/package.json +110 -0
  186. package/node_modules/@pm2/js-api/node_modules/async/parallel.js +90 -0
  187. package/node_modules/@pm2/js-api/node_modules/async/parallelLimit.js +40 -0
  188. package/node_modules/@pm2/js-api/node_modules/async/priorityQueue.js +98 -0
  189. package/node_modules/@pm2/js-api/node_modules/async/queue.js +130 -0
  190. package/node_modules/@pm2/js-api/node_modules/async/race.js +70 -0
  191. package/node_modules/@pm2/js-api/node_modules/async/reduce.js +78 -0
  192. package/node_modules/@pm2/js-api/node_modules/async/reduceRight.js +44 -0
  193. package/node_modules/@pm2/js-api/node_modules/async/reflect.js +81 -0
  194. package/node_modules/@pm2/js-api/node_modules/async/reflectAll.js +105 -0
  195. package/node_modules/@pm2/js-api/node_modules/async/reject.js +45 -0
  196. package/node_modules/@pm2/js-api/node_modules/async/rejectLimit.js +37 -0
  197. package/node_modules/@pm2/js-api/node_modules/async/rejectSeries.js +35 -0
  198. package/node_modules/@pm2/js-api/node_modules/async/retry.js +156 -0
  199. package/node_modules/@pm2/js-api/node_modules/async/retryable.js +65 -0
  200. package/node_modules/@pm2/js-api/node_modules/async/select.js +45 -0
  201. package/node_modules/@pm2/js-api/node_modules/async/selectLimit.js +37 -0
  202. package/node_modules/@pm2/js-api/node_modules/async/selectSeries.js +35 -0
  203. package/node_modules/@pm2/js-api/node_modules/async/seq.js +91 -0
  204. package/node_modules/@pm2/js-api/node_modules/async/series.js +85 -0
  205. package/node_modules/@pm2/js-api/node_modules/async/setImmediate.js +45 -0
  206. package/node_modules/@pm2/js-api/node_modules/async/some.js +52 -0
  207. package/node_modules/@pm2/js-api/node_modules/async/someLimit.js +43 -0
  208. package/node_modules/@pm2/js-api/node_modules/async/someSeries.js +38 -0
  209. package/node_modules/@pm2/js-api/node_modules/async/sortBy.js +91 -0
  210. package/node_modules/@pm2/js-api/node_modules/async/timeout.js +89 -0
  211. package/node_modules/@pm2/js-api/node_modules/async/times.js +50 -0
  212. package/node_modules/@pm2/js-api/node_modules/async/timesLimit.js +42 -0
  213. package/node_modules/@pm2/js-api/node_modules/async/timesSeries.js +32 -0
  214. package/node_modules/@pm2/js-api/node_modules/async/transform.js +87 -0
  215. package/node_modules/@pm2/js-api/node_modules/async/tryEach.js +81 -0
  216. package/node_modules/@pm2/js-api/node_modules/async/unmemoize.js +25 -0
  217. package/node_modules/@pm2/js-api/node_modules/async/until.js +41 -0
  218. package/node_modules/@pm2/js-api/node_modules/async/waterfall.js +113 -0
  219. package/node_modules/@pm2/js-api/node_modules/async/whilst.js +72 -0
  220. package/node_modules/@pm2/js-api/node_modules/async/wrapSync.js +110 -0
  221. package/node_modules/@pm2/js-api/package.json +3 -1
  222. package/node_modules/adler-32/package.json +1 -0
  223. package/node_modules/ajv/package.json +0 -1
  224. package/node_modules/async/CHANGELOG.md +0 -6
  225. package/node_modules/async/package.json +12 -15
  226. package/node_modules/async-limiter/package.json +1 -0
  227. package/node_modules/{fastify-compress → avvio}/.github/dependabot.yml +5 -1
  228. package/node_modules/avvio/.github/workflows/ci.yml +34 -11
  229. package/node_modules/avvio/.taprc +1 -1
  230. package/node_modules/avvio/README.md +17 -15
  231. package/node_modules/avvio/boot.js +15 -9
  232. package/node_modules/avvio/index.d.ts +1 -1
  233. package/node_modules/avvio/node_modules/debug/LICENSE +10 -9
  234. package/node_modules/avvio/node_modules/debug/README.md +24 -1
  235. package/node_modules/avvio/node_modules/debug/package.json +20 -20
  236. package/node_modules/avvio/node_modules/debug/src/common.js +15 -2
  237. package/node_modules/avvio/package.json +15 -15
  238. package/node_modules/avvio/plugin.js +5 -4
  239. package/node_modules/avvio/test/after-and-ready.test.js +27 -27
  240. package/node_modules/avvio/test/after-pass-through.test.js +3 -3
  241. package/node_modules/avvio/test/async-await.test.js +1 -1
  242. package/node_modules/avvio/test/await-after.test.js +12 -12
  243. package/node_modules/avvio/test/await-self.test.js +6 -6
  244. package/node_modules/avvio/test/await-use.test.js +1 -1
  245. package/node_modules/avvio/test/basic.test.js +14 -14
  246. package/node_modules/avvio/test/callbacks.test.js +1 -1
  247. package/node_modules/avvio/test/close.test.js +64 -21
  248. package/node_modules/avvio/test/esm.mjs +1 -1
  249. package/node_modules/avvio/test/events-listeners.test.js +1 -0
  250. package/node_modules/avvio/test/express.test.js +1 -1
  251. package/node_modules/avvio/test/override.test.js +27 -27
  252. package/node_modules/avvio/test/plugin-timeout.test.js +18 -18
  253. package/node_modules/avvio/test/pretty-print.test.js +1 -1
  254. package/node_modules/avvio/test/to-json.test.js +5 -5
  255. package/node_modules/avvio/test/types/index.ts +7 -0
  256. package/node_modules/axios/CHANGELOG.md +0 -23
  257. package/node_modules/axios/README.md +1 -3
  258. package/node_modules/axios/dist/axios.js +1 -21
  259. package/node_modules/axios/dist/axios.map +1 -1
  260. package/node_modules/axios/dist/axios.min.js +2 -2
  261. package/node_modules/axios/dist/axios.min.map +1 -1
  262. package/node_modules/axios/index.d.ts +2 -3
  263. package/node_modules/axios/lib/adapters/http.js +12 -28
  264. package/node_modules/axios/lib/axios.js +0 -3
  265. package/node_modules/axios/package.json +10 -10
  266. package/node_modules/big-integer/BigInteger.d.ts +1 -1
  267. package/node_modules/big-integer/BigInteger.js +2 -2
  268. package/node_modules/big-integer/BigInteger.min.js +1 -1
  269. package/node_modules/big-integer/README.md +2 -1
  270. package/node_modules/big-integer/package.json +15 -15
  271. package/node_modules/cfb/CHANGELOG.md +27 -0
  272. package/node_modules/cfb/README.md +0 -2
  273. package/node_modules/cfb/cfb.js +46 -203
  274. package/node_modules/cfb/dist/cfb.js +46 -203
  275. package/node_modules/cfb/dist/cfb.min.js +2 -2
  276. package/node_modules/cfb/dist/cfb.min.map +1 -1
  277. package/node_modules/cfb/dist/xlscfb.js +45 -202
  278. package/node_modules/cfb/package.json +12 -12
  279. package/node_modules/cfb/xlscfb.flow.js +45 -202
  280. package/node_modules/clone/README.md +3 -19
  281. package/node_modules/clone/clone.js +1 -7
  282. package/node_modules/clone/package.json +12 -11
  283. package/node_modules/cookie/HISTORY.md +6 -0
  284. package/node_modules/cookie/README.md +49 -20
  285. package/node_modules/cookie/index.js +11 -11
  286. package/node_modules/cookie/package.json +18 -16
  287. package/node_modules/fast-deep-equal/package.json +2 -1
  288. package/node_modules/fast-json-stringify/.github/dependabot.yml +4 -0
  289. package/node_modules/fast-json-stringify/.github/workflows/benchmark.yml +111 -0
  290. package/node_modules/fast-json-stringify/.github/workflows/ci.yml +32 -16
  291. package/node_modules/fast-json-stringify/.taprc +0 -1
  292. package/node_modules/fast-json-stringify/README.md +24 -17
  293. package/node_modules/fast-json-stringify/bench.js +28 -0
  294. package/node_modules/fast-json-stringify/example.js +1 -3
  295. package/node_modules/fast-json-stringify/index.d.ts +1 -0
  296. package/node_modules/fast-json-stringify/index.js +175 -116
  297. package/node_modules/fast-json-stringify/package.json +13 -12
  298. package/node_modules/fast-json-stringify/test/allof.test.js +63 -11
  299. package/node_modules/fast-json-stringify/test/any.test.js +25 -25
  300. package/node_modules/fast-json-stringify/test/anyof.test.js +92 -22
  301. package/node_modules/fast-json-stringify/test/array.test.js +66 -3
  302. package/node_modules/fast-json-stringify/test/basic.test.js +3 -3
  303. package/node_modules/fast-json-stringify/test/date.test.js +1 -1
  304. package/node_modules/fast-json-stringify/test/debug-mode.test.js +4 -4
  305. package/node_modules/fast-json-stringify/test/defaults.test.js +1 -1
  306. package/node_modules/fast-json-stringify/test/enum.test.js +37 -0
  307. package/node_modules/fast-json-stringify/test/inferType.test.js +1 -1
  308. package/node_modules/fast-json-stringify/test/integer.test.js +44 -1
  309. package/node_modules/fast-json-stringify/test/nestedObjects.test.js +1 -1
  310. package/node_modules/fast-json-stringify/test/nullable.test.js +1 -1
  311. package/node_modules/fast-json-stringify/test/oneof.test.js +145 -17
  312. package/node_modules/fast-json-stringify/test/recursion.test.js +180 -0
  313. package/node_modules/fast-json-stringify/test/ref.test.js +54 -7
  314. package/node_modules/fast-json-stringify/test/required.test.js +10 -10
  315. package/node_modules/fast-json-stringify/test/requiresAjv.test.js +48 -0
  316. package/node_modules/fast-json-stringify/test/sanitize.test.js +2 -2
  317. package/node_modules/fast-json-stringify/test/side-effect.test.js +7 -7
  318. package/node_modules/fast-json-stringify/test/types/test.ts +8 -0
  319. package/node_modules/fast-json-stringify/test/typesArray.test.js +26 -26
  320. package/node_modules/fast-json-stringify/test/webpack.test.js +50 -0
  321. package/node_modules/fastify/README.md +3 -3
  322. package/node_modules/fastify/docs/ContentTypeParser.md +0 -21
  323. package/node_modules/fastify/docs/Ecosystem.md +0 -1
  324. package/node_modules/fastify/docs/Request.md +1 -1
  325. package/node_modules/fastify/docs/Server.md +1 -23
  326. package/node_modules/fastify/docs/Serverless.md +10 -17
  327. package/node_modules/fastify/docs/Style-Guide.md +2 -2
  328. package/node_modules/fastify/fastify.js +0 -3
  329. package/node_modules/fastify/lib/contentTypeParser.js +7 -28
  330. package/node_modules/fastify/lib/errors.js +1 -1
  331. package/node_modules/fastify/lib/reply.js +15 -11
  332. package/node_modules/fastify/lib/route.js +1 -1
  333. package/node_modules/fastify/node_modules/semver/package.json +10 -10
  334. package/node_modules/fastify/node_modules/semver/ranges/subset.js +67 -7
  335. package/node_modules/fastify/package.json +11 -11
  336. package/node_modules/fastify/test/content-parser.test.js +7 -179
  337. package/node_modules/fastify/test/custom-parser.test.js +2 -262
  338. package/node_modules/fastify/test/pretty-print.test.js +0 -28
  339. package/node_modules/fastify/test/schema-special-usage.test.js +0 -46
  340. package/node_modules/fastify/test/stream.test.js +0 -90
  341. package/node_modules/fastify/test/types/instance.test-d.ts +0 -2
  342. package/node_modules/fastify/test/types/logger.test-d.ts +3 -8
  343. package/node_modules/fastify/test/types/schema.test-d.ts +1 -41
  344. package/node_modules/fastify/test/versioned-routes.test.js +18 -61
  345. package/node_modules/fastify/types/content-type-parser.d.ts +4 -4
  346. package/node_modules/fastify/types/instance.d.ts +5 -11
  347. package/node_modules/fastify/types/logger.d.ts +1 -1
  348. package/node_modules/fastify/types/route.d.ts +11 -14
  349. package/node_modules/fastify/types/schema.d.ts +4 -4
  350. package/node_modules/{light-my-request → fastify-compress}/.dependabot/config.yml +1 -1
  351. package/node_modules/fastify-compress/.github/workflows/ci.yml +1 -10
  352. package/node_modules/fastify-compress/index.js +0 -12
  353. package/node_modules/fastify-compress/node_modules/mime-db/HISTORY.md +33 -0
  354. package/node_modules/fastify-compress/node_modules/mime-db/README.md +0 -2
  355. package/node_modules/fastify-compress/node_modules/mime-db/db.json +167 -9
  356. package/node_modules/fastify-compress/node_modules/mime-db/package.json +17 -17
  357. package/node_modules/fastify-compress/package.json +11 -11
  358. package/node_modules/fastify-compress/test/test-routes-compress.js +0 -27
  359. package/node_modules/fastify-cors/README.md +11 -18
  360. package/node_modules/fastify-cors/index.d.ts +55 -66
  361. package/node_modules/fastify-cors/index.js +83 -131
  362. package/node_modules/fastify-cors/package.json +11 -11
  363. package/node_modules/fastify-cors/test/cors.test.js +3 -250
  364. package/node_modules/fastify-cors/test/index.test-d.ts +1 -65
  365. package/node_modules/fastify-cors/test/preflight.test.js +1 -61
  366. package/node_modules/{fastify-helmet → fastify-error}/.github/dependabot.yml +5 -1
  367. package/node_modules/fastify-error/.github/workflows/ci.yml +24 -8
  368. package/node_modules/fastify-error/README.md +8 -5
  369. package/node_modules/fastify-error/index.d.ts +1 -2
  370. package/node_modules/fastify-error/index.test-d.ts +1 -1
  371. package/node_modules/fastify-error/package.json +12 -12
  372. package/node_modules/fastify-helmet/.dependabot/config.yml +5 -0
  373. package/node_modules/fastify-helmet/.github/workflows/ci.yml +0 -9
  374. package/node_modules/fastify-helmet/README.md +2 -2
  375. package/node_modules/fastify-helmet/benchmarks/express.js +3 -3
  376. package/node_modules/fastify-helmet/benchmarks/koa.js +2 -2
  377. package/node_modules/fastify-helmet/index.js +0 -2
  378. package/node_modules/fastify-helmet/node_modules/fastify-plugin/.github/workflows/ci.yml +18 -0
  379. package/node_modules/fastify-helmet/node_modules/fastify-plugin/.taprc +5 -0
  380. package/node_modules/fastify-helmet/node_modules/fastify-plugin/LICENSE +21 -0
  381. package/node_modules/fastify-helmet/node_modules/fastify-plugin/README.md +144 -0
  382. package/node_modules/fastify-helmet/node_modules/fastify-plugin/package.json +69 -0
  383. package/node_modules/fastify-helmet/node_modules/fastify-plugin/plugin.d.ts +36 -0
  384. package/node_modules/fastify-helmet/node_modules/fastify-plugin/plugin.js +126 -0
  385. package/node_modules/fastify-helmet/node_modules/fastify-plugin/plugin.test-d.ts +72 -0
  386. package/node_modules/fastify-helmet/node_modules/fastify-plugin/stackParser.js +11 -0
  387. package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/bundlers.test.js +85 -0
  388. package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/checkVersion.test.js +73 -0
  389. package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/composite.test.js +16 -0
  390. package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/esm/esm.mjs +34 -0
  391. package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/esm/index.test.js +19 -0
  392. package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/mu1tip1e.composite.test.js +16 -0
  393. package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/stackParser.test.js +48 -0
  394. package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/test.js +307 -0
  395. package/node_modules/fastify-helmet/node_modules/fastify-plugin/tsconfig.json +8 -0
  396. package/node_modules/fastify-helmet/node_modules/semver/CHANGELOG.md +111 -0
  397. package/node_modules/fastify-helmet/node_modules/semver/LICENSE +15 -0
  398. package/node_modules/fastify-helmet/node_modules/semver/README.md +566 -0
  399. package/node_modules/fastify-helmet/node_modules/semver/bin/semver.js +173 -0
  400. package/node_modules/fastify-helmet/node_modules/semver/classes/comparator.js +135 -0
  401. package/node_modules/fastify-helmet/node_modules/semver/classes/index.js +5 -0
  402. package/node_modules/fastify-helmet/node_modules/semver/classes/range.js +510 -0
  403. package/node_modules/fastify-helmet/node_modules/semver/classes/semver.js +287 -0
  404. package/node_modules/fastify-helmet/node_modules/semver/functions/clean.js +6 -0
  405. package/node_modules/fastify-helmet/node_modules/semver/functions/cmp.js +48 -0
  406. package/node_modules/fastify-helmet/node_modules/semver/functions/coerce.js +51 -0
  407. package/node_modules/fastify-helmet/node_modules/semver/functions/compare-build.js +7 -0
  408. package/node_modules/fastify-helmet/node_modules/semver/functions/compare-loose.js +3 -0
  409. package/node_modules/fastify-helmet/node_modules/semver/functions/compare.js +5 -0
  410. package/node_modules/fastify-helmet/node_modules/semver/functions/diff.js +23 -0
  411. package/node_modules/fastify-helmet/node_modules/semver/functions/eq.js +3 -0
  412. package/node_modules/fastify-helmet/node_modules/semver/functions/gt.js +3 -0
  413. package/node_modules/fastify-helmet/node_modules/semver/functions/gte.js +3 -0
  414. package/node_modules/fastify-helmet/node_modules/semver/functions/inc.js +15 -0
  415. package/node_modules/fastify-helmet/node_modules/semver/functions/lt.js +3 -0
  416. package/node_modules/fastify-helmet/node_modules/semver/functions/lte.js +3 -0
  417. package/node_modules/fastify-helmet/node_modules/semver/functions/major.js +3 -0
  418. package/node_modules/fastify-helmet/node_modules/semver/functions/minor.js +3 -0
  419. package/node_modules/fastify-helmet/node_modules/semver/functions/neq.js +3 -0
  420. package/node_modules/fastify-helmet/node_modules/semver/functions/parse.js +33 -0
  421. package/node_modules/fastify-helmet/node_modules/semver/functions/patch.js +3 -0
  422. package/node_modules/fastify-helmet/node_modules/semver/functions/prerelease.js +6 -0
  423. package/node_modules/fastify-helmet/node_modules/semver/functions/rcompare.js +3 -0
  424. package/node_modules/fastify-helmet/node_modules/semver/functions/rsort.js +3 -0
  425. package/node_modules/fastify-helmet/node_modules/semver/functions/satisfies.js +10 -0
  426. package/node_modules/fastify-helmet/node_modules/semver/functions/sort.js +3 -0
  427. package/node_modules/fastify-helmet/node_modules/semver/functions/valid.js +6 -0
  428. package/node_modules/fastify-helmet/node_modules/semver/index.js +48 -0
  429. package/node_modules/fastify-helmet/node_modules/semver/internal/constants.js +17 -0
  430. package/node_modules/fastify-helmet/node_modules/semver/internal/debug.js +9 -0
  431. package/node_modules/fastify-helmet/node_modules/semver/internal/identifiers.js +23 -0
  432. package/node_modules/fastify-helmet/node_modules/semver/internal/parse-options.js +11 -0
  433. package/node_modules/fastify-helmet/node_modules/semver/internal/re.js +182 -0
  434. package/node_modules/fastify-helmet/node_modules/semver/package.json +76 -0
  435. package/node_modules/fastify-helmet/node_modules/semver/preload.js +2 -0
  436. package/node_modules/fastify-helmet/node_modules/semver/range.bnf +16 -0
  437. package/node_modules/fastify-helmet/node_modules/semver/ranges/gtr.js +4 -0
  438. package/node_modules/fastify-helmet/node_modules/semver/ranges/intersects.js +7 -0
  439. package/node_modules/fastify-helmet/node_modules/semver/ranges/ltr.js +4 -0
  440. package/node_modules/fastify-helmet/node_modules/semver/ranges/max-satisfying.js +25 -0
  441. package/node_modules/fastify-helmet/node_modules/semver/ranges/min-satisfying.js +24 -0
  442. package/node_modules/fastify-helmet/node_modules/semver/ranges/min-version.js +60 -0
  443. package/node_modules/fastify-helmet/node_modules/semver/ranges/outside.js +80 -0
  444. package/node_modules/fastify-helmet/node_modules/semver/ranges/simplify.js +44 -0
  445. package/node_modules/fastify-helmet/node_modules/semver/ranges/subset.js +222 -0
  446. package/node_modules/fastify-helmet/node_modules/semver/ranges/to-comparators.js +8 -0
  447. package/node_modules/fastify-helmet/node_modules/semver/ranges/valid.js +11 -0
  448. package/node_modules/fastify-helmet/package.json +17 -17
  449. package/node_modules/fastify-helmet/test.js +0 -27
  450. package/node_modules/fastify-plugin/package.json +0 -1
  451. package/node_modules/{avvio → fastify-static}/.dependabot/config.yml +0 -0
  452. package/node_modules/fastify-static/.github/workflows/ci.yml +1 -10
  453. package/node_modules/fastify-static/README.md +0 -3
  454. package/node_modules/fastify-static/example/public/index.js +1 -1
  455. package/node_modules/fastify-static/example/server-compress.js +2 -5
  456. package/node_modules/fastify-static/example/server-dir-list.js +18 -25
  457. package/node_modules/fastify-static/example/server.js +1 -4
  458. package/node_modules/fastify-static/index.d.ts +2 -2
  459. package/node_modules/fastify-static/index.js +31 -64
  460. package/node_modules/fastify-static/node_modules/glob/README.md +4 -1
  461. package/node_modules/fastify-static/node_modules/glob/common.js +4 -8
  462. package/node_modules/fastify-static/node_modules/glob/glob.js +4 -7
  463. package/node_modules/fastify-static/node_modules/glob/package.json +18 -12
  464. package/node_modules/fastify-static/node_modules/glob/sync.js +4 -7
  465. package/node_modules/fastify-static/package.json +13 -14
  466. package/node_modules/fastify-static/test/dir-list.test.js +1 -5
  467. package/node_modules/fastify-static/test/static.test.js +2 -261
  468. package/node_modules/fastify-static/test/types/index.ts +1 -13
  469. package/node_modules/find-my-way/.taprc +4 -1
  470. package/node_modules/find-my-way/README.md +96 -6
  471. package/node_modules/find-my-way/index.d.ts +6 -5
  472. package/node_modules/find-my-way/index.js +72 -10
  473. package/node_modules/find-my-way/lib/constrainer.js +6 -2
  474. package/node_modules/find-my-way/lib/pretty-print.js +234 -33
  475. package/node_modules/find-my-way/node.js +25 -28
  476. package/node_modules/find-my-way/package.json +11 -11
  477. package/node_modules/find-my-way/test/constraint.custom-versioning.test.js +2 -2
  478. package/node_modules/find-my-way/test/constraint.custom.test.js +72 -10
  479. package/node_modules/find-my-way/test/constraint.default-versioning.test.js +24 -1
  480. package/node_modules/find-my-way/test/constraint.host.test.js +7 -7
  481. package/node_modules/find-my-way/test/constraints.test.js +19 -19
  482. package/node_modules/find-my-way/test/errors.test.js +25 -25
  483. package/node_modules/find-my-way/test/fastify-issue-3129.test.js +35 -0
  484. package/node_modules/find-my-way/test/full-url.test.js +8 -8
  485. package/node_modules/find-my-way/test/host-storage.test.js +15 -15
  486. package/node_modules/find-my-way/test/http2/constraint.host.test.js +45 -0
  487. package/node_modules/find-my-way/test/issue-104.test.js +41 -18
  488. package/node_modules/find-my-way/test/issue-110.test.js +1 -1
  489. package/node_modules/find-my-way/test/issue-132.test.js +9 -9
  490. package/node_modules/find-my-way/test/issue-145.test.js +6 -6
  491. package/node_modules/find-my-way/test/issue-151.test.js +2 -2
  492. package/node_modules/find-my-way/test/issue-17.test.js +92 -12
  493. package/node_modules/find-my-way/test/issue-175.test.js +51 -1
  494. package/node_modules/find-my-way/test/issue-182.test.js +19 -0
  495. package/node_modules/find-my-way/test/issue-28.test.js +21 -21
  496. package/node_modules/find-my-way/test/issue-46.test.js +13 -13
  497. package/node_modules/find-my-way/test/issue-49.test.js +4 -4
  498. package/node_modules/find-my-way/test/issue-59.test.js +1 -1
  499. package/node_modules/find-my-way/test/issue-63.test.js +1 -1
  500. package/node_modules/find-my-way/test/issue-67.test.js +1 -1
  501. package/node_modules/find-my-way/test/max-param-length.test.js +5 -5
  502. package/node_modules/find-my-way/test/methods.test.js +53 -53
  503. package/node_modules/find-my-way/test/on-bad-url.test.js +4 -4
  504. package/node_modules/find-my-way/test/optional-params.test.js +145 -0
  505. package/node_modules/find-my-way/test/path-params-match.test.js +12 -12
  506. package/node_modules/find-my-way/test/pretty-print.test.js +364 -9
  507. package/node_modules/find-my-way/test/regex.test.js +5 -5
  508. package/node_modules/find-my-way/test/routes-registered.test.js +4 -4
  509. package/node_modules/find-my-way/test/server.test.js +23 -23
  510. package/node_modules/find-my-way/test/store.test.js +4 -4
  511. package/node_modules/find-my-way/test/types/router.test-d.ts +62 -0
  512. package/node_modules/follow-redirects/debug.js +2 -1
  513. package/node_modules/follow-redirects/index.js +111 -42
  514. package/node_modules/follow-redirects/package.json +10 -10
  515. package/node_modules/helmet/CHANGELOG.md +27 -3
  516. package/node_modules/helmet/README.md +130 -27
  517. package/node_modules/helmet/dist/index.d.ts +21 -13
  518. package/node_modules/helmet/dist/index.js +111 -52
  519. package/node_modules/helmet/dist/middlewares/content-security-policy/index.d.ts +2 -1
  520. package/node_modules/helmet/dist/middlewares/content-security-policy/index.js +28 -11
  521. package/node_modules/helmet/dist/middlewares/cross-origin-embedder-policy/index.d.ts +3 -0
  522. package/node_modules/helmet/dist/middlewares/cross-origin-embedder-policy/index.js +10 -0
  523. package/node_modules/helmet/dist/middlewares/cross-origin-opener-policy/index.d.ts +6 -0
  524. package/node_modules/helmet/dist/middlewares/cross-origin-opener-policy/index.js +19 -0
  525. package/node_modules/helmet/dist/middlewares/cross-origin-resource-policy/index.d.ts +6 -0
  526. package/node_modules/helmet/dist/middlewares/cross-origin-resource-policy/index.js +19 -0
  527. package/node_modules/helmet/package.json +19 -18
  528. package/node_modules/ieee754/package.json +1 -2
  529. package/node_modules/inherits/package.json +0 -1
  530. package/node_modules/ipaddr.js/Changes.md +20 -0
  531. package/node_modules/ipaddr.js/ipaddr.min.js +1 -1
  532. package/node_modules/ipaddr.js/lib/ipaddr.js +66 -0
  533. package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +1 -0
  534. package/node_modules/ipaddr.js/package.json +10 -10
  535. package/node_modules/{fastify-static → light-my-request}/.github/dependabot.yml +5 -1
  536. package/node_modules/light-my-request/.github/workflows/ci.yml +38 -12
  537. package/node_modules/light-my-request/README.md +5 -3
  538. package/node_modules/light-my-request/index.d.ts +6 -3
  539. package/node_modules/light-my-request/lib/parseURL.js +7 -4
  540. package/node_modules/light-my-request/lib/request.js +16 -6
  541. package/node_modules/light-my-request/lib/response.js +24 -11
  542. package/node_modules/light-my-request/node_modules/ajv/.runkit_example.js +23 -0
  543. package/node_modules/{@pm2/pm2-version-check/node_modules/ms/license.md → light-my-request/node_modules/ajv/LICENSE} +2 -1
  544. package/node_modules/light-my-request/node_modules/ajv/README.md +193 -0
  545. package/node_modules/light-my-request/node_modules/ajv/dist/2019.d.ts +17 -0
  546. package/node_modules/light-my-request/node_modules/ajv/dist/2019.js +55 -0
  547. package/node_modules/light-my-request/node_modules/ajv/dist/2019.js.map +1 -0
  548. package/node_modules/light-my-request/node_modules/ajv/dist/2020.d.ts +17 -0
  549. package/node_modules/light-my-request/node_modules/ajv/dist/2020.js +49 -0
  550. package/node_modules/light-my-request/node_modules/ajv/dist/2020.js.map +1 -0
  551. package/node_modules/light-my-request/node_modules/ajv/dist/ajv.d.ts +16 -0
  552. package/node_modules/light-my-request/node_modules/ajv/dist/ajv.js +44 -0
  553. package/node_modules/light-my-request/node_modules/ajv/dist/ajv.js.map +1 -0
  554. package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
  555. package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/code.js +155 -0
  556. package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  557. package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
  558. package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  559. package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  560. package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
  561. package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  562. package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  563. package/node_modules/light-my-request/node_modules/ajv/dist/compile/errors.d.ts +13 -0
  564. package/node_modules/light-my-request/node_modules/ajv/dist/compile/errors.js +123 -0
  565. package/node_modules/light-my-request/node_modules/ajv/dist/compile/errors.js.map +1 -0
  566. package/node_modules/light-my-request/node_modules/ajv/dist/compile/index.d.ts +80 -0
  567. package/node_modules/light-my-request/node_modules/ajv/dist/compile/index.js +242 -0
  568. package/node_modules/light-my-request/node_modules/ajv/dist/compile/index.js.map +1 -0
  569. package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
  570. package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
  571. package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
  572. package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
  573. package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/serialize.js +218 -0
  574. package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
  575. package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
  576. package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  577. package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
  578. package/node_modules/light-my-request/node_modules/ajv/dist/compile/names.d.ts +20 -0
  579. package/node_modules/light-my-request/node_modules/ajv/dist/compile/names.js +28 -0
  580. package/node_modules/light-my-request/node_modules/ajv/dist/compile/names.js.map +1 -0
  581. package/node_modules/light-my-request/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
  582. package/node_modules/light-my-request/node_modules/ajv/dist/compile/ref_error.js +12 -0
  583. package/node_modules/light-my-request/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  584. package/node_modules/light-my-request/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
  585. package/node_modules/light-my-request/node_modules/ajv/dist/compile/resolve.js +155 -0
  586. package/node_modules/light-my-request/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  587. package/node_modules/light-my-request/node_modules/ajv/dist/compile/rules.d.ts +28 -0
  588. package/node_modules/light-my-request/node_modules/ajv/dist/compile/rules.js +26 -0
  589. package/node_modules/light-my-request/node_modules/ajv/dist/compile/rules.js.map +1 -0
  590. package/node_modules/light-my-request/node_modules/ajv/dist/compile/util.d.ts +40 -0
  591. package/node_modules/light-my-request/node_modules/ajv/dist/compile/util.js +178 -0
  592. package/node_modules/light-my-request/node_modules/ajv/dist/compile/util.js.map +1 -0
  593. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
  594. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  595. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  596. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
  597. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  598. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  599. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
  600. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/dataType.js +202 -0
  601. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  602. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
  603. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  604. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  605. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
  606. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/index.js +510 -0
  607. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  608. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
  609. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  610. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  611. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
  612. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  613. package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  614. package/node_modules/light-my-request/node_modules/ajv/dist/core.d.ts +173 -0
  615. package/node_modules/light-my-request/node_modules/ajv/dist/core.js +617 -0
  616. package/node_modules/light-my-request/node_modules/ajv/dist/core.js.map +1 -0
  617. package/node_modules/light-my-request/node_modules/ajv/dist/jtd.d.ts +45 -0
  618. package/node_modules/light-my-request/node_modules/ajv/dist/jtd.js +66 -0
  619. package/node_modules/light-my-request/node_modules/ajv/dist/jtd.js.map +1 -0
  620. package/node_modules/light-my-request/node_modules/ajv/dist/refs/data.json +13 -0
  621. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
  622. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  623. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
  624. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  625. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  626. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  627. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  628. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  629. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  630. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  631. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
  632. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  633. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
  634. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  635. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  636. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  637. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  638. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  639. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  640. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  641. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  642. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  643. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  644. package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  645. package/node_modules/light-my-request/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
  646. package/node_modules/light-my-request/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  647. package/node_modules/light-my-request/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
  648. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
  649. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/equal.js +7 -0
  650. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  651. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
  652. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/parseJson.js +184 -0
  653. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
  654. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
  655. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/quote.js +30 -0
  656. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/quote.js.map +1 -0
  657. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
  658. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/re2.js +6 -0
  659. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/re2.js.map +1 -0
  660. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
  661. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/timestamp.js +42 -0
  662. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
  663. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
  664. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  665. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  666. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
  667. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/uri.js +6 -0
  668. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  669. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
  670. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  671. package/node_modules/light-my-request/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  672. package/node_modules/light-my-request/node_modules/ajv/dist/standalone/index.d.ts +6 -0
  673. package/node_modules/light-my-request/node_modules/ajv/dist/standalone/index.js +90 -0
  674. package/node_modules/light-my-request/node_modules/ajv/dist/standalone/index.js.map +1 -0
  675. package/node_modules/light-my-request/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
  676. package/node_modules/light-my-request/node_modules/ajv/dist/standalone/instance.js +35 -0
  677. package/node_modules/light-my-request/node_modules/ajv/dist/standalone/instance.js.map +1 -0
  678. package/node_modules/light-my-request/node_modules/ajv/dist/types/index.d.ts +183 -0
  679. package/node_modules/light-my-request/node_modules/ajv/dist/types/index.js +3 -0
  680. package/node_modules/light-my-request/node_modules/ajv/dist/types/index.js.map +1 -0
  681. package/node_modules/light-my-request/node_modules/ajv/dist/types/json-schema.d.ts +124 -0
  682. package/node_modules/light-my-request/node_modules/ajv/dist/types/json-schema.js +3 -0
  683. package/node_modules/light-my-request/node_modules/ajv/dist/types/json-schema.js.map +1 -0
  684. package/node_modules/light-my-request/node_modules/ajv/dist/types/jtd-schema.d.ts +169 -0
  685. package/node_modules/light-my-request/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  686. package/node_modules/light-my-request/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
  687. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
  688. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  689. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  690. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
  691. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  692. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  693. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
  694. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  695. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  696. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
  697. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  698. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  699. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
  700. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  701. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  702. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
  703. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  704. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  705. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
  706. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  707. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
  708. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
  709. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  710. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  711. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
  712. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  713. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  714. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
  715. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  716. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  717. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
  718. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  719. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  720. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
  721. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  722. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  723. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
  724. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  725. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  726. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
  727. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  728. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  729. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
  730. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  731. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  732. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
  733. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  734. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  735. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
  736. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  737. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  738. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
  739. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  740. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  741. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
  742. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/code.js +131 -0
  743. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  744. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
  745. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  746. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  747. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
  748. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  749. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  750. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
  751. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  752. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  753. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
  754. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/index.js +100 -0
  755. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  756. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
  757. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  758. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  759. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
  760. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
  761. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
  762. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
  763. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  764. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  765. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
  766. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  767. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
  768. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
  769. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  770. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
  771. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
  772. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  773. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
  774. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
  775. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  776. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
  777. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
  778. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  779. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
  780. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
  781. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  782. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
  783. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
  784. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  785. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  786. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
  787. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  788. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  789. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
  790. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
  791. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
  792. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
  793. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
  794. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
  795. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
  796. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
  797. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
  798. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
  799. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
  800. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
  801. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
  802. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
  803. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
  804. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
  805. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  806. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
  807. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
  808. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  809. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
  810. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
  811. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
  812. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
  813. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
  814. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/properties.js +146 -0
  815. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
  816. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
  817. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
  818. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
  819. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
  820. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
  821. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
  822. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
  823. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
  824. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
  825. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
  826. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/values.js +48 -0
  827. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
  828. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
  829. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  830. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  831. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
  832. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/next.js +8 -0
  833. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
  834. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
  835. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  836. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
  837. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
  838. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  839. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
  840. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
  841. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
  842. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
  843. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
  844. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  845. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  846. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
  847. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  848. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
  849. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
  850. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/enum.js +47 -0
  851. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  852. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
  853. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  854. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  855. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
  856. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  857. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
  858. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
  859. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  860. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  861. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
  862. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  863. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  864. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
  865. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  866. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  867. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
  868. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  869. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  870. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
  871. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  872. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  873. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
  874. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
  875. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  876. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
  877. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  878. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  879. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
  880. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  881. package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  882. package/node_modules/light-my-request/node_modules/ajv/lib/2019.ts +78 -0
  883. package/node_modules/light-my-request/node_modules/ajv/lib/2020.ts +72 -0
  884. package/node_modules/light-my-request/node_modules/ajv/lib/ajv.ts +67 -0
  885. package/node_modules/light-my-request/node_modules/ajv/lib/compile/codegen/code.ts +168 -0
  886. package/node_modules/light-my-request/node_modules/ajv/lib/compile/codegen/index.ts +832 -0
  887. package/node_modules/light-my-request/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  888. package/node_modules/light-my-request/node_modules/ajv/lib/compile/errors.ts +184 -0
  889. package/node_modules/light-my-request/node_modules/ajv/lib/compile/index.ts +324 -0
  890. package/node_modules/light-my-request/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
  891. package/node_modules/light-my-request/node_modules/ajv/lib/compile/jtd/serialize.ts +260 -0
  892. package/node_modules/light-my-request/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  893. package/node_modules/light-my-request/node_modules/ajv/lib/compile/names.ts +27 -0
  894. package/node_modules/light-my-request/node_modules/ajv/lib/compile/ref_error.ts +13 -0
  895. package/node_modules/light-my-request/node_modules/ajv/lib/compile/resolve.ts +149 -0
  896. package/node_modules/light-my-request/node_modules/ajv/lib/compile/rules.ts +50 -0
  897. package/node_modules/light-my-request/node_modules/ajv/lib/compile/util.ts +213 -0
  898. package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  899. package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  900. package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/dataType.ts +229 -0
  901. package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  902. package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/index.ts +573 -0
  903. package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
  904. package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
  905. package/node_modules/light-my-request/node_modules/ajv/lib/core.ts +887 -0
  906. package/node_modules/light-my-request/node_modules/ajv/lib/jtd.ts +129 -0
  907. package/node_modules/light-my-request/node_modules/ajv/lib/refs/data.json +13 -0
  908. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  909. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  910. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  911. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  912. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  913. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  914. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  915. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  916. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
  917. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
  918. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
  919. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
  920. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  921. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  922. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  923. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
  924. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
  925. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  926. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  927. package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  928. package/node_modules/light-my-request/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  929. package/node_modules/light-my-request/node_modules/ajv/lib/runtime/equal.ts +7 -0
  930. package/node_modules/light-my-request/node_modules/ajv/lib/runtime/parseJson.ts +176 -0
  931. package/node_modules/light-my-request/node_modules/ajv/lib/runtime/quote.ts +31 -0
  932. package/node_modules/light-my-request/node_modules/ajv/lib/runtime/re2.ts +6 -0
  933. package/node_modules/light-my-request/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
  934. package/node_modules/light-my-request/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
  935. package/node_modules/light-my-request/node_modules/ajv/lib/runtime/uri.ts +6 -0
  936. package/node_modules/light-my-request/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
  937. package/node_modules/light-my-request/node_modules/ajv/lib/standalone/index.ts +100 -0
  938. package/node_modules/light-my-request/node_modules/ajv/lib/standalone/instance.ts +36 -0
  939. package/node_modules/light-my-request/node_modules/ajv/lib/types/index.ts +240 -0
  940. package/node_modules/light-my-request/node_modules/ajv/lib/types/json-schema.ts +186 -0
  941. package/node_modules/light-my-request/node_modules/ajv/lib/types/jtd-schema.ts +263 -0
  942. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
  943. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  944. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  945. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
  946. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
  947. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  948. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  949. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
  950. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
  951. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
  952. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
  953. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
  954. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
  955. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
  956. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
  957. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  958. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  959. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  960. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/code.ts +168 -0
  961. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  962. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  963. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
  964. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/discriminator/index.ts +110 -0
  965. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
  966. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
  967. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  968. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
  969. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  970. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  971. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  972. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  973. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
  974. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
  975. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  976. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
  977. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
  978. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
  979. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
  980. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
  981. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  982. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
  983. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
  984. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/properties.ts +177 -0
  985. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
  986. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
  987. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
  988. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/values.ts +55 -0
  989. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  990. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  991. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  992. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
  993. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
  994. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
  995. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  996. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/enum.ts +52 -0
  997. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  998. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  999. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  1000. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
  1001. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  1002. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  1003. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  1004. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
  1005. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  1006. package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
  1007. package/node_modules/light-my-request/node_modules/ajv/package.json +161 -0
  1008. package/node_modules/light-my-request/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  1009. package/node_modules/light-my-request/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
  1010. package/node_modules/light-my-request/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
  1011. package/node_modules/light-my-request/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
  1012. package/node_modules/light-my-request/node_modules/json-schema-traverse/LICENSE +21 -0
  1013. package/node_modules/light-my-request/node_modules/json-schema-traverse/README.md +95 -0
  1014. package/node_modules/light-my-request/node_modules/json-schema-traverse/index.d.ts +40 -0
  1015. package/node_modules/light-my-request/node_modules/json-schema-traverse/index.js +93 -0
  1016. package/node_modules/light-my-request/node_modules/json-schema-traverse/package.json +73 -0
  1017. package/node_modules/light-my-request/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  1018. package/node_modules/light-my-request/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  1019. package/node_modules/light-my-request/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  1020. package/node_modules/light-my-request/package.json +26 -19
  1021. package/node_modules/light-my-request/test/benchmark.js +67 -0
  1022. package/node_modules/light-my-request/test/index.test-d.ts +6 -4
  1023. package/node_modules/light-my-request/test/test.js +103 -14
  1024. package/node_modules/lmdb-store/build/Makefile +1 -1
  1025. package/node_modules/lodash/package.json +4 -1
  1026. package/node_modules/lru-cache/package.json +1 -0
  1027. package/node_modules/minipass/README.md +7 -7
  1028. package/node_modules/minipass/index.js +18 -3
  1029. package/node_modules/minipass/package.json +11 -11
  1030. package/node_modules/msgpackr-extract/build/Makefile +1 -1
  1031. package/node_modules/node-lmdb/build/Makefile +1 -1
  1032. package/node_modules/{@pm2 → pm2/node_modules/@pm2}/pm2-version-check/README.md +0 -0
  1033. package/node_modules/{@pm2 → pm2/node_modules/@pm2}/pm2-version-check/index.js +0 -0
  1034. package/node_modules/{@pm2 → pm2/node_modules/@pm2}/pm2-version-check/package.json +1 -1
  1035. package/node_modules/pm2/node_modules/debug/package.json +2 -1
  1036. package/node_modules/{socketcluster-client/node_modules/clone → pm2-sysmonit/node_modules/systeminformation}/LICENSE +7 -5
  1037. package/node_modules/pm2-sysmonit/node_modules/systeminformation/README.md +1075 -0
  1038. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/audio.js +219 -0
  1039. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/battery.js +309 -0
  1040. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/bluetooth.js +183 -0
  1041. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/cli.js +31 -0
  1042. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/cpu.js +1681 -0
  1043. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/docker.js +764 -0
  1044. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/dockerSocket.js +327 -0
  1045. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/filesystem.js +1270 -0
  1046. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/graphics.js +1062 -0
  1047. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/index.d.ts +988 -0
  1048. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/index.js +513 -0
  1049. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/internet.js +240 -0
  1050. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/memory.js +547 -0
  1051. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/network.js +1713 -0
  1052. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/osinfo.js +1161 -0
  1053. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/printer.js +212 -0
  1054. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/processes.js +1257 -0
  1055. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/system.js +829 -0
  1056. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/usb.js +305 -0
  1057. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/users.js +441 -0
  1058. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/util.js +1276 -0
  1059. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/virtualbox.js +107 -0
  1060. package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/wifi.js +747 -0
  1061. package/node_modules/pm2-sysmonit/node_modules/systeminformation/package.json +135 -0
  1062. package/node_modules/printj/package.json +1 -0
  1063. package/node_modules/pumpify/node_modules/duplexify/.travis.yml +3 -0
  1064. package/node_modules/pumpify/node_modules/duplexify/index.js +1 -1
  1065. package/node_modules/pumpify/node_modules/duplexify/package.json +10 -10
  1066. package/node_modules/pumpify/node_modules/duplexify/test.js +1 -0
  1067. package/node_modules/request/node_modules/mime-db/HISTORY.md +0 -6
  1068. package/node_modules/request/node_modules/mime-db/db.json +1 -39
  1069. package/node_modules/request/node_modules/mime-db/package.json +13 -13
  1070. package/node_modules/request/node_modules/mime-types/HISTORY.md +0 -7
  1071. package/node_modules/request/node_modules/mime-types/package.json +13 -13
  1072. package/node_modules/require-from-string/index.js +34 -0
  1073. package/node_modules/require-from-string/license +21 -0
  1074. package/node_modules/require-from-string/package.json +61 -0
  1075. package/node_modules/require-from-string/readme.md +56 -0
  1076. package/node_modules/sc-errors/package.json +2 -1
  1077. package/node_modules/secure-json-parse/.github/workflows/ci.yml +16 -1
  1078. package/node_modules/secure-json-parse/index.d.ts +60 -0
  1079. package/node_modules/secure-json-parse/index.test-d.ts +30 -0
  1080. package/node_modules/secure-json-parse/package.json +16 -13
  1081. package/node_modules/send/HISTORY.md +10 -0
  1082. package/node_modules/send/README.md +4 -6
  1083. package/node_modules/send/index.js +7 -3
  1084. package/node_modules/send/node_modules/http-errors/HISTORY.md +11 -0
  1085. package/node_modules/send/node_modules/http-errors/README.md +12 -6
  1086. package/node_modules/send/node_modules/http-errors/index.js +35 -2
  1087. package/node_modules/send/node_modules/http-errors/package.json +24 -24
  1088. package/node_modules/send/node_modules/ms/index.js +3 -3
  1089. package/node_modules/send/node_modules/ms/license.md +1 -1
  1090. package/node_modules/send/node_modules/ms/package.json +16 -15
  1091. package/node_modules/send/node_modules/ms/readme.md +1 -2
  1092. package/node_modules/send/node_modules/setprototypeof/README.md +1 -1
  1093. package/node_modules/send/node_modules/setprototypeof/index.js +1 -1
  1094. package/node_modules/send/node_modules/setprototypeof/package.json +14 -12
  1095. package/node_modules/send/package.json +26 -26
  1096. package/node_modules/socketcluster-client/bower.json +1 -1
  1097. package/node_modules/socketcluster-client/index.js +1 -1
  1098. package/node_modules/socketcluster-client/node_modules/buffer/AUTHORS.md +8 -0
  1099. package/node_modules/socketcluster-client/node_modules/buffer/README.md +0 -6
  1100. package/node_modules/socketcluster-client/node_modules/buffer/index.d.ts +1 -1
  1101. package/node_modules/socketcluster-client/node_modules/buffer/index.js +49 -37
  1102. package/node_modules/socketcluster-client/node_modules/buffer/package.json +36 -22
  1103. package/node_modules/socketcluster-client/node_modules/ieee754/LICENSE +11 -0
  1104. package/node_modules/socketcluster-client/node_modules/ieee754/README.md +51 -0
  1105. package/node_modules/socketcluster-client/node_modules/ieee754/index.d.ts +10 -0
  1106. package/node_modules/socketcluster-client/node_modules/ieee754/index.js +85 -0
  1107. package/node_modules/socketcluster-client/node_modules/ieee754/package.json +87 -0
  1108. package/node_modules/socketcluster-client/node_modules/ws/LICENSE +21 -0
  1109. package/node_modules/socketcluster-client/node_modules/ws/README.md +389 -0
  1110. package/node_modules/socketcluster-client/node_modules/ws/index.js +9 -0
  1111. package/node_modules/socketcluster-client/node_modules/ws/lib/.DS_Store +0 -0
  1112. package/node_modules/socketcluster-client/node_modules/ws/lib/buffer-util.js +72 -0
  1113. package/node_modules/socketcluster-client/node_modules/ws/lib/constants.js +10 -0
  1114. package/node_modules/socketcluster-client/node_modules/ws/lib/event-target.js +170 -0
  1115. package/node_modules/socketcluster-client/node_modules/ws/lib/extension.js +211 -0
  1116. package/node_modules/socketcluster-client/node_modules/ws/lib/permessage-deflate.js +516 -0
  1117. package/node_modules/socketcluster-client/node_modules/ws/lib/receiver.js +513 -0
  1118. package/node_modules/socketcluster-client/node_modules/ws/lib/sender.js +401 -0
  1119. package/node_modules/socketcluster-client/node_modules/ws/lib/validation.js +29 -0
  1120. package/node_modules/socketcluster-client/node_modules/ws/lib/websocket-server.js +350 -0
  1121. package/node_modules/socketcluster-client/node_modules/ws/lib/websocket.js +821 -0
  1122. package/node_modules/socketcluster-client/node_modules/ws/package.json +81 -0
  1123. package/node_modules/socketcluster-client/package.json +17 -18
  1124. package/node_modules/socketcluster-client/socketcluster.js +12 -40
  1125. package/node_modules/socketcluster-client/socketcluster.min.js +2 -2
  1126. package/node_modules/string_decoder/package.json +0 -1
  1127. package/node_modules/systeminformation/CHANGELOG.md +3 -22
  1128. package/node_modules/systeminformation/README.md +1 -4
  1129. package/node_modules/systeminformation/lib/battery.js +26 -104
  1130. package/node_modules/systeminformation/lib/cpu.js +10 -13
  1131. package/node_modules/systeminformation/lib/docker.js +3 -3
  1132. package/node_modules/systeminformation/lib/filesystem.js +59 -86
  1133. package/node_modules/systeminformation/lib/graphics.js +22 -91
  1134. package/node_modules/systeminformation/lib/index.d.ts +11 -48
  1135. package/node_modules/systeminformation/lib/memory.js +1 -1
  1136. package/node_modules/systeminformation/lib/network.js +7 -17
  1137. package/node_modules/systeminformation/lib/osinfo.js +7 -10
  1138. package/node_modules/systeminformation/lib/processes.js +23 -35
  1139. package/node_modules/systeminformation/lib/system.js +5 -5
  1140. package/node_modules/systeminformation/lib/util.js +1 -41
  1141. package/node_modules/systeminformation/package.json +11 -12
  1142. package/node_modules/toidentifier/HISTORY.md +9 -0
  1143. package/node_modules/toidentifier/README.md +3 -3
  1144. package/node_modules/toidentifier/index.js +2 -0
  1145. package/node_modules/toidentifier/package.json +25 -21
  1146. package/node_modules/uri-js/package.json +2 -1
  1147. package/node_modules/util-deprecate/package.json +0 -1
  1148. package/node_modules/vizion/node_modules/async/CHANGELOG.md +275 -0
  1149. package/node_modules/vizion/node_modules/async/LICENSE +19 -0
  1150. package/node_modules/vizion/node_modules/async/README.md +56 -0
  1151. package/node_modules/vizion/node_modules/async/all.js +50 -0
  1152. package/node_modules/vizion/node_modules/async/allLimit.js +42 -0
  1153. package/node_modules/vizion/node_modules/async/allSeries.js +37 -0
  1154. package/node_modules/vizion/node_modules/async/any.js +52 -0
  1155. package/node_modules/vizion/node_modules/async/anyLimit.js +43 -0
  1156. package/node_modules/vizion/node_modules/async/anySeries.js +38 -0
  1157. package/node_modules/vizion/node_modules/async/apply.js +68 -0
  1158. package/node_modules/vizion/node_modules/async/applyEach.js +51 -0
  1159. package/node_modules/vizion/node_modules/async/applyEachSeries.js +37 -0
  1160. package/node_modules/vizion/node_modules/async/asyncify.js +110 -0
  1161. package/node_modules/vizion/node_modules/async/auto.js +289 -0
  1162. package/node_modules/vizion/node_modules/async/autoInject.js +170 -0
  1163. package/node_modules/vizion/node_modules/async/bower.json +17 -0
  1164. package/node_modules/vizion/node_modules/async/cargo.js +94 -0
  1165. package/node_modules/vizion/node_modules/async/compose.js +58 -0
  1166. package/node_modules/vizion/node_modules/async/concat.js +43 -0
  1167. package/node_modules/vizion/node_modules/async/concatLimit.js +65 -0
  1168. package/node_modules/vizion/node_modules/async/concatSeries.js +36 -0
  1169. package/node_modules/vizion/node_modules/async/constant.js +66 -0
  1170. package/node_modules/vizion/node_modules/async/detect.js +61 -0
  1171. package/node_modules/vizion/node_modules/async/detectLimit.js +48 -0
  1172. package/node_modules/vizion/node_modules/async/detectSeries.js +38 -0
  1173. package/node_modules/vizion/node_modules/async/dir.js +43 -0
  1174. package/node_modules/vizion/node_modules/async/dist/async.js +5609 -0
  1175. package/node_modules/vizion/node_modules/async/dist/async.min.js +2 -0
  1176. package/node_modules/vizion/node_modules/async/dist/async.min.map +1 -0
  1177. package/node_modules/vizion/node_modules/async/doDuring.js +66 -0
  1178. package/node_modules/vizion/node_modules/async/doUntil.js +39 -0
  1179. package/node_modules/vizion/node_modules/async/doWhilst.js +59 -0
  1180. package/node_modules/vizion/node_modules/async/during.js +76 -0
  1181. package/node_modules/vizion/node_modules/async/each.js +82 -0
  1182. package/node_modules/vizion/node_modules/async/eachLimit.js +45 -0
  1183. package/node_modules/vizion/node_modules/async/eachOf.js +111 -0
  1184. package/node_modules/vizion/node_modules/async/eachOfLimit.js +41 -0
  1185. package/node_modules/vizion/node_modules/async/eachOfSeries.js +35 -0
  1186. package/node_modules/vizion/node_modules/async/eachSeries.js +37 -0
  1187. package/node_modules/vizion/node_modules/async/ensureAsync.js +73 -0
  1188. package/node_modules/vizion/node_modules/async/every.js +50 -0
  1189. package/node_modules/vizion/node_modules/async/everyLimit.js +42 -0
  1190. package/node_modules/vizion/node_modules/async/everySeries.js +37 -0
  1191. package/node_modules/vizion/node_modules/async/filter.js +45 -0
  1192. package/node_modules/vizion/node_modules/async/filterLimit.js +37 -0
  1193. package/node_modules/vizion/node_modules/async/filterSeries.js +35 -0
  1194. package/node_modules/vizion/node_modules/async/find.js +61 -0
  1195. package/node_modules/vizion/node_modules/async/findLimit.js +48 -0
  1196. package/node_modules/vizion/node_modules/async/findSeries.js +38 -0
  1197. package/node_modules/vizion/node_modules/async/foldl.js +78 -0
  1198. package/node_modules/vizion/node_modules/async/foldr.js +44 -0
  1199. package/node_modules/vizion/node_modules/async/forEach.js +82 -0
  1200. package/node_modules/vizion/node_modules/async/forEachLimit.js +45 -0
  1201. package/node_modules/vizion/node_modules/async/forEachOf.js +111 -0
  1202. package/node_modules/vizion/node_modules/async/forEachOfLimit.js +41 -0
  1203. package/node_modules/vizion/node_modules/async/forEachOfSeries.js +35 -0
  1204. package/node_modules/vizion/node_modules/async/forEachSeries.js +37 -0
  1205. package/node_modules/vizion/node_modules/async/forever.js +65 -0
  1206. package/node_modules/vizion/node_modules/async/groupBy.js +54 -0
  1207. package/node_modules/vizion/node_modules/async/groupByLimit.js +71 -0
  1208. package/node_modules/vizion/node_modules/async/groupBySeries.js +37 -0
  1209. package/node_modules/vizion/node_modules/async/index.js +582 -0
  1210. package/node_modules/vizion/node_modules/async/inject.js +78 -0
  1211. package/node_modules/vizion/node_modules/async/internal/DoublyLinkedList.js +88 -0
  1212. package/node_modules/vizion/node_modules/async/internal/applyEach.js +38 -0
  1213. package/node_modules/vizion/node_modules/async/internal/breakLoop.js +9 -0
  1214. package/node_modules/vizion/node_modules/async/internal/consoleFunc.js +42 -0
  1215. package/node_modules/vizion/node_modules/async/internal/createTester.js +44 -0
  1216. package/node_modules/vizion/node_modules/async/internal/doLimit.js +12 -0
  1217. package/node_modules/vizion/node_modules/async/internal/doParallel.js +23 -0
  1218. package/node_modules/vizion/node_modules/async/internal/doParallelLimit.js +23 -0
  1219. package/node_modules/vizion/node_modules/async/internal/eachOfLimit.js +74 -0
  1220. package/node_modules/vizion/node_modules/async/internal/filter.js +75 -0
  1221. package/node_modules/vizion/node_modules/async/internal/findGetResult.js +10 -0
  1222. package/node_modules/vizion/node_modules/async/internal/getIterator.js +13 -0
  1223. package/node_modules/vizion/node_modules/async/internal/initialParams.js +21 -0
  1224. package/node_modules/vizion/node_modules/async/internal/iterator.js +58 -0
  1225. package/node_modules/vizion/node_modules/async/internal/map.js +35 -0
  1226. package/node_modules/vizion/node_modules/async/internal/notId.js +10 -0
  1227. package/node_modules/vizion/node_modules/async/internal/once.js +15 -0
  1228. package/node_modules/vizion/node_modules/async/internal/onlyOnce.js +15 -0
  1229. package/node_modules/vizion/node_modules/async/internal/parallel.js +42 -0
  1230. package/node_modules/vizion/node_modules/async/internal/queue.js +204 -0
  1231. package/node_modules/vizion/node_modules/async/internal/reject.js +21 -0
  1232. package/node_modules/vizion/node_modules/async/internal/setImmediate.js +42 -0
  1233. package/node_modules/vizion/node_modules/async/internal/slice.js +16 -0
  1234. package/node_modules/vizion/node_modules/async/internal/withoutIndex.js +12 -0
  1235. package/node_modules/vizion/node_modules/async/internal/wrapAsync.js +25 -0
  1236. package/node_modules/vizion/node_modules/async/log.js +41 -0
  1237. package/node_modules/vizion/node_modules/async/map.js +54 -0
  1238. package/node_modules/vizion/node_modules/async/mapLimit.js +37 -0
  1239. package/node_modules/vizion/node_modules/async/mapSeries.js +36 -0
  1240. package/node_modules/vizion/node_modules/async/mapValues.js +63 -0
  1241. package/node_modules/vizion/node_modules/async/mapValuesLimit.js +61 -0
  1242. package/node_modules/vizion/node_modules/async/mapValuesSeries.js +37 -0
  1243. package/node_modules/vizion/node_modules/async/memoize.js +101 -0
  1244. package/node_modules/vizion/node_modules/async/nextTick.js +51 -0
  1245. package/node_modules/vizion/node_modules/async/package.json +110 -0
  1246. package/node_modules/vizion/node_modules/async/parallel.js +90 -0
  1247. package/node_modules/vizion/node_modules/async/parallelLimit.js +40 -0
  1248. package/node_modules/vizion/node_modules/async/priorityQueue.js +98 -0
  1249. package/node_modules/vizion/node_modules/async/queue.js +130 -0
  1250. package/node_modules/vizion/node_modules/async/race.js +70 -0
  1251. package/node_modules/vizion/node_modules/async/reduce.js +78 -0
  1252. package/node_modules/vizion/node_modules/async/reduceRight.js +44 -0
  1253. package/node_modules/vizion/node_modules/async/reflect.js +81 -0
  1254. package/node_modules/vizion/node_modules/async/reflectAll.js +105 -0
  1255. package/node_modules/vizion/node_modules/async/reject.js +45 -0
  1256. package/node_modules/vizion/node_modules/async/rejectLimit.js +37 -0
  1257. package/node_modules/vizion/node_modules/async/rejectSeries.js +35 -0
  1258. package/node_modules/vizion/node_modules/async/retry.js +156 -0
  1259. package/node_modules/vizion/node_modules/async/retryable.js +65 -0
  1260. package/node_modules/vizion/node_modules/async/select.js +45 -0
  1261. package/node_modules/vizion/node_modules/async/selectLimit.js +37 -0
  1262. package/node_modules/vizion/node_modules/async/selectSeries.js +35 -0
  1263. package/node_modules/vizion/node_modules/async/seq.js +91 -0
  1264. package/node_modules/vizion/node_modules/async/series.js +85 -0
  1265. package/node_modules/vizion/node_modules/async/setImmediate.js +45 -0
  1266. package/node_modules/vizion/node_modules/async/some.js +52 -0
  1267. package/node_modules/vizion/node_modules/async/someLimit.js +43 -0
  1268. package/node_modules/vizion/node_modules/async/someSeries.js +38 -0
  1269. package/node_modules/vizion/node_modules/async/sortBy.js +91 -0
  1270. package/node_modules/vizion/node_modules/async/timeout.js +89 -0
  1271. package/node_modules/vizion/node_modules/async/times.js +50 -0
  1272. package/node_modules/vizion/node_modules/async/timesLimit.js +42 -0
  1273. package/node_modules/vizion/node_modules/async/timesSeries.js +32 -0
  1274. package/node_modules/vizion/node_modules/async/transform.js +87 -0
  1275. package/node_modules/vizion/node_modules/async/tryEach.js +81 -0
  1276. package/node_modules/vizion/node_modules/async/unmemoize.js +25 -0
  1277. package/node_modules/vizion/node_modules/async/until.js +41 -0
  1278. package/node_modules/vizion/node_modules/async/waterfall.js +113 -0
  1279. package/node_modules/vizion/node_modules/async/whilst.js +72 -0
  1280. package/node_modules/vizion/node_modules/async/wrapSync.js +110 -0
  1281. package/node_modules/vizion/package.json +3 -1
  1282. package/node_modules/ws/package.json +0 -1
  1283. package/package.json +62 -62
  1284. package/security/JWTObjects.jsc +0 -0
  1285. package/security/auth.jsc +0 -0
  1286. package/security/cryptoHash.jsc +0 -0
  1287. package/security/data_objects/PermissionAttributeResponseObject.jsc +0 -0
  1288. package/security/data_objects/PermissionResponseObject.jsc +0 -0
  1289. package/security/data_objects/PermissionTableResponseObject.jsc +0 -0
  1290. package/security/permissionsTranslator.jsc +0 -0
  1291. package/security/role.jsc +0 -0
  1292. package/security/tokenAuthentication.jsc +0 -0
  1293. package/security/user.jsc +0 -0
  1294. package/server/ClusteringOriginObject.jsc +0 -0
  1295. package/server/JobObject.jsc +0 -0
  1296. package/server/clustering/ClusterStatusObject.jsc +0 -0
  1297. package/server/clustering/NodeObject.jsc +0 -0
  1298. package/server/clustering/clusterUtilities.jsc +0 -0
  1299. package/server/configuration.jsc +0 -0
  1300. package/server/customFunctions/customFunctionsServer.jsc +0 -0
  1301. package/server/customFunctions/helpers/getCORSOptions.jsc +0 -0
  1302. package/server/customFunctions/helpers/getHeaderTimeoutConfig.jsc +0 -0
  1303. package/server/customFunctions/helpers/getServerOptions.jsc +0 -0
  1304. package/server/customFunctions/operations.jsc +0 -0
  1305. package/server/customFunctions/operationsValidation.jsc +0 -0
  1306. package/server/customFunctions/plugins/hdbCore.js +11 -7
  1307. package/server/harperdb/hdbServer.jsc +0 -0
  1308. package/server/ipc/IPCClient.jsc +0 -0
  1309. package/server/ipc/hdbIpcServer.jsc +0 -0
  1310. package/server/ipc/serverHandlers.jsc +0 -0
  1311. package/server/ipc/utility/IPCEventObject.jsc +0 -0
  1312. package/server/ipc/utility/ipcUtils.jsc +0 -0
  1313. package/server/jobRunner.jsc +0 -0
  1314. package/server/jobThread.jsc +0 -0
  1315. package/server/jobs.jsc +0 -0
  1316. package/server/serverHelpers/OperationFunctionObject.jsc +0 -0
  1317. package/server/serverHelpers/requestTimePlugin.jsc +0 -0
  1318. package/server/serverHelpers/serverHandlers.jsc +0 -0
  1319. package/server/serverHelpers/serverUtilities.jsc +0 -0
  1320. package/server/socketcluster/Server.jsc +0 -0
  1321. package/server/socketcluster/broker.jsc +0 -0
  1322. package/server/socketcluster/connector/HDBSocketConnector.jsc +0 -0
  1323. package/server/socketcluster/connector/InterNodeSocketConnector.jsc +0 -0
  1324. package/server/socketcluster/connector/SocketConnector.jsc +0 -0
  1325. package/server/socketcluster/connector/spawnSCConnection.jsc +0 -0
  1326. package/server/socketcluster/decisionMatrix/CoreDecisionMatrix.jsc +0 -0
  1327. package/server/socketcluster/decisionMatrix/DecisionMatrixIF.jsc +0 -0
  1328. package/server/socketcluster/decisionMatrix/rules/AssignToHdbChildWorkerRule.jsc +0 -0
  1329. package/server/socketcluster/decisionMatrix/rules/CallRoomMsgHandlerRule.jsc +0 -0
  1330. package/server/socketcluster/decisionMatrix/rules/CleanDataObjectRule.jsc +0 -0
  1331. package/server/socketcluster/decisionMatrix/rules/CommandCollection.jsc +0 -0
  1332. package/server/socketcluster/decisionMatrix/rules/DummyRule.jsc +0 -0
  1333. package/server/socketcluster/decisionMatrix/rules/RulesIF.jsc +0 -0
  1334. package/server/socketcluster/decisionMatrix/rules/StripHdbHeaderRule.jsc +0 -0
  1335. package/server/socketcluster/decisionMatrix/rules/TestRule.jsc +0 -0
  1336. package/server/socketcluster/handlers/NodeConnectionsHandler.jsc +0 -0
  1337. package/server/socketcluster/handlers/SCServer.jsc +0 -0
  1338. package/server/socketcluster/handlers/ServerSocket.jsc +0 -0
  1339. package/server/socketcluster/interNodeConnectionLauncher.jsc +0 -0
  1340. package/server/socketcluster/messageQueue/MessageQueueIF.jsc +0 -0
  1341. package/server/socketcluster/middleware/AuthMiddleware.jsc +0 -0
  1342. package/server/socketcluster/middleware/ConnectionNameCheckMiddleware.jsc +0 -0
  1343. package/server/socketcluster/middleware/GenericMiddleware.jsc +0 -0
  1344. package/server/socketcluster/middleware/MessagePrepMiddleware.jsc +0 -0
  1345. package/server/socketcluster/middleware/MiddlewareFactory.jsc +0 -0
  1346. package/server/socketcluster/middleware/MiddlewareIF.jsc +0 -0
  1347. package/server/socketcluster/middleware/OriginatorCheckMiddleware.jsc +0 -0
  1348. package/server/socketcluster/middleware/RequestDataValidMiddleware.jsc +0 -0
  1349. package/server/socketcluster/middleware/StampOriginatorMiddleware.jsc +0 -0
  1350. package/server/socketcluster/middleware/StampRequestMiddleware.jsc +0 -0
  1351. package/server/socketcluster/observer/EventableIF.jsc +0 -0
  1352. package/server/socketcluster/room/AddUserRoom.jsc +0 -0
  1353. package/server/socketcluster/room/AlterUserRoom.jsc +0 -0
  1354. package/server/socketcluster/room/CoreRoom.jsc +0 -0
  1355. package/server/socketcluster/room/CreateAttributeRoom.jsc +0 -0
  1356. package/server/socketcluster/room/CreateSchemaRoom.jsc +0 -0
  1357. package/server/socketcluster/room/CreateTableRoom.jsc +0 -0
  1358. package/server/socketcluster/room/DropUserRoom.jsc +0 -0
  1359. package/server/socketcluster/room/HDBNodeRoom.jsc +0 -0
  1360. package/server/socketcluster/room/RoomIF.jsc +0 -0
  1361. package/server/socketcluster/room/RoomMessageObjects.jsc +0 -0
  1362. package/server/socketcluster/room/UsersRoom.jsc +0 -0
  1363. package/server/socketcluster/room/WatchHDBWorkersRoom.jsc +0 -0
  1364. package/server/socketcluster/room/WorkerRoom.jsc +0 -0
  1365. package/server/socketcluster/room/roomFactory.jsc +0 -0
  1366. package/server/socketcluster/socketClusterObjects.jsc +0 -0
  1367. package/server/socketcluster/types.jsc +0 -0
  1368. package/server/socketcluster/util/clusterData.jsc +0 -0
  1369. package/server/socketcluster/util/socketClusterUtils.jsc +0 -0
  1370. package/server/socketcluster/worker/ClusterWorker.jsc +0 -0
  1371. package/server/socketcluster/worker/WorkerIF.jsc +0 -0
  1372. package/server/socketcluster/worker/WorkerObjects.jsc +0 -0
  1373. package/server/transactToClusteringUtilities.jsc +0 -0
  1374. package/sqlTranslator/SelectValidator.jsc +0 -0
  1375. package/sqlTranslator/alasqlFunctionImporter.jsc +0 -0
  1376. package/sqlTranslator/conditionPatterns.jsc +0 -0
  1377. package/sqlTranslator/deleteTranslator.jsc +0 -0
  1378. package/sqlTranslator/index.jsc +0 -0
  1379. package/sqlTranslator/sql_statement_bucket.jsc +0 -0
  1380. package/upgrade/EnvironmentVariable.jsc +0 -0
  1381. package/upgrade/UpgradeDirective.jsc +0 -0
  1382. package/upgrade/UpgradeObjects.jsc +0 -0
  1383. package/upgrade/directives/3-0-0.jsc +0 -0
  1384. package/upgrade/directives/3-1-0.jsc +0 -0
  1385. package/upgrade/directives/directivesController.jsc +0 -0
  1386. package/upgrade/directives/upgrade_scripts/3_0_0_reindex_script.jsc +0 -0
  1387. package/upgrade/directivesManager.jsc +0 -0
  1388. package/upgrade/lmdb/nodeLMDB/DBIDefinition.jsc +0 -0
  1389. package/upgrade/lmdb/nodeLMDB/OpenDBIObject.jsc +0 -0
  1390. package/upgrade/lmdb/nodeLMDB/OpenEnvironmentObject.jsc +0 -0
  1391. package/upgrade/lmdb/nodeLMDB/commonErrors.jsc +0 -0
  1392. package/upgrade/lmdb/nodeLMDB/commonUtility.jsc +0 -0
  1393. package/upgrade/lmdb/nodeLMDB/environmentUtility.jsc +0 -0
  1394. package/upgrade/lmdb/nodeLMDB/terms.jsc +0 -0
  1395. package/upgrade/upgradePrompt.jsc +0 -0
  1396. package/upgrade/upgradeUtilities.jsc +0 -0
  1397. package/utility/AWS/AWSConnector.jsc +0 -0
  1398. package/utility/OperationFunctionCaller.jsc +0 -0
  1399. package/utility/common_utils.jsc +0 -0
  1400. package/utility/environment/SystemInformationObject.jsc +0 -0
  1401. package/utility/environment/SystemInformationOperation.jsc +0 -0
  1402. package/utility/environment/environmentManager.jsc +0 -0
  1403. package/utility/environment/systemInformation.jsc +0 -0
  1404. package/utility/errors/commonErrors.jsc +0 -0
  1405. package/utility/errors/hdbError.jsc +0 -0
  1406. package/utility/functions/date/dateFunctions.jsc +0 -0
  1407. package/utility/functions/geo.jsc +0 -0
  1408. package/utility/functions/math/avg.jsc +0 -0
  1409. package/utility/functions/math/count.jsc +0 -0
  1410. package/utility/functions/sql/alaSQLExtension.jsc +0 -0
  1411. package/utility/functions/string/compare.jsc +0 -0
  1412. package/utility/globalSchema.jsc +0 -0
  1413. package/utility/hdbTerms.jsc +0 -0
  1414. package/utility/install/ascii_logo.txt +21 -36
  1415. package/utility/install/checkJWTTokensExist.jsc +0 -0
  1416. package/utility/install/installer.jsc +0 -0
  1417. package/utility/install_user_permission.jsc +0 -0
  1418. package/utility/lmdb/DBIDefinition.jsc +0 -0
  1419. package/utility/lmdb/DeleteRecordsResponseObject.jsc +0 -0
  1420. package/utility/lmdb/InsertRecordsResponseObject.jsc +0 -0
  1421. package/utility/lmdb/OpenDBIObject.jsc +0 -0
  1422. package/utility/lmdb/OpenEnvironmentObject.jsc +0 -0
  1423. package/utility/lmdb/UpdateRecordsResponseObject.jsc +0 -0
  1424. package/utility/lmdb/UpsertRecordsResponseObject.jsc +0 -0
  1425. package/utility/lmdb/cleanLMDBMap.jsc +0 -0
  1426. package/utility/lmdb/commonUtility.jsc +0 -0
  1427. package/utility/lmdb/deleteUtility.jsc +0 -0
  1428. package/utility/lmdb/environmentUtility.jsc +0 -0
  1429. package/utility/lmdb/searchCursorFunctions.jsc +0 -0
  1430. package/utility/lmdb/searchUtility.jsc +0 -0
  1431. package/utility/lmdb/terms.jsc +0 -0
  1432. package/utility/lmdb/writeUtility.jsc +0 -0
  1433. package/utility/logging/harper_logger.jsc +0 -0
  1434. package/utility/mount_hdb.jsc +0 -0
  1435. package/utility/operation_authorization.jsc +0 -0
  1436. package/utility/password.jsc +0 -0
  1437. package/utility/pm2/servicesConfig.jsc +0 -0
  1438. package/utility/pm2/utilityFunctions.jsc +0 -0
  1439. package/utility/psList.jsc +0 -0
  1440. package/utility/registration/hdb_license.jsc +0 -0
  1441. package/utility/registration/licenseObjects.jsc +0 -0
  1442. package/utility/registration/registrationHandler.jsc +0 -0
  1443. package/utility/scripts/restartHdb.jsc +0 -0
  1444. package/utility/signalling.jsc +0 -0
  1445. package/utility/system_info.jsc +0 -0
  1446. package/validation/bulkDeleteValidator.jsc +0 -0
  1447. package/validation/check_permissions.jsc +0 -0
  1448. package/validation/clustering/configureValidator.jsc +0 -0
  1449. package/validation/common_validators.jsc +0 -0
  1450. package/validation/conditionalDeleteValidator.jsc +0 -0
  1451. package/validation/deleteValidator.jsc +0 -0
  1452. package/validation/fileLoadValidator.jsc +0 -0
  1453. package/validation/insertValidator.jsc +0 -0
  1454. package/validation/nodeSubscriptionValidator.jsc +0 -0
  1455. package/validation/nodeValidator.jsc +0 -0
  1456. package/validation/readLogValidator.jsc +0 -0
  1457. package/validation/registration/license_key_object.jsc +0 -0
  1458. package/validation/role_validation.jsc +0 -0
  1459. package/validation/schemaMetadataValidator.jsc +0 -0
  1460. package/validation/schema_validator.jsc +0 -0
  1461. package/validation/searchValidator.jsc +0 -0
  1462. package/validation/user_validation.jsc +0 -0
  1463. package/validation/validationWrapper.jsc +0 -0
  1464. package/data_layer/ExplodedObject.jsc +0 -0
  1465. package/data_layer/WriteProcessorObject.jsc +0 -0
  1466. package/data_layer/dataWriteProcessor.jsc +0 -0
  1467. package/data_layer/harperBridge/fsBridge/FileSystemBridge.jsc +0 -0
  1468. package/data_layer/harperBridge/fsBridge/fsMethods/fsCreateAttribute.jsc +0 -0
  1469. package/data_layer/harperBridge/fsBridge/fsMethods/fsCreateRecords.jsc +0 -0
  1470. package/data_layer/harperBridge/fsBridge/fsMethods/fsCreateSchema.jsc +0 -0
  1471. package/data_layer/harperBridge/fsBridge/fsMethods/fsCreateTable.jsc +0 -0
  1472. package/data_layer/harperBridge/fsBridge/fsMethods/fsDeleteRecords.jsc +0 -0
  1473. package/data_layer/harperBridge/fsBridge/fsMethods/fsDeleteRecordsBefore.jsc +0 -0
  1474. package/data_layer/harperBridge/fsBridge/fsMethods/fsDropAttribute.jsc +0 -0
  1475. package/data_layer/harperBridge/fsBridge/fsMethods/fsDropSchema.jsc +0 -0
  1476. package/data_layer/harperBridge/fsBridge/fsMethods/fsDropTable.jsc +0 -0
  1477. package/data_layer/harperBridge/fsBridge/fsMethods/fsGetDataByHash.jsc +0 -0
  1478. package/data_layer/harperBridge/fsBridge/fsMethods/fsGetDataByValue.jsc +0 -0
  1479. package/data_layer/harperBridge/fsBridge/fsMethods/fsSearchByHash.jsc +0 -0
  1480. package/data_layer/harperBridge/fsBridge/fsMethods/fsSearchByValue.jsc +0 -0
  1481. package/data_layer/harperBridge/fsBridge/fsMethods/fsUpdateRecords.jsc +0 -0
  1482. package/data_layer/harperBridge/fsBridge/fsUtility/buildFolderPath.jsc +0 -0
  1483. package/data_layer/harperBridge/fsBridge/fsUtility/checkForNewAttr.jsc +0 -0
  1484. package/data_layer/harperBridge/fsBridge/fsUtility/deleteAttrStructure.jsc +0 -0
  1485. package/data_layer/harperBridge/fsBridge/fsUtility/getAllAttrHashValues.jsc +0 -0
  1486. package/data_layer/harperBridge/fsBridge/fsUtility/getAttributeFileValues.jsc +0 -0
  1487. package/data_layer/harperBridge/fsBridge/fsUtility/getBasePath.jsc +0 -0
  1488. package/data_layer/harperBridge/fsBridge/fsUtility/moveFolderToTrash.jsc +0 -0
  1489. package/data_layer/harperBridge/fsBridge/fsUtility/processData.jsc +0 -0
  1490. package/data_layer/harperBridge/fsBridge/fsUtility/processRows.jsc +0 -0
  1491. package/lib/fileSystem/fileSearch.jsc +0 -0
  1492. package/node_modules/@pm2/pm2-version-check/node_modules/debug/LICENSE +0 -19
  1493. package/node_modules/@pm2/pm2-version-check/node_modules/debug/README.md +0 -455
  1494. package/node_modules/@pm2/pm2-version-check/node_modules/debug/package.json +0 -104
  1495. package/node_modules/@pm2/pm2-version-check/node_modules/debug/src/browser.js +0 -269
  1496. package/node_modules/@pm2/pm2-version-check/node_modules/debug/src/common.js +0 -261
  1497. package/node_modules/@pm2/pm2-version-check/node_modules/debug/src/index.js +0 -10
  1498. package/node_modules/@pm2/pm2-version-check/node_modules/debug/src/node.js +0 -263
  1499. package/node_modules/@pm2/pm2-version-check/node_modules/ms/index.js +0 -162
  1500. package/node_modules/@pm2/pm2-version-check/node_modules/ms/package.json +0 -72
  1501. package/node_modules/@pm2/pm2-version-check/node_modules/ms/readme.md +0 -60
  1502. package/node_modules/axios/lib/helpers/isAxiosError.js +0 -11
  1503. package/node_modules/cfb/node_modules/adler-32/LICENSE +0 -201
  1504. package/node_modules/cfb/node_modules/adler-32/README.md +0 -140
  1505. package/node_modules/cfb/node_modules/adler-32/adler32.js +0 -92
  1506. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/LICENSE +0 -201
  1507. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/README.md +0 -1062
  1508. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/bin/printj.njs +0 -66
  1509. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/dist/LICENSE +0 -201
  1510. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/dist/printj.js +0 -597
  1511. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/dist/printj.min.js +0 -2
  1512. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/dist/printj.min.map +0 -1
  1513. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/package.json +0 -101
  1514. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/printj.js +0 -597
  1515. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/printj.mjs +0 -574
  1516. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/types/index.d.ts +0 -11
  1517. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/types/tsconfig.json +0 -14
  1518. package/node_modules/cfb/node_modules/adler-32/node_modules/printj/types/tslint.json +0 -13
  1519. package/node_modules/cfb/node_modules/adler-32/package.json +0 -84
  1520. package/node_modules/cfb/node_modules/adler-32/types/index.d.ts +0 -14
  1521. package/node_modules/cfb/node_modules/adler-32/types/tsconfig.json +0 -15
  1522. package/node_modules/cfb/node_modules/adler-32/types/tslint.json +0 -14
  1523. package/node_modules/cfb/node_modules/printj/LICENSE +0 -201
  1524. package/node_modules/cfb/node_modules/printj/README.md +0 -1095
  1525. package/node_modules/cfb/node_modules/printj/bin/printj.njs +0 -66
  1526. package/node_modules/cfb/node_modules/printj/dist/LICENSE +0 -201
  1527. package/node_modules/cfb/node_modules/printj/dist/printj.js +0 -602
  1528. package/node_modules/cfb/node_modules/printj/dist/printj.min.js +0 -2
  1529. package/node_modules/cfb/node_modules/printj/dist/printj.min.map +0 -1
  1530. package/node_modules/cfb/node_modules/printj/package.json +0 -105
  1531. package/node_modules/cfb/node_modules/printj/printj.js +0 -602
  1532. package/node_modules/cfb/node_modules/printj/printj.mjs +0 -579
  1533. package/node_modules/cfb/node_modules/printj/shim.js +0 -276
  1534. package/node_modules/cfb/node_modules/printj/types/index.d.ts +0 -11
  1535. package/node_modules/cfb/node_modules/printj/types/tsconfig.json +0 -14
  1536. package/node_modules/cfb/node_modules/printj/types/tslint.json +0 -13
  1537. package/node_modules/fastify-helmet/.github/stale.yml +0 -21
  1538. package/node_modules/fastify-static/.github/stale.yml +0 -21
  1539. package/node_modules/fastify-static/example/public2/test.css +0 -4
  1540. package/node_modules/fastify-static/example/public2/test.html +0 -8
  1541. package/node_modules/fastify-static/example/server-multi-dir-list.js +0 -49
  1542. package/node_modules/fastify-static/node_modules/glob/changelog.md +0 -67
  1543. package/node_modules/fastify-static/test/static/.example +0 -1
  1544. package/node_modules/fastify-static/test/static/a .md +0 -1
  1545. package/node_modules/fastify-static/test/static2/bar.html +0 -3
  1546. package/node_modules/fastify-static/test/static2/index.html +0 -3
  1547. package/node_modules/light-my-request/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  1548. package/node_modules/light-my-request/node_modules/readable-stream/GOVERNANCE.md +0 -136
  1549. package/node_modules/light-my-request/node_modules/readable-stream/LICENSE +0 -47
  1550. package/node_modules/light-my-request/node_modules/readable-stream/README.md +0 -106
  1551. package/node_modules/light-my-request/node_modules/readable-stream/errors-browser.js +0 -127
  1552. package/node_modules/light-my-request/node_modules/readable-stream/errors.js +0 -116
  1553. package/node_modules/light-my-request/node_modules/readable-stream/experimentalWarning.js +0 -17
  1554. package/node_modules/light-my-request/node_modules/readable-stream/lib/_stream_duplex.js +0 -139
  1555. package/node_modules/light-my-request/node_modules/readable-stream/lib/_stream_passthrough.js +0 -39
  1556. package/node_modules/light-my-request/node_modules/readable-stream/lib/_stream_readable.js +0 -1124
  1557. package/node_modules/light-my-request/node_modules/readable-stream/lib/_stream_transform.js +0 -201
  1558. package/node_modules/light-my-request/node_modules/readable-stream/lib/_stream_writable.js +0 -697
  1559. package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -207
  1560. package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -210
  1561. package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
  1562. package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -104
  1563. package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  1564. package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/from.js +0 -64
  1565. package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -97
  1566. package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/state.js +0 -27
  1567. package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  1568. package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  1569. package/node_modules/light-my-request/node_modules/readable-stream/package.json +0 -100
  1570. package/node_modules/light-my-request/node_modules/readable-stream/readable-browser.js +0 -9
  1571. package/node_modules/light-my-request/node_modules/readable-stream/readable.js +0 -16
  1572. package/node_modules/socketcluster-client/node_modules/clone/.npmignore +0 -4
  1573. package/node_modules/socketcluster-client/node_modules/clone/README.md +0 -178
  1574. package/node_modules/socketcluster-client/node_modules/clone/clone.iml +0 -10
  1575. package/node_modules/socketcluster-client/node_modules/clone/clone.js +0 -251
  1576. package/node_modules/socketcluster-client/node_modules/clone/package.json +0 -161
  1577. package/node_modules/socketcluster-client/node_modules/sc-errors/README.md +0 -2
  1578. package/node_modules/socketcluster-client/node_modules/sc-errors/decycle.js +0 -79
  1579. package/node_modules/socketcluster-client/node_modules/sc-errors/index.js +0 -340
  1580. package/node_modules/socketcluster-client/node_modules/sc-errors/package.json +0 -55
  1581. package/utility/fs/FileObject.jsc +0 -0
  1582. package/utility/fs/fileExists.jsc +0 -0
  1583. package/utility/fs/mkdirp.jsc +0 -0
  1584. package/utility/fs/unlink.jsc +0 -0
  1585. package/utility/fs/writeFile.jsc +0 -0
@@ -1,1095 +0,0 @@
1
- # printj
2
-
3
- Extended `sprintf` implementation (for the browser and nodejs). Emphasis on
4
- compliance, performance and IE6+ support.
5
-
6
- ```js
7
- PRINTJ.sprintf("Hello %s!", "World");
8
- ```
9
-
10
- A self-contained specification of the printf format string is included below in
11
- [this README](#printf-format-string-specification), as well as a summary of the
12
- [support against various printf implementations](#support-summary)
13
-
14
-
15
- ## Table of Contents
16
-
17
- <details>
18
- <summary><b>Table of Contents</b> (click to show)</summary>
19
-
20
- <!-- toc -->
21
-
22
- * [Installation](#installation)
23
- + [ES Module Support](#es-module-support)
24
- * [Usage](#usage)
25
- * [Testing](#testing)
26
- * [License](#license)
27
- * [Badges](#badges)
28
- - [printf format string specification](#printf-format-string-specification)
29
- + [Original C Interface](#original-c-interface)
30
- + [JS and C strings](#js-and-c-strings)
31
- + [JS Interface](#js-interface)
32
- * [Specifier heritage and regular expression](#specifier-heritage-and-regular-expression)
33
- * [Conversion Specifier Quick Reference Table](#conversion-specifier-quick-reference-table)
34
- * [Parameter Selection](#parameter-selection)
35
- * [Dynamic Specifiers](#dynamic-specifiers)
36
- - [C Data Model](#c-data-model)
37
- + [Integer Types](#integer-types)
38
- + [Character and String Types](#character-and-string-types)
39
- + [Floating Point Number Types](#floating-point-number-types)
40
- * [Implementation](#implementation)
41
- - [Integer Conversions](#integer-conversions)
42
- * [Restricting Integer Values](#restricting-integer-values)
43
- * [Length Specifiers for Integer Conversions](#length-specifiers-for-integer-conversions)
44
- * [Rendering Unsigned Integers in Base 10 ("u" and "U" conversions)](#rendering-unsigned-integers-in-base-10-u-and-u-conversions)
45
- * [Rendering Unsigned Integers in Base 8 ("o" and "O" conversions)](#rendering-unsigned-integers-in-base-8-o-and-o-conversions)
46
- * [Rendering Unsigned Integers in Base 16 ("x" and "X" conversions)](#rendering-unsigned-integers-in-base-16-x-and-x-conversions)
47
- * [Rendering Signed Integers in Base 10 ("d" "i" and "D" conversions)](#rendering-signed-integers-in-base-10-d-i-and-d-conversions)
48
- - [Floating Point Conversions](#floating-point-conversions)
49
- * [Infinity, NaN, and Negative Zero](#infinity-nan-and-negative-zero)
50
- * [Exponential Form ("e" and "E" conversions)](#exponential-form-e-and-e-conversions)
51
- * [Standard Form ("f" and "F" conversions)](#standard-form-f-and-f-conversions)
52
- * [Value-dependent Form ("g" and "G" conversions)](#value-dependent-form-g-and-g-conversions)
53
- * [Hex-Mantissa Decimal-Binary-Exponent Form ("a" and "A" conversions)](#hex-mantissa-decimal-binary-exponent-form-a-and-a-conversions)
54
- - [Character Conversions](#character-conversions)
55
- * [Rendering Strings ("s" and "S" conversions)](#rendering-strings-s-and-s-conversions)
56
- * [Rendering Characters ("c" and "C" conversions)](#rendering-characters-c-and-c-conversions)
57
- - [Non-Numeric Conversions](#non-numeric-conversions)
58
- * [The literal "%" symbol ("%" conversion)](#the-literal-%25-symbol-%25-conversion)
59
- * [Interpreting and Rendering Pointers ("p" conversion)](#interpreting-and-rendering-pointers-p-conversion)
60
- * [Extracting length of a partial conversion ("n" conversion)](#extracting-length-of-a-partial-conversion-n-conversion)
61
- * [Error messages ("m" conversion)](#error-messages-m-conversion)
62
- - [Extensions](#extensions)
63
- * [Rendering Boolean Values ("y" and "Y" conversions)](#rendering-boolean-values-y-and-y-conversions)
64
- * [Rendering JSON ("J" conversion)](#rendering-json-j-conversion)
65
- * [JS typeof and valueOf ("T" and "V" conversion)](#js-typeof-and-valueof-t-and-v-conversion)
66
- * [Rendering Unsigned Integers in Base 2 ("b" and "B" conversions)](#rendering-unsigned-integers-in-base-2-b-and-b-conversions)
67
- - [Miscellaneous Notes](#miscellaneous-notes)
68
- * [Format Characters](#format-characters)
69
- * [JS and C strings](#js-and-c-strings-1)
70
- * [Browser Deviations](#browser-deviations)
71
- * [Support Summary](#support-summary)
72
-
73
- <!-- tocstop -->
74
-
75
- </details>
76
-
77
- ## Installation
78
-
79
- With [npm](https://www.npmjs.org/package/printj):
80
-
81
- ```bash
82
- $ npm install printj
83
- ```
84
-
85
- In the browser:
86
-
87
- ```html
88
- <script src="printj.js"></script>
89
- ```
90
-
91
- The browser exposes a variable `PRINTJ`
92
-
93
- When installed globally, npm installs a script `printj` that renders the format
94
- string with the given arguments. Running the script with `-h` displays help.
95
-
96
- The script will manipulate `module.exports` if available. This is not always
97
- desirable. To prevent the behavior, define `DO_NOT_EXPORT_PRINTJ`
98
-
99
- ### ES Module Support
100
-
101
- The bundle ships with a `printj.mjs` script that acts as an ES Module.
102
-
103
- **NodeJS**
104
-
105
- NodeJS 12+ support ES modules. The default import uses the CommonJS script:
106
-
107
- ```js
108
- import PRINTJ from "printj";
109
- ```
110
-
111
- It is possible to use the ESM powered script referencing `printj.mjs` directly:
112
-
113
- ```js
114
- import * as PRINTJ from "printj/printj.mjs"; // pull all exports
115
- import { sprintf } from "printj/printj.mjs"; // pull `sprintf`
116
- ```
117
-
118
- **Browser Module Support**
119
-
120
- Chrome 61+ and Safari 11+ support module imports in the web browser. The `.mjs`
121
- script can be imported from a `script type=module` block:
122
-
123
- ```html
124
- <script type="module">
125
- import { sprintf } from './printj.mjs';
126
- console.log(sprintf("%02hhx", 123));
127
- </script>
128
- ```
129
-
130
-
131
- ## Usage
132
-
133
- In all cases, the relevant function takes a format and arguments to be rendered.
134
-
135
- The return value is a JS string.
136
-
137
- - `PRINTJ.sprintf(format, ...args)` assumes the arguments are passed directly
138
-
139
- - `PRINTJ.vsprintf(format, argv)` assumes the arguments are passed in an array
140
-
141
- For example:
142
-
143
- ```js
144
- > // var PRINTJ = require('printj'); // uncomment this line if in node
145
- > var sprintf = PRINTJ.sprintf, vsprintf = PRINTJ.vsprintf;
146
- > sprintf("Hello %s", "SheetJS") // 'Hello SheetJS'
147
- > sprintf("%d + %d = %d", 2,3,2+3) // '2 + 3 = 5'
148
- > vsprintf("%d + %d = %d", [2,3,5]) // '2 + 3 = 5'
149
- > sprintf("%1$02hhx %1$u %1$i %1$o", -69) // 'bb 4294967227 -69 37777777673'
150
- ```
151
-
152
- The command line script takes a format and arguments:
153
-
154
- ```
155
- usage: printj [options] <format> [args...]
156
-
157
- Options:
158
- -h, --help output usage information
159
- -d, --dump print debug information about format string
160
-
161
- Arguments are treated as strings unless prefaced by a type indicator:
162
- n:<integer> call parseInt (ex. n:3 -> 3)
163
- f:<float> call parseFloat (ex. f:3.1 -> 3.1)
164
- b:<boolean> false when lowercase value is "FALSE" or "0", else true
165
- s:<string> interpret as string (ex. s:n:3 -> "n:3")
166
- j:<JSON> interpret as an object using JSON.parse
167
- e:<JS> evaluate argument (ex. e:1+1 -> 2, e:"1"+1 -> "11")
168
-
169
- samples:
170
- $ printj '|%02hhx%d|' n:50 e:0x7B # |32123|
171
- $ printj '|%2$d + %3$d is %1$d|' e:1+2 n:1 n:2 # |1 + 2 is 3|
172
- $ printj '|%s is %s|' s:1+2 e:1+2 # |1+2 is 3|
173
- $ printj '|%c %c|' s:69 n:69 # |6 E|
174
- ```
175
-
176
- ## Testing
177
-
178
- `make test` will run the nodejs-based test.
179
-
180
- `make stress` will run a larger test encompassing every possible conversion. It
181
- requires access to a C compiler.
182
-
183
- ## License
184
-
185
- Please consult the attached LICENSE file for details. All rights not explicitly
186
- granted by the Apache 2.0 license are reserved by the Original Author.
187
-
188
- ## Badges
189
-
190
- [![Build Status](https://saucelabs.com/browser-matrix/printj.svg)](https://saucelabs.com/u/printj)
191
-
192
- [![Build Status](https://travis-ci.org/SheetJS/printj.svg?branch=master)](https://travis-ci.org/SheetJS/printj)
193
-
194
- [![Coverage Status](http://img.shields.io/coveralls/SheetJS/printj/master.svg)](https://coveralls.io/r/SheetJS/printj?branch=master)
195
-
196
- [![NPM Downloads](https://img.shields.io/npm/dt/printj.svg)](https://npmjs.org/package/printj)
197
-
198
- [![Dependencies Status](https://david-dm.org/sheetjs/printj/status.svg)](https://david-dm.org/sheetjs/printj)
199
-
200
- [![Analytics](https://ga-beacon.appspot.com/UA-36810333-1/SheetJS/printj?pixel)](https://github.com/SheetJS/printj)
201
-
202
- # printf format string specification
203
-
204
- The `printf` family of functions attempt to generate and output a string of
205
- characters from a series of arguments, following a user-supplied "format string"
206
- specification. The format string contains normal characters that are written to
207
- the output string as well as specifiers that describe which parameter to insert
208
- and how to render the parameter. This specification describes how a conformant
209
- implementation should process the format string and generate an output string.
210
- Any discrepancies between this document and the reference implementation are
211
- considered bugs in the implementation.
212
-
213
- ### Original C Interface
214
-
215
- Every function in the `printf` family follows the same logic to generate strings
216
- but have different interfaces reflecting different input and output behaviors.
217
- Some functions have wide variants that use wide `wchar_t *` strings rather than
218
- normal C `char *`. The following variants are required by the POSIX spec:
219
-
220
- | function | max length | output destination | vintage | wide form |
221
- |:-----------|:-----------|:----------------------|:--------|:-----------|
222
- | `printf` | unbounded | standard output | K&R | `wprintf` |
223
- | `fprintf` | unbounded | stream (`FILE *`) | K&R | `fwprintf` |
224
- | `sprintf` | unbounded | string (`char *`) | K&R | `swprintf` |
225
- | `snprintf` | parameter | string (`char *`) | C99 | |
226
- | `dprintf` | unbounded | POSIX file descriptor | POSIX | |
227
-
228
- Each function has a dual function, whose name begins with `v`, that accepts the
229
- parameters as a `va_list` rather than formal parameters. In all cases, they
230
- return the number of characters written or a negative value to indicate error:
231
-
232
- ```C
233
- int sprintf(char *ostr, const char *fmt, ...);
234
- int vsprintf(char *ostr, const char *fmt, va_list arg_list);
235
-
236
- int swprintf(wchar_t *ostr, const wchar_t *fmt, ...);
237
- int vswprintf(wchar_t *ostr, const wchar_t *fmt, va_list arg_list);
238
- ```
239
-
240
- ### JS and C strings
241
-
242
- C "strings" are really just arrays of numbers. An external code page (such as
243
- ASCII) maps those numbers to characters. K&R defines two types of strings:
244
- basic character set strings (`char *`) and extended character set strings
245
- (`wchar_t *`). In contrast, JS has a true string value type.
246
-
247
- Unlike in C, JS strings do not treat the null character as an end-of-string
248
- marker. As a result, characters beyond the first null character will be used.
249
-
250
- The JS equivalent of a C extended string would be an array of the individual
251
- character codes. The C basic string equivalent would involve specifying a code
252
- page and mapping back. The `codepage` JS library supports common codepages.
253
-
254
- While capturing the essence of C strings, using arrays of character codes is not
255
- idiomatic JS. Few developers leverage this and the downsides far exceed the
256
- benefits of a more direct translation. The effect can be feigned, as shown in
257
- the `js2c` code sample at the end of the document.
258
-
259
- ### JS Interface
260
-
261
- In the absence of a standard output or even a standard concept of a stream, the
262
- non-string outputs are irrelevant. Similarly there is no JS analogue of wide
263
- characters. While useful, lack of direct memory management obviates `snprintf`.
264
- This implementation exports the remaining functions, `sprintf` and `vsprintf`.
265
-
266
- Instead of replicating the original C signature and `errno`, functions directly
267
- return the output string and throw Errors:
268
-
269
- ```typescript
270
- function sprintf(fmt:string, ...args):string;
271
- function vsprintf(fmt:string, args:Array<any>):string;
272
- ```
273
-
274
- The C functions return the number of characters written to the string, which is
275
- directly accessible in JS via the `length` property. A direct replica of the
276
- various string functions are included at the end of the document.
277
-
278
- ## Specifier heritage and regular expression
279
-
280
- Note: The regular expressions follow Perl `/x` style. Whitespace characters
281
- outside of character classes are ignored. `#` is a comment character and every
282
- character until the end of the line is ignored. To convert to a standard regex:
283
-
284
- ```js
285
- regex_string.replace(/#.*$/gm,"").replace(/^\s*/gm,"").replace(/\s*\n/gm,"");
286
- ```
287
-
288
- Based on K&R, conversions originally followed the format:
289
-
290
- - required: leading `%`
291
- - optional: `-` (POSIX refers to this as the "flags")
292
- - optional: positive number or `*` (POSIX "width")
293
- - optional: period followed by positive number or `*` (POSIX "precision")
294
- - optional: an `h` or `l` to indicate size of data (POSIX "length")
295
- - required: character describing output behavior (POSIX "conversion specifier")
296
-
297
- This is captured by the regular expression:
298
-
299
- ```perl
300
- /%(?:
301
- ([-])? # flags (only minus sign)
302
- (\d+|\*)? # width
303
- (?:\.(\d+|\*))? # period + precision
304
- ([hl])? # length
305
- ([dioxXucsfeEgGp%]) # conversion specifier
306
- )/x
307
- ```
308
-
309
- Various implementations of `printf` have added different functionality.
310
-
311
- ANSI standards up through C99:
312
-
313
- - more flags `"+"` `" "` `"0"` `"#"`
314
- - more lengths `"L"` `"hh"` `"ll"` `"j"` `"z"` `"t"`
315
- - more conversions `"F"` `"a"` `"A"` `"n"`
316
-
317
- The POSIX specification of `printf` added:
318
-
319
- - positional parameters to identify argument indices
320
- - more flags `"'"`
321
- - more conversions `"C"` `"S"`
322
- - clarifications regarding corner cases and "undefined behavior"
323
-
324
- BSD implementations added:
325
-
326
- - more lengths `"q"`
327
- - more conversions `"D"` `"U"` `"O"`
328
-
329
- glibc (GNU) added:
330
-
331
- - more lengths `"Z"`
332
- - more conversions `"m"`
333
-
334
- Windows C Runtime (CRT) added:
335
-
336
- - more lengths `"I"` `"I32"` `"I64"` `"w"`
337
-
338
- glibc and CRT both added `Z`. glibc uses `Z` for the length `size_t`. CRT uses
339
- `Z` as a conversion for length-prefixed strings. This implementation takes the
340
- former approach, handling `Z` in the same way as `z`.
341
-
342
- BSD and IBM C library both added `D`. BSD uses `D` as a conversion, namely as
343
- an alias of `ld`. IBM uses `D` for the length for `_Decimal64`, a decimal
344
- floating point type, in accordance with ISO/IEC TR 24732. This implementation
345
- takes the former approach.
346
-
347
- This implementation also adds new conversions:
348
-
349
- - `"b"` and `"B"` for binary (base-2) integer renderings
350
- - `"y"` and `"Y"` for true/false and yes/no Boolean conversions
351
- - `"J"` for JSON
352
- - `"T"` and `"V"` for JS typeof and valueOf inspection
353
-
354
- Combining the various extensions yields the following regular expression:
355
-
356
- ```perl
357
- /%(?:
358
- %| # literal %% (flags etc prohibited)
359
- ([1-9]\d*\$)? # positional parameter
360
- ([-+ 0\x23\x27]*)? # flags
361
- ([1-9]\d*|\*(?:[1-9]\d*\$)?)? # width
362
- (?:\.(\d+|\*(?:[1-9]\d*\$)?))? # precision
363
- (hh?|ll?|[LzjtqZIw])? # length
364
- ([diouxXfFeEgGaAcCsSpnDUOmbByYJVT]) # conversion specifier
365
- )/x
366
- ```
367
- This implementation explicitly does not support certain non-standard extensions:
368
-
369
- - AltiVec vector length extensions (`v` with `h`/`l`/`ll`):
370
- - CRT fixed width lengths `I32` and `I64`
371
-
372
- ## Conversion Specifier Quick Reference Table
373
-
374
- | C | Type | Summary |
375
- |-----|:--------:|-------------------------------------------------------------|
376
- | `a` | floating | base-2 exp form w/ hex mantissa and dec exponent, lowercase |
377
- | `A` | floating | base-2 exp form w/ hex mantissa and dec exponent, uppercase |
378
- | `b` | extended | cast to C `unsigned int`, standard form binary |
379
- | `B` | extended | cast to C `unsigned long`, standard form binary |
380
- | `c` | text | print `latin-1` char from number OR first char of string |
381
- | `C` | text | print `UCS-2` char from number OR first char of string |
382
- | `d` | integral | cast to C `int`, standard form decimal |
383
- | `D` | integral | cast to C `long`, standard form decimal |
384
- | `e` | floating | base-10 exp form w/dec mantissa and dec exponent, lowercase |
385
- | `E` | floating | base-10 exp form w/dec mantissa and dec exponent, uppercase |
386
- | `f` | floating | base-10 decimal form, lowercase extended values |
387
- | `F` | floating | base-10 decimal form, uppercase extended values |
388
- | `g` | floating | print using `e` or `f` conversion based on value/precision |
389
- | `G` | floating | print using `E` or `F` conversion based on value/precision |
390
- | `i` | integral | cast to C `int`, standard form decimal (alias of `d`) |
391
- | `J` | extended | prints objects using JSON or `util.inspect` |
392
- | `m` | misc | prints info about Error objects (JS equivalent of `errno`) |
393
- | `n` | misc | do not print! store number of chars written to `.len` field |
394
- | `o` | integral | cast to C `unsigned int`, standard form octal |
395
- | `O` | integral | cast to C `unsigned long`, standard form octal |
396
- | `p` | misc | print `"l"` field of object (fake pointer) |
397
- | `s` | text | print string argument |
398
- | `S` | text | print string argument (alias of `"s"`) |
399
- | `T` | extended | print type information (`typeof` or `Object toString`) |
400
- | `u` | integral | cast to C `unsigned int`, standard form decimal |
401
- | `U` | integral | cast to C `unsigned long`, standard form decimal |
402
- | `V` | extended | print primitive value (`valueOf`) |
403
- | `x` | integral | cast to C `unsigned int`, standard form hex, lowercase |
404
- | `X` | integral | cast to C `unsigned long`, standard form hex, uppercase |
405
- | `y` | extended | prints `true`/`false` or `yes`/`no` based on Boolean value |
406
- | `Y` | extended | prints `TRUE`/`FALSE` or `YES`/`NO` based on Boolean value |
407
- | `%` | misc | print the literal `%` character |
408
-
409
- ## Parameter Selection
410
-
411
- The default behavior is to consume arguments in order:
412
-
413
- ```C
414
- printf("Count to 3: %d %d %d", 1, 2, 3); // Count to 3: 1 2 3
415
- ```
416
-
417
- POSIX `printf` permits explicit argument selection, bypassing the standard
418
- behavior of consuming arguments in order. To specify the argument at position
419
- `n`, use `n$` immediately after the `%` token:
420
-
421
- ```C
422
- printf("%d %d %d", 1, 2, 3); // 1 2 3 (implicit order 1, 2, 3 )
423
- printf("%1$s %2$s %3$s", "a", "b", "c"); // a b c (explicit order 1, 2, 3 )
424
- printf("%1$s %3$s %2$s", "a", "b", "c"); // a c b (explicit order 1, 3, 2 )
425
- ```
426
-
427
- The POSIX standard asserts that mixing positional and non-positional conversions
428
- is undefined behavior. This implementation handles mixing by tracking the index
429
- for non-positional conversions:
430
-
431
- ```C
432
- printf("%s %4$s %s %5$s %s", "a", "b", "c", "d", "e"); // a d b e c
433
- ```
434
-
435
- The POSIX standard requires that if an argument is used in the format, every
436
- preceding argument must be used. This implementation relaxes that requirement:
437
-
438
- ```C
439
- printf("%3$s", "a", "b", "c"); // c (technically invalid since "a"/"b" unused)
440
- ```
441
-
442
- ## Dynamic Specifiers
443
-
444
- The width and precision specifiers may include the dynamic specifier `*` which
445
- instructs the engine to read the next argument (assumed to be an integer). Just
446
- as with the positional parameter, `idx$` immediately after the `*` token selects
447
- the numeric argument.
448
-
449
- For example:
450
-
451
- ```C
452
- printf("|%5s|", "sheetjs"); // |sheetjs| (width = 5)
453
- printf("|%*s|", 5, "sheetjs"); // |sheetjs| (width first argument)
454
- printf("|%2$*1$s|", 5, "sheetjs", 10); // |sheetjs| (width is argument #1)
455
-
456
- printf("|%10s|", "sheetjs"); // | sheetjs| (width = 10)
457
- printf("|%2$*3$s|", 5, "sheetjs", 10); // | sheetjs| (width is argument #3)
458
- ```
459
-
460
- Arguments are generally consumed in order as presented in the format string:
461
-
462
- ```C
463
- printf("|%s|", val);
464
- printf("|%*s|", width, val);
465
- printf("|%.*s|", prec, val);
466
- printf("|%*.*s|", width, prec, val);
467
- printf("|%0*.*d|", 4, 2, 1); // | 01| width=4 prec=2 value=1
468
- ```
469
-
470
- Positional arguments can be applied to width and precision:
471
-
472
- ```C
473
- printf("|%*.*d|", width, prec, val);
474
- printf("|%2$0*3$.*1$d|", prec, val, width);
475
- printf("|%0*.*d|", 4, 2, 1); // | 01| width=4 prec=2 value=1 flags='0'
476
- printf("|%1$0*3$.*2$d|", 1, 2, 4); // | 01| width=4 prec=2 value=1 flags='0'
477
- ```
478
-
479
- A negative width is interpreted as the `-` flag with a positive width:
480
-
481
- ```C
482
- printf("|%*.*d|", 4, 2, 1); // | 01| width=4 prec=2 value=1 flags=''
483
- printf("|%-*.*d|", 4, 2, 1); // |01 | width=4 prec=2 value=1 flags='-'
484
- printf("|%*.*d|", -4, 2, 1); // |01 | width=4 prec=2 value=1 flags='-'
485
- printf("|%-*.*d|", -4, 2, 1); // |01 | width=4 prec=2 value=1 flags='-'
486
- ```
487
-
488
- A negative precision is discarded:
489
-
490
- ```C
491
- printf("|%*s|", 4, "sheetjs"); // |sheetjs| width=4
492
- printf("|%*.*s|", 4, 3, "sheetjs"); // | she| width=4 prec=3
493
- printf("|%*.*s|", 4, 2, "sheetjs"); // | sh| width=4 prec=2
494
- printf("|%*.*s|", 4, 1, "sheetjs"); // | s| width=4 prec=1
495
- printf("|%*.*s|", 4, 0, "sheetjs"); // | | width=4 prec=0
496
- printf("|%*.*s|", 4, -1, "sheetjs"); // |sheetjs| width=4 (prec ignored)
497
- ```
498
-
499
-
500
- # C Data Model
501
-
502
- JS has one numeric type `Number` which represents an IEEE754 double-precision
503
- (64-bit) floating point number. C has a multitude of numeric types, including
504
- floating point as well as integer types. The sizes of those data types are
505
- implementation-dependent. A "C data model" specifies the sizes of the core C
506
- data types.
507
-
508
- ### Integer Types
509
-
510
- POSIX `printf` specification references 8 integer types in integer conversions:
511
-
512
- | C data type | fmt | unsigned type | fmt | signed type | fmt |
513
- |-------------|------:|----------------------|------:|---------------|------:|
514
- | `char` | | `unsigned char` | `hhu` | `signed char` | `hhd` |
515
- | `short` | `hd` | `unsigned short` | `hu` | | |
516
- | `int` | `d` | `unsigned int` | `u` | | |
517
- | `long` | `ld` | `unsigned long` | `lu` | | |
518
- | `long long` | `lld` | `unsigned long long` | `llu` | | |
519
- | `size_t` | `zu` | | | `ssize_t` | `zd` |
520
- | `intmax_t` | `jd` | `uintmax_t` | `ju` | | |
521
- | `ptrdiff_t` | `td` | | | | |
522
-
523
- C99 does not officially define a signed `size_t` or unsigned `ptrdiff_t` type.
524
- POSIX does define `ssize_t` but no equivalent `uptrdiff_t`.
525
-
526
- BSD additionally recognizes the types `quad_t` and `u_quad_t`, which this
527
- implementation treats as `long long int` and `unsigned long long int`.
528
-
529
- ### Character and String Types
530
-
531
- Two integer types are used in character and string conversions:
532
-
533
- | type | fmt |
534
- |-------------|------:|
535
- | `wchar_t` | `ls` |
536
- | `wint_t` | `lc` |
537
-
538
- Both wide types `wchar_t` and `wint_t` can be signed or unsigned according to
539
- C99. Both types are used only in character and string conversions. Based on
540
- K&R "printable characters are always positive", the types are assumed unsigned.
541
-
542
- ### Floating Point Number Types
543
-
544
- K&R recognizes 3 floating point types. C99 later tied it to IEC 60559:
545
-
546
- | C data type | precision | total bits | exponent | mantissa | fmt |
547
- |:--------------|:----------|:----------:|:--------:|:--------:|------:|
548
- | `float` | single | `32` | `8` | `23` | |
549
- | `double` | double | `64` | `11` | `52` | `f` |
550
- | `long double` | extended | `80` | `15` | `64` | `Lf` |
551
-
552
- ## Implementation
553
-
554
- Numerous "C data models", specifying the bit/byte sizes of the various types,
555
- have been and continue to be used. For example, OSX and other modern 64-bit
556
- UNIX flavors use the "LP64" C data model. 64-bit Windows currently uses the
557
- "LLP64" model. 32-bit systems generally use the "ILP32" model. The 8-bit byte
558
- sizes for the data types under the various models are defined in `ctypes.json`
559
- in the `Models` object as per the following table:
560
-
561
- | type | JSON key | LP64 | ILP32 | LLP64 |
562
- |:------------|:------------|-----:|------:|------:|
563
- | `char` | `char` | 1 | 1 | 1 |
564
- | `short` | `short` | 2 | 2 | 2 |
565
- | `int` | `int` | 4 | 4 | 4 |
566
- | `long` | `long` | 8 | 4 | 4 |
567
- | `long long` | `longlong` | 8 | 8 | 8 |
568
- | `wchar_t` | `wchar_t` | 4 | 4 | 2 |
569
- | `wint_t` | `wint_t` | 4 | 4 | 2 |
570
- | `size_t` | `size_t` | 8 | 4 | 8 |
571
- | `intmax_t` | `intmax_t` | 8 | 8 | 8 |
572
- | `ptrdiff_t` | `ptrdiff_t` | 8 | 4 | 8 |
573
-
574
- By default the source assumes the LP64 data model. Other data models are
575
- supported in the source tree, controlled by the JSFLAGS variable in the build
576
- process. Set the `JS_MODEL` variable to the desired index as specified in the
577
- `ModelNames` array in `bits/ctype.json`:
578
-
579
- ```bash
580
- $ <bits/ctypes.json jq -r '.ModelNames|.[]' # LP64 ILP32 LLP64
581
- $ JSFLAGS=-DJS_MODEL=0 make # LP64
582
- $ JSFLAGS=-DJS_MODEL=1 make # ILP32
583
- $ JSFLAGS=-DJS_MODEL=2 make # LLP64
584
- ```
585
-
586
- To create a custom model, add the spec to `bits/ctypes.json` by appending the
587
- model name to the end of the `ModelNames` array and adding an entry to the
588
- `Models` object. The current models are defined as follows:
589
-
590
- ```json
591
- {
592
- "ModelNames":["LP64", "ILP32", "LLP64"],
593
- "Models": {
594
- "LP64": { "char":1, "short":2, "int":4, "long":8, "longlong":8, "wint_t":4, "wchar_t":4, "size_t":8, "intmax_t":8, "ptrdiff_t":8 },
595
- "ILP32": { "char":1, "short":2, "int":4, "long":4, "longlong":8, "wint_t":4, "wchar_t":4, "size_t":4, "intmax_t":8, "ptrdiff_t":4 },
596
- "LLP64": { "char":1, "short":2, "int":4, "long":4, "longlong":8, "wint_t":2, "wchar_t":2, "size_t":8, "intmax_t":8, "ptrdiff_t":8 }
597
- }
598
- }
599
- ```
600
-
601
- # Integer Conversions
602
-
603
- This section covers the conversions `diouxXDUO`. The base-2 conversions `bB`
604
- are an extension and are discussed at the end, but the same basic rules apply.
605
-
606
- JS has one Number type (representing an IEEE754 8-byte floating point number)
607
- that is capable of representing a 32-bit integer. It cannot represent the full
608
- range of 64-bit integers exactly. Care is taken to avoid operations that may
609
- inadvertently result in a conversion to a smaller integral type.
610
-
611
- ## Restricting Integer Values
612
-
613
- JS Bitwise operations convert numbers to 32-bit integers before performing
614
- operations. With the exception of the unsigned right shift operator `>>>`, all
615
- operations act on signed integers. For example:
616
-
617
- ```js
618
- Math.pow(2,31) | 0; // -2147483648 == -Math.pow(2,31)
619
- (Math.pow(2,32)-2) ^ 0; // -2
620
- -1 >>> 0 // 4294967295 == Math.pow(2,32) - 1
621
- ```
622
-
623
- JS Number can exactly represent every integer in the range `-2^53 .. 2^53`. For
624
- lengths exceeding 32 bits, `Math.round` is appropriate.
625
-
626
- | bits | unsigned | signed |
627
- |------|---------------------------|-------------------------------------------|
628
- | 8 | `V & 0xFF` | `V &= 0xFF; if(V > 0x7F) V-= 0x100` |
629
- | 16 | `V & 0xFFFF` | `V &= 0xFFFF; if(V > 0x7FFF) V-= 0x10000` |
630
- | 32 | `V >>> 0` | `V \| 0` |
631
- | 64 | `Math.abs(Math.round(V))` | `Math.round(V)` |
632
-
633
- ## Length Specifiers for Integer Conversions
634
-
635
- When a length specifier implies a certain size (such as `hh` for a single-byte
636
- integer), the number will be converted before rendering strings. For example:
637
-
638
- ```C
639
- printf("%1$02hhx %1$02hx %1$02lx %1$02llx", 256); // |00 100 100 100|
640
- printf("%1$02hhx %1$02hx %1$02lx %1$02llx", 4096); // |00 1000 1000 1000|
641
- printf("%1$02hhx %1$02hx %1$02lx %1$02llx", 65536); // |00 00 10000 10000|
642
- ```
643
-
644
- Values are restricted by first limiting the result to a specified number of
645
- bytes (appropriate bit-and) and then adding or subtracting to ensure the value
646
- is signed or unsigned according to the conversion specifier. If a length is
647
- specified, it overrides the implied length of the conversion. The following
648
- table describes the behavior of this implementation:
649
-
650
- | implied C type | JSON key | length | conversion default |
651
- |:-----------------------------|:------------|:--------:|:-------------------|
652
- | `[unsigned] int` | `int` | (none) | `d i o u x X` |
653
- | `[unsigned] char` | `char` | `hh` |
654
- | `[unsigned] short` | `short` | `h` |
655
- | `[unsigned] long` | `long` | `l` | `D U O` |
656
- | `[unsigned] long long` | `longlong` | `L ll q` |
657
- | `intmax_t` or `uintmax_t` | `intmax_t` | `j` |
658
- | `size_t` or `ssize_t` | `size_t` | `z Z` |
659
- | `ptrdiff_t` or unsigned form | `ptrdiff_t` | `t` |
660
-
661
- ## Rendering Unsigned Integers in Base 10 ("u" and "U" conversions)
662
-
663
- `num.toString(10)` produces the correct result for exact integers.
664
-
665
- `"u"` conversion restricts values to `int`; `"U"` restricts to `long`.
666
-
667
- ## Rendering Unsigned Integers in Base 8 ("o" and "O" conversions)
668
-
669
- Even though `num.toString(8)` is implementation-dependent, all browser
670
- implementations use standard form for integers in the exact range.
671
-
672
- The alternate form (`#`) prints a `"0"` prefix.
673
-
674
- `"o"` conversion restricts values to `int`; `"O"` restricts to `long`.
675
-
676
- ## Rendering Unsigned Integers in Base 16 ("x" and "X" conversions)
677
-
678
- Even though `num.toString(16)` is implementation-dependent, all browser
679
- implementations use standard form for integers in the exact range.
680
-
681
- The alternate form (`#`) prints a `"0x"` or `"0X"` prefix.
682
-
683
- Unlike `"U" "O" "D"`, `"X"` conversion uses `A-F` instead of `a-f` in hex.
684
-
685
- ## Rendering Signed Integers in Base 10 ("d" "i" and "D" conversions)
686
-
687
- `num.toString(10)` produces the correct result for exact integers. The flags
688
- `" +"` control prefixes for positive integers.
689
-
690
- `"di"` conversions restrict values to `int`; `"D"` restricts to `long`.
691
-
692
-
693
- # Floating Point Conversions
694
-
695
- This section covers the conversions `fFeEgGaA`.
696
-
697
- Due to C variadic argument promotion rules, `float` types are always promoted to
698
- `double`. None of the conversions or length specifiers signal that an argument
699
- is to be interpreted as a `float`. There is no JS canonical representation of
700
- an extended floating point number, so JS `Number` suffices.
701
-
702
- ## Infinity, NaN, and Negative Zero
703
-
704
- JS recognizes a few special IEEE754 values, as described in the following table:
705
-
706
- | JS value | JS Expression | Description |
707
- |------------:|:--------------|:-----------------------------------------------|
708
- | `Infinity` | `1./0.` | Positive limiting value `lim{x->0+} 1/x` |
709
- | `-Infinity` | `-1./0.` | Negative limiting value `lim{x->0+} -1/x` |
710
- | `NaN` | `0./0.` | Placeholder for "not-a-number" such as `0./0.` |
711
- | `-0.` | `-1/Infinity` | Negative limiting value `lim{x->0-} x` |
712
-
713
- JS `Number` methods render different strings from the POSIX spec:
714
-
715
- | JS value | POSIX string | JS string |
716
- |------------:|:----------------------------------------------|--------------:|
717
- | `Infinity` | `"inf" "INF"` or `"infinity" "INFINITY"` | `"Infinity"` |
718
- | `-Infinity` | `"-inf" "-INF"` or `"-infinity" "-INFINITY"` | `"-Infinity"` |
719
- | `NaN` | `"[-]nan" "[-]NAN"` w/opt parenthesized chars | `"NaN"` |
720
- | `-0.` | uses negative sign (`"-0"` under `"%f"`) | same as `+0.` |
721
-
722
- This implementation performs the required adjustments.
723
-
724
- ## Exponential Form ("e" and "E" conversions)
725
-
726
- Aside from the special cases discussed above, JS `num.toExponential(prec)`
727
- differs from POSIX `printf("%1$.*2$e", num, prec)` in the exponent field: JS
728
- writes exponents with the fewest digits (POSIX requires 2+ digits). This is
729
- addressed by inspecting the output string and inserting a "0" when needed.
730
-
731
- The optional `#` flag forces the decimal point to appear when precision is 0.
732
- This is also fixed by adding a decimal point just before the "e".
733
-
734
- ## Standard Form ("f" and "F" conversions)
735
-
736
- The POSIX spec only requires that the number of digits after the decimal point
737
- is equal to the precision. It does not specify how many digits appear before
738
- the decimal point, nor does it specify how to handle numbers that cannot be
739
- exactly represented.
740
-
741
- For values less than `1e21` the JS `num.toFixed(n)` generally matches `%f` with
742
- the specified precision. However, for larger values `toFixed` defaults to the
743
- exponential form.
744
-
745
- ## Value-dependent Form ("g" and "G" conversions)
746
-
747
- The final form (exponential or standard) is determined based on the value. The
748
- threshold is different from the JS `toString` / `toPrecision` thresholds and
749
- depends on the specified precision as well as the base-10 exponent:
750
-
751
- | Value | `"%.3g"` | `toPrecision(3)` |
752
- |------------:|:-----------|:-----------------|
753
- | `1.2345e-4` | `0.000123` | `0.000123` |
754
- | `1.2345e-5` | `1.23e-05` | `0.0000123` |
755
- | `1.2345e-6` | `1.23e-06` | `0.00000123` |
756
- | `1.2345e-7` | `1.23e-07` | `1.23e-7` |
757
-
758
- According to JS spec, `toPrecision` uses standard form when `precision > E` and
759
- `E >= -6`. For printf standard form is used when `precision > E` and `E >= -4`.
760
-
761
- ## Hex-Mantissa Decimal-Binary-Exponent Form ("a" and "A" conversions)
762
-
763
- A general exponential form involves 3 parameters: radix of the mantissa, base of
764
- the exponent expression, and radix of the exponent expression. The standard
765
- exponential form uses decimal for all three parts. For base 16, there are quite
766
- a few reasonable combinations. Consider the value `1.234567e-80`:
767
-
768
- | Mantissa | Exp Base | Radix 10 (sigil `";"`) | Radix 16 (sigil `";"`) |
769
- |:--------:|:--------:|:-----------------------|:-----------------------|
770
- | 10 | 10 | `1.234567;-80` | `1.234567;-50` |
771
- | 16 | 10 | `1.3c0c9539b8887;-80` | `1.3c0c9539b8887;-50` |
772
- | 16 | 16 | `5.daf8c8f5f4104;-67` | `5.daf8c8f5f4104;-43` |
773
- | 16 | 4 | `1.76be323d7d041;-133` | `1.76be323d7d041;-85` |
774
- | 16 | 2 | `1.76be323d7d041;-266` | `1.76be323d7d041;-10a` |
775
-
776
- POSIX `"%a"` uses a hex mantissa (16), decimal exponent radix (10), and binary
777
- exponent base (2). The general normalized form requires that the integral part
778
- of the mantissa to exceed 0 and not to exceed `exponent base - 1` except in the
779
- special case of `0`. The sigil is `p` and exponent sign is always used.
780
-
781
- JS `num.toString(radix)` is implementation-dependent for radices other than 10
782
- (`2-9, 11-36`). IE uses hex-mantissa decimal-hex-exponent form when the
783
- absolute value of the base-2 exponent exceeds 60. Otherwise, IE uses an exact
784
- standard hexadecimal form. Chrome, Safari and other browsers always use the
785
- exact standard hexadecimal form. Both forms are converted to `"%a"` by
786
- calculating and dividing by the appropriate power of 2.
787
-
788
- For each non-zero normal floating point value, there are 4 acceptable strings
789
- that represent the value, derived by multiplying the normalized value by powers
790
- of 2 and adjusting the exponent accordingly:
791
-
792
- | Value | Normalized | Alternate `*2` | Alternate `*4` | Alternate `*8` |
793
- |:--------|:---------------|:---------------|:---------------|:---------------|
794
- | `1` | `1p+0` | `2p-1` | `4p-2` | `8p-3` |
795
- | `.2` | `1.9999999p-3` | `3.3333333p-4` | `6.6666666p-5` | `c.cccccccp-6` |
796
- | `.69` | `1.6147ae1p-1` | `2.c28f5c2p-2` | `5.851eb85p-3` | `b.0a3d70ap-4` |
797
- | `6.e20` | `1.043561p+69` | `2.086ac3p+68` | `4.10d586p+67` | `8.21ab0dp+66` |
798
-
799
- JS engines follow the glibc model: multiply by a suitable power of 16 so that
800
- the mantissa is between 1 and 16, render left to right one digit at a time, then
801
- fix the result at the end. FreeBSD and OSX always show the normalized form.
802
- This implementation defaults to the normalized form. To switch to the glibc
803
- form, define `DO_NOT_NORMALIZE` in the `JSFLAGS` variable when building:
804
-
805
- ```bash
806
- $ JSFLAGS=-DDO_NOT_NORMALIZE make
807
- ```
808
-
809
- # Character Conversions
810
-
811
- This section covers the conversions `sScC`.
812
-
813
- ## Rendering Strings ("s" and "S" conversions)
814
-
815
- JS has no concept of "wide strings" (`wchar_t *` in C), so the length modifiers
816
- are ignored. `s` and `S` are treated as equivalent.
817
-
818
- Arguments are first interpreted as strings by calling the `String` function.
819
- Implementing `toString` on the argument to be converted may lead to unexpected
820
- results:
821
-
822
- ```C
823
- var O = {valueOf:function() {return 456;}, toString:function() {return "123"}};
824
- printf("%1$s %1$d", O); // "123 456"
825
- ```
826
-
827
- If a positive precision is specified, up to that many characters will be taken
828
- from the string. Otherwise the entire string will be used:
829
-
830
- ```C
831
- printf("|%s|", "sheetjs"); // '|sheetjs|' (no precision)
832
- printf("|%.9s|", "sheetjs"); // '|sheetjs|' (string shorter than precision)
833
- printf("|%.5s|", "sheetjs"); // '|sheet|' (string truncated)
834
- ```
835
-
836
- Lengths are measured using the JS string length accessor. Since there is no
837
- attempt to correct for multi-character sequences like combining marks, the
838
- results may be unexpected:
839
-
840
- ```C
841
- printf("%.1s","ñ"); // 'n' not "ñ"
842
- ```
843
-
844
- If the width is specified and is greater than the width of the string to be
845
- rendered, padding will be applied. If the `"-"` flag is specified, then the
846
- string will be right-padded, otherwise it will be left-padded. If the `"0"`
847
- flag is specified, the final string is left-padded with zeroes. The `"-"` flag
848
- takes precedence over `0`.
849
-
850
- ```C
851
- printf( "|%s|", "sheetjs"); // '|sheetjs|' (no width)
852
- printf( "|%5s|", "sheetjs"); // '|sheetjs|' (string longer than width)
853
- printf( "|%9s|", "sheetjs"); // '| sheetjs|' (no flag = left pad spaces)
854
- printf( "|%09s|", "sheetjs"); // '|00sheetjs|' ("0" = left pad "0")
855
- printf( "|%-9s|", "sheetjs"); // '|sheetjs |' ("-" = right pad space)
856
- printf("|%-09s|", "sheetjs"); // '|sheetjs |' ("0" ignored)
857
- ```
858
-
859
- ## Rendering Characters ("c" and "C" conversions)
860
-
861
- JS has no concept of "wide characters" (`wchar_t` in C). The length modifier is
862
- used in determining whether the number should be interpreted as one or two
863
- 16-bit character codes (when the "C" format or the "l" or "ll" specifiers are
864
- used) or a single 8-bit char code. Precision and flags are ignored.
865
-
866
- # Non-Numeric Conversions
867
-
868
- ## The literal "%" symbol ("%" conversion)
869
-
870
- All other parameters are ignored.
871
-
872
- ## Interpreting and Rendering Pointers ("p" conversion)
873
-
874
- JS has no true concept of pointers. In array and typed array contexts, it is
875
- common to associate a position object that stores the address relative to the
876
- start of the array. This implementation reads the `l` key and interprets as a
877
- 32-bit or 52-bit unsigned integer depending on `size_t` in the data model.
878
-
879
- The normal output format is equivalent to `"%#x"` but the alternate form emits
880
- using the `"%d"` format. When the pointer is invalid, `-1` is rendered. Only
881
- the `"#"` flag is interpreted.
882
-
883
- ```js
884
- var x = {}, y = {l:3};
885
- printf("%1$p %1$#p", y); // 0x3 3
886
- printf("%1$p %1$#p", x); // 0xFFFFFFFF -1
887
- ```
888
-
889
- ## Extracting length of a partial conversion ("n" conversion)
890
-
891
- C `printf` permits a special `n` conversion which interprets the argument as an
892
- integral pointer (interpreted size controlled by the length specifier) and
893
- writes the number of characters printed to that pointer.
894
-
895
- JS has no true concept of pointers in the C sense. The library works around
896
- the limitation by interpreting the argument as an object and assigning to the
897
- `len` key. The conversion does not write any characters to the output string:
898
-
899
- ```js
900
- var x = {};
901
- printf("%1$s %2$J%2$n abc", "foo", x); // "foo {} abc", also sets x.len = 6
902
- // |........| |......| (6 chars at that point)
903
- ```
904
-
905
- This implementation mutates the object while processing:
906
-
907
- ```js
908
- var x = {};
909
- printf("%1$s %2$J%2$n %3$s %2$J", "foo", x, "bar"); // 'foo {} bar {"len":6}'
910
- ```
911
-
912
- ## Error messages ("m" conversion)
913
-
914
- glibc supports an `m` conversion that does not consume arguments. It renders
915
- the string `strerror(errno)` where `strerror` is the libc function and `errno`
916
- is the global error number.
917
-
918
- JS has no equivalent of `errno` and no standard JS runtime exposes a similar
919
- global error variable, so `%m` will write the default message `"Success"`. A
920
- positional parameter or `#` flag changes the behavior:
921
-
922
- | form | position | behavior |
923
- |:------------:|:--------:|---------------------------------------|
924
- | main | no | do not read argument, emit "Success" |
925
- | alt (flag #) | no | read and process next argument |
926
- | main or alt | yes | read and process specified argument |
927
-
928
- In all forms other than `"%m"`, an argument will be processed as follows:
929
-
930
- - If the argument is not an instance of an `Error`, emit "Success"
931
- - If the `message` field is set, emit the error message.
932
- - If the `errno` field is set, emit "Error number " followed by the errno
933
- - Otherwise emit "Error " followed by the error interpreted as a String
934
-
935
- ```js
936
- var x = new Error("sheetjs");
937
- x.errno = 69; x.toString = function() { return "SHEETJS"; };
938
- printf("|%#m|", x); // |sheetjs|
939
- delete x.message;
940
- printf("|%#m|", x); // |Error number 69|
941
- delete x.errno;
942
- printf("|%#m|", x); // |Error SHEETJS|
943
- ```
944
-
945
- # Extensions
946
-
947
- These additional conversions take advantage of unused format characters:
948
-
949
- ## Rendering Boolean Values ("y" and "Y" conversions)
950
-
951
- Values are converted to Boolean and tested for truthiness. The `Y` rendering
952
- is the uppercase version of the equivalent rendering with format `y`.
953
-
954
-
955
- | form | truthy value `y` (`Y`) | falsy value `y` (`Y`) |
956
- |:------------:|:-----------------------:|:---------------------:|
957
- | main | `true` (`TRUE`) | `false` (`FALSE`) |
958
- | alt (flag #) | `yes` (`YES`) | `no` (`NO`) |
959
-
960
- Width and precision are applied in the same manner as the `s` conversion.
961
-
962
- ```js
963
- printf("|%1$y|%2$Y|%1$#Y|%2$#y|%2$.1y|", 1, 0); // |true|FALSE|YES|no|f|
964
- printf("|%05.2Y|%-5.2y|", 1, 0); // |000TR|fa |
965
- ```
966
-
967
- ## Rendering JSON ("J" conversion)
968
-
969
- The default rendering is the standard output from `JSON.stringify`. Alternate
970
- form (`"#"` flag) renders using `util.inspect` if available.
971
-
972
- ```js
973
- var x = {
974
- a: [1,[2,3,4],5,6,7],
975
- b: {
976
- c: {
977
- d: { e:"f" },
978
- g:"h",
979
- i:"j"
980
- },
981
- k:"l",
982
- m:"n",
983
- o:"p"},
984
- q: "r"
985
- };
986
- printf("%J", x) // '{"a":[1,[2,3,4],5,6,7],"b":{"c":{"d":{"e":"f"}, ..(ctnd)..
987
- printf("%#J", x) // '{ a: [ 1, [ 2, 3, 4 ], 5, 6, 7 ],\n b: { c: { ..(ctnd)..
988
- ```
989
-
990
- Width, precision and other flags are ignored.
991
-
992
- ## JS typeof and valueOf ("T" and "V" conversion)
993
-
994
- Under the "T" conversion, the result of `typeof arg` is rendered. If the `#`
995
- flag is specified, the type is derived from `Object.prototype.toString`:
996
-
997
- ```js
998
- printf("%1$T %1$#T", 1); // 'number Number'
999
- printf("%1$T %1$#T", 'foo'); // 'string String'
1000
- printf("%1$T %1$#T", [1,2,3]); // 'object Array'
1001
- printf("%1$T %1$#T", null); // 'object Null'
1002
- printf("%1$T %1$#T", undefined); // 'undefined Undefined'
1003
- ```
1004
-
1005
- Under the "V" conversion, the result of `arg.valueOf()` is rendered:
1006
-
1007
- ```js
1008
- var _f = function() { return "f"; };
1009
- var _3 = function() { return 3; };
1010
- printf("%1$d %1$s %1$V", {toString:_f}); // '0 f f'
1011
- printf("%1$d %1$s %1$V", {valueOf:_3}); // '3 [object Object] 3'
1012
- printf("%1$d %1$s %1$V", {valueOf:_3, toString:_f}); // '3 f 3'
1013
- ```
1014
-
1015
- ## Rendering Unsigned Integers in Base 2 ("b" and "B" conversions)
1016
-
1017
- The implementation is similar to the octal `"o"` and `"O"` conversions, except
1018
- for the radix (2 for `"b"` and `"B"`) and the alternate-form prefix (`"0b"`)
1019
-
1020
- # Miscellaneous Notes
1021
-
1022
- ## Format Characters
1023
-
1024
- For compatibility purposes, format characters must be printable ASCII characters
1025
- (ASCII codes `0x20 - 0x7E`). The 95 eligible characters are listed below:
1026
-
1027
- | C | Type | C | Type | C | Type | C | Type |
1028
- |-----|:----------:|-----|:----------:|-----|:----------:|-----|:----------:|
1029
- | `a` | conversion | `A` | conversion | ` ` | flag | `!` | |
1030
- | `b` | conversion | `B` | conversion | `"` | | `#` | flag |
1031
- | `c` | conversion | `C` | conversion | `$` | other | `%` | conversion |
1032
- | `d` | conversion | `D` | conversion | `&` | | `'` | flag |
1033
- | `e` | conversion | `E` | conversion | `(` | | `)` | |
1034
- | `f` | conversion | `F` | conversion | `*` | other | `+` | flag |
1035
- | `g` | conversion | `G` | conversion | `,` | | `-` | flag |
1036
- | `h` | length | `H` | | `.` | other | `/` | |
1037
- | `i` | conversion | `I` | length | `0` | digit | `1` | digit |
1038
- | `j` | length | `J` | conversion | `2` | digit | `3` | digit |
1039
- | `k` | | `K` | | `4` | digit | `5` | digit |
1040
- | `l` | length | `L` | length | `6` | digit | `7` | digit |
1041
- | `m` | conversion | `M` | | `8` | digit | `9` | digit |
1042
- | `n` | conversion | `N` | | `:` | | `;` | |
1043
- | `o` | conversion | `O` | conversion | `<` | | `=` | |
1044
- | `p` | conversion | `P` | | `>` | | `?` | |
1045
- | `q` | length | `Q` | | `@` | | `[` | |
1046
- | `r` | | `R` | | `\` | | `]` | |
1047
- | `s` | conversion | `S` | conversion | `^` | | `_` | |
1048
- | `t` | length | `T` | conversion | `~` | | `{` | |
1049
- | `u` | conversion | `U` | conversion | `|` | | `}` | |
1050
- | `v` | | `V` | conversion | `` ` `` | |
1051
- | `w` | length | `W` | |
1052
- | `x` | conversion | `X` | conversion |
1053
- | `y` | conversion | `Y` | conversion |
1054
- | `z` | length | `Z` | length |
1055
-
1056
- ## JS and C strings
1057
-
1058
- C provides no guidance on the actual character set. According to K&R all valid
1059
- characters in source code must be in a character set that is a subset of the
1060
- 7-bit ASCII set. This implementation falls back on the UTF-16 base required by
1061
- JS. When converting C literal strings, there are a few differences in escaping:
1062
-
1063
- | C escape sequence | Equivalent JS | Notes |
1064
- |:------------------|:--------------|:---------------------------------------|
1065
- | `"\a"` | `"\007"` | BEL character will not ring in browser |
1066
- | `"\?"` | `"?"` | JS does not handle trigraphs |
1067
- | `"\ooo"` (octal) | `"\ooo"` | JS uses Latin-1 for non-ASCII codes |
1068
- | `"\xhh"` (hex) | `"\xhh"` | JS uses Latin-1 for non-ASCII codes |
1069
-
1070
- ## Browser Deviations
1071
-
1072
- Opera does not always include the last significant digit in base 16 rendering.
1073
- For example, `(-6.9e-11).toString(16)` is `"0.000000004bddc5fd160168"` in every
1074
- other browser but is `"0.000000004bddc5fd16017"` in Opera. The test suite skips
1075
- the `%a/%A` precision-less formats in Opera.
1076
-
1077
- `Object.prototype.toString.call` gives unexpected results in older browsers, and
1078
- no attempt is made to correct for them. The test suite ignores those cases:
1079
-
1080
- | value | `%#T` expected | `%#T` IE < 9 | `%#T` Android < 4.4 |
1081
- |:------------|:---------------|:-------------|:--------------------|
1082
- | `null` | `"Null"` | `"Object"` | `"global"` |
1083
- | `undefined` | `"Undefined"` | `"Object"` | `"global"` |
1084
-
1085
- ## Support Summary
1086
-
1087
- - Full [POSIX](http://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html) conversion support with extensions!
1088
- [Conversion Specifier Table](#conversion-specifier-quick-reference-table)
1089
- - Full support for POSIX flags and positional parameters
1090
- - Emulation of BSD `quad_t` and `u_quad_t` conversion
1091
- - Parser accepts but does not emulate CRT wide and unicode character conversions
1092
- - glibc `Z` length conversion and extended `m` error support
1093
- - Parser fails on CRT `I32`/`I64` fixed lengths
1094
- - Default `LP64` data model but can be configured to support `ILP32` or `LLP64`
1095
-