harperdb 3.1.3 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +4044 -4034
- 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/Makefile +1 -1
- 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,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.callRef = exports.getValidate = void 0;
|
|
4
|
+
const ref_error_1 = require("../../compile/ref_error");
|
|
5
|
+
const code_1 = require("../code");
|
|
6
|
+
const codegen_1 = require("../../compile/codegen");
|
|
7
|
+
const names_1 = require("../../compile/names");
|
|
8
|
+
const compile_1 = require("../../compile");
|
|
9
|
+
const util_1 = require("../../compile/util");
|
|
10
|
+
const def = {
|
|
11
|
+
keyword: "$ref",
|
|
12
|
+
schemaType: "string",
|
|
13
|
+
code(cxt) {
|
|
14
|
+
const { gen, schema: $ref, it } = cxt;
|
|
15
|
+
const { baseId, schemaEnv: env, validateName, opts, self } = it;
|
|
16
|
+
const { root } = env;
|
|
17
|
+
if (($ref === "#" || $ref === "#/") && baseId === root.baseId)
|
|
18
|
+
return callRootRef();
|
|
19
|
+
const schOrEnv = compile_1.resolveRef.call(self, root, baseId, $ref);
|
|
20
|
+
if (schOrEnv === undefined)
|
|
21
|
+
throw new ref_error_1.default(it.opts.uriResolver, baseId, $ref);
|
|
22
|
+
if (schOrEnv instanceof compile_1.SchemaEnv)
|
|
23
|
+
return callValidate(schOrEnv);
|
|
24
|
+
return inlineRefSchema(schOrEnv);
|
|
25
|
+
function callRootRef() {
|
|
26
|
+
if (env === root)
|
|
27
|
+
return callRef(cxt, validateName, env, env.$async);
|
|
28
|
+
const rootName = gen.scopeValue("root", { ref: root });
|
|
29
|
+
return callRef(cxt, (0, codegen_1._) `${rootName}.validate`, root, root.$async);
|
|
30
|
+
}
|
|
31
|
+
function callValidate(sch) {
|
|
32
|
+
const v = getValidate(cxt, sch);
|
|
33
|
+
callRef(cxt, v, sch, sch.$async);
|
|
34
|
+
}
|
|
35
|
+
function inlineRefSchema(sch) {
|
|
36
|
+
const schName = gen.scopeValue("schema", opts.code.source === true ? { ref: sch, code: (0, codegen_1.stringify)(sch) } : { ref: sch });
|
|
37
|
+
const valid = gen.name("valid");
|
|
38
|
+
const schCxt = cxt.subschema({
|
|
39
|
+
schema: sch,
|
|
40
|
+
dataTypes: [],
|
|
41
|
+
schemaPath: codegen_1.nil,
|
|
42
|
+
topSchemaRef: schName,
|
|
43
|
+
errSchemaPath: $ref,
|
|
44
|
+
}, valid);
|
|
45
|
+
cxt.mergeEvaluated(schCxt);
|
|
46
|
+
cxt.ok(valid);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
function getValidate(cxt, sch) {
|
|
51
|
+
const { gen } = cxt;
|
|
52
|
+
return sch.validate
|
|
53
|
+
? gen.scopeValue("validate", { ref: sch.validate })
|
|
54
|
+
: (0, codegen_1._) `${gen.scopeValue("wrapper", { ref: sch })}.validate`;
|
|
55
|
+
}
|
|
56
|
+
exports.getValidate = getValidate;
|
|
57
|
+
function callRef(cxt, v, sch, $async) {
|
|
58
|
+
const { gen, it } = cxt;
|
|
59
|
+
const { allErrors, schemaEnv: env, opts } = it;
|
|
60
|
+
const passCxt = opts.passContext ? names_1.default.this : codegen_1.nil;
|
|
61
|
+
if ($async)
|
|
62
|
+
callAsyncRef();
|
|
63
|
+
else
|
|
64
|
+
callSyncRef();
|
|
65
|
+
function callAsyncRef() {
|
|
66
|
+
if (!env.$async)
|
|
67
|
+
throw new Error("async schema referenced by sync schema");
|
|
68
|
+
const valid = gen.let("valid");
|
|
69
|
+
gen.try(() => {
|
|
70
|
+
gen.code((0, codegen_1._) `await ${(0, code_1.callValidateCode)(cxt, v, passCxt)}`);
|
|
71
|
+
addEvaluatedFrom(v); // TODO will not work with async, it has to be returned with the result
|
|
72
|
+
if (!allErrors)
|
|
73
|
+
gen.assign(valid, true);
|
|
74
|
+
}, (e) => {
|
|
75
|
+
gen.if((0, codegen_1._) `!(${e} instanceof ${it.ValidationError})`, () => gen.throw(e));
|
|
76
|
+
addErrorsFrom(e);
|
|
77
|
+
if (!allErrors)
|
|
78
|
+
gen.assign(valid, false);
|
|
79
|
+
});
|
|
80
|
+
cxt.ok(valid);
|
|
81
|
+
}
|
|
82
|
+
function callSyncRef() {
|
|
83
|
+
cxt.result((0, code_1.callValidateCode)(cxt, v, passCxt), () => addEvaluatedFrom(v), () => addErrorsFrom(v));
|
|
84
|
+
}
|
|
85
|
+
function addErrorsFrom(source) {
|
|
86
|
+
const errs = (0, codegen_1._) `${source}.errors`;
|
|
87
|
+
gen.assign(names_1.default.vErrors, (0, codegen_1._) `${names_1.default.vErrors} === null ? ${errs} : ${names_1.default.vErrors}.concat(${errs})`); // TODO tagged
|
|
88
|
+
gen.assign(names_1.default.errors, (0, codegen_1._) `${names_1.default.vErrors}.length`);
|
|
89
|
+
}
|
|
90
|
+
function addEvaluatedFrom(source) {
|
|
91
|
+
var _a;
|
|
92
|
+
if (!it.opts.unevaluated)
|
|
93
|
+
return;
|
|
94
|
+
const schEvaluated = (_a = sch === null || sch === void 0 ? void 0 : sch.validate) === null || _a === void 0 ? void 0 : _a.evaluated;
|
|
95
|
+
// TODO refactor
|
|
96
|
+
if (it.props !== true) {
|
|
97
|
+
if (schEvaluated && !schEvaluated.dynamicProps) {
|
|
98
|
+
if (schEvaluated.props !== undefined) {
|
|
99
|
+
it.props = util_1.mergeEvaluated.props(gen, schEvaluated.props, it.props);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
const props = gen.var("props", (0, codegen_1._) `${source}.evaluated.props`);
|
|
104
|
+
it.props = util_1.mergeEvaluated.props(gen, props, it.props, codegen_1.Name);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
if (it.items !== true) {
|
|
108
|
+
if (schEvaluated && !schEvaluated.dynamicItems) {
|
|
109
|
+
if (schEvaluated.items !== undefined) {
|
|
110
|
+
it.items = util_1.mergeEvaluated.items(gen, schEvaluated.items, it.items);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
const items = gen.var("items", (0, codegen_1._) `${source}.evaluated.items`);
|
|
115
|
+
it.items = util_1.mergeEvaluated.items(gen, items, it.items, codegen_1.Name);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.callRef = callRef;
|
|
121
|
+
exports.default = def;
|
|
122
|
+
//# sourceMappingURL=ref.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ref.js","sourceRoot":"","sources":["../../../lib/vocabularies/core/ref.ts"],"names":[],"mappings":"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"}
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { CodeKeywordDefinition } from "../../types";
|
|
2
|
+
import { DiscrError, DiscrErrorObj } from "../discriminator/types";
|
|
3
|
+
export declare type DiscriminatorError = DiscrErrorObj<DiscrError.Tag> | DiscrErrorObj<DiscrError.Mapping>;
|
|
4
|
+
declare const def: CodeKeywordDefinition;
|
|
5
|
+
export default def;
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/index.js
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const codegen_1 = require("../../compile/codegen");
|
|
4
|
+
const types_1 = require("../discriminator/types");
|
|
5
|
+
const compile_1 = require("../../compile");
|
|
6
|
+
const util_1 = require("../../compile/util");
|
|
7
|
+
const error = {
|
|
8
|
+
message: ({ params: { discrError, tagName } }) => discrError === types_1.DiscrError.Tag
|
|
9
|
+
? `tag "${tagName}" must be string`
|
|
10
|
+
: `value of tag "${tagName}" must be in oneOf`,
|
|
11
|
+
params: ({ params: { discrError, tag, tagName } }) => (0, codegen_1._) `{error: ${discrError}, tag: ${tagName}, tagValue: ${tag}}`,
|
|
12
|
+
};
|
|
13
|
+
const def = {
|
|
14
|
+
keyword: "discriminator",
|
|
15
|
+
type: "object",
|
|
16
|
+
schemaType: "object",
|
|
17
|
+
error,
|
|
18
|
+
code(cxt) {
|
|
19
|
+
const { gen, data, schema, parentSchema, it } = cxt;
|
|
20
|
+
const { oneOf } = parentSchema;
|
|
21
|
+
if (!it.opts.discriminator) {
|
|
22
|
+
throw new Error("discriminator: requires discriminator option");
|
|
23
|
+
}
|
|
24
|
+
const tagName = schema.propertyName;
|
|
25
|
+
if (typeof tagName != "string")
|
|
26
|
+
throw new Error("discriminator: requires propertyName");
|
|
27
|
+
if (schema.mapping)
|
|
28
|
+
throw new Error("discriminator: mapping is not supported");
|
|
29
|
+
if (!oneOf)
|
|
30
|
+
throw new Error("discriminator: requires oneOf keyword");
|
|
31
|
+
const valid = gen.let("valid", false);
|
|
32
|
+
const tag = gen.const("tag", (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(tagName)}`);
|
|
33
|
+
gen.if((0, codegen_1._) `typeof ${tag} == "string"`, () => validateMapping(), () => cxt.error(false, { discrError: types_1.DiscrError.Tag, tag, tagName }));
|
|
34
|
+
cxt.ok(valid);
|
|
35
|
+
function validateMapping() {
|
|
36
|
+
const mapping = getMapping();
|
|
37
|
+
gen.if(false);
|
|
38
|
+
for (const tagValue in mapping) {
|
|
39
|
+
gen.elseIf((0, codegen_1._) `${tag} === ${tagValue}`);
|
|
40
|
+
gen.assign(valid, applyTagSchema(mapping[tagValue]));
|
|
41
|
+
}
|
|
42
|
+
gen.else();
|
|
43
|
+
cxt.error(false, { discrError: types_1.DiscrError.Mapping, tag, tagName });
|
|
44
|
+
gen.endIf();
|
|
45
|
+
}
|
|
46
|
+
function applyTagSchema(schemaProp) {
|
|
47
|
+
const _valid = gen.name("valid");
|
|
48
|
+
const schCxt = cxt.subschema({ keyword: "oneOf", schemaProp }, _valid);
|
|
49
|
+
cxt.mergeEvaluated(schCxt, codegen_1.Name);
|
|
50
|
+
return _valid;
|
|
51
|
+
}
|
|
52
|
+
function getMapping() {
|
|
53
|
+
var _a;
|
|
54
|
+
const oneOfMapping = {};
|
|
55
|
+
const topRequired = hasRequired(parentSchema);
|
|
56
|
+
let tagRequired = true;
|
|
57
|
+
for (let i = 0; i < oneOf.length; i++) {
|
|
58
|
+
let sch = oneOf[i];
|
|
59
|
+
if ((sch === null || sch === void 0 ? void 0 : sch.$ref) && !(0, util_1.schemaHasRulesButRef)(sch, it.self.RULES)) {
|
|
60
|
+
sch = compile_1.resolveRef.call(it.self, it.schemaEnv, it.baseId, sch === null || sch === void 0 ? void 0 : sch.$ref);
|
|
61
|
+
if (sch instanceof compile_1.SchemaEnv)
|
|
62
|
+
sch = sch.schema;
|
|
63
|
+
}
|
|
64
|
+
const propSch = (_a = sch === null || sch === void 0 ? void 0 : sch.properties) === null || _a === void 0 ? void 0 : _a[tagName];
|
|
65
|
+
if (typeof propSch != "object") {
|
|
66
|
+
throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${tagName}"`);
|
|
67
|
+
}
|
|
68
|
+
tagRequired = tagRequired && (topRequired || hasRequired(sch));
|
|
69
|
+
addMappings(propSch, i);
|
|
70
|
+
}
|
|
71
|
+
if (!tagRequired)
|
|
72
|
+
throw new Error(`discriminator: "${tagName}" must be required`);
|
|
73
|
+
return oneOfMapping;
|
|
74
|
+
function hasRequired({ required }) {
|
|
75
|
+
return Array.isArray(required) && required.includes(tagName);
|
|
76
|
+
}
|
|
77
|
+
function addMappings(sch, i) {
|
|
78
|
+
if (sch.const) {
|
|
79
|
+
addMapping(sch.const, i);
|
|
80
|
+
}
|
|
81
|
+
else if (sch.enum) {
|
|
82
|
+
for (const tagValue of sch.enum) {
|
|
83
|
+
addMapping(tagValue, i);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
throw new Error(`discriminator: "properties/${tagName}" must have "const" or "enum"`);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function addMapping(tagValue, i) {
|
|
91
|
+
if (typeof tagValue != "string" || tagValue in oneOfMapping) {
|
|
92
|
+
throw new Error(`discriminator: "${tagName}" values must be unique strings`);
|
|
93
|
+
}
|
|
94
|
+
oneOfMapping[tagValue] = i;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
exports.default = def;
|
|
100
|
+
//# sourceMappingURL=index.js.map
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/discriminator/index.ts"],"names":[],"mappings":"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"}
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ErrorObject } from "../../types";
|
|
2
|
+
export declare enum DiscrError {
|
|
3
|
+
Tag = "tag",
|
|
4
|
+
Mapping = "mapping"
|
|
5
|
+
}
|
|
6
|
+
export declare type DiscrErrorObj<E extends DiscrError> = ErrorObject<"discriminator", {
|
|
7
|
+
error: E;
|
|
8
|
+
tag: string;
|
|
9
|
+
tagValue: unknown;
|
|
10
|
+
}, string>;
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/types.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DiscrError = void 0;
|
|
4
|
+
var DiscrError;
|
|
5
|
+
(function (DiscrError) {
|
|
6
|
+
DiscrError["Tag"] = "tag";
|
|
7
|
+
DiscrError["Mapping"] = "mapping";
|
|
8
|
+
})(DiscrError = exports.DiscrError || (exports.DiscrError = {}));
|
|
9
|
+
//# sourceMappingURL=types.js.map
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/discriminator/types.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../lib/vocabularies/discriminator/types.ts"],"names":[],"mappings":";;;AAEA,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,iCAAmB,CAAA;AACrB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("./core");
|
|
4
|
+
const validation_1 = require("./validation");
|
|
5
|
+
const applicator_1 = require("./applicator");
|
|
6
|
+
const dynamic_1 = require("./dynamic");
|
|
7
|
+
const next_1 = require("./next");
|
|
8
|
+
const unevaluated_1 = require("./unevaluated");
|
|
9
|
+
const format_1 = require("./format");
|
|
10
|
+
const metadata_1 = require("./metadata");
|
|
11
|
+
const draft2020Vocabularies = [
|
|
12
|
+
dynamic_1.default,
|
|
13
|
+
core_1.default,
|
|
14
|
+
validation_1.default,
|
|
15
|
+
(0, applicator_1.default)(true),
|
|
16
|
+
format_1.default,
|
|
17
|
+
metadata_1.metadataVocabulary,
|
|
18
|
+
metadata_1.contentVocabulary,
|
|
19
|
+
next_1.default,
|
|
20
|
+
unevaluated_1.default,
|
|
21
|
+
];
|
|
22
|
+
exports.default = draft2020Vocabularies;
|
|
23
|
+
//# sourceMappingURL=draft2020.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"draft2020.js","sourceRoot":"","sources":["../../lib/vocabularies/draft2020.ts"],"names":[],"mappings":";;AACA,iCAAmC;AACnC,6CAA+C;AAC/C,6CAAkD;AAClD,uCAAyC;AACzC,iCAAmC;AACnC,+CAAiD;AACjD,qCAAuC;AACvC,yCAAgE;AAEhE,MAAM,qBAAqB,GAAiB;IAC1C,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,IAAA,oBAAuB,EAAC,IAAI,CAAC;IAC7B,gBAAgB;IAChB,6BAAkB;IAClB,4BAAiB;IACjB,cAAc;IACd,qBAAqB;CACtB,CAAA;AAED,kBAAe,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("./core");
|
|
4
|
+
const validation_1 = require("./validation");
|
|
5
|
+
const applicator_1 = require("./applicator");
|
|
6
|
+
const format_1 = require("./format");
|
|
7
|
+
const metadata_1 = require("./metadata");
|
|
8
|
+
const draft7Vocabularies = [
|
|
9
|
+
core_1.default,
|
|
10
|
+
validation_1.default,
|
|
11
|
+
(0, applicator_1.default)(),
|
|
12
|
+
format_1.default,
|
|
13
|
+
metadata_1.metadataVocabulary,
|
|
14
|
+
metadata_1.contentVocabulary,
|
|
15
|
+
];
|
|
16
|
+
exports.default = draft7Vocabularies;
|
|
17
|
+
//# sourceMappingURL=draft7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"draft7.js","sourceRoot":"","sources":["../../lib/vocabularies/draft7.ts"],"names":[],"mappings":";;AACA,iCAAmC;AACnC,6CAA+C;AAC/C,6CAAkD;AAClD,qCAAuC;AACvC,yCAAgE;AAEhE,MAAM,kBAAkB,GAAiB;IACvC,cAAc;IACd,oBAAoB;IACpB,IAAA,oBAAuB,GAAE;IACzB,gBAAgB;IAChB,6BAAkB;IAClB,4BAAiB;CAClB,CAAA;AAED,kBAAe,kBAAkB,CAAA"}
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dynamicAnchor = void 0;
|
|
4
|
+
const codegen_1 = require("../../compile/codegen");
|
|
5
|
+
const names_1 = require("../../compile/names");
|
|
6
|
+
const compile_1 = require("../../compile");
|
|
7
|
+
const ref_1 = require("../core/ref");
|
|
8
|
+
const def = {
|
|
9
|
+
keyword: "$dynamicAnchor",
|
|
10
|
+
schemaType: "string",
|
|
11
|
+
code: (cxt) => dynamicAnchor(cxt, cxt.schema),
|
|
12
|
+
};
|
|
13
|
+
function dynamicAnchor(cxt, anchor) {
|
|
14
|
+
const { gen, it } = cxt;
|
|
15
|
+
it.schemaEnv.root.dynamicAnchors[anchor] = true;
|
|
16
|
+
const v = (0, codegen_1._) `${names_1.default.dynamicAnchors}${(0, codegen_1.getProperty)(anchor)}`;
|
|
17
|
+
const validate = it.errSchemaPath === "#" ? it.validateName : _getValidate(cxt);
|
|
18
|
+
gen.if((0, codegen_1._) `!${v}`, () => gen.assign(v, validate));
|
|
19
|
+
}
|
|
20
|
+
exports.dynamicAnchor = dynamicAnchor;
|
|
21
|
+
function _getValidate(cxt) {
|
|
22
|
+
const { schemaEnv, schema, self } = cxt.it;
|
|
23
|
+
const { root, baseId, localRefs, meta } = schemaEnv.root;
|
|
24
|
+
const { schemaId } = self.opts;
|
|
25
|
+
const sch = new compile_1.SchemaEnv({ schema, schemaId, root, baseId, localRefs, meta });
|
|
26
|
+
compile_1.compileSchema.call(self, sch);
|
|
27
|
+
return (0, ref_1.getValidate)(cxt, sch);
|
|
28
|
+
}
|
|
29
|
+
exports.default = def;
|
|
30
|
+
//# sourceMappingURL=dynamicAnchor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamicAnchor.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/dynamicAnchor.ts"],"names":[],"mappings":";;;AAEA,mDAA0D;AAC1D,+CAAmC;AACnC,2CAAsD;AACtD,qCAAuC;AAEvC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,gBAAgB;IACzB,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC;CAC9C,CAAA;AAED,SAAgB,aAAa,CAAC,GAAe,EAAE,MAAc;IAC3D,MAAM,EAAC,GAAG,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;IACrB,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;IAC/C,MAAM,CAAC,GAAG,IAAA,WAAC,EAAA,GAAG,eAAC,CAAC,cAAc,GAAG,IAAA,qBAAW,EAAC,MAAM,CAAC,EAAE,CAAA;IACtD,MAAM,QAAQ,GAAG,EAAE,CAAC,aAAa,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;IAC/E,GAAG,CAAC,EAAE,CAAC,IAAA,WAAC,EAAA,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAA;AACjD,CAAC;AAND,sCAMC;AAED,SAAS,YAAY,CAAC,GAAe;IACnC,MAAM,EAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAC,GAAG,GAAG,CAAC,EAAE,CAAA;IACxC,MAAM,EAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAC,GAAG,SAAS,CAAC,IAAI,CAAA;IACtD,MAAM,EAAC,QAAQ,EAAC,GAAG,IAAI,CAAC,IAAI,CAAA;IAC5B,MAAM,GAAG,GAAG,IAAI,mBAAS,CAAC,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAC,CAAC,CAAA;IAC5E,uBAAa,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;IAC7B,OAAO,IAAA,iBAAW,EAAC,GAAG,EAAE,GAAG,CAAC,CAAA;AAC9B,CAAC;AAED,kBAAe,GAAG,CAAA"}
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dynamicRef = void 0;
|
|
4
|
+
const codegen_1 = require("../../compile/codegen");
|
|
5
|
+
const names_1 = require("../../compile/names");
|
|
6
|
+
const ref_1 = require("../core/ref");
|
|
7
|
+
const def = {
|
|
8
|
+
keyword: "$dynamicRef",
|
|
9
|
+
schemaType: "string",
|
|
10
|
+
code: (cxt) => dynamicRef(cxt, cxt.schema),
|
|
11
|
+
};
|
|
12
|
+
function dynamicRef(cxt, ref) {
|
|
13
|
+
const { gen, keyword, it } = cxt;
|
|
14
|
+
if (ref[0] !== "#")
|
|
15
|
+
throw new Error(`"${keyword}" only supports hash fragment reference`);
|
|
16
|
+
const anchor = ref.slice(1);
|
|
17
|
+
if (it.allErrors) {
|
|
18
|
+
_dynamicRef();
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
const valid = gen.let("valid", false);
|
|
22
|
+
_dynamicRef(valid);
|
|
23
|
+
cxt.ok(valid);
|
|
24
|
+
}
|
|
25
|
+
function _dynamicRef(valid) {
|
|
26
|
+
// TODO the assumption here is that `recursiveRef: #` always points to the root
|
|
27
|
+
// of the schema object, which is not correct, because there may be $id that
|
|
28
|
+
// makes # point to it, and the target schema may not contain dynamic/recursiveAnchor.
|
|
29
|
+
// Because of that 2 tests in recursiveRef.json fail.
|
|
30
|
+
// This is a similar problem to #815 (`$id` doesn't alter resolution scope for `{ "$ref": "#" }`).
|
|
31
|
+
// (This problem is not tested in JSON-Schema-Test-Suite)
|
|
32
|
+
if (it.schemaEnv.root.dynamicAnchors[anchor]) {
|
|
33
|
+
const v = gen.let("_v", (0, codegen_1._) `${names_1.default.dynamicAnchors}${(0, codegen_1.getProperty)(anchor)}`);
|
|
34
|
+
gen.if(v, _callRef(v, valid), _callRef(it.validateName, valid));
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
_callRef(it.validateName, valid)();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function _callRef(validate, valid) {
|
|
41
|
+
return valid
|
|
42
|
+
? () => gen.block(() => {
|
|
43
|
+
(0, ref_1.callRef)(cxt, validate);
|
|
44
|
+
gen.let(valid, true);
|
|
45
|
+
})
|
|
46
|
+
: () => (0, ref_1.callRef)(cxt, validate);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.dynamicRef = dynamicRef;
|
|
50
|
+
exports.default = def;
|
|
51
|
+
//# sourceMappingURL=dynamicRef.js.map
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamicRef.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/dynamicRef.ts"],"names":[],"mappings":";;;AAEA,mDAAgE;AAChE,+CAAmC;AACnC,qCAAmC;AAEnC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,aAAa;IACtB,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC;CAC3C,CAAA;AAED,SAAgB,UAAU,CAAC,GAAe,EAAE,GAAW;IACrD,MAAM,EAAC,GAAG,EAAE,OAAO,EAAE,EAAE,EAAC,GAAG,GAAG,CAAA;IAC9B,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG;QAAE,MAAM,IAAI,KAAK,CAAC,IAAI,OAAO,yCAAyC,CAAC,CAAA;IACzF,MAAM,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;IAC3B,IAAI,EAAE,CAAC,SAAS,EAAE;QAChB,WAAW,EAAE,CAAA;KACd;SAAM;QACL,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;QACrC,WAAW,CAAC,KAAK,CAAC,CAAA;QAClB,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;KACd;IAED,SAAS,WAAW,CAAC,KAAY;QAC/B,+EAA+E;QAC/E,4EAA4E;QAC5E,sFAAsF;QACtF,qDAAqD;QACrD,kGAAkG;QAClG,yDAAyD;QACzD,IAAI,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE;YAC5C,MAAM,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,IAAA,WAAC,EAAA,GAAG,eAAC,CAAC,cAAc,GAAG,IAAA,qBAAW,EAAC,MAAM,CAAC,EAAE,CAAC,CAAA;YACrE,GAAG,CAAC,EAAE,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC,CAAA;SAChE;aAAM;YACL,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,KAAK,CAAC,EAAE,CAAA;SACnC;IACH,CAAC;IAED,SAAS,QAAQ,CAAC,QAAc,EAAE,KAAY;QAC5C,OAAO,KAAK;YACV,CAAC,CAAC,GAAG,EAAE,CACH,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE;gBACb,IAAA,aAAO,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBACtB,GAAG,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;YACtB,CAAC,CAAC;YACN,CAAC,CAAC,GAAG,EAAE,CAAC,IAAA,aAAO,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;IAClC,CAAC;AACH,CAAC;AApCD,gCAoCC;AAED,kBAAe,GAAG,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const dynamicAnchor_1 = require("./dynamicAnchor");
|
|
4
|
+
const dynamicRef_1 = require("./dynamicRef");
|
|
5
|
+
const recursiveAnchor_1 = require("./recursiveAnchor");
|
|
6
|
+
const recursiveRef_1 = require("./recursiveRef");
|
|
7
|
+
const dynamic = [dynamicAnchor_1.default, dynamicRef_1.default, recursiveAnchor_1.default, recursiveRef_1.default];
|
|
8
|
+
exports.default = dynamic;
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/index.ts"],"names":[],"mappings":";;AACA,mDAA2C;AAC3C,6CAAqC;AACrC,uDAA+C;AAC/C,iDAAyC;AAEzC,MAAM,OAAO,GAAe,CAAC,uBAAa,EAAE,oBAAU,EAAE,yBAAe,EAAE,sBAAY,CAAC,CAAA;AAEtF,kBAAe,OAAO,CAAA"}
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const dynamicAnchor_1 = require("./dynamicAnchor");
|
|
4
|
+
const util_1 = require("../../compile/util");
|
|
5
|
+
const def = {
|
|
6
|
+
keyword: "$recursiveAnchor",
|
|
7
|
+
schemaType: "boolean",
|
|
8
|
+
code(cxt) {
|
|
9
|
+
if (cxt.schema)
|
|
10
|
+
(0, dynamicAnchor_1.dynamicAnchor)(cxt, "");
|
|
11
|
+
else
|
|
12
|
+
(0, util_1.checkStrictMode)(cxt.it, "$recursiveAnchor: false is ignored");
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
exports.default = def;
|
|
16
|
+
//# sourceMappingURL=recursiveAnchor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recursiveAnchor.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/recursiveAnchor.ts"],"names":[],"mappings":";;AACA,mDAA6C;AAC7C,6CAAkD;AAElD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,kBAAkB;IAC3B,UAAU,EAAE,SAAS;IACrB,IAAI,CAAC,GAAG;QACN,IAAI,GAAG,CAAC,MAAM;YAAE,IAAA,6BAAa,EAAC,GAAG,EAAE,EAAE,CAAC,CAAA;;YACjC,IAAA,sBAAe,EAAC,GAAG,CAAC,EAAE,EAAE,oCAAoC,CAAC,CAAA;IACpE,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"}
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const dynamicRef_1 = require("./dynamicRef");
|
|
4
|
+
const def = {
|
|
5
|
+
keyword: "$recursiveRef",
|
|
6
|
+
schemaType: "string",
|
|
7
|
+
code: (cxt) => (0, dynamicRef_1.dynamicRef)(cxt, cxt.schema),
|
|
8
|
+
};
|
|
9
|
+
exports.default = def;
|
|
10
|
+
//# sourceMappingURL=recursiveRef.js.map
|
package/node_modules/light-my-request/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recursiveRef.js","sourceRoot":"","sources":["../../../lib/vocabularies/dynamic/recursiveRef.ts"],"names":[],"mappings":";;AACA,6CAAuC;AAEvC,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,eAAe;IACxB,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,uBAAU,EAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC;CAC3C,CAAA;AAED,kBAAe,GAAG,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TypeError } from "../compile/validate/dataType";
|
|
2
|
+
import type { ApplicatorKeywordError } from "./applicator";
|
|
3
|
+
import type { ValidationKeywordError } from "./validation";
|
|
4
|
+
import type { FormatError } from "./format/format";
|
|
5
|
+
import type { UnevaluatedPropertiesError } from "./unevaluated/unevaluatedProperties";
|
|
6
|
+
import type { UnevaluatedItemsError } from "./unevaluated/unevaluatedItems";
|
|
7
|
+
import type { DependentRequiredError } from "./validation/dependentRequired";
|
|
8
|
+
import type { DiscriminatorError } from "./discriminator";
|
|
9
|
+
export declare type DefinedError = TypeError | ApplicatorKeywordError | ValidationKeywordError | FormatError | UnevaluatedPropertiesError | UnevaluatedItemsError | DependentRequiredError | DiscriminatorError;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../lib/vocabularies/errors.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const codegen_1 = require("../../compile/codegen");
|
|
4
|
+
const error = {
|
|
5
|
+
message: ({ schemaCode }) => (0, codegen_1.str) `must match format "${schemaCode}"`,
|
|
6
|
+
params: ({ schemaCode }) => (0, codegen_1._) `{format: ${schemaCode}}`,
|
|
7
|
+
};
|
|
8
|
+
const def = {
|
|
9
|
+
keyword: "format",
|
|
10
|
+
type: ["number", "string"],
|
|
11
|
+
schemaType: "string",
|
|
12
|
+
$data: true,
|
|
13
|
+
error,
|
|
14
|
+
code(cxt, ruleType) {
|
|
15
|
+
const { gen, data, $data, schema, schemaCode, it } = cxt;
|
|
16
|
+
const { opts, errSchemaPath, schemaEnv, self } = it;
|
|
17
|
+
if (!opts.validateFormats)
|
|
18
|
+
return;
|
|
19
|
+
if ($data)
|
|
20
|
+
validate$DataFormat();
|
|
21
|
+
else
|
|
22
|
+
validateFormat();
|
|
23
|
+
function validate$DataFormat() {
|
|
24
|
+
const fmts = gen.scopeValue("formats", {
|
|
25
|
+
ref: self.formats,
|
|
26
|
+
code: opts.code.formats,
|
|
27
|
+
});
|
|
28
|
+
const fDef = gen.const("fDef", (0, codegen_1._) `${fmts}[${schemaCode}]`);
|
|
29
|
+
const fType = gen.let("fType");
|
|
30
|
+
const format = gen.let("format");
|
|
31
|
+
// TODO simplify
|
|
32
|
+
gen.if((0, codegen_1._) `typeof ${fDef} == "object" && !(${fDef} instanceof RegExp)`, () => gen.assign(fType, (0, codegen_1._) `${fDef}.type || "string"`).assign(format, (0, codegen_1._) `${fDef}.validate`), () => gen.assign(fType, (0, codegen_1._) `"string"`).assign(format, fDef));
|
|
33
|
+
cxt.fail$data((0, codegen_1.or)(unknownFmt(), invalidFmt()));
|
|
34
|
+
function unknownFmt() {
|
|
35
|
+
if (opts.strictSchema === false)
|
|
36
|
+
return codegen_1.nil;
|
|
37
|
+
return (0, codegen_1._) `${schemaCode} && !${format}`;
|
|
38
|
+
}
|
|
39
|
+
function invalidFmt() {
|
|
40
|
+
const callFormat = schemaEnv.$async
|
|
41
|
+
? (0, codegen_1._) `(${fDef}.async ? await ${format}(${data}) : ${format}(${data}))`
|
|
42
|
+
: (0, codegen_1._) `${format}(${data})`;
|
|
43
|
+
const validData = (0, codegen_1._) `(typeof ${format} == "function" ? ${callFormat} : ${format}.test(${data}))`;
|
|
44
|
+
return (0, codegen_1._) `${format} && ${format} !== true && ${fType} === ${ruleType} && !${validData}`;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function validateFormat() {
|
|
48
|
+
const formatDef = self.formats[schema];
|
|
49
|
+
if (!formatDef) {
|
|
50
|
+
unknownFormat();
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (formatDef === true)
|
|
54
|
+
return;
|
|
55
|
+
const [fmtType, format, fmtRef] = getFormat(formatDef);
|
|
56
|
+
if (fmtType === ruleType)
|
|
57
|
+
cxt.pass(validCondition());
|
|
58
|
+
function unknownFormat() {
|
|
59
|
+
if (opts.strictSchema === false) {
|
|
60
|
+
self.logger.warn(unknownMsg());
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
throw new Error(unknownMsg());
|
|
64
|
+
function unknownMsg() {
|
|
65
|
+
return `unknown format "${schema}" ignored in schema at path "${errSchemaPath}"`;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function getFormat(fmtDef) {
|
|
69
|
+
const code = fmtDef instanceof RegExp
|
|
70
|
+
? (0, codegen_1.regexpCode)(fmtDef)
|
|
71
|
+
: opts.code.formats
|
|
72
|
+
? (0, codegen_1._) `${opts.code.formats}${(0, codegen_1.getProperty)(schema)}`
|
|
73
|
+
: undefined;
|
|
74
|
+
const fmt = gen.scopeValue("formats", { key: schema, ref: fmtDef, code });
|
|
75
|
+
if (typeof fmtDef == "object" && !(fmtDef instanceof RegExp)) {
|
|
76
|
+
return [fmtDef.type || "string", fmtDef.validate, (0, codegen_1._) `${fmt}.validate`];
|
|
77
|
+
}
|
|
78
|
+
return ["string", fmtDef, fmt];
|
|
79
|
+
}
|
|
80
|
+
function validCondition() {
|
|
81
|
+
if (typeof formatDef == "object" && !(formatDef instanceof RegExp) && formatDef.async) {
|
|
82
|
+
if (!schemaEnv.$async)
|
|
83
|
+
throw new Error("async format in sync schema");
|
|
84
|
+
return (0, codegen_1._) `await ${fmtRef}(${data})`;
|
|
85
|
+
}
|
|
86
|
+
return typeof format == "function" ? (0, codegen_1._) `${fmtRef}(${data})` : (0, codegen_1._) `${fmtRef}.test(${data})`;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
exports.default = def;
|
|
92
|
+
//# sourceMappingURL=format.js.map
|