harperdb 3.1.2 → 3.1.5
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.
- package/README.md +1 -1
- package/bin/BinObjects.jsc +0 -0
- package/bin/harperdb.jsc +0 -0
- package/bin/install.jsc +0 -0
- package/bin/register.jsc +0 -0
- package/bin/run.jsc +0 -0
- package/bin/stop.jsc +0 -0
- package/bin/upgrade.jsc +0 -0
- package/bin/utility.jsc +0 -0
- package/bin/version.jsc +0 -0
- package/coverage/lcov.info +4734 -4712
- package/data_layer/CreateAttributeObject.jsc +0 -0
- package/data_layer/CreateTableObject.jsc +0 -0
- package/data_layer/DataLayerObjects.jsc +0 -0
- package/data_layer/DeleteBeforeObject.jsc +0 -0
- package/data_layer/DeleteObject.jsc +0 -0
- package/data_layer/DropAttributeObject.jsc +0 -0
- package/data_layer/InsertObject.jsc +0 -0
- package/data_layer/ReadTransactionLogObject.jsc +0 -0
- package/data_layer/SQLSearch.jsc +0 -0
- package/data_layer/SearchByConditionsObject.jsc +0 -0
- package/data_layer/SearchByHashObject.jsc +0 -0
- package/data_layer/SearchObject.jsc +0 -0
- package/data_layer/SqlSearchObject.jsc +0 -0
- package/data_layer/UpdateObject.jsc +0 -0
- package/data_layer/UpsertObject.jsc +0 -0
- package/data_layer/bulkLoad.jsc +0 -0
- package/data_layer/data_objects/BulkLoadObjects.jsc +0 -0
- package/data_layer/data_objects/UpsertObject.jsc +0 -0
- package/data_layer/delete.jsc +0 -0
- package/data_layer/export.jsc +0 -0
- package/data_layer/harperBridge/BridgeMethods.jsc +0 -0
- package/data_layer/harperBridge/bridgeUtility/checkForNewAttr.jsc +0 -0
- package/data_layer/harperBridge/bridgeUtility/convertOperationToTransaction.jsc +0 -0
- package/data_layer/harperBridge/bridgeUtility/evaluateTableGetAttributes.jsc +0 -0
- package/data_layer/harperBridge/bridgeUtility/insertUpdateReturnObj.jsc +0 -0
- package/data_layer/harperBridge/bridgeUtility/insertUpdateValidate.jsc +0 -0
- package/data_layer/harperBridge/harperBridge.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/LMDBBridge.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/DeleteTransactionsBeforeResults.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateAttribute.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateRecords.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateSchema.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateTable.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDeleteRecords.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDeleteRecordsBefore.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDeleteTransactionLogsBefore.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDropAttribute.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDropSchema.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDropTable.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbGetDataByHash.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbGetDataByValue.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbReadTransactionLog.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbSearchByConditions.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbSearchByHash.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbSearchByValue.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbUpdateRecords.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbUpsertRecords.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBCreateAttributeObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBDeleteTransactionObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBInsertTransactionObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBTransactionObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBUpdateTransactionObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBUpsertTransactionObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/TableSizeObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/ThreadSearchObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/initializeHashSearch.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/initializePaths.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbCheckForNewAttributes.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbCreateTransactionsEnvironment.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbDropAllAttributes.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbGetTableSize.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbProcessRows.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbSearch.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbThreadSearch.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbWriteTransaction.jsc +0 -0
- package/data_layer/hdbInfoController.jsc +0 -0
- package/data_layer/insert.jsc +0 -0
- package/data_layer/readTransactionLog.jsc +0 -0
- package/data_layer/schema.jsc +0 -0
- package/data_layer/schemaDescribe.jsc +0 -0
- package/data_layer/search.jsc +0 -0
- package/data_layer/update.jsc +0 -0
- package/events/ClusterStatusEmitter.jsc +0 -0
- package/events/SioServerStoppedEvent.jsc +0 -0
- package/events/SocketClusterStatusEmitter.jsc +0 -0
- package/node_modules/@pm2/js-api/node_modules/async/CHANGELOG.md +275 -0
- package/node_modules/@pm2/js-api/node_modules/async/LICENSE +19 -0
- package/node_modules/@pm2/js-api/node_modules/async/README.md +56 -0
- package/node_modules/@pm2/js-api/node_modules/async/all.js +50 -0
- package/node_modules/@pm2/js-api/node_modules/async/allLimit.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/allSeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/any.js +52 -0
- package/node_modules/@pm2/js-api/node_modules/async/anyLimit.js +43 -0
- package/node_modules/@pm2/js-api/node_modules/async/anySeries.js +38 -0
- package/node_modules/@pm2/js-api/node_modules/async/apply.js +68 -0
- package/node_modules/@pm2/js-api/node_modules/async/applyEach.js +51 -0
- package/node_modules/@pm2/js-api/node_modules/async/applyEachSeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/asyncify.js +110 -0
- package/node_modules/@pm2/js-api/node_modules/async/auto.js +289 -0
- package/node_modules/@pm2/js-api/node_modules/async/autoInject.js +170 -0
- package/node_modules/@pm2/js-api/node_modules/async/bower.json +17 -0
- package/node_modules/@pm2/js-api/node_modules/async/cargo.js +94 -0
- package/node_modules/@pm2/js-api/node_modules/async/compose.js +58 -0
- package/node_modules/@pm2/js-api/node_modules/async/concat.js +43 -0
- package/node_modules/@pm2/js-api/node_modules/async/concatLimit.js +65 -0
- package/node_modules/@pm2/js-api/node_modules/async/concatSeries.js +36 -0
- package/node_modules/@pm2/js-api/node_modules/async/constant.js +66 -0
- package/node_modules/@pm2/js-api/node_modules/async/detect.js +61 -0
- package/node_modules/@pm2/js-api/node_modules/async/detectLimit.js +48 -0
- package/node_modules/@pm2/js-api/node_modules/async/detectSeries.js +38 -0
- package/node_modules/@pm2/js-api/node_modules/async/dir.js +43 -0
- package/node_modules/@pm2/js-api/node_modules/async/dist/async.js +5609 -0
- package/node_modules/@pm2/js-api/node_modules/async/dist/async.min.js +2 -0
- package/node_modules/@pm2/js-api/node_modules/async/dist/async.min.map +1 -0
- package/node_modules/@pm2/js-api/node_modules/async/doDuring.js +66 -0
- package/node_modules/@pm2/js-api/node_modules/async/doUntil.js +39 -0
- package/node_modules/@pm2/js-api/node_modules/async/doWhilst.js +59 -0
- package/node_modules/@pm2/js-api/node_modules/async/during.js +76 -0
- package/node_modules/@pm2/js-api/node_modules/async/each.js +82 -0
- package/node_modules/@pm2/js-api/node_modules/async/eachLimit.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/eachOf.js +111 -0
- package/node_modules/@pm2/js-api/node_modules/async/eachOfLimit.js +41 -0
- package/node_modules/@pm2/js-api/node_modules/async/eachOfSeries.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/eachSeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/ensureAsync.js +73 -0
- package/node_modules/@pm2/js-api/node_modules/async/every.js +50 -0
- package/node_modules/@pm2/js-api/node_modules/async/everyLimit.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/everySeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/filter.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/filterLimit.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/filterSeries.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/find.js +61 -0
- package/node_modules/@pm2/js-api/node_modules/async/findLimit.js +48 -0
- package/node_modules/@pm2/js-api/node_modules/async/findSeries.js +38 -0
- package/node_modules/@pm2/js-api/node_modules/async/foldl.js +78 -0
- package/node_modules/@pm2/js-api/node_modules/async/foldr.js +44 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEach.js +82 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEachLimit.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEachOf.js +111 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEachOfLimit.js +41 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEachOfSeries.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEachSeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/forever.js +65 -0
- package/node_modules/@pm2/js-api/node_modules/async/groupBy.js +54 -0
- package/node_modules/@pm2/js-api/node_modules/async/groupByLimit.js +71 -0
- package/node_modules/@pm2/js-api/node_modules/async/groupBySeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/index.js +582 -0
- package/node_modules/@pm2/js-api/node_modules/async/inject.js +78 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/DoublyLinkedList.js +88 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/applyEach.js +38 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/breakLoop.js +9 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/consoleFunc.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/createTester.js +44 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/doLimit.js +12 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/doParallel.js +23 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/doParallelLimit.js +23 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/eachOfLimit.js +74 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/filter.js +75 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/findGetResult.js +10 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/getIterator.js +13 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/initialParams.js +21 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/iterator.js +58 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/map.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/notId.js +10 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/once.js +15 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/onlyOnce.js +15 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/parallel.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/queue.js +204 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/reject.js +21 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/setImmediate.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/slice.js +16 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/withoutIndex.js +12 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/wrapAsync.js +25 -0
- package/node_modules/@pm2/js-api/node_modules/async/log.js +41 -0
- package/node_modules/@pm2/js-api/node_modules/async/map.js +54 -0
- package/node_modules/@pm2/js-api/node_modules/async/mapLimit.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/mapSeries.js +36 -0
- package/node_modules/@pm2/js-api/node_modules/async/mapValues.js +63 -0
- package/node_modules/@pm2/js-api/node_modules/async/mapValuesLimit.js +61 -0
- package/node_modules/@pm2/js-api/node_modules/async/mapValuesSeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/memoize.js +101 -0
- package/node_modules/@pm2/js-api/node_modules/async/nextTick.js +51 -0
- package/node_modules/@pm2/js-api/node_modules/async/package.json +110 -0
- package/node_modules/@pm2/js-api/node_modules/async/parallel.js +90 -0
- package/node_modules/@pm2/js-api/node_modules/async/parallelLimit.js +40 -0
- package/node_modules/@pm2/js-api/node_modules/async/priorityQueue.js +98 -0
- package/node_modules/@pm2/js-api/node_modules/async/queue.js +130 -0
- package/node_modules/@pm2/js-api/node_modules/async/race.js +70 -0
- package/node_modules/@pm2/js-api/node_modules/async/reduce.js +78 -0
- package/node_modules/@pm2/js-api/node_modules/async/reduceRight.js +44 -0
- package/node_modules/@pm2/js-api/node_modules/async/reflect.js +81 -0
- package/node_modules/@pm2/js-api/node_modules/async/reflectAll.js +105 -0
- package/node_modules/@pm2/js-api/node_modules/async/reject.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/rejectLimit.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/rejectSeries.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/retry.js +156 -0
- package/node_modules/@pm2/js-api/node_modules/async/retryable.js +65 -0
- package/node_modules/@pm2/js-api/node_modules/async/select.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/selectLimit.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/selectSeries.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/seq.js +91 -0
- package/node_modules/@pm2/js-api/node_modules/async/series.js +85 -0
- package/node_modules/@pm2/js-api/node_modules/async/setImmediate.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/some.js +52 -0
- package/node_modules/@pm2/js-api/node_modules/async/someLimit.js +43 -0
- package/node_modules/@pm2/js-api/node_modules/async/someSeries.js +38 -0
- package/node_modules/@pm2/js-api/node_modules/async/sortBy.js +91 -0
- package/node_modules/@pm2/js-api/node_modules/async/timeout.js +89 -0
- package/node_modules/@pm2/js-api/node_modules/async/times.js +50 -0
- package/node_modules/@pm2/js-api/node_modules/async/timesLimit.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/timesSeries.js +32 -0
- package/node_modules/@pm2/js-api/node_modules/async/transform.js +87 -0
- package/node_modules/@pm2/js-api/node_modules/async/tryEach.js +81 -0
- package/node_modules/@pm2/js-api/node_modules/async/unmemoize.js +25 -0
- package/node_modules/@pm2/js-api/node_modules/async/until.js +41 -0
- package/node_modules/@pm2/js-api/node_modules/async/waterfall.js +113 -0
- package/node_modules/@pm2/js-api/node_modules/async/whilst.js +72 -0
- package/node_modules/@pm2/js-api/node_modules/async/wrapSync.js +110 -0
- package/node_modules/@pm2/js-api/package.json +3 -1
- package/node_modules/ajv/package.json +0 -1
- package/node_modules/async/CHANGELOG.md +0 -6
- package/node_modules/async/package.json +12 -15
- package/node_modules/async-limiter/package.json +1 -0
- package/node_modules/{fastify-static → avvio}/.github/dependabot.yml +5 -1
- package/node_modules/avvio/.github/workflows/ci.yml +34 -11
- package/node_modules/avvio/.taprc +1 -1
- package/node_modules/avvio/README.md +17 -15
- package/node_modules/avvio/boot.js +15 -9
- package/node_modules/avvio/index.d.ts +1 -1
- package/node_modules/avvio/node_modules/debug/LICENSE +10 -9
- package/node_modules/avvio/node_modules/debug/README.md +24 -1
- package/node_modules/avvio/node_modules/debug/package.json +20 -20
- package/node_modules/avvio/node_modules/debug/src/common.js +15 -2
- package/node_modules/avvio/package.json +15 -15
- package/node_modules/avvio/plugin.js +5 -4
- package/node_modules/avvio/test/after-and-ready.test.js +27 -27
- package/node_modules/avvio/test/after-pass-through.test.js +3 -3
- package/node_modules/avvio/test/async-await.test.js +1 -1
- package/node_modules/avvio/test/await-after.test.js +12 -12
- package/node_modules/avvio/test/await-self.test.js +6 -6
- package/node_modules/avvio/test/await-use.test.js +1 -1
- package/node_modules/avvio/test/basic.test.js +14 -14
- package/node_modules/avvio/test/callbacks.test.js +1 -1
- package/node_modules/avvio/test/close.test.js +64 -21
- package/node_modules/avvio/test/esm.mjs +1 -1
- package/node_modules/avvio/test/events-listeners.test.js +1 -0
- package/node_modules/avvio/test/express.test.js +1 -1
- package/node_modules/avvio/test/override.test.js +27 -27
- package/node_modules/avvio/test/plugin-timeout.test.js +18 -18
- package/node_modules/avvio/test/pretty-print.test.js +1 -1
- package/node_modules/avvio/test/to-json.test.js +5 -5
- package/node_modules/avvio/test/types/index.ts +7 -0
- package/node_modules/axios/CHANGELOG.md +0 -23
- package/node_modules/axios/README.md +1 -3
- package/node_modules/axios/dist/axios.js +1 -21
- package/node_modules/axios/dist/axios.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.map +1 -1
- package/node_modules/axios/index.d.ts +2 -3
- package/node_modules/axios/lib/adapters/http.js +12 -28
- package/node_modules/axios/lib/axios.js +0 -3
- package/node_modules/axios/package.json +10 -10
- package/node_modules/big-integer/BigInteger.d.ts +1 -1
- package/node_modules/big-integer/BigInteger.js +2 -2
- package/node_modules/big-integer/BigInteger.min.js +1 -1
- package/node_modules/big-integer/README.md +2 -1
- package/node_modules/big-integer/package.json +15 -15
- package/node_modules/clone/README.md +3 -19
- package/node_modules/clone/clone.js +1 -7
- package/node_modules/clone/package.json +12 -11
- package/node_modules/cookie/HISTORY.md +6 -0
- package/node_modules/cookie/README.md +49 -20
- package/node_modules/cookie/index.js +11 -11
- package/node_modules/cookie/package.json +18 -16
- package/node_modules/fast-deep-equal/package.json +2 -1
- package/node_modules/fast-json-stringify/.github/dependabot.yml +4 -0
- package/node_modules/fast-json-stringify/.github/workflows/benchmark.yml +111 -0
- package/node_modules/fast-json-stringify/.github/workflows/ci.yml +32 -16
- package/node_modules/fast-json-stringify/.taprc +0 -1
- package/node_modules/fast-json-stringify/README.md +24 -17
- package/node_modules/fast-json-stringify/bench.js +28 -0
- package/node_modules/fast-json-stringify/example.js +1 -3
- package/node_modules/fast-json-stringify/index.d.ts +1 -0
- package/node_modules/fast-json-stringify/index.js +175 -116
- package/node_modules/fast-json-stringify/package.json +13 -12
- package/node_modules/fast-json-stringify/test/allof.test.js +63 -11
- package/node_modules/fast-json-stringify/test/any.test.js +25 -25
- package/node_modules/fast-json-stringify/test/anyof.test.js +92 -22
- package/node_modules/fast-json-stringify/test/array.test.js +66 -3
- package/node_modules/fast-json-stringify/test/basic.test.js +3 -3
- package/node_modules/fast-json-stringify/test/date.test.js +1 -1
- package/node_modules/fast-json-stringify/test/debug-mode.test.js +4 -4
- package/node_modules/fast-json-stringify/test/defaults.test.js +1 -1
- package/node_modules/fast-json-stringify/test/enum.test.js +37 -0
- package/node_modules/fast-json-stringify/test/inferType.test.js +1 -1
- package/node_modules/fast-json-stringify/test/integer.test.js +44 -1
- package/node_modules/fast-json-stringify/test/nestedObjects.test.js +1 -1
- package/node_modules/fast-json-stringify/test/nullable.test.js +1 -1
- package/node_modules/fast-json-stringify/test/oneof.test.js +145 -17
- package/node_modules/fast-json-stringify/test/recursion.test.js +180 -0
- package/node_modules/fast-json-stringify/test/ref.test.js +54 -7
- package/node_modules/fast-json-stringify/test/required.test.js +10 -10
- package/node_modules/fast-json-stringify/test/requiresAjv.test.js +48 -0
- package/node_modules/fast-json-stringify/test/sanitize.test.js +2 -2
- package/node_modules/fast-json-stringify/test/side-effect.test.js +7 -7
- package/node_modules/fast-json-stringify/test/types/test.ts +8 -0
- package/node_modules/fast-json-stringify/test/typesArray.test.js +26 -26
- package/node_modules/fast-json-stringify/test/webpack.test.js +50 -0
- package/node_modules/fastify/README.md +3 -3
- package/node_modules/fastify/docs/ContentTypeParser.md +0 -21
- package/node_modules/fastify/docs/Ecosystem.md +0 -1
- package/node_modules/fastify/docs/Request.md +1 -1
- package/node_modules/fastify/docs/Server.md +1 -23
- package/node_modules/fastify/docs/Serverless.md +10 -17
- package/node_modules/fastify/docs/Style-Guide.md +2 -2
- package/node_modules/fastify/fastify.js +0 -3
- package/node_modules/fastify/lib/contentTypeParser.js +7 -28
- package/node_modules/fastify/lib/errors.js +1 -1
- package/node_modules/fastify/lib/reply.js +15 -11
- package/node_modules/fastify/lib/route.js +1 -1
- package/node_modules/fastify/node_modules/semver/package.json +10 -10
- package/node_modules/fastify/node_modules/semver/ranges/subset.js +67 -7
- package/node_modules/fastify/package.json +11 -11
- package/node_modules/fastify/test/content-parser.test.js +7 -179
- package/node_modules/fastify/test/custom-parser.test.js +2 -262
- package/node_modules/fastify/test/pretty-print.test.js +0 -28
- package/node_modules/fastify/test/schema-special-usage.test.js +0 -46
- package/node_modules/fastify/test/stream.test.js +0 -90
- package/node_modules/fastify/test/types/instance.test-d.ts +0 -2
- package/node_modules/fastify/test/types/logger.test-d.ts +3 -8
- package/node_modules/fastify/test/types/schema.test-d.ts +1 -41
- package/node_modules/fastify/test/versioned-routes.test.js +18 -61
- package/node_modules/fastify/types/content-type-parser.d.ts +4 -4
- package/node_modules/fastify/types/instance.d.ts +5 -11
- package/node_modules/fastify/types/logger.d.ts +1 -1
- package/node_modules/fastify/types/route.d.ts +11 -14
- package/node_modules/fastify/types/schema.d.ts +4 -4
- package/node_modules/{light-my-request → fastify-compress}/.dependabot/config.yml +1 -1
- package/node_modules/fastify-compress/.github/workflows/ci.yml +1 -10
- package/node_modules/fastify-compress/index.js +0 -12
- package/node_modules/fastify-compress/node_modules/mime-db/HISTORY.md +33 -0
- package/node_modules/fastify-compress/node_modules/mime-db/README.md +0 -2
- package/node_modules/fastify-compress/node_modules/mime-db/db.json +167 -9
- package/node_modules/fastify-compress/node_modules/mime-db/package.json +17 -17
- package/node_modules/fastify-compress/package.json +11 -11
- package/node_modules/fastify-compress/test/test-routes-compress.js +0 -27
- package/node_modules/fastify-cors/README.md +11 -18
- package/node_modules/fastify-cors/index.d.ts +55 -66
- package/node_modules/fastify-cors/index.js +83 -131
- package/node_modules/fastify-cors/package.json +11 -11
- package/node_modules/fastify-cors/test/cors.test.js +3 -250
- package/node_modules/fastify-cors/test/index.test-d.ts +1 -65
- package/node_modules/fastify-cors/test/preflight.test.js +1 -61
- package/node_modules/{fastify-compress → fastify-error}/.github/dependabot.yml +5 -1
- package/node_modules/fastify-error/.github/workflows/ci.yml +24 -8
- package/node_modules/fastify-error/README.md +8 -5
- package/node_modules/fastify-error/index.d.ts +1 -2
- package/node_modules/fastify-error/index.test-d.ts +1 -1
- package/node_modules/fastify-error/package.json +12 -12
- package/node_modules/fastify-helmet/.dependabot/config.yml +5 -0
- package/node_modules/fastify-helmet/.github/workflows/ci.yml +0 -9
- package/node_modules/fastify-helmet/README.md +2 -2
- package/node_modules/fastify-helmet/benchmarks/express.js +3 -3
- package/node_modules/fastify-helmet/benchmarks/koa.js +2 -2
- package/node_modules/fastify-helmet/index.js +0 -2
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/.github/workflows/ci.yml +18 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/.taprc +5 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/LICENSE +21 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/README.md +144 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/package.json +69 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/plugin.d.ts +36 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/plugin.js +126 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/plugin.test-d.ts +72 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/stackParser.js +11 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/bundlers.test.js +85 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/checkVersion.test.js +73 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/composite.test.js +16 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/esm/esm.mjs +34 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/esm/index.test.js +19 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/mu1tip1e.composite.test.js +16 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/stackParser.test.js +48 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/test/test.js +307 -0
- package/node_modules/fastify-helmet/node_modules/fastify-plugin/tsconfig.json +8 -0
- package/node_modules/fastify-helmet/node_modules/semver/CHANGELOG.md +111 -0
- package/node_modules/fastify-helmet/node_modules/semver/LICENSE +15 -0
- package/node_modules/fastify-helmet/node_modules/semver/README.md +566 -0
- package/node_modules/fastify-helmet/node_modules/semver/bin/semver.js +173 -0
- package/node_modules/fastify-helmet/node_modules/semver/classes/comparator.js +135 -0
- package/node_modules/fastify-helmet/node_modules/semver/classes/index.js +5 -0
- package/node_modules/fastify-helmet/node_modules/semver/classes/range.js +510 -0
- package/node_modules/fastify-helmet/node_modules/semver/classes/semver.js +287 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/clean.js +6 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/cmp.js +48 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/coerce.js +51 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/compare-build.js +7 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/compare-loose.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/compare.js +5 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/diff.js +23 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/eq.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/gt.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/gte.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/inc.js +15 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/lt.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/lte.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/major.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/minor.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/neq.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/parse.js +33 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/patch.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/prerelease.js +6 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/rcompare.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/rsort.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/satisfies.js +10 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/sort.js +3 -0
- package/node_modules/fastify-helmet/node_modules/semver/functions/valid.js +6 -0
- package/node_modules/fastify-helmet/node_modules/semver/index.js +48 -0
- package/node_modules/fastify-helmet/node_modules/semver/internal/constants.js +17 -0
- package/node_modules/fastify-helmet/node_modules/semver/internal/debug.js +9 -0
- package/node_modules/fastify-helmet/node_modules/semver/internal/identifiers.js +23 -0
- package/node_modules/fastify-helmet/node_modules/semver/internal/parse-options.js +11 -0
- package/node_modules/fastify-helmet/node_modules/semver/internal/re.js +182 -0
- package/node_modules/fastify-helmet/node_modules/semver/package.json +76 -0
- package/node_modules/fastify-helmet/node_modules/semver/preload.js +2 -0
- package/node_modules/fastify-helmet/node_modules/semver/range.bnf +16 -0
- package/node_modules/fastify-helmet/node_modules/semver/ranges/gtr.js +4 -0
- package/node_modules/fastify-helmet/node_modules/semver/ranges/intersects.js +7 -0
- package/node_modules/fastify-helmet/node_modules/semver/ranges/ltr.js +4 -0
- package/node_modules/fastify-helmet/node_modules/semver/ranges/max-satisfying.js +25 -0
- package/node_modules/fastify-helmet/node_modules/semver/ranges/min-satisfying.js +24 -0
- package/node_modules/fastify-helmet/node_modules/semver/ranges/min-version.js +60 -0
- package/node_modules/fastify-helmet/node_modules/semver/ranges/outside.js +80 -0
- package/node_modules/fastify-helmet/node_modules/semver/ranges/simplify.js +44 -0
- package/node_modules/fastify-helmet/node_modules/semver/ranges/subset.js +222 -0
- package/node_modules/fastify-helmet/node_modules/semver/ranges/to-comparators.js +8 -0
- package/node_modules/fastify-helmet/node_modules/semver/ranges/valid.js +11 -0
- package/node_modules/fastify-helmet/package.json +17 -17
- package/node_modules/fastify-helmet/test.js +0 -27
- package/node_modules/fastify-plugin/package.json +0 -1
- package/node_modules/{avvio → fastify-static}/.dependabot/config.yml +0 -0
- package/node_modules/fastify-static/.github/workflows/ci.yml +1 -10
- package/node_modules/fastify-static/README.md +0 -3
- package/node_modules/fastify-static/example/public/index.js +1 -1
- package/node_modules/fastify-static/example/server-compress.js +2 -5
- package/node_modules/fastify-static/example/server-dir-list.js +18 -25
- package/node_modules/fastify-static/example/server.js +1 -4
- package/node_modules/fastify-static/index.d.ts +2 -2
- package/node_modules/fastify-static/index.js +31 -64
- package/node_modules/fastify-static/node_modules/glob/README.md +4 -1
- package/node_modules/fastify-static/node_modules/glob/common.js +4 -8
- package/node_modules/fastify-static/node_modules/glob/glob.js +4 -7
- package/node_modules/fastify-static/node_modules/glob/package.json +18 -12
- package/node_modules/fastify-static/node_modules/glob/sync.js +4 -7
- package/node_modules/fastify-static/package.json +13 -14
- package/node_modules/fastify-static/test/dir-list.test.js +1 -5
- package/node_modules/fastify-static/test/static.test.js +2 -261
- package/node_modules/fastify-static/test/types/index.ts +1 -13
- package/node_modules/find-my-way/.taprc +4 -1
- package/node_modules/find-my-way/README.md +96 -6
- package/node_modules/find-my-way/index.d.ts +6 -5
- package/node_modules/find-my-way/index.js +72 -10
- package/node_modules/find-my-way/lib/constrainer.js +6 -2
- package/node_modules/find-my-way/lib/pretty-print.js +234 -33
- package/node_modules/find-my-way/node.js +25 -28
- package/node_modules/find-my-way/package.json +11 -11
- package/node_modules/find-my-way/test/constraint.custom-versioning.test.js +2 -2
- package/node_modules/find-my-way/test/constraint.custom.test.js +72 -10
- package/node_modules/find-my-way/test/constraint.default-versioning.test.js +24 -1
- package/node_modules/find-my-way/test/constraint.host.test.js +7 -7
- package/node_modules/find-my-way/test/constraints.test.js +19 -19
- package/node_modules/find-my-way/test/errors.test.js +25 -25
- package/node_modules/find-my-way/test/fastify-issue-3129.test.js +35 -0
- package/node_modules/find-my-way/test/full-url.test.js +8 -8
- package/node_modules/find-my-way/test/host-storage.test.js +15 -15
- package/node_modules/find-my-way/test/http2/constraint.host.test.js +45 -0
- package/node_modules/find-my-way/test/issue-104.test.js +41 -18
- package/node_modules/find-my-way/test/issue-110.test.js +1 -1
- package/node_modules/find-my-way/test/issue-132.test.js +9 -9
- package/node_modules/find-my-way/test/issue-145.test.js +6 -6
- package/node_modules/find-my-way/test/issue-151.test.js +2 -2
- package/node_modules/find-my-way/test/issue-17.test.js +92 -12
- package/node_modules/find-my-way/test/issue-175.test.js +51 -1
- package/node_modules/find-my-way/test/issue-182.test.js +19 -0
- package/node_modules/find-my-way/test/issue-28.test.js +21 -21
- package/node_modules/find-my-way/test/issue-46.test.js +13 -13
- package/node_modules/find-my-way/test/issue-49.test.js +4 -4
- package/node_modules/find-my-way/test/issue-59.test.js +1 -1
- package/node_modules/find-my-way/test/issue-63.test.js +1 -1
- package/node_modules/find-my-way/test/issue-67.test.js +1 -1
- package/node_modules/find-my-way/test/max-param-length.test.js +5 -5
- package/node_modules/find-my-way/test/methods.test.js +53 -53
- package/node_modules/find-my-way/test/on-bad-url.test.js +4 -4
- package/node_modules/find-my-way/test/optional-params.test.js +145 -0
- package/node_modules/find-my-way/test/path-params-match.test.js +12 -12
- package/node_modules/find-my-way/test/pretty-print.test.js +364 -9
- package/node_modules/find-my-way/test/regex.test.js +5 -5
- package/node_modules/find-my-way/test/routes-registered.test.js +4 -4
- package/node_modules/find-my-way/test/server.test.js +23 -23
- package/node_modules/find-my-way/test/store.test.js +4 -4
- package/node_modules/find-my-way/test/types/router.test-d.ts +62 -0
- package/node_modules/follow-redirects/debug.js +2 -1
- package/node_modules/follow-redirects/index.js +111 -42
- package/node_modules/follow-redirects/package.json +10 -10
- package/node_modules/helmet/CHANGELOG.md +27 -3
- package/node_modules/helmet/README.md +130 -27
- package/node_modules/helmet/dist/index.d.ts +21 -13
- package/node_modules/helmet/dist/index.js +111 -52
- package/node_modules/helmet/dist/middlewares/content-security-policy/index.d.ts +2 -1
- package/node_modules/helmet/dist/middlewares/content-security-policy/index.js +28 -11
- package/node_modules/helmet/dist/middlewares/cross-origin-embedder-policy/index.d.ts +3 -0
- package/node_modules/helmet/dist/middlewares/cross-origin-embedder-policy/index.js +10 -0
- package/node_modules/helmet/dist/middlewares/cross-origin-opener-policy/index.d.ts +6 -0
- package/node_modules/helmet/dist/middlewares/cross-origin-opener-policy/index.js +19 -0
- package/node_modules/helmet/dist/middlewares/cross-origin-resource-policy/index.d.ts +6 -0
- package/node_modules/helmet/dist/middlewares/cross-origin-resource-policy/index.js +19 -0
- package/node_modules/helmet/package.json +19 -18
- package/node_modules/ieee754/package.json +1 -2
- package/node_modules/inherits/package.json +0 -1
- package/node_modules/ipaddr.js/Changes.md +20 -0
- package/node_modules/ipaddr.js/ipaddr.min.js +1 -1
- package/node_modules/ipaddr.js/lib/ipaddr.js +66 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +1 -0
- package/node_modules/ipaddr.js/package.json +10 -10
- package/node_modules/{fastify-helmet → light-my-request}/.github/dependabot.yml +5 -1
- package/node_modules/light-my-request/.github/workflows/ci.yml +38 -12
- package/node_modules/light-my-request/README.md +5 -3
- package/node_modules/light-my-request/index.d.ts +6 -3
- package/node_modules/light-my-request/lib/parseURL.js +7 -4
- package/node_modules/light-my-request/lib/request.js +16 -6
- package/node_modules/light-my-request/lib/response.js +24 -11
- package/node_modules/light-my-request/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/light-my-request/node_modules/ajv/LICENSE +22 -0
- package/node_modules/light-my-request/node_modules/ajv/README.md +193 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/2019.d.ts +17 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/2019.js +55 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/2020.d.ts +17 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/2020.js +49 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/ajv.d.ts +16 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/ajv.js +44 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/code.js +155 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/serialize.js +218 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/dataType.js +202 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/index.js +510 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/core.d.ts +173 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/core.js +617 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/jtd.d.ts +45 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/jtd.js +66 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/parseJson.js +184 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/types/json-schema.d.ts +124 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/types/jtd-schema.d.ts +169 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/index.js +100 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/properties.js +146 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/values.js +48 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/enum.js +47 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/2019.ts +78 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/2020.ts +72 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/ajv.ts +67 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/codegen/code.ts +168 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/codegen/index.ts +832 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/jtd/serialize.ts +260 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/dataType.ts +229 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/index.ts +573 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/core.ts +887 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/jtd.ts +129 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/runtime/parseJson.ts +176 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/types/index.ts +240 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/types/json-schema.ts +186 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/types/jtd-schema.ts +263 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/discriminator/index.ts +110 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/properties.ts +177 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/jtd/values.ts +55 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/enum.ts +52 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/light-my-request/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/light-my-request/node_modules/ajv/package.json +161 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/package.json +73 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/light-my-request/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/light-my-request/package.json +26 -19
- package/node_modules/light-my-request/test/benchmark.js +67 -0
- package/node_modules/light-my-request/test/index.test-d.ts +6 -4
- package/node_modules/light-my-request/test/test.js +103 -14
- package/node_modules/lmdb-store/build/lmdb-store.target.mk +7 -7
- package/node_modules/lodash/package.json +4 -1
- package/node_modules/lru-cache/package.json +1 -0
- package/node_modules/minipass/README.md +7 -7
- package/node_modules/minipass/index.js +18 -3
- package/node_modules/minipass/package.json +11 -11
- package/node_modules/msgpackr-extract/build/Makefile +1 -1
- package/node_modules/node-lmdb/build/Makefile +1 -1
- package/node_modules/{socketcluster-client/node_modules/clone → pm2-sysmonit/node_modules/systeminformation}/LICENSE +7 -5
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/README.md +1075 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/audio.js +219 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/battery.js +309 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/bluetooth.js +183 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/cli.js +31 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/cpu.js +1681 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/docker.js +764 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/dockerSocket.js +327 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/filesystem.js +1270 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/graphics.js +1062 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/index.d.ts +988 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/index.js +513 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/internet.js +240 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/memory.js +547 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/network.js +1713 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/osinfo.js +1161 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/printer.js +212 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/processes.js +1257 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/system.js +829 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/usb.js +305 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/users.js +441 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/util.js +1276 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/virtualbox.js +107 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/lib/wifi.js +747 -0
- package/node_modules/pm2-sysmonit/node_modules/systeminformation/package.json +135 -0
- package/node_modules/pumpify/node_modules/duplexify/.travis.yml +3 -0
- package/node_modules/pumpify/node_modules/duplexify/index.js +1 -1
- package/node_modules/pumpify/node_modules/duplexify/package.json +10 -10
- package/node_modules/pumpify/node_modules/duplexify/test.js +1 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +61 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/sc-errors/package.json +2 -1
- package/node_modules/secure-json-parse/.github/workflows/ci.yml +16 -1
- package/node_modules/secure-json-parse/index.d.ts +60 -0
- package/node_modules/secure-json-parse/index.test-d.ts +30 -0
- package/node_modules/secure-json-parse/package.json +16 -13
- package/node_modules/send/HISTORY.md +10 -0
- package/node_modules/send/README.md +4 -6
- package/node_modules/send/index.js +7 -3
- package/node_modules/send/node_modules/http-errors/HISTORY.md +11 -0
- package/node_modules/send/node_modules/http-errors/README.md +12 -6
- package/node_modules/send/node_modules/http-errors/index.js +35 -2
- package/node_modules/send/node_modules/http-errors/package.json +24 -24
- package/node_modules/send/node_modules/ms/index.js +3 -3
- package/node_modules/send/node_modules/ms/license.md +1 -1
- package/node_modules/send/node_modules/ms/package.json +16 -15
- package/node_modules/send/node_modules/ms/readme.md +1 -2
- package/node_modules/send/node_modules/setprototypeof/README.md +1 -1
- package/node_modules/send/node_modules/setprototypeof/index.js +1 -1
- package/node_modules/send/node_modules/setprototypeof/package.json +14 -12
- package/node_modules/send/package.json +26 -26
- package/node_modules/socketcluster-client/bower.json +1 -1
- package/node_modules/socketcluster-client/index.js +1 -1
- package/node_modules/socketcluster-client/node_modules/buffer/AUTHORS.md +8 -0
- package/node_modules/socketcluster-client/node_modules/buffer/README.md +0 -6
- package/node_modules/socketcluster-client/node_modules/buffer/index.d.ts +1 -1
- package/node_modules/socketcluster-client/node_modules/buffer/index.js +49 -37
- package/node_modules/socketcluster-client/node_modules/buffer/package.json +36 -22
- package/node_modules/socketcluster-client/node_modules/ieee754/LICENSE +11 -0
- package/node_modules/socketcluster-client/node_modules/ieee754/README.md +51 -0
- package/node_modules/socketcluster-client/node_modules/ieee754/index.d.ts +10 -0
- package/node_modules/socketcluster-client/node_modules/ieee754/index.js +85 -0
- package/node_modules/socketcluster-client/node_modules/ieee754/package.json +87 -0
- package/node_modules/socketcluster-client/node_modules/ws/LICENSE +21 -0
- package/node_modules/socketcluster-client/node_modules/ws/README.md +389 -0
- package/node_modules/socketcluster-client/node_modules/ws/index.js +9 -0
- package/node_modules/socketcluster-client/node_modules/ws/lib/.DS_Store +0 -0
- package/node_modules/socketcluster-client/node_modules/ws/lib/buffer-util.js +72 -0
- package/node_modules/socketcluster-client/node_modules/ws/lib/constants.js +10 -0
- package/node_modules/socketcluster-client/node_modules/ws/lib/event-target.js +170 -0
- package/node_modules/socketcluster-client/node_modules/ws/lib/extension.js +211 -0
- package/node_modules/socketcluster-client/node_modules/ws/lib/permessage-deflate.js +516 -0
- package/node_modules/socketcluster-client/node_modules/ws/lib/receiver.js +513 -0
- package/node_modules/socketcluster-client/node_modules/ws/lib/sender.js +401 -0
- package/node_modules/socketcluster-client/node_modules/ws/lib/validation.js +29 -0
- package/node_modules/socketcluster-client/node_modules/ws/lib/websocket-server.js +350 -0
- package/node_modules/socketcluster-client/node_modules/ws/lib/websocket.js +821 -0
- package/node_modules/socketcluster-client/node_modules/ws/package.json +81 -0
- package/node_modules/socketcluster-client/package.json +17 -18
- package/node_modules/socketcluster-client/socketcluster.js +12 -40
- package/node_modules/socketcluster-client/socketcluster.min.js +2 -2
- package/node_modules/string_decoder/package.json +0 -1
- package/node_modules/systeminformation/CHANGELOG.md +3 -22
- package/node_modules/systeminformation/README.md +1 -4
- package/node_modules/systeminformation/lib/battery.js +26 -104
- package/node_modules/systeminformation/lib/cpu.js +10 -13
- package/node_modules/systeminformation/lib/docker.js +3 -3
- package/node_modules/systeminformation/lib/filesystem.js +59 -86
- package/node_modules/systeminformation/lib/graphics.js +22 -91
- package/node_modules/systeminformation/lib/index.d.ts +11 -48
- package/node_modules/systeminformation/lib/memory.js +1 -1
- package/node_modules/systeminformation/lib/network.js +7 -17
- package/node_modules/systeminformation/lib/osinfo.js +7 -10
- package/node_modules/systeminformation/lib/processes.js +23 -35
- package/node_modules/systeminformation/lib/system.js +5 -5
- package/node_modules/systeminformation/lib/util.js +1 -41
- package/node_modules/systeminformation/package.json +11 -12
- package/node_modules/toidentifier/HISTORY.md +9 -0
- package/node_modules/toidentifier/README.md +3 -3
- package/node_modules/toidentifier/index.js +2 -0
- package/node_modules/toidentifier/package.json +25 -21
- package/node_modules/uri-js/package.json +2 -1
- package/node_modules/util-deprecate/package.json +0 -1
- package/node_modules/vizion/node_modules/async/CHANGELOG.md +275 -0
- package/node_modules/vizion/node_modules/async/LICENSE +19 -0
- package/node_modules/vizion/node_modules/async/README.md +56 -0
- package/node_modules/vizion/node_modules/async/all.js +50 -0
- package/node_modules/vizion/node_modules/async/allLimit.js +42 -0
- package/node_modules/vizion/node_modules/async/allSeries.js +37 -0
- package/node_modules/vizion/node_modules/async/any.js +52 -0
- package/node_modules/vizion/node_modules/async/anyLimit.js +43 -0
- package/node_modules/vizion/node_modules/async/anySeries.js +38 -0
- package/node_modules/vizion/node_modules/async/apply.js +68 -0
- package/node_modules/vizion/node_modules/async/applyEach.js +51 -0
- package/node_modules/vizion/node_modules/async/applyEachSeries.js +37 -0
- package/node_modules/vizion/node_modules/async/asyncify.js +110 -0
- package/node_modules/vizion/node_modules/async/auto.js +289 -0
- package/node_modules/vizion/node_modules/async/autoInject.js +170 -0
- package/node_modules/vizion/node_modules/async/bower.json +17 -0
- package/node_modules/vizion/node_modules/async/cargo.js +94 -0
- package/node_modules/vizion/node_modules/async/compose.js +58 -0
- package/node_modules/vizion/node_modules/async/concat.js +43 -0
- package/node_modules/vizion/node_modules/async/concatLimit.js +65 -0
- package/node_modules/vizion/node_modules/async/concatSeries.js +36 -0
- package/node_modules/vizion/node_modules/async/constant.js +66 -0
- package/node_modules/vizion/node_modules/async/detect.js +61 -0
- package/node_modules/vizion/node_modules/async/detectLimit.js +48 -0
- package/node_modules/vizion/node_modules/async/detectSeries.js +38 -0
- package/node_modules/vizion/node_modules/async/dir.js +43 -0
- package/node_modules/vizion/node_modules/async/dist/async.js +5609 -0
- package/node_modules/vizion/node_modules/async/dist/async.min.js +2 -0
- package/node_modules/vizion/node_modules/async/dist/async.min.map +1 -0
- package/node_modules/vizion/node_modules/async/doDuring.js +66 -0
- package/node_modules/vizion/node_modules/async/doUntil.js +39 -0
- package/node_modules/vizion/node_modules/async/doWhilst.js +59 -0
- package/node_modules/vizion/node_modules/async/during.js +76 -0
- package/node_modules/vizion/node_modules/async/each.js +82 -0
- package/node_modules/vizion/node_modules/async/eachLimit.js +45 -0
- package/node_modules/vizion/node_modules/async/eachOf.js +111 -0
- package/node_modules/vizion/node_modules/async/eachOfLimit.js +41 -0
- package/node_modules/vizion/node_modules/async/eachOfSeries.js +35 -0
- package/node_modules/vizion/node_modules/async/eachSeries.js +37 -0
- package/node_modules/vizion/node_modules/async/ensureAsync.js +73 -0
- package/node_modules/vizion/node_modules/async/every.js +50 -0
- package/node_modules/vizion/node_modules/async/everyLimit.js +42 -0
- package/node_modules/vizion/node_modules/async/everySeries.js +37 -0
- package/node_modules/vizion/node_modules/async/filter.js +45 -0
- package/node_modules/vizion/node_modules/async/filterLimit.js +37 -0
- package/node_modules/vizion/node_modules/async/filterSeries.js +35 -0
- package/node_modules/vizion/node_modules/async/find.js +61 -0
- package/node_modules/vizion/node_modules/async/findLimit.js +48 -0
- package/node_modules/vizion/node_modules/async/findSeries.js +38 -0
- package/node_modules/vizion/node_modules/async/foldl.js +78 -0
- package/node_modules/vizion/node_modules/async/foldr.js +44 -0
- package/node_modules/vizion/node_modules/async/forEach.js +82 -0
- package/node_modules/vizion/node_modules/async/forEachLimit.js +45 -0
- package/node_modules/vizion/node_modules/async/forEachOf.js +111 -0
- package/node_modules/vizion/node_modules/async/forEachOfLimit.js +41 -0
- package/node_modules/vizion/node_modules/async/forEachOfSeries.js +35 -0
- package/node_modules/vizion/node_modules/async/forEachSeries.js +37 -0
- package/node_modules/vizion/node_modules/async/forever.js +65 -0
- package/node_modules/vizion/node_modules/async/groupBy.js +54 -0
- package/node_modules/vizion/node_modules/async/groupByLimit.js +71 -0
- package/node_modules/vizion/node_modules/async/groupBySeries.js +37 -0
- package/node_modules/vizion/node_modules/async/index.js +582 -0
- package/node_modules/vizion/node_modules/async/inject.js +78 -0
- package/node_modules/vizion/node_modules/async/internal/DoublyLinkedList.js +88 -0
- package/node_modules/vizion/node_modules/async/internal/applyEach.js +38 -0
- package/node_modules/vizion/node_modules/async/internal/breakLoop.js +9 -0
- package/node_modules/vizion/node_modules/async/internal/consoleFunc.js +42 -0
- package/node_modules/vizion/node_modules/async/internal/createTester.js +44 -0
- package/node_modules/vizion/node_modules/async/internal/doLimit.js +12 -0
- package/node_modules/vizion/node_modules/async/internal/doParallel.js +23 -0
- package/node_modules/vizion/node_modules/async/internal/doParallelLimit.js +23 -0
- package/node_modules/vizion/node_modules/async/internal/eachOfLimit.js +74 -0
- package/node_modules/vizion/node_modules/async/internal/filter.js +75 -0
- package/node_modules/vizion/node_modules/async/internal/findGetResult.js +10 -0
- package/node_modules/vizion/node_modules/async/internal/getIterator.js +13 -0
- package/node_modules/vizion/node_modules/async/internal/initialParams.js +21 -0
- package/node_modules/vizion/node_modules/async/internal/iterator.js +58 -0
- package/node_modules/vizion/node_modules/async/internal/map.js +35 -0
- package/node_modules/vizion/node_modules/async/internal/notId.js +10 -0
- package/node_modules/vizion/node_modules/async/internal/once.js +15 -0
- package/node_modules/vizion/node_modules/async/internal/onlyOnce.js +15 -0
- package/node_modules/vizion/node_modules/async/internal/parallel.js +42 -0
- package/node_modules/vizion/node_modules/async/internal/queue.js +204 -0
- package/node_modules/vizion/node_modules/async/internal/reject.js +21 -0
- package/node_modules/vizion/node_modules/async/internal/setImmediate.js +42 -0
- package/node_modules/vizion/node_modules/async/internal/slice.js +16 -0
- package/node_modules/vizion/node_modules/async/internal/withoutIndex.js +12 -0
- package/node_modules/vizion/node_modules/async/internal/wrapAsync.js +25 -0
- package/node_modules/vizion/node_modules/async/log.js +41 -0
- package/node_modules/vizion/node_modules/async/map.js +54 -0
- package/node_modules/vizion/node_modules/async/mapLimit.js +37 -0
- package/node_modules/vizion/node_modules/async/mapSeries.js +36 -0
- package/node_modules/vizion/node_modules/async/mapValues.js +63 -0
- package/node_modules/vizion/node_modules/async/mapValuesLimit.js +61 -0
- package/node_modules/vizion/node_modules/async/mapValuesSeries.js +37 -0
- package/node_modules/vizion/node_modules/async/memoize.js +101 -0
- package/node_modules/vizion/node_modules/async/nextTick.js +51 -0
- package/node_modules/vizion/node_modules/async/package.json +110 -0
- package/node_modules/vizion/node_modules/async/parallel.js +90 -0
- package/node_modules/vizion/node_modules/async/parallelLimit.js +40 -0
- package/node_modules/vizion/node_modules/async/priorityQueue.js +98 -0
- package/node_modules/vizion/node_modules/async/queue.js +130 -0
- package/node_modules/vizion/node_modules/async/race.js +70 -0
- package/node_modules/vizion/node_modules/async/reduce.js +78 -0
- package/node_modules/vizion/node_modules/async/reduceRight.js +44 -0
- package/node_modules/vizion/node_modules/async/reflect.js +81 -0
- package/node_modules/vizion/node_modules/async/reflectAll.js +105 -0
- package/node_modules/vizion/node_modules/async/reject.js +45 -0
- package/node_modules/vizion/node_modules/async/rejectLimit.js +37 -0
- package/node_modules/vizion/node_modules/async/rejectSeries.js +35 -0
- package/node_modules/vizion/node_modules/async/retry.js +156 -0
- package/node_modules/vizion/node_modules/async/retryable.js +65 -0
- package/node_modules/vizion/node_modules/async/select.js +45 -0
- package/node_modules/vizion/node_modules/async/selectLimit.js +37 -0
- package/node_modules/vizion/node_modules/async/selectSeries.js +35 -0
- package/node_modules/vizion/node_modules/async/seq.js +91 -0
- package/node_modules/vizion/node_modules/async/series.js +85 -0
- package/node_modules/vizion/node_modules/async/setImmediate.js +45 -0
- package/node_modules/vizion/node_modules/async/some.js +52 -0
- package/node_modules/vizion/node_modules/async/someLimit.js +43 -0
- package/node_modules/vizion/node_modules/async/someSeries.js +38 -0
- package/node_modules/vizion/node_modules/async/sortBy.js +91 -0
- package/node_modules/vizion/node_modules/async/timeout.js +89 -0
- package/node_modules/vizion/node_modules/async/times.js +50 -0
- package/node_modules/vizion/node_modules/async/timesLimit.js +42 -0
- package/node_modules/vizion/node_modules/async/timesSeries.js +32 -0
- package/node_modules/vizion/node_modules/async/transform.js +87 -0
- package/node_modules/vizion/node_modules/async/tryEach.js +81 -0
- package/node_modules/vizion/node_modules/async/unmemoize.js +25 -0
- package/node_modules/vizion/node_modules/async/until.js +41 -0
- package/node_modules/vizion/node_modules/async/waterfall.js +113 -0
- package/node_modules/vizion/node_modules/async/whilst.js +72 -0
- package/node_modules/vizion/node_modules/async/wrapSync.js +110 -0
- package/node_modules/vizion/package.json +3 -1
- package/node_modules/ws/package.json +0 -1
- package/package.json +62 -62
- package/security/JWTObjects.jsc +0 -0
- package/security/auth.jsc +0 -0
- package/security/cryptoHash.jsc +0 -0
- package/security/data_objects/PermissionAttributeResponseObject.jsc +0 -0
- package/security/data_objects/PermissionResponseObject.jsc +0 -0
- package/security/data_objects/PermissionTableResponseObject.jsc +0 -0
- package/security/permissionsTranslator.jsc +0 -0
- package/security/role.jsc +0 -0
- package/security/tokenAuthentication.jsc +0 -0
- package/security/user.jsc +0 -0
- package/server/ClusteringOriginObject.jsc +0 -0
- package/server/JobObject.jsc +0 -0
- package/server/clustering/ClusterStatusObject.jsc +0 -0
- package/server/clustering/NodeObject.jsc +0 -0
- package/server/clustering/clusterUtilities.jsc +0 -0
- package/server/configuration.jsc +0 -0
- package/server/customFunctions/customFunctionsServer.jsc +0 -0
- package/server/customFunctions/helpers/getCORSOptions.jsc +0 -0
- package/server/customFunctions/helpers/getHeaderTimeoutConfig.jsc +0 -0
- package/server/customFunctions/helpers/getServerOptions.jsc +0 -0
- package/server/customFunctions/operations.jsc +0 -0
- package/server/customFunctions/operationsValidation.jsc +0 -0
- package/server/harperdb/hdbServer.jsc +0 -0
- package/server/ipc/IPCClient.jsc +0 -0
- package/server/ipc/hdbIpcServer.jsc +0 -0
- package/server/ipc/serverHandlers.jsc +0 -0
- package/server/ipc/utility/IPCEventObject.jsc +0 -0
- package/server/ipc/utility/ipcUtils.jsc +0 -0
- package/server/jobRunner.jsc +0 -0
- package/server/jobThread.jsc +0 -0
- package/server/jobs.jsc +0 -0
- package/server/serverHelpers/OperationFunctionObject.jsc +0 -0
- package/server/serverHelpers/requestTimePlugin.jsc +0 -0
- package/server/serverHelpers/serverHandlers.jsc +0 -0
- package/server/serverHelpers/serverUtilities.jsc +0 -0
- package/server/socketcluster/Server.jsc +0 -0
- package/server/socketcluster/broker.jsc +0 -0
- package/server/socketcluster/connector/HDBSocketConnector.jsc +0 -0
- package/server/socketcluster/connector/InterNodeSocketConnector.jsc +0 -0
- package/server/socketcluster/connector/SocketConnector.jsc +0 -0
- package/server/socketcluster/connector/spawnSCConnection.jsc +0 -0
- package/server/socketcluster/decisionMatrix/CoreDecisionMatrix.jsc +0 -0
- package/server/socketcluster/decisionMatrix/DecisionMatrixIF.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/AssignToHdbChildWorkerRule.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/CallRoomMsgHandlerRule.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/CleanDataObjectRule.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/CommandCollection.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/DummyRule.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/RulesIF.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/StripHdbHeaderRule.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/TestRule.jsc +0 -0
- package/server/socketcluster/handlers/NodeConnectionsHandler.jsc +0 -0
- package/server/socketcluster/handlers/SCServer.jsc +0 -0
- package/server/socketcluster/handlers/ServerSocket.jsc +0 -0
- package/server/socketcluster/interNodeConnectionLauncher.jsc +0 -0
- package/server/socketcluster/messageQueue/MessageQueueIF.jsc +0 -0
- package/server/socketcluster/middleware/AuthMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/ConnectionNameCheckMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/GenericMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/MessagePrepMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/MiddlewareFactory.jsc +0 -0
- package/server/socketcluster/middleware/MiddlewareIF.jsc +0 -0
- package/server/socketcluster/middleware/OriginatorCheckMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/RequestDataValidMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/StampOriginatorMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/StampRequestMiddleware.jsc +0 -0
- package/server/socketcluster/observer/EventableIF.jsc +0 -0
- package/server/socketcluster/room/AddUserRoom.jsc +0 -0
- package/server/socketcluster/room/AlterUserRoom.jsc +0 -0
- package/server/socketcluster/room/CoreRoom.jsc +0 -0
- package/server/socketcluster/room/CreateAttributeRoom.jsc +0 -0
- package/server/socketcluster/room/CreateSchemaRoom.jsc +0 -0
- package/server/socketcluster/room/CreateTableRoom.jsc +0 -0
- package/server/socketcluster/room/DropUserRoom.jsc +0 -0
- package/server/socketcluster/room/HDBNodeRoom.jsc +0 -0
- package/server/socketcluster/room/RoomIF.jsc +0 -0
- package/server/socketcluster/room/RoomMessageObjects.jsc +0 -0
- package/server/socketcluster/room/UsersRoom.jsc +0 -0
- package/server/socketcluster/room/WatchHDBWorkersRoom.jsc +0 -0
- package/server/socketcluster/room/WorkerRoom.jsc +0 -0
- package/server/socketcluster/room/roomFactory.jsc +0 -0
- package/server/socketcluster/socketClusterObjects.jsc +0 -0
- package/server/socketcluster/types.jsc +0 -0
- package/server/socketcluster/util/clusterData.jsc +0 -0
- package/server/socketcluster/util/socketClusterUtils.jsc +0 -0
- package/server/socketcluster/worker/ClusterWorker.jsc +0 -0
- package/server/socketcluster/worker/WorkerIF.jsc +0 -0
- package/server/socketcluster/worker/WorkerObjects.jsc +0 -0
- package/server/transactToClusteringUtilities.jsc +0 -0
- package/sqlTranslator/SelectValidator.jsc +0 -0
- package/sqlTranslator/alasqlFunctionImporter.jsc +0 -0
- package/sqlTranslator/conditionPatterns.jsc +0 -0
- package/sqlTranslator/deleteTranslator.jsc +0 -0
- package/sqlTranslator/index.jsc +0 -0
- package/sqlTranslator/sql_statement_bucket.jsc +0 -0
- package/upgrade/EnvironmentVariable.jsc +0 -0
- package/upgrade/UpgradeDirective.jsc +0 -0
- package/upgrade/UpgradeObjects.jsc +0 -0
- package/upgrade/directives/3-0-0.jsc +0 -0
- package/upgrade/directives/3-1-0.jsc +0 -0
- package/upgrade/directives/directivesController.jsc +0 -0
- package/upgrade/directives/upgrade_scripts/3_0_0_reindex_script.jsc +0 -0
- package/upgrade/directivesManager.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/DBIDefinition.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/OpenDBIObject.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/OpenEnvironmentObject.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/commonErrors.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/commonUtility.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/environmentUtility.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/terms.jsc +0 -0
- package/upgrade/upgradePrompt.jsc +0 -0
- package/upgrade/upgradeUtilities.jsc +0 -0
- package/utility/AWS/AWSConnector.jsc +0 -0
- package/utility/OperationFunctionCaller.jsc +0 -0
- package/utility/common_utils.jsc +0 -0
- package/utility/environment/SystemInformationObject.jsc +0 -0
- package/utility/environment/SystemInformationOperation.jsc +0 -0
- package/utility/environment/environmentManager.jsc +0 -0
- package/utility/environment/systemInformation.jsc +0 -0
- package/utility/errors/commonErrors.jsc +0 -0
- package/utility/errors/hdbError.jsc +0 -0
- package/utility/functions/date/dateFunctions.jsc +0 -0
- package/utility/functions/geo.jsc +0 -0
- package/utility/functions/math/avg.jsc +0 -0
- package/utility/functions/math/count.jsc +0 -0
- package/utility/functions/sql/alaSQLExtension.jsc +0 -0
- package/utility/functions/string/compare.jsc +0 -0
- package/utility/globalSchema.jsc +0 -0
- package/utility/hdbTerms.jsc +0 -0
- package/utility/install/checkJWTTokensExist.jsc +0 -0
- package/utility/install/installer.jsc +0 -0
- package/utility/install_user_permission.jsc +0 -0
- package/utility/lmdb/DBIDefinition.jsc +0 -0
- package/utility/lmdb/DeleteRecordsResponseObject.jsc +0 -0
- package/utility/lmdb/InsertRecordsResponseObject.jsc +0 -0
- package/utility/lmdb/OpenDBIObject.jsc +0 -0
- package/utility/lmdb/OpenEnvironmentObject.jsc +0 -0
- package/utility/lmdb/UpdateRecordsResponseObject.jsc +0 -0
- package/utility/lmdb/UpsertRecordsResponseObject.jsc +0 -0
- package/utility/lmdb/cleanLMDBMap.jsc +0 -0
- package/utility/lmdb/commonUtility.jsc +0 -0
- package/utility/lmdb/deleteUtility.jsc +0 -0
- package/utility/lmdb/environmentUtility.jsc +0 -0
- package/utility/lmdb/searchCursorFunctions.jsc +0 -0
- package/utility/lmdb/searchUtility.jsc +0 -0
- package/utility/lmdb/terms.jsc +0 -0
- package/utility/lmdb/writeUtility.jsc +0 -0
- package/utility/logging/harper_logger.jsc +0 -0
- package/utility/mount_hdb.jsc +0 -0
- package/utility/operation_authorization.jsc +0 -0
- package/utility/password.jsc +0 -0
- package/utility/pm2/servicesConfig.jsc +0 -0
- package/utility/pm2/utilityFunctions.jsc +0 -0
- package/utility/psList.jsc +0 -0
- package/utility/registration/hdb_license.jsc +0 -0
- package/utility/registration/licenseObjects.jsc +0 -0
- package/utility/registration/registrationHandler.jsc +0 -0
- package/utility/scripts/restartHdb.jsc +0 -0
- package/utility/signalling.jsc +0 -0
- package/utility/system_info.jsc +0 -0
- package/validation/bulkDeleteValidator.jsc +0 -0
- package/validation/check_permissions.jsc +0 -0
- package/validation/clustering/configureValidator.jsc +0 -0
- package/validation/common_validators.jsc +0 -0
- package/validation/conditionalDeleteValidator.jsc +0 -0
- package/validation/deleteValidator.jsc +0 -0
- package/validation/fileLoadValidator.jsc +0 -0
- package/validation/insertValidator.jsc +0 -0
- package/validation/nodeSubscriptionValidator.jsc +0 -0
- package/validation/nodeValidator.jsc +0 -0
- package/validation/readLogValidator.jsc +0 -0
- package/validation/registration/license_key_object.jsc +0 -0
- package/validation/role_validation.jsc +0 -0
- package/validation/schemaMetadataValidator.jsc +0 -0
- package/validation/schema_validator.jsc +0 -0
- package/validation/searchValidator.jsc +0 -0
- package/validation/user_validation.jsc +0 -0
- package/validation/validationWrapper.jsc +0 -0
- package/node_modules/axios/lib/helpers/isAxiosError.js +0 -11
- package/node_modules/fastify-helmet/.github/stale.yml +0 -21
- package/node_modules/fastify-static/.github/stale.yml +0 -21
- package/node_modules/fastify-static/example/public2/test.css +0 -4
- package/node_modules/fastify-static/example/public2/test.html +0 -8
- package/node_modules/fastify-static/example/server-multi-dir-list.js +0 -49
- package/node_modules/fastify-static/node_modules/glob/changelog.md +0 -67
- package/node_modules/fastify-static/test/static/.example +0 -1
- package/node_modules/fastify-static/test/static/a .md +0 -1
- package/node_modules/fastify-static/test/static2/bar.html +0 -3
- package/node_modules/fastify-static/test/static2/index.html +0 -3
- package/node_modules/light-my-request/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/light-my-request/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/light-my-request/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/light-my-request/node_modules/readable-stream/README.md +0 -106
- package/node_modules/light-my-request/node_modules/readable-stream/errors-browser.js +0 -127
- package/node_modules/light-my-request/node_modules/readable-stream/errors.js +0 -116
- package/node_modules/light-my-request/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/node_modules/light-my-request/node_modules/readable-stream/lib/_stream_duplex.js +0 -139
- package/node_modules/light-my-request/node_modules/readable-stream/lib/_stream_passthrough.js +0 -39
- package/node_modules/light-my-request/node_modules/readable-stream/lib/_stream_readable.js +0 -1124
- package/node_modules/light-my-request/node_modules/readable-stream/lib/_stream_transform.js +0 -201
- package/node_modules/light-my-request/node_modules/readable-stream/lib/_stream_writable.js +0 -697
- package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -207
- package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -210
- package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
- package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -104
- package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/from.js +0 -64
- package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -97
- package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/state.js +0 -27
- package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/light-my-request/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/light-my-request/node_modules/readable-stream/package.json +0 -100
- package/node_modules/light-my-request/node_modules/readable-stream/readable-browser.js +0 -9
- package/node_modules/light-my-request/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/socketcluster-client/node_modules/clone/.npmignore +0 -4
- package/node_modules/socketcluster-client/node_modules/clone/README.md +0 -178
- package/node_modules/socketcluster-client/node_modules/clone/clone.iml +0 -10
- package/node_modules/socketcluster-client/node_modules/clone/clone.js +0 -251
- package/node_modules/socketcluster-client/node_modules/clone/package.json +0 -161
- package/node_modules/socketcluster-client/node_modules/sc-errors/README.md +0 -2
- package/node_modules/socketcluster-client/node_modules/sc-errors/decycle.js +0 -79
- package/node_modules/socketcluster-client/node_modules/sc-errors/index.js +0 -340
- package/node_modules/socketcluster-client/node_modules/sc-errors/package.json +0 -55
|
@@ -0,0 +1,1161 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// @ts-check
|
|
3
|
+
// ==================================================================================
|
|
4
|
+
// osinfo.js
|
|
5
|
+
// ----------------------------------------------------------------------------------
|
|
6
|
+
// Description: System Information - library
|
|
7
|
+
// for Node.js
|
|
8
|
+
// Copyright: (c) 2014 - 2022
|
|
9
|
+
// Author: Sebastian Hildebrandt
|
|
10
|
+
// ----------------------------------------------------------------------------------
|
|
11
|
+
// License: MIT
|
|
12
|
+
// ==================================================================================
|
|
13
|
+
// 3. Operating System
|
|
14
|
+
// ----------------------------------------------------------------------------------
|
|
15
|
+
|
|
16
|
+
const os = require('os');
|
|
17
|
+
const fs = require('fs');
|
|
18
|
+
const util = require('./util');
|
|
19
|
+
const exec = require('child_process').exec;
|
|
20
|
+
const execSync = require('child_process').execSync;
|
|
21
|
+
// const execPromise = util.promisify(require('child_process').exec);
|
|
22
|
+
|
|
23
|
+
let _platform = process.platform;
|
|
24
|
+
|
|
25
|
+
const _linux = (_platform === 'linux' || _platform === 'android');
|
|
26
|
+
const _darwin = (_platform === 'darwin');
|
|
27
|
+
const _windows = (_platform === 'win32');
|
|
28
|
+
const _freebsd = (_platform === 'freebsd');
|
|
29
|
+
const _openbsd = (_platform === 'openbsd');
|
|
30
|
+
const _netbsd = (_platform === 'netbsd');
|
|
31
|
+
const _sunos = (_platform === 'sunos');
|
|
32
|
+
|
|
33
|
+
// --------------------------
|
|
34
|
+
// Get current time and OS uptime
|
|
35
|
+
|
|
36
|
+
function time() {
|
|
37
|
+
let t = new Date().toString().split(' ');
|
|
38
|
+
return {
|
|
39
|
+
current: Date.now(),
|
|
40
|
+
uptime: os.uptime(),
|
|
41
|
+
timezone: (t.length >= 7) ? t[5] : '',
|
|
42
|
+
timezoneName: Intl ? Intl.DateTimeFormat().resolvedOptions().timeZone : (t.length >= 7) ? t.slice(6).join(' ').replace(/\(/g, '').replace(/\)/g, '') : ''
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
exports.time = time;
|
|
47
|
+
|
|
48
|
+
// --------------------------
|
|
49
|
+
// Get logo filename of OS distribution
|
|
50
|
+
|
|
51
|
+
function getLogoFile(distro) {
|
|
52
|
+
distro = distro || '';
|
|
53
|
+
distro = distro.toLowerCase();
|
|
54
|
+
let result = _platform;
|
|
55
|
+
if (_windows) {
|
|
56
|
+
result = 'windows';
|
|
57
|
+
}
|
|
58
|
+
else if (distro.indexOf('mac os') !== -1) {
|
|
59
|
+
result = 'apple';
|
|
60
|
+
}
|
|
61
|
+
else if (distro.indexOf('arch') !== -1) {
|
|
62
|
+
result = 'arch';
|
|
63
|
+
}
|
|
64
|
+
else if (distro.indexOf('centos') !== -1) {
|
|
65
|
+
result = 'centos';
|
|
66
|
+
}
|
|
67
|
+
else if (distro.indexOf('coreos') !== -1) {
|
|
68
|
+
result = 'coreos';
|
|
69
|
+
}
|
|
70
|
+
else if (distro.indexOf('debian') !== -1) {
|
|
71
|
+
result = 'debian';
|
|
72
|
+
}
|
|
73
|
+
else if (distro.indexOf('deepin') !== -1) {
|
|
74
|
+
result = 'deepin';
|
|
75
|
+
}
|
|
76
|
+
else if (distro.indexOf('elementary') !== -1) {
|
|
77
|
+
result = 'elementary';
|
|
78
|
+
}
|
|
79
|
+
else if (distro.indexOf('fedora') !== -1) {
|
|
80
|
+
result = 'fedora';
|
|
81
|
+
}
|
|
82
|
+
else if (distro.indexOf('gentoo') !== -1) {
|
|
83
|
+
result = 'gentoo';
|
|
84
|
+
}
|
|
85
|
+
else if (distro.indexOf('mageia') !== -1) {
|
|
86
|
+
result = 'mageia';
|
|
87
|
+
}
|
|
88
|
+
else if (distro.indexOf('mandriva') !== -1) {
|
|
89
|
+
result = 'mandriva';
|
|
90
|
+
}
|
|
91
|
+
else if (distro.indexOf('manjaro') !== -1) {
|
|
92
|
+
result = 'manjaro';
|
|
93
|
+
}
|
|
94
|
+
else if (distro.indexOf('mint') !== -1) {
|
|
95
|
+
result = 'mint';
|
|
96
|
+
}
|
|
97
|
+
else if (distro.indexOf('mx') !== -1) {
|
|
98
|
+
result = 'mx';
|
|
99
|
+
}
|
|
100
|
+
else if (distro.indexOf('openbsd') !== -1) {
|
|
101
|
+
result = 'openbsd';
|
|
102
|
+
}
|
|
103
|
+
else if (distro.indexOf('freebsd') !== -1) {
|
|
104
|
+
result = 'freebsd';
|
|
105
|
+
}
|
|
106
|
+
else if (distro.indexOf('opensuse') !== -1) {
|
|
107
|
+
result = 'opensuse';
|
|
108
|
+
}
|
|
109
|
+
else if (distro.indexOf('pclinuxos') !== -1) {
|
|
110
|
+
result = 'pclinuxos';
|
|
111
|
+
}
|
|
112
|
+
else if (distro.indexOf('puppy') !== -1) {
|
|
113
|
+
result = 'puppy';
|
|
114
|
+
}
|
|
115
|
+
else if (distro.indexOf('raspbian') !== -1) {
|
|
116
|
+
result = 'raspbian';
|
|
117
|
+
}
|
|
118
|
+
else if (distro.indexOf('reactos') !== -1) {
|
|
119
|
+
result = 'reactos';
|
|
120
|
+
}
|
|
121
|
+
else if (distro.indexOf('redhat') !== -1) {
|
|
122
|
+
result = 'redhat';
|
|
123
|
+
}
|
|
124
|
+
else if (distro.indexOf('slackware') !== -1) {
|
|
125
|
+
result = 'slackware';
|
|
126
|
+
}
|
|
127
|
+
else if (distro.indexOf('sugar') !== -1) {
|
|
128
|
+
result = 'sugar';
|
|
129
|
+
}
|
|
130
|
+
else if (distro.indexOf('steam') !== -1) {
|
|
131
|
+
result = 'steam';
|
|
132
|
+
}
|
|
133
|
+
else if (distro.indexOf('suse') !== -1) {
|
|
134
|
+
result = 'suse';
|
|
135
|
+
}
|
|
136
|
+
else if (distro.indexOf('mate') !== -1) {
|
|
137
|
+
result = 'ubuntu-mate';
|
|
138
|
+
}
|
|
139
|
+
else if (distro.indexOf('lubuntu') !== -1) {
|
|
140
|
+
result = 'lubuntu';
|
|
141
|
+
}
|
|
142
|
+
else if (distro.indexOf('xubuntu') !== -1) {
|
|
143
|
+
result = 'xubuntu';
|
|
144
|
+
}
|
|
145
|
+
else if (distro.indexOf('ubuntu') !== -1) {
|
|
146
|
+
result = 'ubuntu';
|
|
147
|
+
}
|
|
148
|
+
else if (distro.indexOf('solaris') !== -1) {
|
|
149
|
+
result = 'solaris';
|
|
150
|
+
}
|
|
151
|
+
else if (distro.indexOf('tails') !== -1) {
|
|
152
|
+
result = 'tails';
|
|
153
|
+
}
|
|
154
|
+
else if (distro.indexOf('feren') !== -1) {
|
|
155
|
+
result = 'ferenos';
|
|
156
|
+
}
|
|
157
|
+
else if (distro.indexOf('robolinux') !== -1) {
|
|
158
|
+
result = 'robolinux';
|
|
159
|
+
} else if (_linux && distro) {
|
|
160
|
+
result = distro.toLowerCase().trim().replace(/\s+/g, '-');
|
|
161
|
+
}
|
|
162
|
+
return result;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// --------------------------
|
|
166
|
+
// FQDN
|
|
167
|
+
|
|
168
|
+
function getFQDN() {
|
|
169
|
+
let fqdn = os.hostname;
|
|
170
|
+
if (_linux || _darwin) {
|
|
171
|
+
try {
|
|
172
|
+
const stdout = execSync('hostname -f');
|
|
173
|
+
fqdn = stdout.toString().split(os.EOL)[0];
|
|
174
|
+
} catch (e) {
|
|
175
|
+
util.noop();
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
if (_freebsd || _openbsd || _netbsd) {
|
|
179
|
+
try {
|
|
180
|
+
const stdout = execSync('hostname');
|
|
181
|
+
fqdn = stdout.toString().split(os.EOL)[0];
|
|
182
|
+
} catch (e) {
|
|
183
|
+
util.noop();
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
if (_windows) {
|
|
187
|
+
try {
|
|
188
|
+
const stdout = execSync('echo %COMPUTERNAME%.%USERDNSDOMAIN%', util.execOptsWin);
|
|
189
|
+
fqdn = stdout.toString().replace('.%USERDNSDOMAIN%', '').split(os.EOL)[0];
|
|
190
|
+
} catch (e) {
|
|
191
|
+
util.noop();
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
return fqdn;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// --------------------------
|
|
198
|
+
// OS Information
|
|
199
|
+
|
|
200
|
+
function osInfo(callback) {
|
|
201
|
+
|
|
202
|
+
return new Promise((resolve) => {
|
|
203
|
+
process.nextTick(() => {
|
|
204
|
+
let result = {
|
|
205
|
+
|
|
206
|
+
platform: (_platform === 'win32' ? 'Windows' : _platform),
|
|
207
|
+
distro: 'unknown',
|
|
208
|
+
release: 'unknown',
|
|
209
|
+
codename: '',
|
|
210
|
+
kernel: os.release(),
|
|
211
|
+
arch: os.arch(),
|
|
212
|
+
hostname: os.hostname(),
|
|
213
|
+
fqdn: getFQDN(),
|
|
214
|
+
codepage: '',
|
|
215
|
+
logofile: '',
|
|
216
|
+
serial: '',
|
|
217
|
+
build: '',
|
|
218
|
+
servicepack: '',
|
|
219
|
+
uefi: false
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
if (_linux) {
|
|
223
|
+
|
|
224
|
+
exec('cat /etc/*-release; cat /usr/lib/os-release; cat /etc/openwrt_release', function (error, stdout) {
|
|
225
|
+
//if (!error) {
|
|
226
|
+
/**
|
|
227
|
+
* @namespace
|
|
228
|
+
* @property {string} DISTRIB_ID
|
|
229
|
+
* @property {string} NAME
|
|
230
|
+
* @property {string} DISTRIB_RELEASE
|
|
231
|
+
* @property {string} VERSION_ID
|
|
232
|
+
* @property {string} DISTRIB_CODENAME
|
|
233
|
+
*/
|
|
234
|
+
let release = {};
|
|
235
|
+
let lines = stdout.toString().split('\n');
|
|
236
|
+
lines.forEach(function (line) {
|
|
237
|
+
if (line.indexOf('=') !== -1) {
|
|
238
|
+
release[line.split('=')[0].trim().toUpperCase()] = line.split('=')[1].trim();
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
let releaseVersion = (release.VERSION || '').replace(/"/g, '');
|
|
242
|
+
let codename = (release.DISTRIB_CODENAME || release.VERSION_CODENAME || '').replace(/"/g, '');
|
|
243
|
+
if (releaseVersion.indexOf('(') >= 0) {
|
|
244
|
+
codename = releaseVersion.split('(')[1].replace(/[()]/g, '').trim();
|
|
245
|
+
releaseVersion = releaseVersion.split('(')[0].trim();
|
|
246
|
+
}
|
|
247
|
+
result.distro = (release.DISTRIB_ID || release.NAME || 'unknown').replace(/"/g, '');
|
|
248
|
+
result.logofile = getLogoFile(result.distro);
|
|
249
|
+
result.release = (releaseVersion || release.DISTRIB_RELEASE || release.VERSION_ID || 'unknown').replace(/"/g, '');
|
|
250
|
+
result.codename = codename;
|
|
251
|
+
result.codepage = util.getCodepage();
|
|
252
|
+
result.build = (release.BUILD_ID || '').replace(/"/g, '').trim();
|
|
253
|
+
isUefiLinux().then(uefi => {
|
|
254
|
+
result.uefi = uefi;
|
|
255
|
+
uuid().then(data => {
|
|
256
|
+
result.serial = data.os;
|
|
257
|
+
if (callback) {
|
|
258
|
+
callback(result);
|
|
259
|
+
}
|
|
260
|
+
resolve(result);
|
|
261
|
+
});
|
|
262
|
+
});
|
|
263
|
+
//}
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
if (_freebsd || _openbsd || _netbsd) {
|
|
267
|
+
|
|
268
|
+
exec('sysctl kern.ostype kern.osrelease kern.osrevision kern.hostuuid machdep.bootmethod', function (error, stdout) {
|
|
269
|
+
if (!error) {
|
|
270
|
+
let lines = stdout.toString().split('\n');
|
|
271
|
+
result.distro = util.getValue(lines, 'kern.ostype');
|
|
272
|
+
result.logofile = getLogoFile(result.distro);
|
|
273
|
+
result.release = util.getValue(lines, 'kern.osrelease').split('-')[0];
|
|
274
|
+
result.serial = util.getValue(lines, 'kern.uuid');
|
|
275
|
+
result.codename = '';
|
|
276
|
+
result.codepage = util.getCodepage();
|
|
277
|
+
result.uefi = util.getValue(lines, 'machdep.bootmethod').toLowerCase().indexOf('uefi') >= 0;
|
|
278
|
+
}
|
|
279
|
+
if (callback) {
|
|
280
|
+
callback(result);
|
|
281
|
+
}
|
|
282
|
+
resolve(result);
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
if (_darwin) {
|
|
286
|
+
exec('sw_vers; sysctl kern.ostype kern.osrelease kern.osrevision kern.uuid', function (error, stdout) {
|
|
287
|
+
let lines = stdout.toString().split('\n');
|
|
288
|
+
result.serial = util.getValue(lines, 'kern.uuid');
|
|
289
|
+
result.distro = util.getValue(lines, 'ProductName');
|
|
290
|
+
result.release = util.getValue(lines, 'ProductVersion');
|
|
291
|
+
result.build = util.getValue(lines, 'BuildVersion');
|
|
292
|
+
result.logofile = getLogoFile(result.distro);
|
|
293
|
+
result.codename = 'macOS';
|
|
294
|
+
result.codename = (result.release.indexOf('10.4') > -1 ? 'Mac OS X Tiger' : result.codename);
|
|
295
|
+
result.codename = (result.release.indexOf('10.4') > -1 ? 'Mac OS X Tiger' : result.codename);
|
|
296
|
+
result.codename = (result.release.indexOf('10.4') > -1 ? 'Mac OS X Tiger' : result.codename);
|
|
297
|
+
result.codename = (result.release.indexOf('10.5') > -1 ? 'Mac OS X Leopard' : result.codename);
|
|
298
|
+
result.codename = (result.release.indexOf('10.6') > -1 ? 'Mac OS X Snow Leopard' : result.codename);
|
|
299
|
+
result.codename = (result.release.indexOf('10.7') > -1 ? 'Mac OS X Lion' : result.codename);
|
|
300
|
+
result.codename = (result.release.indexOf('10.8') > -1 ? 'OS X Mountain Lion' : result.codename);
|
|
301
|
+
result.codename = (result.release.indexOf('10.9') > -1 ? 'OS X Mavericks' : result.codename);
|
|
302
|
+
result.codename = (result.release.indexOf('10.10') > -1 ? 'OS X Yosemite' : result.codename);
|
|
303
|
+
result.codename = (result.release.indexOf('10.11') > -1 ? 'OS X El Capitan' : result.codename);
|
|
304
|
+
result.codename = (result.release.indexOf('10.12') > -1 ? 'macOS Sierra' : result.codename);
|
|
305
|
+
result.codename = (result.release.indexOf('10.13') > -1 ? 'macOS High Sierra' : result.codename);
|
|
306
|
+
result.codename = (result.release.indexOf('10.14') > -1 ? 'macOS Mojave' : result.codename);
|
|
307
|
+
result.codename = (result.release.indexOf('10.15') > -1 ? 'macOS Catalina' : result.codename);
|
|
308
|
+
result.codename = (result.release.startsWith('11.') ? 'macOS Big Sur' : result.codename);
|
|
309
|
+
result.codename = (result.release.startsWith('12.') ? 'macOS Monterey' : result.codename);
|
|
310
|
+
result.uefi = true;
|
|
311
|
+
result.codepage = util.getCodepage();
|
|
312
|
+
if (callback) {
|
|
313
|
+
callback(result);
|
|
314
|
+
}
|
|
315
|
+
resolve(result);
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
if (_sunos) {
|
|
319
|
+
result.release = result.kernel;
|
|
320
|
+
exec('uname -o', function (error, stdout) {
|
|
321
|
+
let lines = stdout.toString().split('\n');
|
|
322
|
+
result.distro = lines[0];
|
|
323
|
+
result.logofile = getLogoFile(result.distro);
|
|
324
|
+
if (callback) { callback(result); }
|
|
325
|
+
resolve(result);
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
if (_windows) {
|
|
329
|
+
result.logofile = getLogoFile();
|
|
330
|
+
result.release = result.kernel;
|
|
331
|
+
try {
|
|
332
|
+
const workload = [];
|
|
333
|
+
workload.push(util.powerShell('Get-WmiObject Win32_OperatingSystem | select Caption,SerialNumber,BuildNumber,ServicePackMajorVersion,ServicePackMinorVersion | fl'));
|
|
334
|
+
// workload.push(execPromise('systeminfo', util.execOptsWin));
|
|
335
|
+
// workload.push(util.powerShell('Get-ComputerInfo -property "HyperV*"'));
|
|
336
|
+
workload.push(util.powerShell('(Get-CimInstance Win32_ComputerSystem).HypervisorPresent'));
|
|
337
|
+
workload.push(util.powerShell('Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.SystemInformation]::TerminalServerSession'));
|
|
338
|
+
util.promiseAll(
|
|
339
|
+
workload
|
|
340
|
+
).then(data => {
|
|
341
|
+
let lines = data.results[0] ? data.results[0].toString().split('\r\n') : [''];
|
|
342
|
+
result.distro = util.getValue(lines, 'Caption', ':').trim();
|
|
343
|
+
result.serial = util.getValue(lines, 'SerialNumber', ':').trim();
|
|
344
|
+
result.build = util.getValue(lines, 'BuildNumber', ':').trim();
|
|
345
|
+
result.servicepack = util.getValue(lines, 'ServicePackMajorVersion', ':').trim() + '.' + util.getValue(lines, 'ServicePackMinorVersion', ':').trim();
|
|
346
|
+
result.codepage = util.getCodepage();
|
|
347
|
+
// const systeminfo = data.results[1] ? data.results[1].toString() : '';
|
|
348
|
+
// result.hypervisor = (systeminfo.indexOf('hypervisor has been detected') !== -1) || (systeminfo.indexOf('ein Hypervisor erkannt') !== -1) || (systeminfo.indexOf('Un hyperviseur a ') !== -1);
|
|
349
|
+
// const hyperv = data.results[1] ? data.results[1].toString().split('\r\n') : [];
|
|
350
|
+
// result.hypervisor = (util.getValue(hyperv, 'HyperVisorPresent').toLowerCase() === 'true');
|
|
351
|
+
const hyperv = data.results[1] ? data.results[1].toString().toLowerCase() : '';
|
|
352
|
+
result.hypervisor = hyperv.indexOf('true') !== -1;
|
|
353
|
+
const term = data.results[2] ? data.results[2].toString() : '';
|
|
354
|
+
result.remoteSession = (term.toString().toLowerCase().indexOf('true') >= 0);
|
|
355
|
+
isUefiWindows().then(uefi => {
|
|
356
|
+
result.uefi = uefi;
|
|
357
|
+
if (callback) {
|
|
358
|
+
callback(result);
|
|
359
|
+
}
|
|
360
|
+
resolve(result);
|
|
361
|
+
});
|
|
362
|
+
});
|
|
363
|
+
} catch (e) {
|
|
364
|
+
if (callback) { callback(result); }
|
|
365
|
+
resolve(result);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
exports.osInfo = osInfo;
|
|
373
|
+
|
|
374
|
+
function isUefiLinux() {
|
|
375
|
+
return new Promise((resolve) => {
|
|
376
|
+
process.nextTick(() => {
|
|
377
|
+
fs.stat('/sys/firmware/efi', function (err) {
|
|
378
|
+
if (!err) {
|
|
379
|
+
return resolve(true);
|
|
380
|
+
} else {
|
|
381
|
+
exec('dmesg | grep -E "EFI v"', function (error, stdout) {
|
|
382
|
+
if (!error) {
|
|
383
|
+
const lines = stdout.toString().split('\n');
|
|
384
|
+
return resolve(lines.length > 0);
|
|
385
|
+
}
|
|
386
|
+
return resolve(false);
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
function isUefiWindows() {
|
|
395
|
+
return new Promise((resolve) => {
|
|
396
|
+
process.nextTick(() => {
|
|
397
|
+
try {
|
|
398
|
+
exec('findstr /C:"Detected boot environment" "%windir%\\Panther\\setupact.log"', util.execOptsWin, function (error, stdout) {
|
|
399
|
+
if (!error) {
|
|
400
|
+
const line = stdout.toString().split('\n\r')[0];
|
|
401
|
+
return resolve(line.toLowerCase().indexOf('efi') >= 0);
|
|
402
|
+
} else {
|
|
403
|
+
exec('echo %firmware_type%', util.execOptsWin, function (error, stdout) {
|
|
404
|
+
if (!error) {
|
|
405
|
+
const line = stdout.toString() || '';
|
|
406
|
+
return resolve(line.toLowerCase().indexOf('efi') >= 0);
|
|
407
|
+
} else {
|
|
408
|
+
return resolve(false);
|
|
409
|
+
}
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
});
|
|
413
|
+
} catch (e) {
|
|
414
|
+
return resolve(false);
|
|
415
|
+
}
|
|
416
|
+
});
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
function versions(apps, callback) {
|
|
421
|
+
let versionObject = {
|
|
422
|
+
kernel: os.release(),
|
|
423
|
+
openssl: '',
|
|
424
|
+
systemOpenssl: '',
|
|
425
|
+
systemOpensslLib: '',
|
|
426
|
+
node: process.versions.node,
|
|
427
|
+
v8: process.versions.v8,
|
|
428
|
+
npm: '',
|
|
429
|
+
yarn: '',
|
|
430
|
+
pm2: '',
|
|
431
|
+
gulp: '',
|
|
432
|
+
grunt: '',
|
|
433
|
+
git: '',
|
|
434
|
+
tsc: '',
|
|
435
|
+
mysql: '',
|
|
436
|
+
redis: '',
|
|
437
|
+
mongodb: '',
|
|
438
|
+
apache: '',
|
|
439
|
+
nginx: '',
|
|
440
|
+
php: '',
|
|
441
|
+
docker: '',
|
|
442
|
+
postfix: '',
|
|
443
|
+
postgresql: '',
|
|
444
|
+
perl: '',
|
|
445
|
+
python: '',
|
|
446
|
+
python3: '',
|
|
447
|
+
pip: '',
|
|
448
|
+
pip3: '',
|
|
449
|
+
java: '',
|
|
450
|
+
gcc: '',
|
|
451
|
+
virtualbox: '',
|
|
452
|
+
bash: '',
|
|
453
|
+
zsh: '',
|
|
454
|
+
fish: '',
|
|
455
|
+
powershell: '',
|
|
456
|
+
dotnet: ''
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
function checkVersionParam(apps) {
|
|
460
|
+
if (apps === '*') {
|
|
461
|
+
return {
|
|
462
|
+
versions: versionObject,
|
|
463
|
+
counter: 30
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
if (!Array.isArray(apps)) {
|
|
467
|
+
apps = apps.trim().toLowerCase().replace(/,+/g, '|').replace(/ /g, '|');
|
|
468
|
+
apps = apps.split('|');
|
|
469
|
+
const result = {
|
|
470
|
+
versions: {},
|
|
471
|
+
counter: 0
|
|
472
|
+
};
|
|
473
|
+
apps.forEach(el => {
|
|
474
|
+
if (el) {
|
|
475
|
+
for (let key in versionObject) {
|
|
476
|
+
if ({}.hasOwnProperty.call(versionObject, key)) {
|
|
477
|
+
if (key.toLowerCase() === el.toLowerCase() && !{}.hasOwnProperty.call(result.versions, key)) {
|
|
478
|
+
result.versions[key] = versionObject[key];
|
|
479
|
+
if (key === 'openssl') {
|
|
480
|
+
result.versions.systemOpenssl = '';
|
|
481
|
+
result.versions.systemOpensslLib = '';
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
if (!result.versions[key]) { result.counter++; }
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
});
|
|
490
|
+
return result;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
return new Promise((resolve) => {
|
|
495
|
+
process.nextTick(() => {
|
|
496
|
+
if (util.isFunction(apps) && !callback) {
|
|
497
|
+
callback = apps;
|
|
498
|
+
apps = '*';
|
|
499
|
+
} else {
|
|
500
|
+
apps = apps || '*';
|
|
501
|
+
if (typeof apps !== 'string') {
|
|
502
|
+
if (callback) { callback({}); }
|
|
503
|
+
return resolve({});
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
const appsObj = checkVersionParam(apps);
|
|
507
|
+
let totalFunctions = appsObj.counter;
|
|
508
|
+
|
|
509
|
+
let functionProcessed = (function () {
|
|
510
|
+
return function () {
|
|
511
|
+
if (--totalFunctions === 0) {
|
|
512
|
+
if (callback) {
|
|
513
|
+
callback(appsObj.versions);
|
|
514
|
+
}
|
|
515
|
+
resolve(appsObj.versions);
|
|
516
|
+
}
|
|
517
|
+
};
|
|
518
|
+
})();
|
|
519
|
+
|
|
520
|
+
let cmd = '';
|
|
521
|
+
try {
|
|
522
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'openssl')) {
|
|
523
|
+
appsObj.versions.openssl = process.versions.openssl;
|
|
524
|
+
exec('openssl version', function (error, stdout) {
|
|
525
|
+
if (!error) {
|
|
526
|
+
let openssl_string = stdout.toString().split('\n')[0].trim();
|
|
527
|
+
let openssl = openssl_string.split(' ');
|
|
528
|
+
appsObj.versions.systemOpenssl = openssl.length > 0 ? openssl[1] : openssl[0];
|
|
529
|
+
appsObj.versions.systemOpensslLib = openssl.length > 0 ? openssl[0] : 'openssl';
|
|
530
|
+
}
|
|
531
|
+
functionProcessed();
|
|
532
|
+
});
|
|
533
|
+
}
|
|
534
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'npm')) {
|
|
535
|
+
exec('npm -v', function (error, stdout) {
|
|
536
|
+
if (!error) {
|
|
537
|
+
appsObj.versions.npm = stdout.toString().split('\n')[0];
|
|
538
|
+
}
|
|
539
|
+
functionProcessed();
|
|
540
|
+
});
|
|
541
|
+
}
|
|
542
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'pm2')) {
|
|
543
|
+
cmd = 'pm2';
|
|
544
|
+
if (_windows) {
|
|
545
|
+
cmd += '.cmd';
|
|
546
|
+
}
|
|
547
|
+
exec(`${cmd} -v`, function (error, stdout) {
|
|
548
|
+
if (!error) {
|
|
549
|
+
let pm2 = stdout.toString().split('\n')[0].trim();
|
|
550
|
+
if (!pm2.startsWith('[PM2]')) {
|
|
551
|
+
appsObj.versions.pm2 = pm2;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
functionProcessed();
|
|
555
|
+
});
|
|
556
|
+
}
|
|
557
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'yarn')) {
|
|
558
|
+
exec('yarn --version', function (error, stdout) {
|
|
559
|
+
if (!error) {
|
|
560
|
+
appsObj.versions.yarn = stdout.toString().split('\n')[0];
|
|
561
|
+
}
|
|
562
|
+
functionProcessed();
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'gulp')) {
|
|
566
|
+
cmd = 'gulp';
|
|
567
|
+
if (_windows) {
|
|
568
|
+
cmd += '.cmd';
|
|
569
|
+
}
|
|
570
|
+
exec(`${cmd} --version`, function (error, stdout) {
|
|
571
|
+
if (!error) {
|
|
572
|
+
const gulp = stdout.toString().split('\n')[0] || '';
|
|
573
|
+
appsObj.versions.gulp = (gulp.toLowerCase().split('version')[1] || '').trim();
|
|
574
|
+
}
|
|
575
|
+
functionProcessed();
|
|
576
|
+
});
|
|
577
|
+
}
|
|
578
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'tsc')) {
|
|
579
|
+
cmd = 'tsc';
|
|
580
|
+
if (_windows) {
|
|
581
|
+
cmd += '.cmd';
|
|
582
|
+
}
|
|
583
|
+
exec(`${cmd} --version`, function (error, stdout) {
|
|
584
|
+
if (!error) {
|
|
585
|
+
const tsc = stdout.toString().split('\n')[0] || '';
|
|
586
|
+
appsObj.versions.tsc = (tsc.toLowerCase().split('version')[1] || '').trim();
|
|
587
|
+
}
|
|
588
|
+
functionProcessed();
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'grunt')) {
|
|
592
|
+
cmd = 'grunt';
|
|
593
|
+
if (_windows) {
|
|
594
|
+
cmd += '.cmd';
|
|
595
|
+
}
|
|
596
|
+
exec(`${cmd} --version`, function (error, stdout) {
|
|
597
|
+
if (!error) {
|
|
598
|
+
const grunt = stdout.toString().split('\n')[0] || '';
|
|
599
|
+
appsObj.versions.grunt = (grunt.toLowerCase().split('cli v')[1] || '').trim();
|
|
600
|
+
}
|
|
601
|
+
functionProcessed();
|
|
602
|
+
});
|
|
603
|
+
}
|
|
604
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'git')) {
|
|
605
|
+
if (_darwin) {
|
|
606
|
+
const gitHomebrewExists = fs.existsSync('/usr/local/Cellar/git') || fs.existsSync('/opt/homebrew/bin/git');
|
|
607
|
+
if (util.darwinXcodeExists() || gitHomebrewExists) {
|
|
608
|
+
exec('git --version', function (error, stdout) {
|
|
609
|
+
if (!error) {
|
|
610
|
+
let git = stdout.toString().split('\n')[0] || '';
|
|
611
|
+
git = (git.toLowerCase().split('version')[1] || '').trim();
|
|
612
|
+
appsObj.versions.git = (git.split(' ')[0] || '').trim();
|
|
613
|
+
}
|
|
614
|
+
functionProcessed();
|
|
615
|
+
});
|
|
616
|
+
} else {
|
|
617
|
+
functionProcessed();
|
|
618
|
+
}
|
|
619
|
+
} else {
|
|
620
|
+
exec('git --version', function (error, stdout) {
|
|
621
|
+
if (!error) {
|
|
622
|
+
let git = stdout.toString().split('\n')[0] || '';
|
|
623
|
+
git = (git.toLowerCase().split('version')[1] || '').trim();
|
|
624
|
+
appsObj.versions.git = (git.split(' ')[0] || '').trim();
|
|
625
|
+
}
|
|
626
|
+
functionProcessed();
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'apache')) {
|
|
631
|
+
exec('apachectl -v 2>&1', function (error, stdout) {
|
|
632
|
+
if (!error) {
|
|
633
|
+
const apache = (stdout.toString().split('\n')[0] || '').split(':');
|
|
634
|
+
appsObj.versions.apache = (apache.length > 1 ? apache[1].replace('Apache', '').replace('/', '').split('(')[0].trim() : '');
|
|
635
|
+
}
|
|
636
|
+
functionProcessed();
|
|
637
|
+
});
|
|
638
|
+
}
|
|
639
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'nginx')) {
|
|
640
|
+
exec('nginx -v 2>&1', function (error, stdout) {
|
|
641
|
+
if (!error) {
|
|
642
|
+
const nginx = stdout.toString().split('\n')[0] || '';
|
|
643
|
+
appsObj.versions.nginx = (nginx.toLowerCase().split('/')[1] || '').trim();
|
|
644
|
+
}
|
|
645
|
+
functionProcessed();
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'mysql')) {
|
|
649
|
+
exec('mysql -V', function (error, stdout) {
|
|
650
|
+
if (!error) {
|
|
651
|
+
let mysql = stdout.toString().split('\n')[0] || '';
|
|
652
|
+
mysql = mysql.toLowerCase();
|
|
653
|
+
if (mysql.indexOf(',') > -1) {
|
|
654
|
+
mysql = (mysql.split(',')[0] || '').trim();
|
|
655
|
+
const parts = mysql.split(' ');
|
|
656
|
+
appsObj.versions.mysql = (parts[parts.length - 1] || '').trim();
|
|
657
|
+
} else {
|
|
658
|
+
if (mysql.indexOf(' ver ') > -1) {
|
|
659
|
+
mysql = mysql.split(' ver ')[1];
|
|
660
|
+
appsObj.versions.mysql = mysql.split(' ')[0];
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
functionProcessed();
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'php')) {
|
|
668
|
+
exec('php -v', function (error, stdout) {
|
|
669
|
+
if (!error) {
|
|
670
|
+
const php = stdout.toString().split('\n')[0] || '';
|
|
671
|
+
let parts = php.split('(');
|
|
672
|
+
if (parts[0].indexOf('-')) {
|
|
673
|
+
parts = parts[0].split('-');
|
|
674
|
+
}
|
|
675
|
+
appsObj.versions.php = parts[0].replace(/[^0-9.]/g, '');
|
|
676
|
+
}
|
|
677
|
+
functionProcessed();
|
|
678
|
+
});
|
|
679
|
+
}
|
|
680
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'redis')) {
|
|
681
|
+
exec('redis-server --version', function (error, stdout) {
|
|
682
|
+
if (!error) {
|
|
683
|
+
const redis = stdout.toString().split('\n')[0] || '';
|
|
684
|
+
const parts = redis.split(' ');
|
|
685
|
+
appsObj.versions.redis = util.getValue(parts, 'v', '=', true);
|
|
686
|
+
}
|
|
687
|
+
functionProcessed();
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'docker')) {
|
|
691
|
+
exec('docker --version', function (error, stdout) {
|
|
692
|
+
if (!error) {
|
|
693
|
+
const docker = stdout.toString().split('\n')[0] || '';
|
|
694
|
+
const parts = docker.split(' ');
|
|
695
|
+
appsObj.versions.docker = parts.length > 2 && parts[2].endsWith(',') ? parts[2].slice(0, -1) : '';
|
|
696
|
+
}
|
|
697
|
+
functionProcessed();
|
|
698
|
+
});
|
|
699
|
+
}
|
|
700
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'postfix')) {
|
|
701
|
+
exec('postconf -d | grep mail_version', function (error, stdout) {
|
|
702
|
+
if (!error) {
|
|
703
|
+
const postfix = stdout.toString().split('\n') || [];
|
|
704
|
+
appsObj.versions.postfix = util.getValue(postfix, 'mail_version', '=', true);
|
|
705
|
+
}
|
|
706
|
+
functionProcessed();
|
|
707
|
+
});
|
|
708
|
+
}
|
|
709
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'mongodb')) {
|
|
710
|
+
exec('mongod --version', function (error, stdout) {
|
|
711
|
+
if (!error) {
|
|
712
|
+
const mongodb = stdout.toString().split('\n')[0] || '';
|
|
713
|
+
appsObj.versions.mongodb = (mongodb.toLowerCase().split(',')[0] || '').replace(/[^0-9.]/g, '');
|
|
714
|
+
}
|
|
715
|
+
functionProcessed();
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'postgresql')) {
|
|
719
|
+
if (_linux) {
|
|
720
|
+
exec('locate bin/postgres', function (error, stdout) {
|
|
721
|
+
if (!error) {
|
|
722
|
+
const postgresqlBin = stdout.toString().split('\n').sort();
|
|
723
|
+
if (postgresqlBin.length) {
|
|
724
|
+
exec(postgresqlBin[postgresqlBin.length - 1] + ' -V', function (error, stdout) {
|
|
725
|
+
if (!error) {
|
|
726
|
+
const postgresql = stdout.toString().split('\n')[0].split(' ') || [];
|
|
727
|
+
appsObj.versions.postgresql = postgresql.length ? postgresql[postgresql.length - 1] : '';
|
|
728
|
+
}
|
|
729
|
+
functionProcessed();
|
|
730
|
+
});
|
|
731
|
+
} else {
|
|
732
|
+
functionProcessed();
|
|
733
|
+
}
|
|
734
|
+
} else {
|
|
735
|
+
exec('psql -V', function (error, stdout) {
|
|
736
|
+
if (!error) {
|
|
737
|
+
const postgresql = stdout.toString().split('\n')[0].split(' ') || [];
|
|
738
|
+
appsObj.versions.postgresql = postgresql.length ? postgresql[postgresql.length - 1] : '';
|
|
739
|
+
appsObj.versions.postgresql = appsObj.versions.postgresql.split('-')[0];
|
|
740
|
+
}
|
|
741
|
+
functionProcessed();
|
|
742
|
+
});
|
|
743
|
+
functionProcessed();
|
|
744
|
+
}
|
|
745
|
+
});
|
|
746
|
+
} else {
|
|
747
|
+
if (_windows) {
|
|
748
|
+
util.powerShell('Get-WmiObject Win32_Service | select caption | fl').then((stdout) => {
|
|
749
|
+
let serviceSections = stdout.split(/\n\s*\n/);
|
|
750
|
+
for (let i = 0; i < serviceSections.length; i++) {
|
|
751
|
+
if (serviceSections[i].trim() !== '') {
|
|
752
|
+
let lines = serviceSections[i].trim().split('\r\n');
|
|
753
|
+
let srvCaption = util.getValue(lines, 'caption', ':', true).toLowerCase();
|
|
754
|
+
if (srvCaption.indexOf('postgresql') > -1) {
|
|
755
|
+
const parts = srvCaption.split(' server ');
|
|
756
|
+
if (parts.length > 1) {
|
|
757
|
+
appsObj.versions.postgresql = parts[1];
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
functionProcessed();
|
|
763
|
+
});
|
|
764
|
+
} else {
|
|
765
|
+
exec('postgres -V', function (error, stdout) {
|
|
766
|
+
if (!error) {
|
|
767
|
+
const postgresql = stdout.toString().split('\n')[0].split(' ') || [];
|
|
768
|
+
appsObj.versions.postgresql = postgresql.length ? postgresql[postgresql.length - 1] : '';
|
|
769
|
+
}
|
|
770
|
+
functionProcessed();
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'perl')) {
|
|
776
|
+
exec('perl -v', function (error, stdout) {
|
|
777
|
+
if (!error) {
|
|
778
|
+
const perl = stdout.toString().split('\n') || '';
|
|
779
|
+
while (perl.length > 0 && perl[0].trim() === '') {
|
|
780
|
+
perl.shift();
|
|
781
|
+
}
|
|
782
|
+
if (perl.length > 0) {
|
|
783
|
+
appsObj.versions.perl = perl[0].split('(').pop().split(')')[0].replace('v', '');
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
functionProcessed();
|
|
787
|
+
});
|
|
788
|
+
}
|
|
789
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'python')) {
|
|
790
|
+
if (_darwin) {
|
|
791
|
+
const stdout = execSync('sw_vers');
|
|
792
|
+
const lines = stdout.toString().split('\n');
|
|
793
|
+
const osVersion = util.getValue(lines, 'ProductVersion', ':');
|
|
794
|
+
const gitHomebrewExists1 = fs.existsSync('/usr/local/Cellar/python');
|
|
795
|
+
const gitHomebrewExists2 = fs.existsSync('/opt/homebrew/bin/python');
|
|
796
|
+
if ((util.darwinXcodeExists() && util.semverCompare('12.0.1', osVersion) < 0) || gitHomebrewExists1 || gitHomebrewExists2) {
|
|
797
|
+
const cmd = gitHomebrewExists1 ? '/usr/local/Cellar/python -V 2>&1' : (gitHomebrewExists2 ? '/opt/homebrew/bin/python -V 2>&1' : 'python -V 2>&1');
|
|
798
|
+
exec(cmd, function (error, stdout) {
|
|
799
|
+
if (!error) {
|
|
800
|
+
const python = stdout.toString().split('\n')[0] || '';
|
|
801
|
+
appsObj.versions.python = python.toLowerCase().replace('python', '').trim();
|
|
802
|
+
}
|
|
803
|
+
functionProcessed();
|
|
804
|
+
});
|
|
805
|
+
} else {
|
|
806
|
+
functionProcessed();
|
|
807
|
+
}
|
|
808
|
+
} else {
|
|
809
|
+
exec('python -V 2>&1', function (error, stdout) {
|
|
810
|
+
if (!error) {
|
|
811
|
+
const python = stdout.toString().split('\n')[0] || '';
|
|
812
|
+
appsObj.versions.python = python.toLowerCase().replace('python', '').trim();
|
|
813
|
+
}
|
|
814
|
+
functionProcessed();
|
|
815
|
+
});
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'python3')) {
|
|
819
|
+
if (_darwin) {
|
|
820
|
+
const gitHomebrewExists = fs.existsSync('/usr/local/Cellar/python3') || fs.existsSync('/opt/homebrew/bin/python3');
|
|
821
|
+
if (util.darwinXcodeExists() || gitHomebrewExists) {
|
|
822
|
+
exec('python3 -V 2>&1', function (error, stdout) {
|
|
823
|
+
if (!error) {
|
|
824
|
+
const python = stdout.toString().split('\n')[0] || '';
|
|
825
|
+
appsObj.versions.python3 = python.toLowerCase().replace('python', '').trim();
|
|
826
|
+
}
|
|
827
|
+
functionProcessed();
|
|
828
|
+
});
|
|
829
|
+
} else {
|
|
830
|
+
functionProcessed();
|
|
831
|
+
}
|
|
832
|
+
} else {
|
|
833
|
+
exec('python3 -V 2>&1', function (error, stdout) {
|
|
834
|
+
if (!error) {
|
|
835
|
+
const python = stdout.toString().split('\n')[0] || '';
|
|
836
|
+
appsObj.versions.python3 = python.toLowerCase().replace('python', '').trim();
|
|
837
|
+
}
|
|
838
|
+
functionProcessed();
|
|
839
|
+
});
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'pip')) {
|
|
843
|
+
if (_darwin) {
|
|
844
|
+
const gitHomebrewExists = fs.existsSync('/usr/local/Cellar/pip') || fs.existsSync('/opt/homebrew/bin/pip');
|
|
845
|
+
if (util.darwinXcodeExists() || gitHomebrewExists) {
|
|
846
|
+
exec('pip -V 2>&1', function (error, stdout) {
|
|
847
|
+
if (!error) {
|
|
848
|
+
const pip = stdout.toString().split('\n')[0] || '';
|
|
849
|
+
const parts = pip.split(' ');
|
|
850
|
+
appsObj.versions.pip = parts.length >= 2 ? parts[1] : '';
|
|
851
|
+
}
|
|
852
|
+
functionProcessed();
|
|
853
|
+
});
|
|
854
|
+
} else {
|
|
855
|
+
functionProcessed();
|
|
856
|
+
}
|
|
857
|
+
} else {
|
|
858
|
+
exec('pip -V 2>&1', function (error, stdout) {
|
|
859
|
+
if (!error) {
|
|
860
|
+
const pip = stdout.toString().split('\n')[0] || '';
|
|
861
|
+
const parts = pip.split(' ');
|
|
862
|
+
appsObj.versions.pip = parts.length >= 2 ? parts[1] : '';
|
|
863
|
+
}
|
|
864
|
+
functionProcessed();
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'pip3')) {
|
|
869
|
+
if (_darwin) {
|
|
870
|
+
const gitHomebrewExists = fs.existsSync('/usr/local/Cellar/pip3') || fs.existsSync('/opt/homebrew/bin/pip3');
|
|
871
|
+
if (util.darwinXcodeExists() || gitHomebrewExists) {
|
|
872
|
+
exec('pip3 -V 2>&1', function (error, stdout) {
|
|
873
|
+
if (!error) {
|
|
874
|
+
const pip = stdout.toString().split('\n')[0] || '';
|
|
875
|
+
const parts = pip.split(' ');
|
|
876
|
+
appsObj.versions.pip3 = parts.length >= 2 ? parts[1] : '';
|
|
877
|
+
}
|
|
878
|
+
functionProcessed();
|
|
879
|
+
});
|
|
880
|
+
} else {
|
|
881
|
+
functionProcessed();
|
|
882
|
+
}
|
|
883
|
+
} else {
|
|
884
|
+
exec('pip3 -V 2>&1', function (error, stdout) {
|
|
885
|
+
if (!error) {
|
|
886
|
+
const pip = stdout.toString().split('\n')[0] || '';
|
|
887
|
+
const parts = pip.split(' ');
|
|
888
|
+
appsObj.versions.pip3 = parts.length >= 2 ? parts[1] : '';
|
|
889
|
+
}
|
|
890
|
+
functionProcessed();
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'java')) {
|
|
895
|
+
if (_darwin) {
|
|
896
|
+
// check if any JVM is installed but avoid dialog box that Java needs to be installed
|
|
897
|
+
exec('/usr/libexec/java_home -V 2>&1', function (error, stdout) {
|
|
898
|
+
if (!error && stdout.toString().toLowerCase().indexOf('no java runtime') === -1) {
|
|
899
|
+
// now this can be done savely
|
|
900
|
+
exec('java -version 2>&1', function (error, stdout) {
|
|
901
|
+
if (!error) {
|
|
902
|
+
const java = stdout.toString().split('\n')[0] || '';
|
|
903
|
+
const parts = java.split('"');
|
|
904
|
+
appsObj.versions.java = parts.length === 3 ? parts[1].trim() : '';
|
|
905
|
+
}
|
|
906
|
+
functionProcessed();
|
|
907
|
+
});
|
|
908
|
+
} else {
|
|
909
|
+
functionProcessed();
|
|
910
|
+
}
|
|
911
|
+
});
|
|
912
|
+
} else {
|
|
913
|
+
exec('java -version 2>&1', function (error, stdout) {
|
|
914
|
+
if (!error) {
|
|
915
|
+
const java = stdout.toString().split('\n')[0] || '';
|
|
916
|
+
const parts = java.split('"');
|
|
917
|
+
appsObj.versions.java = parts.length === 3 ? parts[1].trim() : '';
|
|
918
|
+
}
|
|
919
|
+
functionProcessed();
|
|
920
|
+
});
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'gcc')) {
|
|
924
|
+
if ((_darwin && util.darwinXcodeExists()) || !_darwin) {
|
|
925
|
+
exec('gcc -dumpversion', function (error, stdout) {
|
|
926
|
+
if (!error) {
|
|
927
|
+
appsObj.versions.gcc = stdout.toString().split('\n')[0].trim() || '';
|
|
928
|
+
}
|
|
929
|
+
if (appsObj.versions.gcc.indexOf('.') > -1) {
|
|
930
|
+
functionProcessed();
|
|
931
|
+
} else {
|
|
932
|
+
exec('gcc --version', function (error, stdout) {
|
|
933
|
+
if (!error) {
|
|
934
|
+
const gcc = stdout.toString().split('\n')[0].trim();
|
|
935
|
+
if (gcc.indexOf('gcc') > -1 && gcc.indexOf(')') > -1) {
|
|
936
|
+
const parts = gcc.split(')');
|
|
937
|
+
appsObj.versions.gcc = parts[1].trim() || appsObj.versions.gcc;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
functionProcessed();
|
|
941
|
+
});
|
|
942
|
+
}
|
|
943
|
+
});
|
|
944
|
+
} else {
|
|
945
|
+
functionProcessed();
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'virtualbox')) {
|
|
949
|
+
exec(util.getVboxmanage() + ' -v 2>&1', function (error, stdout) {
|
|
950
|
+
if (!error) {
|
|
951
|
+
const vbox = stdout.toString().split('\n')[0] || '';
|
|
952
|
+
const parts = vbox.split('r');
|
|
953
|
+
appsObj.versions.virtualbox = parts[0];
|
|
954
|
+
}
|
|
955
|
+
functionProcessed();
|
|
956
|
+
});
|
|
957
|
+
}
|
|
958
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'bash')) {
|
|
959
|
+
exec('bash --version', function (error, stdout) {
|
|
960
|
+
if (!error) {
|
|
961
|
+
const line = stdout.toString().split('\n')[0];
|
|
962
|
+
const parts = line.split(' version ');
|
|
963
|
+
if (parts.length > 1) {
|
|
964
|
+
appsObj.versions.bash = parts[1].split(' ')[0].split('(')[0];
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
functionProcessed();
|
|
968
|
+
});
|
|
969
|
+
}
|
|
970
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'zsh')) {
|
|
971
|
+
exec('zsh --version', function (error, stdout) {
|
|
972
|
+
if (!error) {
|
|
973
|
+
const line = stdout.toString().split('\n')[0];
|
|
974
|
+
const parts = line.split('zsh ');
|
|
975
|
+
if (parts.length > 1) {
|
|
976
|
+
appsObj.versions.zsh = parts[1].split(' ')[0];
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
functionProcessed();
|
|
980
|
+
});
|
|
981
|
+
}
|
|
982
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'fish')) {
|
|
983
|
+
exec('fish --version', function (error, stdout) {
|
|
984
|
+
if (!error) {
|
|
985
|
+
const line = stdout.toString().split('\n')[0];
|
|
986
|
+
const parts = line.split(' version ');
|
|
987
|
+
if (parts.length > 1) {
|
|
988
|
+
appsObj.versions.fish = parts[1].split(' ')[0];
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
functionProcessed();
|
|
992
|
+
});
|
|
993
|
+
}
|
|
994
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'powershell')) {
|
|
995
|
+
if (_windows) {
|
|
996
|
+
util.powerShell('$PSVersionTable').then(stdout => {
|
|
997
|
+
const lines = stdout.toString().split('\n').map(line => line.replace(/ +/g, ' ').replace(/ +/g, ':'));
|
|
998
|
+
appsObj.versions.powershell = util.getValue(lines, 'psversion');
|
|
999
|
+
functionProcessed();
|
|
1000
|
+
});
|
|
1001
|
+
} else {
|
|
1002
|
+
functionProcessed();
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
if ({}.hasOwnProperty.call(appsObj.versions, 'dotnet')) {
|
|
1006
|
+
util.powerShell('gci "HKLM:\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP" -recurse | gp -name Version,Release -EA 0 | where { $_.PSChildName -match "^(?!S)\\p{L}"} | select PSChildName, Version, Release').then(stdout => {
|
|
1007
|
+
const lines = stdout.toString().split('\r\n');
|
|
1008
|
+
let dotnet = '';
|
|
1009
|
+
lines.forEach(line => {
|
|
1010
|
+
line = line.replace(/ +/g, ' ');
|
|
1011
|
+
const parts = line.split(' ');
|
|
1012
|
+
dotnet = dotnet || ((parts[0].toLowerCase().startsWith('client') && parts.length > 2 ? parts[1].trim() : (parts[0].toLowerCase().startsWith('full') && parts.length > 2 ? parts[1].trim() : '')));
|
|
1013
|
+
});
|
|
1014
|
+
appsObj.versions.dotnet = dotnet.trim();
|
|
1015
|
+
functionProcessed();
|
|
1016
|
+
});
|
|
1017
|
+
}
|
|
1018
|
+
} catch (e) {
|
|
1019
|
+
if (callback) { callback(appsObj.versions); }
|
|
1020
|
+
resolve(appsObj.versions);
|
|
1021
|
+
}
|
|
1022
|
+
});
|
|
1023
|
+
});
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
exports.versions = versions;
|
|
1027
|
+
|
|
1028
|
+
function shell(callback) {
|
|
1029
|
+
return new Promise((resolve) => {
|
|
1030
|
+
process.nextTick(() => {
|
|
1031
|
+
if (_windows) {
|
|
1032
|
+
resolve('cmd');
|
|
1033
|
+
} else {
|
|
1034
|
+
let result = '';
|
|
1035
|
+
exec('echo $SHELL', function (error, stdout) {
|
|
1036
|
+
if (!error) {
|
|
1037
|
+
result = stdout.toString().split('\n')[0];
|
|
1038
|
+
}
|
|
1039
|
+
if (callback) {
|
|
1040
|
+
callback(result);
|
|
1041
|
+
}
|
|
1042
|
+
resolve(result);
|
|
1043
|
+
});
|
|
1044
|
+
}
|
|
1045
|
+
});
|
|
1046
|
+
});
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
exports.shell = shell;
|
|
1050
|
+
|
|
1051
|
+
function getUniqueMacAdresses() {
|
|
1052
|
+
const ifaces = os.networkInterfaces();
|
|
1053
|
+
let macs = [];
|
|
1054
|
+
for (let dev in ifaces) {
|
|
1055
|
+
if ({}.hasOwnProperty.call(ifaces, dev)) {
|
|
1056
|
+
ifaces[dev].forEach(function (details) {
|
|
1057
|
+
if (details && details.mac && details.mac !== '00:00:00:00:00:00') {
|
|
1058
|
+
const mac = details.mac.toLowerCase();
|
|
1059
|
+
if (macs.indexOf(mac) === -1) {
|
|
1060
|
+
macs.push(mac);
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
macs = macs.sort(function (a, b) {
|
|
1067
|
+
if (a < b) { return -1; }
|
|
1068
|
+
if (a > b) { return 1; }
|
|
1069
|
+
return 0;
|
|
1070
|
+
});
|
|
1071
|
+
return macs;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
function uuid(callback) {
|
|
1075
|
+
return new Promise((resolve) => {
|
|
1076
|
+
process.nextTick(() => {
|
|
1077
|
+
|
|
1078
|
+
let result = {
|
|
1079
|
+
os: '',
|
|
1080
|
+
hardware: '',
|
|
1081
|
+
macs: getUniqueMacAdresses()
|
|
1082
|
+
};
|
|
1083
|
+
let parts;
|
|
1084
|
+
|
|
1085
|
+
if (_darwin) {
|
|
1086
|
+
exec('system_profiler SPHardwareDataType -json', function (error, stdout) {
|
|
1087
|
+
if (!error) {
|
|
1088
|
+
try {
|
|
1089
|
+
const jsonObj = JSON.parse(stdout.toString());
|
|
1090
|
+
if (jsonObj.SPHardwareDataType && jsonObj.SPHardwareDataType.length > 0) {
|
|
1091
|
+
const spHardware = jsonObj.SPHardwareDataType[0];
|
|
1092
|
+
// result.os = parts.length > 1 ? parts[1].trim().toLowerCase() : '';
|
|
1093
|
+
result.os = spHardware.platform_UUID.toLowerCase();
|
|
1094
|
+
result.hardware = spHardware.serial_number;
|
|
1095
|
+
}
|
|
1096
|
+
} catch (e) {
|
|
1097
|
+
util.noop();
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
if (callback) {
|
|
1101
|
+
callback(result);
|
|
1102
|
+
}
|
|
1103
|
+
resolve(result);
|
|
1104
|
+
});
|
|
1105
|
+
}
|
|
1106
|
+
if (_linux) {
|
|
1107
|
+
const cmd = `echo -n "os: "; cat /var/lib/dbus/machine-id 2> /dev/null; echo;
|
|
1108
|
+
echo -n "os: "; cat /etc/machine-id 2> /dev/null; echo;
|
|
1109
|
+
echo -n "hardware: "; cat /sys/class/dmi/id/product_uuid 2> /dev/null; echo;`;
|
|
1110
|
+
exec(cmd, function (error, stdout) {
|
|
1111
|
+
const lines = stdout.toString().split('\n');
|
|
1112
|
+
result.os = util.getValue(lines, 'os').toLowerCase();
|
|
1113
|
+
result.hardware = util.getValue(lines, 'hardware').toLowerCase();
|
|
1114
|
+
if (!result.hardware) {
|
|
1115
|
+
const lines = fs.readFileSync('/proc/cpuinfo', { encoding: 'utf8' }).toString().split('\n');
|
|
1116
|
+
const serial = util.getValue(lines, 'serial');
|
|
1117
|
+
result.hardware = serial || '';
|
|
1118
|
+
}
|
|
1119
|
+
if (callback) {
|
|
1120
|
+
callback(result);
|
|
1121
|
+
}
|
|
1122
|
+
resolve(result);
|
|
1123
|
+
});
|
|
1124
|
+
}
|
|
1125
|
+
if (_freebsd || _openbsd || _netbsd) {
|
|
1126
|
+
exec('sysctl -i kern.hostid kern.hostuuid', function (error, stdout) {
|
|
1127
|
+
const lines = stdout.toString().split('\n');
|
|
1128
|
+
result.os = util.getValue(lines, 'kern.hostid', ':').toLowerCase();
|
|
1129
|
+
result.hardware = util.getValue(lines, 'kern.hostuuid', ':').toLowerCase();
|
|
1130
|
+
if (result.os.indexOf('unknown') >= 0) { result.os = ''; }
|
|
1131
|
+
if (result.hardware.indexOf('unknown') >= 0) { result.hardware = ''; }
|
|
1132
|
+
if (callback) {
|
|
1133
|
+
callback(result);
|
|
1134
|
+
}
|
|
1135
|
+
resolve(result);
|
|
1136
|
+
});
|
|
1137
|
+
}
|
|
1138
|
+
if (_windows) {
|
|
1139
|
+
let sysdir = '%windir%\\System32';
|
|
1140
|
+
if (process.arch === 'ia32' && Object.prototype.hasOwnProperty.call(process.env, 'PROCESSOR_ARCHITEW6432')) {
|
|
1141
|
+
sysdir = '%windir%\\sysnative\\cmd.exe /c %windir%\\System32';
|
|
1142
|
+
}
|
|
1143
|
+
util.powerShell('Get-WmiObject Win32_ComputerSystemProduct | select UUID | fl').then((stdout) => {
|
|
1144
|
+
// let lines = stdout.split('\r\n').filter(line => line.trim() !== '').filter((line, idx) => idx > 0)[0].trim().split(/\s\s+/);
|
|
1145
|
+
let lines = stdout.split('\r\n');
|
|
1146
|
+
result.hardware = util.getValue(lines, 'uuid', ':').toLowerCase();
|
|
1147
|
+
exec(`${sysdir}\\reg query "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography" /v MachineGuid`, util.execOptsWin, function (error, stdout) {
|
|
1148
|
+
parts = stdout.toString().split('\n\r')[0].split('REG_SZ');
|
|
1149
|
+
result.os = parts.length > 1 ? parts[1].replace(/\r+|\n+|\s+/ig, '').toLowerCase() : '';
|
|
1150
|
+
if (callback) {
|
|
1151
|
+
callback(result);
|
|
1152
|
+
}
|
|
1153
|
+
resolve(result);
|
|
1154
|
+
});
|
|
1155
|
+
});
|
|
1156
|
+
}
|
|
1157
|
+
});
|
|
1158
|
+
});
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
exports.uuid = uuid;
|