harperdb 3.1.1 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/BinObjects.jsc +0 -0
- package/bin/harperdb.js +1 -1
- 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 +14536 -17045
- 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/adler-32/package.json +1 -0
- 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-compress → 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/cfb/CHANGELOG.md +27 -0
- package/node_modules/cfb/README.md +0 -2
- package/node_modules/cfb/cfb.js +46 -203
- package/node_modules/cfb/dist/cfb.js +46 -203
- package/node_modules/cfb/dist/cfb.min.js +2 -2
- package/node_modules/cfb/dist/cfb.min.map +1 -1
- package/node_modules/cfb/dist/xlscfb.js +45 -202
- package/node_modules/cfb/package.json +12 -12
- package/node_modules/cfb/xlscfb.flow.js +45 -202
- 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-helmet → 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-static → 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/{@pm2/pm2-version-check/node_modules/ms/license.md → light-my-request/node_modules/ajv/LICENSE} +2 -1
- 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/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/{@pm2 → pm2/node_modules/@pm2}/pm2-version-check/README.md +0 -0
- package/node_modules/{@pm2 → pm2/node_modules/@pm2}/pm2-version-check/index.js +0 -0
- package/node_modules/{@pm2 → pm2/node_modules/@pm2}/pm2-version-check/package.json +1 -1
- package/node_modules/pm2/node_modules/debug/package.json +2 -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/printj/package.json +1 -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/request/node_modules/mime-db/HISTORY.md +0 -6
- package/node_modules/request/node_modules/mime-db/db.json +1 -39
- package/node_modules/request/node_modules/mime-db/package.json +13 -13
- package/node_modules/request/node_modules/mime-types/HISTORY.md +0 -7
- package/node_modules/request/node_modules/mime-types/package.json +13 -13
- 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/customFunctions/plugins/hdbCore.js +11 -7
- 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/ascii_logo.txt +21 -36
- 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/data_layer/ExplodedObject.jsc +0 -0
- package/data_layer/WriteProcessorObject.jsc +0 -0
- package/data_layer/dataWriteProcessor.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/FileSystemBridge.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsCreateAttribute.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsCreateRecords.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsCreateSchema.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsCreateTable.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsDeleteRecords.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsDeleteRecordsBefore.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsDropAttribute.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsDropSchema.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsDropTable.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsGetDataByHash.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsGetDataByValue.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsSearchByHash.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsSearchByValue.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsMethods/fsUpdateRecords.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsUtility/buildFolderPath.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsUtility/checkForNewAttr.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsUtility/deleteAttrStructure.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsUtility/getAllAttrHashValues.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsUtility/getAttributeFileValues.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsUtility/getBasePath.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsUtility/moveFolderToTrash.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsUtility/processData.jsc +0 -0
- package/data_layer/harperBridge/fsBridge/fsUtility/processRows.jsc +0 -0
- package/lib/fileSystem/fileSearch.jsc +0 -0
- package/node_modules/@pm2/pm2-version-check/node_modules/debug/LICENSE +0 -19
- package/node_modules/@pm2/pm2-version-check/node_modules/debug/README.md +0 -455
- package/node_modules/@pm2/pm2-version-check/node_modules/debug/package.json +0 -104
- package/node_modules/@pm2/pm2-version-check/node_modules/debug/src/browser.js +0 -269
- package/node_modules/@pm2/pm2-version-check/node_modules/debug/src/common.js +0 -261
- package/node_modules/@pm2/pm2-version-check/node_modules/debug/src/index.js +0 -10
- package/node_modules/@pm2/pm2-version-check/node_modules/debug/src/node.js +0 -263
- package/node_modules/@pm2/pm2-version-check/node_modules/ms/index.js +0 -162
- package/node_modules/@pm2/pm2-version-check/node_modules/ms/package.json +0 -72
- package/node_modules/@pm2/pm2-version-check/node_modules/ms/readme.md +0 -60
- package/node_modules/axios/lib/helpers/isAxiosError.js +0 -11
- package/node_modules/cfb/node_modules/adler-32/LICENSE +0 -201
- package/node_modules/cfb/node_modules/adler-32/README.md +0 -140
- package/node_modules/cfb/node_modules/adler-32/adler32.js +0 -92
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/LICENSE +0 -201
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/README.md +0 -1062
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/bin/printj.njs +0 -66
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/dist/LICENSE +0 -201
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/dist/printj.js +0 -597
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/dist/printj.min.js +0 -2
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/dist/printj.min.map +0 -1
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/package.json +0 -101
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/printj.js +0 -597
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/printj.mjs +0 -574
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/types/index.d.ts +0 -11
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/types/tsconfig.json +0 -14
- package/node_modules/cfb/node_modules/adler-32/node_modules/printj/types/tslint.json +0 -13
- package/node_modules/cfb/node_modules/adler-32/package.json +0 -84
- package/node_modules/cfb/node_modules/adler-32/types/index.d.ts +0 -14
- package/node_modules/cfb/node_modules/adler-32/types/tsconfig.json +0 -15
- package/node_modules/cfb/node_modules/adler-32/types/tslint.json +0 -14
- package/node_modules/cfb/node_modules/printj/LICENSE +0 -201
- package/node_modules/cfb/node_modules/printj/README.md +0 -1095
- package/node_modules/cfb/node_modules/printj/bin/printj.njs +0 -66
- package/node_modules/cfb/node_modules/printj/dist/LICENSE +0 -201
- package/node_modules/cfb/node_modules/printj/dist/printj.js +0 -602
- package/node_modules/cfb/node_modules/printj/dist/printj.min.js +0 -2
- package/node_modules/cfb/node_modules/printj/dist/printj.min.map +0 -1
- package/node_modules/cfb/node_modules/printj/package.json +0 -105
- package/node_modules/cfb/node_modules/printj/printj.js +0 -602
- package/node_modules/cfb/node_modules/printj/printj.mjs +0 -579
- package/node_modules/cfb/node_modules/printj/shim.js +0 -276
- package/node_modules/cfb/node_modules/printj/types/index.d.ts +0 -11
- package/node_modules/cfb/node_modules/printj/types/tsconfig.json +0 -14
- package/node_modules/cfb/node_modules/printj/types/tslint.json +0 -13
- 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
- package/utility/fs/FileObject.jsc +0 -0
- package/utility/fs/fileExists.jsc +0 -0
- package/utility/fs/mkdirp.jsc +0 -0
- package/utility/fs/unlink.jsc +0 -0
- package/utility/fs/writeFile.jsc +0 -0
|
@@ -57,7 +57,7 @@ if(typeof Buffer !== 'undefined') {
|
|
|
57
57
|
if(!nbfs) try { Buffer.from("foo", "utf8"); } catch(e) { nbfs = true; }
|
|
58
58
|
Buffer_from = nbfs ? function(buf, enc) { return (enc) ? new Buffer(buf, enc) : new Buffer(buf); } : Buffer.from.bind(Buffer);
|
|
59
59
|
// $FlowIgnore
|
|
60
|
-
if(!Buffer.alloc) Buffer.alloc = function(n) {
|
|
60
|
+
if(!Buffer.alloc) Buffer.alloc = function(n) { return new Buffer(n); };
|
|
61
61
|
// $FlowIgnore
|
|
62
62
|
if(!Buffer.allocUnsafe) Buffer.allocUnsafe = function(n) { return new Buffer(n); };
|
|
63
63
|
}
|
|
@@ -277,7 +277,7 @@ CRC32.str = crc32_str;
|
|
|
277
277
|
/* [MS-CFB] v20171201 */
|
|
278
278
|
var CFB = (function _CFB(){
|
|
279
279
|
var exports = {};
|
|
280
|
-
exports.version = '1.2.
|
|
280
|
+
exports.version = '1.2.0';
|
|
281
281
|
/* [MS-CFB] 2.6.4 */
|
|
282
282
|
function namecmp(l, r) {
|
|
283
283
|
var L = l.split("/"), R = r.split("/");
|
|
@@ -689,11 +689,7 @@ function read_file(filename, options) {
|
|
|
689
689
|
}
|
|
690
690
|
|
|
691
691
|
function read(blob, options) {
|
|
692
|
-
|
|
693
|
-
if(!type) {
|
|
694
|
-
if(has_buf && Buffer.isBuffer(blob)) type = "buffer";
|
|
695
|
-
}
|
|
696
|
-
switch(type || "base64") {
|
|
692
|
+
switch(options && options.type || "base64") {
|
|
697
693
|
case "file": return read_file(blob, options);
|
|
698
694
|
case "base64": return parse(s2a(Base64.decode(blob)), options);
|
|
699
695
|
case "binary": return parse(s2a(blob), options);
|
|
@@ -742,28 +738,22 @@ function rebuild_cfb(cfb, f) {
|
|
|
742
738
|
if(!gc && !f) return;
|
|
743
739
|
|
|
744
740
|
var now = new Date(1987, 1, 19), j = 0;
|
|
745
|
-
// Track which names exist
|
|
746
|
-
var fullPaths = Object.create ? Object.create(null) : {};
|
|
747
741
|
var data = [];
|
|
748
742
|
for(i = 0; i < cfb.FullPaths.length; ++i) {
|
|
749
|
-
fullPaths[cfb.FullPaths[i]] = true;
|
|
750
743
|
if(cfb.FileIndex[i].type === 0) continue;
|
|
751
744
|
data.push([cfb.FullPaths[i], cfb.FileIndex[i]]);
|
|
752
745
|
}
|
|
753
746
|
for(i = 0; i < data.length; ++i) {
|
|
754
747
|
var dad = dirname(data[i][0]);
|
|
755
|
-
s =
|
|
756
|
-
if(
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
// Add name to set
|
|
765
|
-
fullPaths[dad] = true;
|
|
766
|
-
}
|
|
748
|
+
s = false;
|
|
749
|
+
for(j = 0; j < data.length; ++j) if(data[j][0] === dad) s = true;
|
|
750
|
+
if(!s) data.push([dad, ({
|
|
751
|
+
name: filename(dad).replace("/",""),
|
|
752
|
+
type: 1,
|
|
753
|
+
clsid: HEADER_CLSID,
|
|
754
|
+
ct: now, mt: now,
|
|
755
|
+
content: null
|
|
756
|
+
})]);
|
|
767
757
|
}
|
|
768
758
|
|
|
769
759
|
data.sort(function(x,y) { return namecmp(x[0], y[0]); });
|
|
@@ -918,35 +908,18 @@ flen = file.content.length;
|
|
|
918
908
|
file = cfb.FileIndex[i];
|
|
919
909
|
if(file.size >= 0x1000) {
|
|
920
910
|
o.l = (file.start+1) << 9;
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
// o is a 0-filled Buffer so just set next offset
|
|
924
|
-
o.l += (file.size + 511) & -512;
|
|
925
|
-
} else {
|
|
926
|
-
for(j = 0; j < file.size; ++j) o.write_shift(1, file.content[j]);
|
|
927
|
-
for(; j & 0x1FF; ++j) o.write_shift(1, 0);
|
|
928
|
-
}
|
|
911
|
+
for(j = 0; j < file.size; ++j) o.write_shift(1, file.content[j]);
|
|
912
|
+
for(; j & 0x1FF; ++j) o.write_shift(1, 0);
|
|
929
913
|
}
|
|
930
914
|
}
|
|
931
915
|
for(i = 1; i < cfb.FileIndex.length; ++i) {
|
|
932
916
|
file = cfb.FileIndex[i];
|
|
933
917
|
if(file.size > 0 && file.size < 0x1000) {
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
// o is a 0-filled Buffer so just set next offset
|
|
937
|
-
o.l += (file.size + 63) & -64;
|
|
938
|
-
} else {
|
|
939
|
-
for(j = 0; j < file.size; ++j) o.write_shift(1, file.content[j]);
|
|
940
|
-
for(; j & 0x3F; ++j) o.write_shift(1, 0);
|
|
941
|
-
}
|
|
918
|
+
for(j = 0; j < file.size; ++j) o.write_shift(1, file.content[j]);
|
|
919
|
+
for(; j & 0x3F; ++j) o.write_shift(1, 0);
|
|
942
920
|
}
|
|
943
921
|
}
|
|
944
|
-
|
|
945
|
-
o.l = o.length;
|
|
946
|
-
} else {
|
|
947
|
-
// When using Buffer, already 0-filled
|
|
948
|
-
while(o.l < o.length) o.write_shift(1, 0);
|
|
949
|
-
}
|
|
922
|
+
while(o.l < o.length) o.write_shift(1, 0);
|
|
950
923
|
return o;
|
|
951
924
|
}
|
|
952
925
|
/* [MS-CFB] 2.6.4 (Unicode 3.0.1 case conversion) */
|
|
@@ -1085,38 +1058,6 @@ function read_bits_n(buf, bl, n) {
|
|
|
1085
1058
|
return v & f;
|
|
1086
1059
|
}
|
|
1087
1060
|
|
|
1088
|
-
/* helpers for unaligned bit writes */
|
|
1089
|
-
function write_bits_3(buf, bl, v) { var w = bl & 7, h = bl >>> 3;
|
|
1090
|
-
if(w <= 5) buf[h] |= (v & 7) << w;
|
|
1091
|
-
else {
|
|
1092
|
-
buf[h] |= (v << w) & 0xFF;
|
|
1093
|
-
buf[h+1] = (v&7) >> (8-w);
|
|
1094
|
-
}
|
|
1095
|
-
return bl + 3;
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
function write_bits_1(buf, bl, v) {
|
|
1099
|
-
var w = bl & 7, h = bl >>> 3;
|
|
1100
|
-
v = (v&1) << w;
|
|
1101
|
-
buf[h] |= v;
|
|
1102
|
-
return bl + 1;
|
|
1103
|
-
}
|
|
1104
|
-
function write_bits_8(buf, bl, v) {
|
|
1105
|
-
var w = bl & 7, h = bl >>> 3;
|
|
1106
|
-
v <<= w;
|
|
1107
|
-
buf[h] |= v & 0xFF; v >>>= 8;
|
|
1108
|
-
buf[h+1] = v;
|
|
1109
|
-
return bl + 8;
|
|
1110
|
-
}
|
|
1111
|
-
function write_bits_16(buf, bl, v) {
|
|
1112
|
-
var w = bl & 7, h = bl >>> 3;
|
|
1113
|
-
v <<= w;
|
|
1114
|
-
buf[h] |= v & 0xFF; v >>>= 8;
|
|
1115
|
-
buf[h+1] = v & 0xFF;
|
|
1116
|
-
buf[h+2] = v >>> 8;
|
|
1117
|
-
return bl + 16;
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
1061
|
/* until ArrayBuffer#realloc is a thing, fake a realloc */
|
|
1121
1062
|
function realloc(b, sz) {
|
|
1122
1063
|
var L = b.length, M = 2*L > sz ? 2*L : sz + 5, i = 0;
|
|
@@ -1130,7 +1071,7 @@ function realloc(b, sz) {
|
|
|
1130
1071
|
} else if(use_typed_arrays) {
|
|
1131
1072
|
var a = new Uint8Array(M);
|
|
1132
1073
|
if(a.set) a.set(b);
|
|
1133
|
-
else for(; i <
|
|
1074
|
+
else for(; i < b.length; ++i) a[i] = b[i];
|
|
1134
1075
|
return a;
|
|
1135
1076
|
}
|
|
1136
1077
|
b.length = M;
|
|
@@ -1142,7 +1083,30 @@ function zero_fill_array(n) {
|
|
|
1142
1083
|
var o = new Array(n);
|
|
1143
1084
|
for(var i = 0; i < n; ++i) o[i] = 0;
|
|
1144
1085
|
return o;
|
|
1145
|
-
}
|
|
1086
|
+
}var _deflate = (function() {
|
|
1087
|
+
var _deflateRaw = (function() {
|
|
1088
|
+
return function deflateRaw(data, out) {
|
|
1089
|
+
var boff = 0;
|
|
1090
|
+
while(boff < data.length) {
|
|
1091
|
+
var L = Math.min(0xFFFF, data.length - boff);
|
|
1092
|
+
var h = boff + L == data.length;
|
|
1093
|
+
/* TODO: this is only type 0 stored */
|
|
1094
|
+
out.write_shift(1, +h);
|
|
1095
|
+
out.write_shift(2, L);
|
|
1096
|
+
out.write_shift(2, (~L) & 0xFFFF);
|
|
1097
|
+
while(L-- > 0) out[out.l++] = data[boff++];
|
|
1098
|
+
}
|
|
1099
|
+
return out.l;
|
|
1100
|
+
};
|
|
1101
|
+
})();
|
|
1102
|
+
|
|
1103
|
+
return function(data) {
|
|
1104
|
+
var buf = new_buf(50+Math.floor(data.length*1.1));
|
|
1105
|
+
var off = _deflateRaw(data, buf);
|
|
1106
|
+
return buf.slice(0, off);
|
|
1107
|
+
};
|
|
1108
|
+
})();
|
|
1109
|
+
/* modified inflate function also moves original read head */
|
|
1146
1110
|
|
|
1147
1111
|
/* build tree (used for literals and lengths) */
|
|
1148
1112
|
function build_tree(clens, cmap, MAX) {
|
|
@@ -1182,7 +1146,6 @@ function build_tree(clens, cmap, MAX) {
|
|
|
1182
1146
|
return maxlen;
|
|
1183
1147
|
}
|
|
1184
1148
|
|
|
1185
|
-
/* Fixed Huffman */
|
|
1186
1149
|
var fix_lmap = use_typed_arrays ? new Uint16Array(512) : zero_fill_array(512);
|
|
1187
1150
|
var fix_dmap = use_typed_arrays ? new Uint16Array(32) : zero_fill_array(32);
|
|
1188
1151
|
if(!use_typed_arrays) {
|
|
@@ -1202,124 +1165,8 @@ if(!use_typed_arrays) {
|
|
|
1202
1165
|
for(; i<=279; i++) clens.push(7);
|
|
1203
1166
|
for(; i<=287; i++) clens.push(8);
|
|
1204
1167
|
build_tree(clens, fix_lmap, 288);
|
|
1205
|
-
})();var _deflateRaw = (function() {
|
|
1206
|
-
var DST_LN_RE = use_typed_arrays ? new Uint8Array(0x8000) : [];
|
|
1207
|
-
for(var j = 0, k = 0; j < DST_LN.length; ++j) {
|
|
1208
|
-
for(; k < DST_LN[j+1]; ++k) DST_LN_RE[k] = j;
|
|
1209
|
-
}
|
|
1210
|
-
for(;k < 32768; ++k) DST_LN_RE[k] = 29;
|
|
1211
|
-
|
|
1212
|
-
var LEN_LN_RE = use_typed_arrays ? new Uint8Array(0x102) : [];
|
|
1213
|
-
for(j = 0, k = 0; j < LEN_LN.length; ++j) {
|
|
1214
|
-
for(; k < LEN_LN[j+1]; ++k) LEN_LN_RE[k] = j;
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
function write_stored(data, out) {
|
|
1218
|
-
var boff = 0;
|
|
1219
|
-
while(boff < data.length) {
|
|
1220
|
-
var L = Math.min(0xFFFF, data.length - boff);
|
|
1221
|
-
var h = boff + L == data.length;
|
|
1222
|
-
out.write_shift(1, +h);
|
|
1223
|
-
out.write_shift(2, L);
|
|
1224
|
-
out.write_shift(2, (~L) & 0xFFFF);
|
|
1225
|
-
while(L-- > 0) out[out.l++] = data[boff++];
|
|
1226
|
-
}
|
|
1227
|
-
return out.l;
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
/* Fixed Huffman */
|
|
1231
|
-
function write_huff_fixed(data, out) {
|
|
1232
|
-
var bl = 0;
|
|
1233
|
-
var boff = 0;
|
|
1234
|
-
var addrs = use_typed_arrays ? new Uint16Array(0x8000) : [];
|
|
1235
|
-
while(boff < data.length) {
|
|
1236
|
-
var L = /* data.length - boff; */ Math.min(0xFFFF, data.length - boff);
|
|
1237
|
-
|
|
1238
|
-
/* write a stored block for short data */
|
|
1239
|
-
if(L < 10) {
|
|
1240
|
-
bl = write_bits_3(out, bl, +!!(boff + L == data.length)); // jshint ignore:line
|
|
1241
|
-
if(bl & 7) bl += 8 - (bl & 7);
|
|
1242
|
-
out.l = (bl / 8) | 0;
|
|
1243
|
-
out.write_shift(2, L);
|
|
1244
|
-
out.write_shift(2, (~L) & 0xFFFF);
|
|
1245
|
-
while(L-- > 0) out[out.l++] = data[boff++];
|
|
1246
|
-
bl = out.l * 8;
|
|
1247
|
-
continue;
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
bl = write_bits_3(out, bl, +!!(boff + L == data.length) + 2); // jshint ignore:line
|
|
1251
|
-
var hash = 0;
|
|
1252
|
-
while(L-- > 0) {
|
|
1253
|
-
var d = data[boff];
|
|
1254
|
-
hash = ((hash << 5) ^ d) & 0x7FFF;
|
|
1255
|
-
|
|
1256
|
-
var match = -1, mlen = 0;
|
|
1257
|
-
|
|
1258
|
-
if((match = addrs[hash])) {
|
|
1259
|
-
match |= boff & ~0x7FFF;
|
|
1260
|
-
if(match > boff) match -= 0x8000;
|
|
1261
|
-
if(match < boff) while(data[match + mlen] == data[boff + mlen] && mlen < 250) ++mlen;
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
if(mlen > 2) {
|
|
1265
|
-
/* Copy Token */
|
|
1266
|
-
d = LEN_LN_RE[mlen];
|
|
1267
|
-
if(d <= 22) bl = write_bits_8(out, bl, bitswap8[d+1]>>1) - 1;
|
|
1268
|
-
else {
|
|
1269
|
-
write_bits_8(out, bl, 3);
|
|
1270
|
-
bl += 5;
|
|
1271
|
-
write_bits_8(out, bl, bitswap8[d-23]>>5);
|
|
1272
|
-
bl += 3;
|
|
1273
|
-
}
|
|
1274
|
-
var len_eb = (d < 8) ? 0 : ((d - 4)>>2);
|
|
1275
|
-
if(len_eb > 0) {
|
|
1276
|
-
write_bits_16(out, bl, mlen - LEN_LN[d]);
|
|
1277
|
-
bl += len_eb;
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
d = DST_LN_RE[boff - match];
|
|
1281
|
-
bl = write_bits_8(out, bl, bitswap8[d]>>3);
|
|
1282
|
-
bl -= 3;
|
|
1283
|
-
|
|
1284
|
-
var dst_eb = d < 4 ? 0 : (d-2)>>1;
|
|
1285
|
-
if(dst_eb > 0) {
|
|
1286
|
-
write_bits_16(out, bl, boff - match - DST_LN[d]);
|
|
1287
|
-
bl += dst_eb;
|
|
1288
|
-
}
|
|
1289
|
-
for(var q = 0; q < mlen; ++q) {
|
|
1290
|
-
addrs[hash] = boff & 0x7FFF;
|
|
1291
|
-
hash = ((hash << 5) ^ data[boff]) & 0x7FFF;
|
|
1292
|
-
++boff;
|
|
1293
|
-
}
|
|
1294
|
-
L-= mlen - 1;
|
|
1295
|
-
} else {
|
|
1296
|
-
/* Literal Token */
|
|
1297
|
-
if(d <= 143) d = d + 48;
|
|
1298
|
-
else bl = write_bits_1(out, bl, 1);
|
|
1299
|
-
bl = write_bits_8(out, bl, bitswap8[d]);
|
|
1300
|
-
addrs[hash] = boff & 0x7FFF;
|
|
1301
|
-
++boff;
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
bl = write_bits_8(out, bl, 0) - 1;
|
|
1306
|
-
}
|
|
1307
|
-
out.l = ((bl + 7)/8)|0;
|
|
1308
|
-
return out.l;
|
|
1309
|
-
}
|
|
1310
|
-
return function _deflateRaw(data, out) {
|
|
1311
|
-
if(data.length < 8) return write_stored(data, out);
|
|
1312
|
-
return write_huff_fixed(data, out);
|
|
1313
|
-
};
|
|
1314
1168
|
})();
|
|
1315
1169
|
|
|
1316
|
-
function _deflate(data) {
|
|
1317
|
-
var buf = new_buf(50+Math.floor(data.length*1.1));
|
|
1318
|
-
var off = _deflateRaw(data, buf);
|
|
1319
|
-
return buf.slice(0, off);
|
|
1320
|
-
}
|
|
1321
|
-
/* modified inflate function also moves original read head */
|
|
1322
|
-
|
|
1323
1170
|
var dyn_lmap = use_typed_arrays ? new Uint16Array(32768) : zero_fill_array(32768);
|
|
1324
1171
|
var dyn_dmap = use_typed_arrays ? new Uint16Array(32768) : zero_fill_array(32768);
|
|
1325
1172
|
var dyn_cmap = use_typed_arrays ? new Uint16Array(128) : zero_fill_array(128);
|
|
@@ -1438,8 +1285,8 @@ function inflate(data, usz) {
|
|
|
1438
1285
|
boff = dyn(data, boff);
|
|
1439
1286
|
max_len_1 = dyn_len_1; max_len_2 = dyn_len_2;
|
|
1440
1287
|
}
|
|
1288
|
+
if(!usz && (OL < woff + 32767)) { outbuf = realloc(outbuf, woff + 32767); OL = outbuf.length; }
|
|
1441
1289
|
for(;;) { // while(true) is apparently out of vogue in modern JS circles
|
|
1442
|
-
if(!usz && (OL < woff + 32767)) { outbuf = realloc(outbuf, woff + 32767); OL = outbuf.length; }
|
|
1443
1290
|
/* ingest code and move read head */
|
|
1444
1291
|
var bits = read_bits_n(data, boff, max_len_1);
|
|
1445
1292
|
var code = (header>>>1) == 1 ? fix_lmap[bits] : dyn_lmap[bits];
|
|
@@ -1470,7 +1317,7 @@ function inflate(data, usz) {
|
|
|
1470
1317
|
}
|
|
1471
1318
|
|
|
1472
1319
|
/* in the common case, manual byte copy is faster than TA set / Buffer copy */
|
|
1473
|
-
if(!usz && OL < tgt) { outbuf = realloc(outbuf, tgt
|
|
1320
|
+
if(!usz && OL < tgt) { outbuf = realloc(outbuf, tgt); OL = outbuf.length; }
|
|
1474
1321
|
while(woff < tgt) { outbuf[woff] = outbuf[woff - dst]; ++woff; }
|
|
1475
1322
|
}
|
|
1476
1323
|
}
|
|
@@ -1569,7 +1416,7 @@ function parse_local_file(blob, csz, usz, o, EF) {
|
|
|
1569
1416
|
var data = blob.slice(blob.l, blob.l + _csz);
|
|
1570
1417
|
switch(meth) {
|
|
1571
1418
|
case 8: data = _inflateRawSync(blob, _usz); break;
|
|
1572
|
-
case 0: break;
|
|
1419
|
+
case 0: break;
|
|
1573
1420
|
default: throw new Error("Unsupported ZIP Compression method " + meth);
|
|
1574
1421
|
}
|
|
1575
1422
|
|
|
@@ -1636,10 +1483,7 @@ function write_zip(cfb, options) {
|
|
|
1636
1483
|
start_cd += namebuf.length;
|
|
1637
1484
|
out.push(namebuf);
|
|
1638
1485
|
|
|
1639
|
-
/* TODO: extra fields? */
|
|
1640
|
-
|
|
1641
1486
|
/* TODO: encryption header ? */
|
|
1642
|
-
|
|
1643
1487
|
start_cd += outbuf.length;
|
|
1644
1488
|
out.push(outbuf);
|
|
1645
1489
|
|
|
@@ -1898,8 +1742,7 @@ function write_mad(cfb, options) {
|
|
|
1898
1742
|
}
|
|
1899
1743
|
out.push(boundary + '--\r\n');
|
|
1900
1744
|
return out.join("\r\n");
|
|
1901
|
-
}
|
|
1902
|
-
function cfb_new(opts) {
|
|
1745
|
+
}function cfb_new(opts) {
|
|
1903
1746
|
var o = ({});
|
|
1904
1747
|
init_cfb(o, opts);
|
|
1905
1748
|
return o;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/* cfb.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
2
|
-
var Base64=function e(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(r){var t="";var i=0,n=0,a=0,f=0,s=0,l=0,h=0;for(var o=0;o<r.length;){i=r.charCodeAt(o++);f=i>>2;n=r.charCodeAt(o++);s=(i&3)<<4|n>>4;a=r.charCodeAt(o++);l=(n&15)<<2|a>>6;h=a&63;if(isNaN(n)){l=h=64}else if(isNaN(a)){h=64}t+=e.charAt(f)+e.charAt(s)+e.charAt(l)+e.charAt(h)}return t},decode:function r(t){var i="";var n=0,a=0,f=0,s=0,l=0,h=0,o=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var u=0;u<t.length;){s=e.indexOf(t.charAt(u++));l=e.indexOf(t.charAt(u++));n=s<<2|l>>4;i+=String.fromCharCode(n);h=e.indexOf(t.charAt(u++));a=(l&15)<<4|h>>2;if(h!==64){i+=String.fromCharCode(a)}o=e.indexOf(t.charAt(u++));f=(h&3)<<6|o;if(o!==64){i+=String.fromCharCode(f)}}return i}}}();var has_buf=typeof Buffer!=="undefined"&&typeof process!=="undefined"&&typeof process.versions!=="undefined"&&process.versions.node;var Buffer_from=function(){};if(typeof Buffer!=="undefined"){var nbfs=!Buffer.from;if(!nbfs)try{Buffer.from("foo","utf8")}catch(e){nbfs=true}Buffer_from=nbfs?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer);if(!Buffer.alloc)Buffer.alloc=function(e){var r=new Buffer(e);r.fill(0);return r};if(!Buffer.allocUnsafe)Buffer.allocUnsafe=function(e){return new Buffer(e)}}function new_raw_buf(e){return has_buf?Buffer.alloc(e):new Array(e)}function new_unsafe_buf(e){return has_buf?Buffer.allocUnsafe(e):new Array(e)}var s2a=function r(e){if(has_buf)return Buffer_from(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};var chr0=/\u0000/g,chr1=/[\u0001-\u0006]/g;var __toBuffer=function(e){var r=[];for(var t=0;t<e[0].length;++t){r.push.apply(r,e[0][t])}return r};var ___toBuffer=__toBuffer;var __utf16le=function(e,r,t){var i=[];for(var n=r;n<t;n+=2)i.push(String.fromCharCode(__readUInt16LE(e,n)));return i.join("").replace(chr0,"")};var ___utf16le=__utf16le;var __hexlify=function(e,r,t){var i=[];for(var n=r;n<r+t;++n)i.push(("0"+e[n].toString(16)).slice(-2));return i.join("")};var ___hexlify=__hexlify;var __bconcat=function(e){if(Array.isArray(e[0]))return[].concat.apply([],e);var r=0,t=0;for(t=0;t<e.length;++t)r+=e[t].length;var i=new Uint8Array(r);for(t=0,r=0;t<e.length;r+=e[t].length,++t)i.set(e[t],r);return i};var bconcat=__bconcat;if(has_buf){__utf16le=function(e,r,t){if(!Buffer.isBuffer(e))return ___utf16le(e,r,t);return e.toString("utf16le",r,t).replace(chr0,"")};__hexlify=function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):___hexlify(e,r,t)};__toBuffer=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):___toBuffer(e)};s2a=function(e){return Buffer_from(e,"binary")};bconcat=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):__bconcat(e)}}var __readUInt8=function(e,r){return e[r]};var __readUInt16LE=function(e,r){return e[r+1]*(1<<8)+e[r]};var __readInt16LE=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var __readUInt32LE=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var __readInt32LE=function(e,r){return(e[r+3]<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};function ReadShift(e,r){var t,i,n=0;switch(e){case 1:t=__readUInt8(this,this.l);break;case 2:t=(r!=="i"?__readUInt16LE:__readInt16LE)(this,this.l);break;case 4:t=__readInt32LE(this,this.l);break;case 16:n=2;i=__hexlify(this,this.l,e);}this.l+=e;if(n===0)return t;return i}var __writeUInt32LE=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255;e[t+2]=r>>>16&255;e[t+3]=r>>>24&255};var __writeInt32LE=function(e,r,t){e[t]=r&255;e[t+1]=r>>8&255;e[t+2]=r>>16&255;e[t+3]=r>>24&255};function WriteShift(e,r,t){var i=0,n=0;switch(t){case"hex":for(;n<e;++n){this[this.l++]=parseInt(r.slice(2*n,2*n+2),16)||0}return this;case"utf16le":var a=this.l+e;for(n=0;n<Math.min(r.length,e);++n){var f=r.charCodeAt(n);this[this.l++]=f&255;this[this.l++]=f>>8}while(this.l<a)this[this.l++]=0;return this;}switch(e){case 1:i=1;this[this.l]=r&255;break;case 2:i=2;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;break;case 4:i=4;__writeUInt32LE(this,r,this.l);break;case-4:i=4;__writeInt32LE(this,r,this.l);break;}this.l+=i;return this}function CheckField(e,r){var t=__hexlify(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function prep_blob(e,r){e.l=r;e.read_shift=ReadShift;e.chk=CheckField;e.write_shift=WriteShift}function new_buf(e){var r=new_raw_buf(e);prep_blob(r,0);return r}var CRC32;(function(e){e(CRC32={})})(function(e){e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function i(e,r){var i=r^-1,n=e.length-1;for(var a=0;a<n;){i=i>>>8^t[(i^e.charCodeAt(a++))&255];i=i>>>8^t[(i^e.charCodeAt(a++))&255]}if(a===n)i=i>>>8^t[(i^e.charCodeAt(a))&255];return i^-1}function n(e,r){if(e.length>1e4)return a(e,r);var i=r^-1,n=e.length-3;for(var f=0;f<n;){i=i>>>8^t[(i^e[f++])&255];i=i>>>8^t[(i^e[f++])&255];i=i>>>8^t[(i^e[f++])&255];i=i>>>8^t[(i^e[f++])&255]}while(f<n+3)i=i>>>8^t[(i^e[f++])&255];return i^-1}function a(e,r){var i=r^-1,n=e.length-7;for(var a=0;a<n;){i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255]}while(a<n+7)i=i>>>8^t[(i^e[a++])&255];return i^-1}function f(e,r){var i=r^-1;for(var n=0,a=e.length,f,s;n<a;){f=e.charCodeAt(n++);if(f<128){i=i>>>8^t[(i^f)&255]}else if(f<2048){i=i>>>8^t[(i^(192|f>>6&31))&255];i=i>>>8^t[(i^(128|f&63))&255]}else if(f>=55296&&f<57344){f=(f&1023)+64;s=e.charCodeAt(n++)&1023;i=i>>>8^t[(i^(240|f>>8&7))&255];i=i>>>8^t[(i^(128|f>>2&63))&255];i=i>>>8^t[(i^(128|s>>6&15|(f&3)<<4))&255];i=i>>>8^t[(i^(128|s&63))&255]}else{i=i>>>8^t[(i^(224|f>>12&15))&255];i=i>>>8^t[(i^(128|f>>6&63))&255];i=i>>>8^t[(i^(128|f&63))&255]}}return i^-1}e.table=t;e.bstr=i;e.buf=n;e.str=f});var CFB=function t(){var e={};e.version="1.2.1";function r(e,r){var t=e.split("/"),i=r.split("/");for(var n=0,a=0,f=Math.min(t.length,i.length);n<f;++n){if(a=t[n].length-i[n].length)return a;if(t[n]!=i[n])return t[n]<i[n]?-1:1}return t.length-i.length}function t(e){if(e.charAt(e.length-1)=="/")return e.slice(0,-1).indexOf("/")===-1?e:t(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(0,r+1)}function i(e){if(e.charAt(e.length-1)=="/")return i(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(r+1)}function n(e,r){if(typeof r==="string")r=new Date(r);var t=r.getHours();t=t<<6|r.getMinutes();t=t<<5|r.getSeconds()>>>1;e.write_shift(2,t);var i=r.getFullYear()-1980;i=i<<4|r.getMonth()+1;i=i<<5|r.getDate();e.write_shift(2,i)}function a(e){var r=e.read_shift(2)&65535;var t=e.read_shift(2)&65535;var i=new Date;var n=t&31;t>>>=5;var a=t&15;t>>>=4;i.setMilliseconds(0);i.setFullYear(t+1980);i.setMonth(a-1);i.setDate(n);var f=r&31;r>>>=5;var s=r&63;r>>>=6;i.setHours(r);i.setMinutes(s);i.setSeconds(f<<1);return i}function f(e){prep_blob(e,0);var r={};var t=0;while(e.l<=e.length-4){var i=e.read_shift(2);var n=e.read_shift(2),a=e.l+n;var f={};switch(i){case 21589:{t=e.read_shift(1);if(t&1)f.mtime=e.read_shift(4);if(n>5){if(t&2)f.atime=e.read_shift(4);if(t&4)f.ctime=e.read_shift(4)}if(f.mtime)f.mt=new Date(f.mtime*1e3)}break;}e.l=a;r[i]=f}return r}var s;function l(){return s||(s=require("fs"))}function h(e,r){if(e[0]==80&&e[1]==75)return ye(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return ke(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var i=512;var n=0;var a=0;var f=0;var s=0;var l=0;var h=[];var _=e.slice(0,512);prep_blob(_,0);var w=o(_);t=w[0];switch(t){case 3:i=512;break;case 4:i=4096;break;case 0:if(w[1]==0)return ye(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(i!==512){_=e.slice(0,i);prep_blob(_,28)}var b=e.slice(0,i);u(_,t);var F=_.read_shift(4,"i");if(t===3&&F!==0)throw new Error("# Directory Sectors: Expected 0 saw "+F);_.l+=4;f=_.read_shift(4,"i");_.l+=4;_.chk("00100000","Mini Stream Cutoff Size: ");s=_.read_shift(4,"i");n=_.read_shift(4,"i");l=_.read_shift(4,"i");a=_.read_shift(4,"i");for(var y=-1,m=0;m<109;++m){y=_.read_shift(4,"i");if(y<0)break;h[m]=y}var x=c(e,i);d(l,a,x,i,h);var C=p(x,f,h,i);C[f].name="!Directory";if(n>0&&s!==B)C[s].name="!MiniFAT";C[h[0]].name="!FAT";C.fat_addrs=h;C.ssz=i;var I={},A=[],E=[],S=[];g(f,C,x,A,n,I,E,s);v(E,S,A);A.shift();var k={FileIndex:E,FullPaths:S};if(r&&r.raw)k.raw={header:b,sectors:x};return k}function o(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(S,"Header Signature: ");e.l+=16;var r=e.read_shift(2,"u");return[e.read_shift(2,"u"),r]}function u(e,r){var t=9;e.l+=2;switch(t=e.read_shift(2)){case 9:if(r!=3)throw new Error("Sector Shift: Expected 9 saw "+t);break;case 12:if(r!=4)throw new Error("Sector Shift: Expected 12 saw "+t);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+t);}e.chk("0600","Mini Sector Shift: ");e.chk("000000000000","Reserved: ")}function c(e,r){var t=Math.ceil(e.length/r)-1;var i=[];for(var n=1;n<t;++n)i[n-1]=e.slice(n*r,(n+1)*r);i[t-1]=e.slice(t*r);return i}function v(e,r,t){var i=0,n=0,a=0,f=0,s=0,l=t.length;var h=[],o=[];for(;i<l;++i){h[i]=o[i]=i;r[i]=t[i]}for(;s<o.length;++s){i=o[s];n=e[i].L;a=e[i].R;f=e[i].C;if(h[i]===i){if(n!==-1&&h[n]!==n)h[i]=h[n];if(a!==-1&&h[a]!==a)h[i]=h[a]}if(f!==-1)h[f]=i;if(n!==-1&&i!=h[i]){h[n]=h[i];if(o.lastIndexOf(n)<s)o.push(n)}if(a!==-1&&i!=h[i]){h[a]=h[i];if(o.lastIndexOf(a)<s)o.push(a)}}for(i=1;i<l;++i)if(h[i]===i){if(a!==-1&&h[a]!==a)h[i]=h[a];else if(n!==-1&&h[n]!==n)h[i]=h[n]}for(i=1;i<l;++i){if(e[i].type===0)continue;s=i;if(s!=h[s])do{s=h[s];r[i]=r[s]+"/"+r[i]}while(s!==0&&-1!==h[s]&&s!=h[s]);h[i]=-1}r[0]+="/";for(i=1;i<l;++i){if(e[i].type!==2)r[i]+="/"}}function _(e,r,t){var i=e.start,n=e.size;var a=[];var f=i;while(t&&n>0&&f>=0){a.push(r.slice(f*E,f*E+E));n-=E;f=__readInt32LE(t,f*4)}if(a.length===0)return new_buf(0);return bconcat(a).slice(0,e.size)}function d(e,r,t,i,n){var a=B;if(e===B){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var f=t[e],s=(i>>>2)-1;if(!f)return;for(var l=0;l<s;++l){if((a=__readInt32LE(f,l*4))===B)break;n.push(a)}d(__readInt32LE(f,i-4),r-1,t,i,n)}}function w(e,r,t,i,n){var a=[],f=[];if(!n)n=[];var s=i-1,l=0,h=0;for(l=r;l>=0;){n[l]=true;a[a.length]=l;f.push(e[l]);var o=t[Math.floor(l*4/i)];h=l*4&s;if(i<4+h)throw new Error("FAT boundary crossed: "+l+" 4 "+i);if(!e[o])break;l=__readInt32LE(e[o],h)}return{nodes:a,data:__toBuffer([f])}}function p(e,r,t,i){var n=e.length,a=[];var f=[],s=[],l=[];var h=i-1,o=0,u=0,c=0,v=0;for(o=0;o<n;++o){s=[];c=o+r;if(c>=n)c-=n;if(f[c])continue;l=[];var _=[];for(u=c;u>=0;){_[u]=true;f[u]=true;s[s.length]=u;l.push(e[u]);var d=t[Math.floor(u*4/i)];v=u*4&h;if(i<4+v)throw new Error("FAT boundary crossed: "+u+" 4 "+i);if(!e[d])break;u=__readInt32LE(e[d],v);if(_[u])break}a[c]={nodes:s,data:__toBuffer([l])}}return a}function g(e,r,t,i,n,a,f,s){var l=0,h=i.length?2:0;var o=r[e].data;var u=0,c=0,v;for(;u<o.length;u+=128){var d=o.slice(u,u+128);prep_blob(d,64);c=d.read_shift(2);v=__utf16le(d,0,c-h);i.push(v);var p={name:v,type:d.read_shift(1),color:d.read_shift(1),L:d.read_shift(4,"i"),R:d.read_shift(4,"i"),C:d.read_shift(4,"i"),clsid:d.read_shift(16),state:d.read_shift(4,"i"),start:0,size:0};var g=d.read_shift(2)+d.read_shift(2)+d.read_shift(2)+d.read_shift(2);if(g!==0)p.ct=b(d,d.l-8);var F=d.read_shift(2)+d.read_shift(2)+d.read_shift(2)+d.read_shift(2);if(F!==0)p.mt=b(d,d.l-8);p.start=d.read_shift(4,"i");p.size=d.read_shift(4,"i");if(p.size<0&&p.start<0){p.size=p.type=0;p.start=B;p.name=""}if(p.type===5){l=p.start;if(n>0&&l!==B)r[l].name="!StreamData"}else if(p.size>=4096){p.storage="fat";if(r[p.start]===undefined)r[p.start]=w(t,p.start,r.fat_addrs,r.ssz);r[p.start].name=p.name;p.content=r[p.start].data.slice(0,p.size)}else{p.storage="minifat";if(p.size<0)p.size=0;else if(l!==B&&p.start!==B&&r[l]){p.content=_(p,r[l].data,(r[s]||{}).data)}}if(p.content)prep_blob(p.content,0);a[v]=p;f.push(p)}}function b(e,r){return new Date((__readUInt32LE(e,r+4)/1e7*Math.pow(2,32)+__readUInt32LE(e,r)/1e7-11644473600)*1e3)}function F(e,r){l();return h(s.readFileSync(e),r)}function y(e,r){var t=r&&r.type;if(!t){if(has_buf&&Buffer.isBuffer(e))t="buffer"}switch(t||"base64"){case"file":return F(e,r);case"base64":return h(s2a(Base64.decode(e)),r);case"binary":return h(s2a(e),r);}return h(e,r)}function m(e,r){var t=r||{},i=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=i+"/";e.FileIndex[0]={name:i,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;x(e)}function x(e){var r="Sh33tJ5";if(CFB.find(e,"/"+r))return;var t=new_buf(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);C(e)}function C(e,n){m(e);var a=false,f=false;for(var s=e.FullPaths.length-1;s>=0;--s){var l=e.FileIndex[s];switch(l.type){case 0:if(f)a=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:f=true;if(isNaN(l.R*l.L*l.C))a=true;if(l.R>-1&&l.L>-1&&l.R==l.L)a=true;break;default:a=true;break;}}if(!a&&!n)return;var h=new Date(1987,1,19),o=0;var u=Object.create?Object.create(null):{};var c=[];for(s=0;s<e.FullPaths.length;++s){u[e.FullPaths[s]]=true;if(e.FileIndex[s].type===0)continue;c.push([e.FullPaths[s],e.FileIndex[s]])}for(s=0;s<c.length;++s){var v=t(c[s][0]);f=u[v];if(!f){c.push([v,{name:i(v).replace("/",""),type:1,clsid:R,ct:h,mt:h,content:null}]);u[v]=true}}c.sort(function(e,t){return r(e[0],t[0])});e.FullPaths=[];e.FileIndex=[];for(s=0;s<c.length;++s){e.FullPaths[s]=c[s][0];e.FileIndex[s]=c[s][1]}for(s=0;s<c.length;++s){var _=e.FileIndex[s];var d=e.FullPaths[s];_.name=i(d).replace("/","");_.L=_.R=_.C=-(_.color=1);_.size=_.content?_.content.length:0;_.start=0;_.clsid=_.clsid||R;if(s===0){_.C=c.length>1?1:-1;_.size=0;_.type=5}else if(d.slice(-1)=="/"){for(o=s+1;o<c.length;++o)if(t(e.FullPaths[o])==d)break;_.C=o>=c.length?-1:o;for(o=s+1;o<c.length;++o)if(t(e.FullPaths[o])==t(d))break;_.R=o>=c.length?-1:o;_.type=1}else{if(t(e.FullPaths[s+1]||"")==t(d))_.R=s+1;_.type=2}}}function I(e,r){var t=r||{};if(t.fileType=="mad")return Re(e,t);C(e);switch(t.fileType){case"zip":return xe(e,t);}var i=function(e){var r=0,t=0;for(var i=0;i<e.FileIndex.length;++i){var n=e.FileIndex[i];if(!n.content)continue;var a=n.content.length;if(a>0){if(a<4096)r+=a+63>>6;else t+=a+511>>9}}var f=e.FullPaths.length+3>>2;var s=r+7>>3;var l=r+127>>7;var h=s+t+f+l;var o=h+127>>7;var u=o<=109?0:Math.ceil((o-109)/127);while(h+o+u+127>>7>o)u=++o<=109?0:Math.ceil((o-109)/127);var c=[1,u,o,l,f,t,r,0];e.FileIndex[0].size=r<<6;c[7]=(e.FileIndex[0].start=c[0]+c[1]+c[2]+c[3]+c[4]+c[5])+(c[6]+7>>3);return c}(e);var n=new_buf(i[7]<<9);var a=0,f=0;{for(a=0;a<8;++a)n.write_shift(1,k[a]);for(a=0;a<8;++a)n.write_shift(2,0);n.write_shift(2,62);n.write_shift(2,3);n.write_shift(2,65534);n.write_shift(2,9);n.write_shift(2,6);for(a=0;a<3;++a)n.write_shift(2,0);n.write_shift(4,0);n.write_shift(4,i[2]);n.write_shift(4,i[0]+i[1]+i[2]+i[3]-1);n.write_shift(4,0);n.write_shift(4,1<<12);n.write_shift(4,i[3]?i[0]+i[1]+i[2]-1:B);n.write_shift(4,i[3]);n.write_shift(-4,i[1]?i[0]-1:B);n.write_shift(4,i[1]);for(a=0;a<109;++a)n.write_shift(-4,a<i[2]?i[1]+a:-1)}if(i[1]){for(f=0;f<i[1];++f){for(;a<236+f*127;++a)n.write_shift(-4,a<i[2]?i[1]+a:-1);n.write_shift(-4,f===i[1]-1?B:f+1)}}var s=function(e){for(f+=e;a<f-1;++a)n.write_shift(-4,a+1);if(e){++a;n.write_shift(-4,B)}};f=a=0;for(f+=i[1];a<f;++a)n.write_shift(-4,U.DIFSECT);for(f+=i[2];a<f;++a)n.write_shift(-4,U.FATSECT);s(i[3]);s(i[4]);var l=0,h=0;var o=e.FileIndex[0];for(;l<e.FileIndex.length;++l){o=e.FileIndex[l];if(!o.content)continue;h=o.content.length;if(h<4096)continue;o.start=f;s(h+511>>9)}s(i[6]+7>>3);while(n.l&511)n.write_shift(-4,U.ENDOFCHAIN);f=a=0;for(l=0;l<e.FileIndex.length;++l){o=e.FileIndex[l];if(!o.content)continue;h=o.content.length;if(!h||h>=4096)continue;o.start=f;s(h+63>>6)}while(n.l&511)n.write_shift(-4,U.ENDOFCHAIN);for(a=0;a<i[4]<<2;++a){var u=e.FullPaths[a];if(!u||u.length===0){for(l=0;l<17;++l)n.write_shift(4,0);for(l=0;l<3;++l)n.write_shift(4,-1);for(l=0;l<12;++l)n.write_shift(4,0);continue}o=e.FileIndex[a];if(a===0)o.start=o.size?o.start-1:B;var c=a===0&&t.root||o.name;h=2*(c.length+1);n.write_shift(64,c,"utf16le");n.write_shift(2,h);n.write_shift(1,o.type);n.write_shift(1,o.color);n.write_shift(-4,o.L);n.write_shift(-4,o.R);n.write_shift(-4,o.C);if(!o.clsid)for(l=0;l<4;++l)n.write_shift(4,0);else n.write_shift(16,o.clsid,"hex");n.write_shift(4,o.state||0);n.write_shift(4,0);n.write_shift(4,0);n.write_shift(4,0);n.write_shift(4,0);n.write_shift(4,o.start);n.write_shift(4,o.size);n.write_shift(4,0)}for(a=1;a<e.FileIndex.length;++a){o=e.FileIndex[a];if(o.size>=4096){n.l=o.start+1<<9;if(has_buf&&Buffer.isBuffer(o.content)){o.content.copy(n,n.l,0,o.size);n.l+=o.size+511&-512}else{for(l=0;l<o.size;++l)n.write_shift(1,o.content[l]);for(;l&511;++l)n.write_shift(1,0)}}}for(a=1;a<e.FileIndex.length;++a){o=e.FileIndex[a];if(o.size>0&&o.size<4096){if(has_buf&&Buffer.isBuffer(o.content)){o.content.copy(n,n.l,0,o.size);n.l+=o.size+63&-64}else{for(l=0;l<o.size;++l)n.write_shift(1,o.content[l]);for(;l&63;++l)n.write_shift(1,0)}}}if(has_buf){n.l=n.length}else{while(n.l<n.length)n.write_shift(1,0)}return n}function A(e,r){var t=e.FullPaths.map(function(e){return e.toUpperCase()});var i=t.map(function(e){var r=e.split("/");return r[r.length-(e.slice(-1)=="/"?2:1)]});var n=false;if(r.charCodeAt(0)===47){n=true;r=t[0].slice(0,-1)+r}else n=r.indexOf("/")!==-1;var a=r.toUpperCase();var f=n===true?t.indexOf(a):i.indexOf(a);if(f!==-1)return e.FileIndex[f];var s=!a.match(chr1);a=a.replace(chr0,"");if(s)a=a.replace(chr1,"!");for(f=0;f<t.length;++f){if((s?t[f].replace(chr1,"!"):t[f]).replace(chr0,"")==a)return e.FileIndex[f];if((s?i[f].replace(chr1,"!"):i[f]).replace(chr0,"")==a)return e.FileIndex[f]}return null}var E=64;var B=-2;var S="d0cf11e0a1b11ae1";var k=[208,207,17,224,161,177,26,225];var R="00000000000000000000000000000000";var U={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:B,FREESECT:-1,HEADER_SIGNATURE:S,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:R,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function z(e,r,t){l();var i=I(e,t);s.writeFileSync(r,i)}function L(e){var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function P(e,r){var t=I(e,r);switch(r&&r.type||"buffer"){case"file":l();s.writeFileSync(r.filename,t);return t;case"binary":return typeof t=="string"?t:L(t);case"base64":return Base64.encode(typeof t=="string"?t:L(t));case"buffer":if(has_buf)return Buffer.isBuffer(t)?t:Buffer_from(t);case"array":return typeof t=="string"?s2a(t):t;}return t}var D;function M(e){try{var r=e.InflateRaw;var t=new r;t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag);if(t.bytesRead)D=e;else throw new Error("zlib does not expose bytesRead")}catch(i){console.error("cannot use native zlib: "+(i.message||i))}}function O(e,r){if(!D)return be(e,r);var t=D.InflateRaw;var i=new t;var n=i._processChunk(e.slice(e.l),i._finishFlushFlag);e.l+=i.bytesRead;return n}function T(e){return D?D.deflateRawSync(e):ue(e)}var N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var j=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258];var H=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function $(e){var r=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(r>>16|r>>8|r)&255}var J=typeof Uint8Array!=="undefined";var q=J?new Uint8Array(1<<8):[];for(var G=0;G<1<<8;++G)q[G]=$(G);function V(e,r){var t=q[e&255];if(r<=8)return t>>>8-r;t=t<<8|q[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|q[e>>16&255];return t>>>24-r}function X(e,r){var t=r&7,i=r>>>3;return(e[i]|(t<=6?0:e[i+1]<<8))>>>t&3}function W(e,r){var t=r&7,i=r>>>3;return(e[i]|(t<=5?0:e[i+1]<<8))>>>t&7}function Y(e,r){var t=r&7,i=r>>>3;return(e[i]|(t<=4?0:e[i+1]<<8))>>>t&15}function Z(e,r){var t=r&7,i=r>>>3;return(e[i]|(t<=3?0:e[i+1]<<8))>>>t&31}function K(e,r){var t=r&7,i=r>>>3;return(e[i]|(t<=1?0:e[i+1]<<8))>>>t&127}function Q(e,r,t){var i=r&7,n=r>>>3,a=(1<<t)-1;var f=e[n]>>>i;if(t<8-i)return f&a;f|=e[n+1]<<8-i;if(t<16-i)return f&a;f|=e[n+2]<<16-i;if(t<24-i)return f&a;f|=e[n+3]<<24-i;return f&a}function ee(e,r,t){var i=r&7,n=r>>>3;if(i<=5)e[n]|=(t&7)<<i;else{e[n]|=t<<i&255;e[n+1]=(t&7)>>8-i}return r+3}function re(e,r,t){var i=r&7,n=r>>>3;t=(t&1)<<i;e[n]|=t;return r+1}function te(e,r,t){var i=r&7,n=r>>>3;t<<=i;e[n]|=t&255;t>>>=8;e[n+1]=t;return r+8}function ie(e,r,t){var i=r&7,n=r>>>3;t<<=i;e[n]|=t&255;t>>>=8;e[n+1]=t&255;e[n+2]=t>>>8;return r+16}function ne(e,r){var t=e.length,i=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(has_buf){var a=new_unsafe_buf(i);if(e.copy)e.copy(a);else for(;n<e.length;++n)a[n]=e[n];return a}else if(J){var f=new Uint8Array(i);if(f.set)f.set(e);else for(;n<t;++n)f[n]=e[n];return f}e.length=i;return e}function ae(e){var r=new Array(e);for(var t=0;t<e;++t)r[t]=0;return r}function fe(e,r,t){var i=1,n=0,a=0,f=0,s=0,l=e.length;var h=J?new Uint16Array(32):ae(32);for(a=0;a<32;++a)h[a]=0;for(a=l;a<t;++a)e[a]=0;l=e.length;var o=J?new Uint16Array(l):ae(l);for(a=0;a<l;++a){h[n=e[a]]++;if(i<n)i=n;o[a]=0}h[0]=0;for(a=1;a<=i;++a)h[a+16]=s=s+h[a-1]<<1;for(a=0;a<l;++a){s=e[a];if(s!=0)o[a]=h[s+16]++}var u=0;for(a=0;a<l;++a){u=e[a];if(u!=0){s=V(o[a],i)>>i-u;for(f=(1<<i+4-u)-1;f>=0;--f)r[s|f<<u]=u&15|a<<4}}return i}var se=J?new Uint16Array(512):ae(512);var le=J?new Uint16Array(32):ae(32);if(!J){for(var he=0;he<512;++he)se[he]=0;for(he=0;he<32;++he)le[he]=0}(function(){var e=[];var r=0;for(;r<32;r++)e.push(5);fe(e,le,32);var t=[];r=0;for(;r<=143;r++)t.push(8);for(;r<=255;r++)t.push(9);for(;r<=279;r++)t.push(7);for(;r<=287;r++)t.push(8);fe(t,se,288)})();var oe=function(){var e=J?new Uint8Array(32768):[];for(var r=0,t=0;r<H.length;++r){for(;t<H[r+1];++t)e[t]=r}for(;t<32768;++t)e[t]=29;var i=J?new Uint8Array(258):[];for(r=0,t=0;r<j.length;++r){for(;t<j[r+1];++t)i[t]=r}function n(e,r){var t=0;while(t<e.length){var i=Math.min(65535,e.length-t);var n=t+i==e.length;r.write_shift(1,+n);r.write_shift(2,i);r.write_shift(2,~i&65535);while(i-- >0)r[r.l++]=e[t++]}return r.l}function a(r,t){var n=0;var a=0;var f=J?new Uint16Array(32768):[];while(a<r.length){var s=Math.min(65535,r.length-a);if(s<10){n=ee(t,n,+!!(a+s==r.length));if(n&7)n+=8-(n&7);t.l=n/8|0;t.write_shift(2,s);t.write_shift(2,~s&65535);while(s-- >0)t[t.l++]=r[a++];n=t.l*8;continue}n=ee(t,n,+!!(a+s==r.length)+2);var l=0;while(s-- >0){var h=r[a];l=(l<<5^h)&32767;var o=-1,u=0;if(o=f[l]){o|=a&~32767;if(o>a)o-=32768;if(o<a)while(r[o+u]==r[a+u]&&u<250)++u}if(u>2){h=i[u];if(h<=22)n=te(t,n,q[h+1]>>1)-1;else{te(t,n,3);n+=5;te(t,n,q[h-23]>>5);n+=3}var c=h<8?0:h-4>>2;if(c>0){ie(t,n,u-j[h]);n+=c}h=e[a-o];n=te(t,n,q[h]>>3);n-=3;var v=h<4?0:h-2>>1;if(v>0){ie(t,n,a-o-H[h]);n+=v}for(var _=0;_<u;++_){f[l]=a&32767;l=(l<<5^r[a])&32767;++a}s-=u-1}else{if(h<=143)h=h+48;else n=re(t,n,1);n=te(t,n,q[h]);f[l]=a&32767;++a}}n=te(t,n,0)-1}t.l=(n+7)/8|0;return t.l}return function f(e,r){if(e.length<8)return n(e,r);return a(e,r)}}();function ue(e){var r=new_buf(50+Math.floor(e.length*1.1));var t=oe(e,r);return r.slice(0,t)}var ce=J?new Uint16Array(32768):ae(32768);var ve=J?new Uint16Array(32768):ae(32768);var _e=J?new Uint16Array(128):ae(128);var de=1,we=1;function pe(e,r){var t=Z(e,r)+257;r+=5;var i=Z(e,r)+1;r+=5;var n=Y(e,r)+4;r+=4;var a=0;var f=J?new Uint8Array(19):ae(19);var s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var l=1;var h=J?new Uint8Array(8):ae(8);var o=J?new Uint8Array(8):ae(8);var u=f.length;for(var c=0;c<n;++c){f[N[c]]=a=W(e,r);if(l<a)l=a;h[a]++;r+=3}var v=0;h[0]=0;for(c=1;c<=l;++c)o[c]=v=v+h[c-1]<<1;for(c=0;c<u;++c)if((v=f[c])!=0)s[c]=o[v]++;var _=0;for(c=0;c<u;++c){_=f[c];if(_!=0){v=q[s[c]]>>8-_;for(var d=(1<<7-_)-1;d>=0;--d)_e[v|d<<_]=_&7|c<<3}}var w=[];l=1;for(;w.length<t+i;){v=_e[K(e,r)];r+=v&7;switch(v>>>=3){case 16:a=3+X(e,r);r+=2;v=w[w.length-1];while(a-- >0)w.push(v);break;case 17:a=3+W(e,r);r+=3;while(a-- >0)w.push(0);break;case 18:a=11+K(e,r);r+=7;while(a-- >0)w.push(0);break;default:w.push(v);if(l<v)l=v;break;}}var p=w.slice(0,t),g=w.slice(t);for(c=t;c<286;++c)p[c]=0;for(c=i;c<30;++c)g[c]=0;de=fe(p,ce,286);we=fe(g,ve,30);return r}function ge(e,r){if(e[0]==3&&!(e[1]&3)){return[new_raw_buf(r),2]}var t=0;var i=0;var n=new_unsafe_buf(r?r:1<<18);var a=0;var f=n.length>>>0;var s=0,l=0;while((i&1)==0){i=W(e,t);t+=3;if(i>>>1==0){if(t&7)t+=8-(t&7);var h=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(!r&&f<a+h){n=ne(n,a+h);f=n.length}if(typeof e.copy==="function"){e.copy(n,a,t>>>3,(t>>>3)+h);a+=h;t+=8*h}else while(h-- >0){n[a++]=e[t>>>3];t+=8}continue}else if(i>>>1==1){s=9;l=5}else{t=pe(e,t);s=de;l=we}for(;;){if(!r&&f<a+32767){n=ne(n,a+32767);f=n.length}var o=Q(e,t,s);var u=i>>>1==1?se[o]:ce[o];t+=u&15;u>>>=4;if((u>>>8&255)===0)n[a++]=u;else if(u==256)break;else{u-=257;var c=u<8?0:u-4>>2;if(c>5)c=0;var v=a+j[u];if(c>0){v+=Q(e,t,c);t+=c}o=Q(e,t,l);u=i>>>1==1?le[o]:ve[o];t+=u&15;u>>>=4;var _=u<4?0:u-2>>1;var d=H[u];if(_>0){d+=Q(e,t,_);t+=_}if(!r&&f<v){n=ne(n,v+100);f=n.length}while(a<v){n[a]=n[a-d];++a}}}}return[r?n:n.slice(0,a),t+7>>>3]}function be(e,r){var t=e.slice(e.l||0);var i=ge(t,r);e.l+=i[1];return i[0]}function Fe(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function ye(e,r){var t=e;prep_blob(t,0);var i=[],n=[];var a={FileIndex:i,FullPaths:n};m(a,{root:r.root});var s=t.length-4;while((t[s]!=80||t[s+1]!=75||t[s+2]!=5||t[s+3]!=6)&&s>=0)--s;t.l=s+4;t.l+=4;var l=t.read_shift(2);t.l+=6;var h=t.read_shift(4);t.l=h;for(s=0;s<l;++s){t.l+=20;var o=t.read_shift(4);var u=t.read_shift(4);var c=t.read_shift(2);var v=t.read_shift(2);var _=t.read_shift(2);t.l+=8;var d=t.read_shift(4);var w=f(t.slice(t.l+c,t.l+c+v));t.l+=c+v+_;var p=t.l;t.l=d+4;me(t,o,u,a,w);t.l=p}return a}function me(e,r,t,i,n){e.l+=2;var s=e.read_shift(2);var l=e.read_shift(2);var h=a(e);if(s&8257)throw new Error("Unsupported ZIP encryption");var o=e.read_shift(4);var u=e.read_shift(4);var c=e.read_shift(4);var v=e.read_shift(2);var _=e.read_shift(2);var d="";for(var w=0;w<v;++w)d+=String.fromCharCode(e[e.l++]);if(_){var p=f(e.slice(e.l,e.l+_));if((p[21589]||{}).mt)h=p[21589].mt;if(((n||{})[21589]||{}).mt)h=n[21589].mt}e.l+=_;var g=e.slice(e.l,e.l+u);switch(l){case 8:g=O(e,c);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+l);}var b=false;if(s&8){o=e.read_shift(4);if(o==134695760){o=e.read_shift(4);b=true}u=e.read_shift(4);c=e.read_shift(4)}if(u!=r)Fe(b,"Bad compressed size: "+r+" != "+u);if(c!=t)Fe(b,"Bad uncompressed size: "+t+" != "+c);var F=CRC32.buf(g,0);if(o>>0!=F>>0)Fe(b,"Bad CRC32 checksum: "+o+" != "+F);ze(i,d,g,{unsafe:true,mt:h})}function xe(e,r){var t=r||{};var i=[],a=[];var f=new_buf(1);var s=t.compression?8:0,l=0;var h=false;if(h)l|=8;var o=0,u=0;var c=0,v=0;var _=e.FullPaths[0],d=_,w=e.FileIndex[0];var p=[];var g=0;for(o=1;o<e.FullPaths.length;++o){d=e.FullPaths[o].slice(_.length);w=e.FileIndex[o];if(!w.size||!w.content||d=="Sh33tJ5")continue;var b=c;var F=new_buf(d.length);for(u=0;u<d.length;++u)F.write_shift(1,d.charCodeAt(u)&127);F=F.slice(0,F.l);p[v]=CRC32.buf(w.content,0);var y=w.content;if(s==8)y=T(y);f=new_buf(30);f.write_shift(4,67324752);f.write_shift(2,20);f.write_shift(2,l);f.write_shift(2,s);if(w.mt)n(f,w.mt);else f.write_shift(4,0);f.write_shift(-4,l&8?0:p[v]);f.write_shift(4,l&8?0:y.length);f.write_shift(4,l&8?0:w.content.length);f.write_shift(2,F.length);f.write_shift(2,0);c+=f.length;i.push(f);c+=F.length;i.push(F);c+=y.length;i.push(y);if(l&8){f=new_buf(12);f.write_shift(-4,p[v]);f.write_shift(4,y.length);f.write_shift(4,w.content.length);c+=f.l;i.push(f)}f=new_buf(46);f.write_shift(4,33639248);f.write_shift(2,0);f.write_shift(2,20);f.write_shift(2,l);f.write_shift(2,s);f.write_shift(4,0);f.write_shift(-4,p[v]);f.write_shift(4,y.length);f.write_shift(4,w.content.length);f.write_shift(2,F.length);f.write_shift(2,0);f.write_shift(2,0);f.write_shift(2,0);f.write_shift(2,0);f.write_shift(4,0);f.write_shift(4,b);g+=f.l;a.push(f);g+=F.length;a.push(F);++v}f=new_buf(22);f.write_shift(4,101010256);f.write_shift(2,0);f.write_shift(2,0);f.write_shift(2,v);f.write_shift(2,v);f.write_shift(4,g);f.write_shift(4,c);f.write_shift(2,0);return bconcat([bconcat(i),bconcat(a),f])}var Ce={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Ie(e,r){if(e.ctype)return e.ctype;var t=e.name||"",i=t.match(/\.([^\.]+)$/);if(i&&Ce[i[1]])return Ce[i[1]];if(r){i=(t=r).match(/[\.\\]([^\.\\])+$/);if(i&&Ce[i[1]])return Ce[i[1]]}return"application/octet-stream"}function Ae(e){var r=Base64.encode(e);var t=[];for(var i=0;i<r.length;i+=76)t.push(r.slice(i,i+76));return t.join("\r\n")+"\r\n"}function Ee(e){var r=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(e){var r=e.charCodeAt(0).toString(16).toUpperCase();return"="+(r.length==1?"0"+r:r)});r=r.replace(/ $/gm,"=20").replace(/\t$/gm,"=09");if(r.charAt(0)=="\n")r="=0D"+r.slice(1);r=r.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A");var t=[],i=r.split("\r\n");for(var n=0;n<i.length;++n){var a=i[n];if(a.length==0){t.push("");continue}for(var f=0;f<a.length;){var s=76;var l=a.slice(f,f+s);if(l.charAt(s-1)=="=")s--;else if(l.charAt(s-2)=="=")s-=2;else if(l.charAt(s-3)=="=")s-=3;l=a.slice(f,f+s);f+=s;if(f<a.length)l+="=";t.push(l)}}return t.join("\r\n")}function Be(e){var r=[];for(var t=0;t<e.length;++t){var i=e[t];while(t<=e.length&&i.charAt(i.length-1)=="=")i=i.slice(0,i.length-1)+e[++t];r.push(i)}for(var n=0;n<r.length;++n)r[n]=r[n].replace(/=[0-9A-Fa-f]{2}/g,function(e){return String.fromCharCode(parseInt(e.slice(1),16))});return s2a(r.join("\r\n"))}function Se(e,r,t){var i="",n="",a="",f;var s=0;for(;s<10;++s){var l=r[s];if(!l||l.match(/^\s*$/))break;var h=l.match(/^(.*?):\s*([^\s].*)$/);if(h)switch(h[1].toLowerCase()){case"content-location":i=h[2].trim();break;case"content-type":a=h[2].trim();break;case"content-transfer-encoding":n=h[2].trim();break;}}++s;switch(n.toLowerCase()){case"base64":f=s2a(Base64.decode(r.slice(s).join("")));break;case"quoted-printable":f=Be(r.slice(s));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+n);}var o=ze(e,i.slice(t.length),f,{unsafe:true});if(a)o.ctype=a}function ke(e,r){if(L(e.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var t=r&&r.root||"";var i=(has_buf&&Buffer.isBuffer(e)?e.toString("binary"):L(e)).split("\r\n");var n=0,a="";for(n=0;n<i.length;++n){a=i[n];if(!/^Content-Location:/i.test(a))continue;a=a.slice(a.indexOf("file"));if(!t)t=a.slice(0,a.lastIndexOf("/")+1);if(a.slice(0,t.length)==t)continue;while(t.length>0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(a.slice(0,t.length)==t)break}}var f=(i[1]||"").match(/boundary="(.*?)"/);if(!f)throw new Error("MAD cannot find boundary");var s="--"+(f[1]||"");var l=[],h=[];var o={FileIndex:l,FullPaths:h};m(o);var u,c=0;for(n=0;n<i.length;++n){var v=i[n];if(v!==s&&v!==s+"--")continue;if(c++)Se(o,i.slice(u,n),t);u=n}return o}function Re(e,r){var t=r||{};var i=t.boundary||"SheetJS";i="------="+i;var n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+i.slice(2)+'"',"","",""];var a=e.FullPaths[0],f=a,s=e.FileIndex[0];for(var l=1;l<e.FullPaths.length;++l){f=e.FullPaths[l].slice(a.length);s=e.FileIndex[l];if(!s.size||!s.content||f=="Sh33tJ5")continue;f=f.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(e){
|
|
3
|
-
|
|
2
|
+
var Base64=function e(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(r){var t="";var i=0,n=0,a=0,f=0,s=0,h=0,l=0;for(var o=0;o<r.length;){i=r.charCodeAt(o++);f=i>>2;n=r.charCodeAt(o++);s=(i&3)<<4|n>>4;a=r.charCodeAt(o++);h=(n&15)<<2|a>>6;l=a&63;if(isNaN(n)){h=l=64}else if(isNaN(a)){l=64}t+=e.charAt(f)+e.charAt(s)+e.charAt(h)+e.charAt(l)}return t},decode:function r(t){var i="";var n=0,a=0,f=0,s=0,h=0,l=0,o=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var u=0;u<t.length;){s=e.indexOf(t.charAt(u++));h=e.indexOf(t.charAt(u++));n=s<<2|h>>4;i+=String.fromCharCode(n);l=e.indexOf(t.charAt(u++));a=(h&15)<<4|l>>2;if(l!==64){i+=String.fromCharCode(a)}o=e.indexOf(t.charAt(u++));f=(l&3)<<6|o;if(o!==64){i+=String.fromCharCode(f)}}return i}}}();var has_buf=typeof Buffer!=="undefined"&&typeof process!=="undefined"&&typeof process.versions!=="undefined"&&process.versions.node;var Buffer_from=function(){};if(typeof Buffer!=="undefined"){var nbfs=!Buffer.from;if(!nbfs)try{Buffer.from("foo","utf8")}catch(e){nbfs=true}Buffer_from=nbfs?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer);if(!Buffer.alloc)Buffer.alloc=function(e){return new Buffer(e)};if(!Buffer.allocUnsafe)Buffer.allocUnsafe=function(e){return new Buffer(e)}}function new_raw_buf(e){return has_buf?Buffer.alloc(e):new Array(e)}function new_unsafe_buf(e){return has_buf?Buffer.allocUnsafe(e):new Array(e)}var s2a=function r(e){if(has_buf)return Buffer_from(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};var chr0=/\u0000/g,chr1=/[\u0001-\u0006]/g;var __toBuffer=function(e){var r=[];for(var t=0;t<e[0].length;++t){r.push.apply(r,e[0][t])}return r};var ___toBuffer=__toBuffer;var __utf16le=function(e,r,t){var i=[];for(var n=r;n<t;n+=2)i.push(String.fromCharCode(__readUInt16LE(e,n)));return i.join("").replace(chr0,"")};var ___utf16le=__utf16le;var __hexlify=function(e,r,t){var i=[];for(var n=r;n<r+t;++n)i.push(("0"+e[n].toString(16)).slice(-2));return i.join("")};var ___hexlify=__hexlify;var __bconcat=function(e){if(Array.isArray(e[0]))return[].concat.apply([],e);var r=0,t=0;for(t=0;t<e.length;++t)r+=e[t].length;var i=new Uint8Array(r);for(t=0,r=0;t<e.length;r+=e[t].length,++t)i.set(e[t],r);return i};var bconcat=__bconcat;if(has_buf){__utf16le=function(e,r,t){if(!Buffer.isBuffer(e))return ___utf16le(e,r,t);return e.toString("utf16le",r,t).replace(chr0,"")};__hexlify=function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):___hexlify(e,r,t)};__toBuffer=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):___toBuffer(e)};s2a=function(e){return Buffer_from(e,"binary")};bconcat=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):__bconcat(e)}}var __readUInt8=function(e,r){return e[r]};var __readUInt16LE=function(e,r){return e[r+1]*(1<<8)+e[r]};var __readInt16LE=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var __readUInt32LE=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var __readInt32LE=function(e,r){return(e[r+3]<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};function ReadShift(e,r){var t,i,n=0;switch(e){case 1:t=__readUInt8(this,this.l);break;case 2:t=(r!=="i"?__readUInt16LE:__readInt16LE)(this,this.l);break;case 4:t=__readInt32LE(this,this.l);break;case 16:n=2;i=__hexlify(this,this.l,e);}this.l+=e;if(n===0)return t;return i}var __writeUInt32LE=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255;e[t+2]=r>>>16&255;e[t+3]=r>>>24&255};var __writeInt32LE=function(e,r,t){e[t]=r&255;e[t+1]=r>>8&255;e[t+2]=r>>16&255;e[t+3]=r>>24&255};function WriteShift(e,r,t){var i=0,n=0;switch(t){case"hex":for(;n<e;++n){this[this.l++]=parseInt(r.slice(2*n,2*n+2),16)||0}return this;case"utf16le":var a=this.l+e;for(n=0;n<Math.min(r.length,e);++n){var f=r.charCodeAt(n);this[this.l++]=f&255;this[this.l++]=f>>8}while(this.l<a)this[this.l++]=0;return this;}switch(e){case 1:i=1;this[this.l]=r&255;break;case 2:i=2;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;break;case 4:i=4;__writeUInt32LE(this,r,this.l);break;case-4:i=4;__writeInt32LE(this,r,this.l);break;}this.l+=i;return this}function CheckField(e,r){var t=__hexlify(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function prep_blob(e,r){e.l=r;e.read_shift=ReadShift;e.chk=CheckField;e.write_shift=WriteShift}function new_buf(e){var r=new_raw_buf(e);prep_blob(r,0);return r}var CRC32;(function(e){e(CRC32={})})(function(e){e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function i(e,r){var i=r^-1,n=e.length-1;for(var a=0;a<n;){i=i>>>8^t[(i^e.charCodeAt(a++))&255];i=i>>>8^t[(i^e.charCodeAt(a++))&255]}if(a===n)i=i>>>8^t[(i^e.charCodeAt(a))&255];return i^-1}function n(e,r){if(e.length>1e4)return a(e,r);var i=r^-1,n=e.length-3;for(var f=0;f<n;){i=i>>>8^t[(i^e[f++])&255];i=i>>>8^t[(i^e[f++])&255];i=i>>>8^t[(i^e[f++])&255];i=i>>>8^t[(i^e[f++])&255]}while(f<n+3)i=i>>>8^t[(i^e[f++])&255];return i^-1}function a(e,r){var i=r^-1,n=e.length-7;for(var a=0;a<n;){i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255];i=i>>>8^t[(i^e[a++])&255]}while(a<n+7)i=i>>>8^t[(i^e[a++])&255];return i^-1}function f(e,r){var i=r^-1;for(var n=0,a=e.length,f,s;n<a;){f=e.charCodeAt(n++);if(f<128){i=i>>>8^t[(i^f)&255]}else if(f<2048){i=i>>>8^t[(i^(192|f>>6&31))&255];i=i>>>8^t[(i^(128|f&63))&255]}else if(f>=55296&&f<57344){f=(f&1023)+64;s=e.charCodeAt(n++)&1023;i=i>>>8^t[(i^(240|f>>8&7))&255];i=i>>>8^t[(i^(128|f>>2&63))&255];i=i>>>8^t[(i^(128|s>>6&15|(f&3)<<4))&255];i=i>>>8^t[(i^(128|s&63))&255]}else{i=i>>>8^t[(i^(224|f>>12&15))&255];i=i>>>8^t[(i^(128|f>>6&63))&255];i=i>>>8^t[(i^(128|f&63))&255]}}return i^-1}e.table=t;e.bstr=i;e.buf=n;e.str=f});var CFB=function t(){var e={};e.version="1.2.0";function r(e,r){var t=e.split("/"),i=r.split("/");for(var n=0,a=0,f=Math.min(t.length,i.length);n<f;++n){if(a=t[n].length-i[n].length)return a;if(t[n]!=i[n])return t[n]<i[n]?-1:1}return t.length-i.length}function t(e){if(e.charAt(e.length-1)=="/")return e.slice(0,-1).indexOf("/")===-1?e:t(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(0,r+1)}function i(e){if(e.charAt(e.length-1)=="/")return i(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(r+1)}function n(e,r){if(typeof r==="string")r=new Date(r);var t=r.getHours();t=t<<6|r.getMinutes();t=t<<5|r.getSeconds()>>>1;e.write_shift(2,t);var i=r.getFullYear()-1980;i=i<<4|r.getMonth()+1;i=i<<5|r.getDate();e.write_shift(2,i)}function a(e){var r=e.read_shift(2)&65535;var t=e.read_shift(2)&65535;var i=new Date;var n=t&31;t>>>=5;var a=t&15;t>>>=4;i.setMilliseconds(0);i.setFullYear(t+1980);i.setMonth(a-1);i.setDate(n);var f=r&31;r>>>=5;var s=r&63;r>>>=6;i.setHours(r);i.setMinutes(s);i.setSeconds(f<<1);return i}function f(e){prep_blob(e,0);var r={};var t=0;while(e.l<=e.length-4){var i=e.read_shift(2);var n=e.read_shift(2),a=e.l+n;var f={};switch(i){case 21589:{t=e.read_shift(1);if(t&1)f.mtime=e.read_shift(4);if(n>5){if(t&2)f.atime=e.read_shift(4);if(t&4)f.ctime=e.read_shift(4)}if(f.mtime)f.mt=new Date(f.mtime*1e3)}break;}e.l=a;r[i]=f}return r}var s;function h(){return s||(s=require("fs"))}function l(e,r){if(e[0]==80&&e[1]==75)return we(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return Ie(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var i=512;var n=0;var a=0;var f=0;var s=0;var h=0;var l=[];var _=e.slice(0,512);prep_blob(_,0);var w=o(_);t=w[0];switch(t){case 3:i=512;break;case 4:i=4096;break;case 0:if(w[1]==0)return we(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(i!==512){_=e.slice(0,i);prep_blob(_,28)}var b=e.slice(0,i);u(_,t);var F=_.read_shift(4,"i");if(t===3&&F!==0)throw new Error("# Directory Sectors: Expected 0 saw "+F);_.l+=4;f=_.read_shift(4,"i");_.l+=4;_.chk("00100000","Mini Stream Cutoff Size: ");s=_.read_shift(4,"i");n=_.read_shift(4,"i");h=_.read_shift(4,"i");a=_.read_shift(4,"i");for(var y=-1,m=0;m<109;++m){y=_.read_shift(4,"i");if(y<0)break;l[m]=y}var x=c(e,i);d(h,a,x,i,l);var C=p(x,f,l,i);C[f].name="!Directory";if(n>0&&s!==B)C[s].name="!MiniFAT";C[l[0]].name="!FAT";C.fat_addrs=l;C.ssz=i;var I={},A=[],E=[],S=[];g(f,C,x,A,n,I,E,s);v(E,S,A);A.shift();var k={FileIndex:E,FullPaths:S};if(r&&r.raw)k.raw={header:b,sectors:x};return k}function o(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(S,"Header Signature: ");e.l+=16;var r=e.read_shift(2,"u");return[e.read_shift(2,"u"),r]}function u(e,r){var t=9;e.l+=2;switch(t=e.read_shift(2)){case 9:if(r!=3)throw new Error("Sector Shift: Expected 9 saw "+t);break;case 12:if(r!=4)throw new Error("Sector Shift: Expected 12 saw "+t);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+t);}e.chk("0600","Mini Sector Shift: ");e.chk("000000000000","Reserved: ")}function c(e,r){var t=Math.ceil(e.length/r)-1;var i=[];for(var n=1;n<t;++n)i[n-1]=e.slice(n*r,(n+1)*r);i[t-1]=e.slice(t*r);return i}function v(e,r,t){var i=0,n=0,a=0,f=0,s=0,h=t.length;var l=[],o=[];for(;i<h;++i){l[i]=o[i]=i;r[i]=t[i]}for(;s<o.length;++s){i=o[s];n=e[i].L;a=e[i].R;f=e[i].C;if(l[i]===i){if(n!==-1&&l[n]!==n)l[i]=l[n];if(a!==-1&&l[a]!==a)l[i]=l[a]}if(f!==-1)l[f]=i;if(n!==-1&&i!=l[i]){l[n]=l[i];if(o.lastIndexOf(n)<s)o.push(n)}if(a!==-1&&i!=l[i]){l[a]=l[i];if(o.lastIndexOf(a)<s)o.push(a)}}for(i=1;i<h;++i)if(l[i]===i){if(a!==-1&&l[a]!==a)l[i]=l[a];else if(n!==-1&&l[n]!==n)l[i]=l[n]}for(i=1;i<h;++i){if(e[i].type===0)continue;s=i;if(s!=l[s])do{s=l[s];r[i]=r[s]+"/"+r[i]}while(s!==0&&-1!==l[s]&&s!=l[s]);l[i]=-1}r[0]+="/";for(i=1;i<h;++i){if(e[i].type!==2)r[i]+="/"}}function _(e,r,t){var i=e.start,n=e.size;var a=[];var f=i;while(t&&n>0&&f>=0){a.push(r.slice(f*E,f*E+E));n-=E;f=__readInt32LE(t,f*4)}if(a.length===0)return new_buf(0);return bconcat(a).slice(0,e.size)}function d(e,r,t,i,n){var a=B;if(e===B){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var f=t[e],s=(i>>>2)-1;if(!f)return;for(var h=0;h<s;++h){if((a=__readInt32LE(f,h*4))===B)break;n.push(a)}d(__readInt32LE(f,i-4),r-1,t,i,n)}}function w(e,r,t,i,n){var a=[],f=[];if(!n)n=[];var s=i-1,h=0,l=0;for(h=r;h>=0;){n[h]=true;a[a.length]=h;f.push(e[h]);var o=t[Math.floor(h*4/i)];l=h*4&s;if(i<4+l)throw new Error("FAT boundary crossed: "+h+" 4 "+i);if(!e[o])break;h=__readInt32LE(e[o],l)}return{nodes:a,data:__toBuffer([f])}}function p(e,r,t,i){var n=e.length,a=[];var f=[],s=[],h=[];var l=i-1,o=0,u=0,c=0,v=0;for(o=0;o<n;++o){s=[];c=o+r;if(c>=n)c-=n;if(f[c])continue;h=[];var _=[];for(u=c;u>=0;){_[u]=true;f[u]=true;s[s.length]=u;h.push(e[u]);var d=t[Math.floor(u*4/i)];v=u*4&l;if(i<4+v)throw new Error("FAT boundary crossed: "+u+" 4 "+i);if(!e[d])break;u=__readInt32LE(e[d],v);if(_[u])break}a[c]={nodes:s,data:__toBuffer([h])}}return a}function g(e,r,t,i,n,a,f,s){var h=0,l=i.length?2:0;var o=r[e].data;var u=0,c=0,v;for(;u<o.length;u+=128){var d=o.slice(u,u+128);prep_blob(d,64);c=d.read_shift(2);v=__utf16le(d,0,c-l);i.push(v);var p={name:v,type:d.read_shift(1),color:d.read_shift(1),L:d.read_shift(4,"i"),R:d.read_shift(4,"i"),C:d.read_shift(4,"i"),clsid:d.read_shift(16),state:d.read_shift(4,"i"),start:0,size:0};var g=d.read_shift(2)+d.read_shift(2)+d.read_shift(2)+d.read_shift(2);if(g!==0)p.ct=b(d,d.l-8);var F=d.read_shift(2)+d.read_shift(2)+d.read_shift(2)+d.read_shift(2);if(F!==0)p.mt=b(d,d.l-8);p.start=d.read_shift(4,"i");p.size=d.read_shift(4,"i");if(p.size<0&&p.start<0){p.size=p.type=0;p.start=B;p.name=""}if(p.type===5){h=p.start;if(n>0&&h!==B)r[h].name="!StreamData"}else if(p.size>=4096){p.storage="fat";if(r[p.start]===undefined)r[p.start]=w(t,p.start,r.fat_addrs,r.ssz);r[p.start].name=p.name;p.content=r[p.start].data.slice(0,p.size)}else{p.storage="minifat";if(p.size<0)p.size=0;else if(h!==B&&p.start!==B&&r[h]){p.content=_(p,r[h].data,(r[s]||{}).data)}}if(p.content)prep_blob(p.content,0);a[v]=p;f.push(p)}}function b(e,r){return new Date((__readUInt32LE(e,r+4)/1e7*Math.pow(2,32)+__readUInt32LE(e,r)/1e7-11644473600)*1e3)}function F(e,r){h();return l(s.readFileSync(e),r)}function y(e,r){switch(r&&r.type||"base64"){case"file":return F(e,r);case"base64":return l(s2a(Base64.decode(e)),r);case"binary":return l(s2a(e),r);}return l(e,r)}function m(e,r){var t=r||{},i=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=i+"/";e.FileIndex[0]={name:i,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;x(e)}function x(e){var r="Sh33tJ5";if(CFB.find(e,"/"+r))return;var t=new_buf(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);C(e)}function C(e,n){m(e);var a=false,f=false;for(var s=e.FullPaths.length-1;s>=0;--s){var h=e.FileIndex[s];switch(h.type){case 0:if(f)a=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:f=true;if(isNaN(h.R*h.L*h.C))a=true;if(h.R>-1&&h.L>-1&&h.R==h.L)a=true;break;default:a=true;break;}}if(!a&&!n)return;var l=new Date(1987,1,19),o=0;var u=[];for(s=0;s<e.FullPaths.length;++s){if(e.FileIndex[s].type===0)continue;u.push([e.FullPaths[s],e.FileIndex[s]])}for(s=0;s<u.length;++s){var c=t(u[s][0]);f=false;for(o=0;o<u.length;++o)if(u[o][0]===c)f=true;if(!f)u.push([c,{name:i(c).replace("/",""),type:1,clsid:R,ct:l,mt:l,content:null}])}u.sort(function(e,t){return r(e[0],t[0])});e.FullPaths=[];e.FileIndex=[];for(s=0;s<u.length;++s){e.FullPaths[s]=u[s][0];e.FileIndex[s]=u[s][1]}for(s=0;s<u.length;++s){var v=e.FileIndex[s];var _=e.FullPaths[s];v.name=i(_).replace("/","");v.L=v.R=v.C=-(v.color=1);v.size=v.content?v.content.length:0;v.start=0;v.clsid=v.clsid||R;if(s===0){v.C=u.length>1?1:-1;v.size=0;v.type=5}else if(_.slice(-1)=="/"){for(o=s+1;o<u.length;++o)if(t(e.FullPaths[o])==_)break;v.C=o>=u.length?-1:o;for(o=s+1;o<u.length;++o)if(t(e.FullPaths[o])==t(_))break;v.R=o>=u.length?-1:o;v.type=1}else{if(t(e.FullPaths[s+1]||"")==t(_))v.R=s+1;v.type=2}}}function I(e,r){var t=r||{};if(t.fileType=="mad")return Ae(e,t);C(e);switch(t.fileType){case"zip":return ge(e,t);}var i=function(e){var r=0,t=0;for(var i=0;i<e.FileIndex.length;++i){var n=e.FileIndex[i];if(!n.content)continue;var a=n.content.length;if(a>0){if(a<4096)r+=a+63>>6;else t+=a+511>>9}}var f=e.FullPaths.length+3>>2;var s=r+7>>3;var h=r+127>>7;var l=s+t+f+h;var o=l+127>>7;var u=o<=109?0:Math.ceil((o-109)/127);while(l+o+u+127>>7>o)u=++o<=109?0:Math.ceil((o-109)/127);var c=[1,u,o,h,f,t,r,0];e.FileIndex[0].size=r<<6;c[7]=(e.FileIndex[0].start=c[0]+c[1]+c[2]+c[3]+c[4]+c[5])+(c[6]+7>>3);return c}(e);var n=new_buf(i[7]<<9);var a=0,f=0;{for(a=0;a<8;++a)n.write_shift(1,k[a]);for(a=0;a<8;++a)n.write_shift(2,0);n.write_shift(2,62);n.write_shift(2,3);n.write_shift(2,65534);n.write_shift(2,9);n.write_shift(2,6);for(a=0;a<3;++a)n.write_shift(2,0);n.write_shift(4,0);n.write_shift(4,i[2]);n.write_shift(4,i[0]+i[1]+i[2]+i[3]-1);n.write_shift(4,0);n.write_shift(4,1<<12);n.write_shift(4,i[3]?i[0]+i[1]+i[2]-1:B);n.write_shift(4,i[3]);n.write_shift(-4,i[1]?i[0]-1:B);n.write_shift(4,i[1]);for(a=0;a<109;++a)n.write_shift(-4,a<i[2]?i[1]+a:-1)}if(i[1]){for(f=0;f<i[1];++f){for(;a<236+f*127;++a)n.write_shift(-4,a<i[2]?i[1]+a:-1);n.write_shift(-4,f===i[1]-1?B:f+1)}}var s=function(e){for(f+=e;a<f-1;++a)n.write_shift(-4,a+1);if(e){++a;n.write_shift(-4,B)}};f=a=0;for(f+=i[1];a<f;++a)n.write_shift(-4,L.DIFSECT);for(f+=i[2];a<f;++a)n.write_shift(-4,L.FATSECT);s(i[3]);s(i[4]);var h=0,l=0;var o=e.FileIndex[0];for(;h<e.FileIndex.length;++h){o=e.FileIndex[h];if(!o.content)continue;l=o.content.length;if(l<4096)continue;o.start=f;s(l+511>>9)}s(i[6]+7>>3);while(n.l&511)n.write_shift(-4,L.ENDOFCHAIN);f=a=0;for(h=0;h<e.FileIndex.length;++h){o=e.FileIndex[h];if(!o.content)continue;l=o.content.length;if(!l||l>=4096)continue;o.start=f;s(l+63>>6)}while(n.l&511)n.write_shift(-4,L.ENDOFCHAIN);for(a=0;a<i[4]<<2;++a){var u=e.FullPaths[a];if(!u||u.length===0){for(h=0;h<17;++h)n.write_shift(4,0);for(h=0;h<3;++h)n.write_shift(4,-1);for(h=0;h<12;++h)n.write_shift(4,0);continue}o=e.FileIndex[a];if(a===0)o.start=o.size?o.start-1:B;var c=a===0&&t.root||o.name;l=2*(c.length+1);n.write_shift(64,c,"utf16le");n.write_shift(2,l);n.write_shift(1,o.type);n.write_shift(1,o.color);n.write_shift(-4,o.L);n.write_shift(-4,o.R);n.write_shift(-4,o.C);if(!o.clsid)for(h=0;h<4;++h)n.write_shift(4,0);else n.write_shift(16,o.clsid,"hex");n.write_shift(4,o.state||0);n.write_shift(4,0);n.write_shift(4,0);n.write_shift(4,0);n.write_shift(4,0);n.write_shift(4,o.start);n.write_shift(4,o.size);n.write_shift(4,0)}for(a=1;a<e.FileIndex.length;++a){o=e.FileIndex[a];if(o.size>=4096){n.l=o.start+1<<9;for(h=0;h<o.size;++h)n.write_shift(1,o.content[h]);for(;h&511;++h)n.write_shift(1,0)}}for(a=1;a<e.FileIndex.length;++a){o=e.FileIndex[a];if(o.size>0&&o.size<4096){for(h=0;h<o.size;++h)n.write_shift(1,o.content[h]);for(;h&63;++h)n.write_shift(1,0)}}while(n.l<n.length)n.write_shift(1,0);return n}function A(e,r){var t=e.FullPaths.map(function(e){return e.toUpperCase()});var i=t.map(function(e){var r=e.split("/");return r[r.length-(e.slice(-1)=="/"?2:1)]});var n=false;if(r.charCodeAt(0)===47){n=true;r=t[0].slice(0,-1)+r}else n=r.indexOf("/")!==-1;var a=r.toUpperCase();var f=n===true?t.indexOf(a):i.indexOf(a);if(f!==-1)return e.FileIndex[f];var s=!a.match(chr1);a=a.replace(chr0,"");if(s)a=a.replace(chr1,"!");for(f=0;f<t.length;++f){if((s?t[f].replace(chr1,"!"):t[f]).replace(chr0,"")==a)return e.FileIndex[f];if((s?i[f].replace(chr1,"!"):i[f]).replace(chr0,"")==a)return e.FileIndex[f]}return null}var E=64;var B=-2;var S="d0cf11e0a1b11ae1";var k=[208,207,17,224,161,177,26,225];var R="00000000000000000000000000000000";var L={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:B,FREESECT:-1,HEADER_SIGNATURE:S,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:R,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function P(e,r,t){h();var i=I(e,t);s.writeFileSync(r,i)}function U(e){var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function z(e,r){var t=I(e,r);switch(r&&r.type||"buffer"){case"file":h();s.writeFileSync(r.filename,t);return t;case"binary":return typeof t=="string"?t:U(t);case"base64":return Base64.encode(typeof t=="string"?t:U(t));case"buffer":if(has_buf)return Buffer.isBuffer(t)?t:Buffer_from(t);case"array":return typeof t=="string"?s2a(t):t;}return t}var D;function M(e){try{var r=e.InflateRaw;var t=new r;t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag);if(t.bytesRead)D=e;else throw new Error("zlib does not expose bytesRead")}catch(i){console.error("cannot use native zlib: "+(i.message||i))}}function O(e,r){if(!D)return _e(e,r);var t=D.InflateRaw;var i=new t;var n=i._processChunk(e.slice(e.l),i._finishFlushFlag);e.l+=i.bytesRead;return n}function T(e){return D?D.deflateRawSync(e):te(e)}var N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var j=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258];var H=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function $(e){var r=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(r>>16|r>>8|r)&255}var J=typeof Uint8Array!=="undefined";var q=J?new Uint8Array(1<<8):[];for(var G=0;G<1<<8;++G)q[G]=$(G);function V(e,r){var t=q[e&255];if(r<=8)return t>>>8-r;t=t<<8|q[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|q[e>>16&255];return t>>>24-r}function X(e,r){var t=r&7,i=r>>>3;return(e[i]|(t<=6?0:e[i+1]<<8))>>>t&3}function W(e,r){var t=r&7,i=r>>>3;return(e[i]|(t<=5?0:e[i+1]<<8))>>>t&7}function Y(e,r){var t=r&7,i=r>>>3;return(e[i]|(t<=4?0:e[i+1]<<8))>>>t&15}function Z(e,r){var t=r&7,i=r>>>3;return(e[i]|(t<=3?0:e[i+1]<<8))>>>t&31}function K(e,r){var t=r&7,i=r>>>3;return(e[i]|(t<=1?0:e[i+1]<<8))>>>t&127}function Q(e,r,t){var i=r&7,n=r>>>3,a=(1<<t)-1;var f=e[n]>>>i;if(t<8-i)return f&a;f|=e[n+1]<<8-i;if(t<16-i)return f&a;f|=e[n+2]<<16-i;if(t<24-i)return f&a;f|=e[n+3]<<24-i;return f&a}function ee(e,r){var t=e.length,i=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(has_buf){var a=new_unsafe_buf(i);if(e.copy)e.copy(a);else for(;n<e.length;++n)a[n]=e[n];return a}else if(J){var f=new Uint8Array(i);if(f.set)f.set(e);else for(;n<e.length;++n)f[n]=e[n];return f}e.length=i;return e}function re(e){var r=new Array(e);for(var t=0;t<e;++t)r[t]=0;return r}var te=function(){var e=function(){return function e(r,t){var i=0;while(i<r.length){var n=Math.min(65535,r.length-i);var a=i+n==r.length;t.write_shift(1,+a);t.write_shift(2,n);t.write_shift(2,~n&65535);while(n-- >0)t[t.l++]=r[i++]}return t.l}}();return function(r){var t=new_buf(50+Math.floor(r.length*1.1));var i=e(r,t);return t.slice(0,i)}}();function ie(e,r,t){var i=1,n=0,a=0,f=0,s=0,h=e.length;var l=J?new Uint16Array(32):re(32);for(a=0;a<32;++a)l[a]=0;for(a=h;a<t;++a)e[a]=0;h=e.length;var o=J?new Uint16Array(h):re(h);for(a=0;a<h;++a){l[n=e[a]]++;if(i<n)i=n;o[a]=0}l[0]=0;for(a=1;a<=i;++a)l[a+16]=s=s+l[a-1]<<1;for(a=0;a<h;++a){s=e[a];if(s!=0)o[a]=l[s+16]++}var u=0;for(a=0;a<h;++a){u=e[a];if(u!=0){s=V(o[a],i)>>i-u;for(f=(1<<i+4-u)-1;f>=0;--f)r[s|f<<u]=u&15|a<<4}}return i}var ne=J?new Uint16Array(512):re(512);var ae=J?new Uint16Array(32):re(32);if(!J){for(var fe=0;fe<512;++fe)ne[fe]=0;for(fe=0;fe<32;++fe)ae[fe]=0}(function(){var e=[];var r=0;for(;r<32;r++)e.push(5);ie(e,ae,32);var t=[];r=0;for(;r<=143;r++)t.push(8);for(;r<=255;r++)t.push(9);for(;r<=279;r++)t.push(7);for(;r<=287;r++)t.push(8);ie(t,ne,288)})();var se=J?new Uint16Array(32768):re(32768);var he=J?new Uint16Array(32768):re(32768);var le=J?new Uint16Array(128):re(128);var oe=1,ue=1;function ce(e,r){var t=Z(e,r)+257;r+=5;var i=Z(e,r)+1;r+=5;var n=Y(e,r)+4;r+=4;var a=0;var f=J?new Uint8Array(19):re(19);var s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var h=1;var l=J?new Uint8Array(8):re(8);var o=J?new Uint8Array(8):re(8);var u=f.length;for(var c=0;c<n;++c){f[N[c]]=a=W(e,r);if(h<a)h=a;l[a]++;r+=3}var v=0;l[0]=0;for(c=1;c<=h;++c)o[c]=v=v+l[c-1]<<1;for(c=0;c<u;++c)if((v=f[c])!=0)s[c]=o[v]++;var _=0;for(c=0;c<u;++c){_=f[c];if(_!=0){v=q[s[c]]>>8-_;for(var d=(1<<7-_)-1;d>=0;--d)le[v|d<<_]=_&7|c<<3}}var w=[];h=1;for(;w.length<t+i;){v=le[K(e,r)];r+=v&7;switch(v>>>=3){case 16:a=3+X(e,r);r+=2;v=w[w.length-1];while(a-- >0)w.push(v);break;case 17:a=3+W(e,r);r+=3;while(a-- >0)w.push(0);break;case 18:a=11+K(e,r);r+=7;while(a-- >0)w.push(0);break;default:w.push(v);if(h<v)h=v;break;}}var p=w.slice(0,t),g=w.slice(t);for(c=t;c<286;++c)p[c]=0;for(c=i;c<30;++c)g[c]=0;oe=ie(p,se,286);ue=ie(g,he,30);return r}function ve(e,r){if(e[0]==3&&!(e[1]&3)){return[new_raw_buf(r),2]}var t=0;var i=0;var n=new_unsafe_buf(r?r:1<<18);var a=0;var f=n.length>>>0;var s=0,h=0;while((i&1)==0){i=W(e,t);t+=3;if(i>>>1==0){if(t&7)t+=8-(t&7);var l=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(!r&&f<a+l){n=ee(n,a+l);f=n.length}if(typeof e.copy==="function"){e.copy(n,a,t>>>3,(t>>>3)+l);a+=l;t+=8*l}else while(l-- >0){n[a++]=e[t>>>3];t+=8}continue}else if(i>>>1==1){s=9;h=5}else{t=ce(e,t);s=oe;h=ue}if(!r&&f<a+32767){n=ee(n,a+32767);f=n.length}for(;;){var o=Q(e,t,s);var u=i>>>1==1?ne[o]:se[o];t+=u&15;u>>>=4;if((u>>>8&255)===0)n[a++]=u;else if(u==256)break;else{u-=257;var c=u<8?0:u-4>>2;if(c>5)c=0;var v=a+j[u];if(c>0){v+=Q(e,t,c);t+=c}o=Q(e,t,h);u=i>>>1==1?ae[o]:he[o];t+=u&15;u>>>=4;var _=u<4?0:u-2>>1;var d=H[u];if(_>0){d+=Q(e,t,_);t+=_}if(!r&&f<v){n=ee(n,v);f=n.length}while(a<v){n[a]=n[a-d];++a}}}}return[r?n:n.slice(0,a),t+7>>>3]}function _e(e,r){var t=e.slice(e.l||0);var i=ve(t,r);e.l+=i[1];return i[0]}function de(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function we(e,r){var t=e;prep_blob(t,0);var i=[],n=[];var a={FileIndex:i,FullPaths:n};m(a,{root:r.root});var s=t.length-4;while((t[s]!=80||t[s+1]!=75||t[s+2]!=5||t[s+3]!=6)&&s>=0)--s;t.l=s+4;t.l+=4;var h=t.read_shift(2);t.l+=6;var l=t.read_shift(4);t.l=l;for(s=0;s<h;++s){t.l+=20;var o=t.read_shift(4);var u=t.read_shift(4);var c=t.read_shift(2);var v=t.read_shift(2);var _=t.read_shift(2);t.l+=8;var d=t.read_shift(4);var w=f(t.slice(t.l+c,t.l+c+v));t.l+=c+v+_;var p=t.l;t.l=d+4;pe(t,o,u,a,w);t.l=p}return a}function pe(e,r,t,i,n){e.l+=2;var s=e.read_shift(2);var h=e.read_shift(2);var l=a(e);if(s&8257)throw new Error("Unsupported ZIP encryption");var o=e.read_shift(4);var u=e.read_shift(4);var c=e.read_shift(4);var v=e.read_shift(2);var _=e.read_shift(2);var d="";for(var w=0;w<v;++w)d+=String.fromCharCode(e[e.l++]);if(_){var p=f(e.slice(e.l,e.l+_));if((p[21589]||{}).mt)l=p[21589].mt;if(((n||{})[21589]||{}).mt)l=n[21589].mt}e.l+=_;var g=e.slice(e.l,e.l+u);switch(h){case 8:g=O(e,c);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+h);}var b=false;if(s&8){o=e.read_shift(4);if(o==134695760){o=e.read_shift(4);b=true}u=e.read_shift(4);c=e.read_shift(4)}if(u!=r)de(b,"Bad compressed size: "+r+" != "+u);if(c!=t)de(b,"Bad uncompressed size: "+t+" != "+c);var F=CRC32.buf(g,0);if(o>>0!=F>>0)de(b,"Bad CRC32 checksum: "+o+" != "+F);Be(i,d,g,{unsafe:true,mt:l})}function ge(e,r){var t=r||{};var i=[],a=[];var f=new_buf(1);var s=t.compression?8:0,h=0;var l=false;if(l)h|=8;var o=0,u=0;var c=0,v=0;var _=e.FullPaths[0],d=_,w=e.FileIndex[0];var p=[];var g=0;for(o=1;o<e.FullPaths.length;++o){d=e.FullPaths[o].slice(_.length);w=e.FileIndex[o];if(!w.size||!w.content||d=="Sh33tJ5")continue;var b=c;var F=new_buf(d.length);for(u=0;u<d.length;++u)F.write_shift(1,d.charCodeAt(u)&127);F=F.slice(0,F.l);p[v]=CRC32.buf(w.content,0);var y=w.content;if(s==8)y=T(y);f=new_buf(30);f.write_shift(4,67324752);f.write_shift(2,20);f.write_shift(2,h);f.write_shift(2,s);if(w.mt)n(f,w.mt);else f.write_shift(4,0);f.write_shift(-4,h&8?0:p[v]);f.write_shift(4,h&8?0:y.length);f.write_shift(4,h&8?0:w.content.length);f.write_shift(2,F.length);f.write_shift(2,0);c+=f.length;i.push(f);c+=F.length;i.push(F);c+=y.length;i.push(y);if(h&8){f=new_buf(12);f.write_shift(-4,p[v]);f.write_shift(4,y.length);f.write_shift(4,w.content.length);c+=f.l;i.push(f)}f=new_buf(46);f.write_shift(4,33639248);f.write_shift(2,0);f.write_shift(2,20);f.write_shift(2,h);f.write_shift(2,s);f.write_shift(4,0);f.write_shift(-4,p[v]);f.write_shift(4,y.length);f.write_shift(4,w.content.length);f.write_shift(2,F.length);f.write_shift(2,0);f.write_shift(2,0);f.write_shift(2,0);f.write_shift(2,0);f.write_shift(4,0);f.write_shift(4,b);g+=f.l;a.push(f);g+=F.length;a.push(F);++v}f=new_buf(22);f.write_shift(4,101010256);f.write_shift(2,0);f.write_shift(2,0);f.write_shift(2,v);f.write_shift(2,v);f.write_shift(4,g);f.write_shift(4,c);f.write_shift(2,0);return bconcat([bconcat(i),bconcat(a),f])}var be={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Fe(e,r){if(e.ctype)return e.ctype;var t=e.name||"",i=t.match(/\.([^\.]+)$/);if(i&&be[i[1]])return be[i[1]];if(r){i=(t=r).match(/[\.\\]([^\.\\])+$/);if(i&&be[i[1]])return be[i[1]]}return"application/octet-stream"}function ye(e){var r=Base64.encode(e);var t=[];for(var i=0;i<r.length;i+=76)t.push(r.slice(i,i+76));return t.join("\r\n")+"\r\n"}function me(e){var r=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(e){var r=e.charCodeAt(0).toString(16).toUpperCase();return"="+(r.length==1?"0"+r:r)});r=r.replace(/ $/gm,"=20").replace(/\t$/gm,"=09");if(r.charAt(0)=="\n")r="=0D"+r.slice(1);r=r.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A");var t=[],i=r.split("\r\n");for(var n=0;n<i.length;++n){var a=i[n];if(a.length==0){t.push("");continue}for(var f=0;f<a.length;){var s=76;var h=a.slice(f,f+s);if(h.charAt(s-1)=="=")s--;else if(h.charAt(s-2)=="=")s-=2;else if(h.charAt(s-3)=="=")s-=3;h=a.slice(f,f+s);f+=s;if(f<a.length)h+="=";t.push(h)}}return t.join("\r\n")}function xe(e){var r=[];for(var t=0;t<e.length;++t){var i=e[t];while(t<=e.length&&i.charAt(i.length-1)=="=")i=i.slice(0,i.length-1)+e[++t];r.push(i)}for(var n=0;n<r.length;++n)r[n]=r[n].replace(/=[0-9A-Fa-f]{2}/g,function(e){return String.fromCharCode(parseInt(e.slice(1),16))});return s2a(r.join("\r\n"))}function Ce(e,r,t){var i="",n="",a="",f;var s=0;for(;s<10;++s){var h=r[s];if(!h||h.match(/^\s*$/))break;var l=h.match(/^(.*?):\s*([^\s].*)$/);if(l)switch(l[1].toLowerCase()){case"content-location":i=l[2].trim();break;case"content-type":a=l[2].trim();break;case"content-transfer-encoding":n=l[2].trim();break;}}++s;switch(n.toLowerCase()){case"base64":f=s2a(Base64.decode(r.slice(s).join("")));break;case"quoted-printable":f=xe(r.slice(s));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+n);}var o=Be(e,i.slice(t.length),f,{unsafe:true});if(a)o.ctype=a}function Ie(e,r){if(U(e.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var t=r&&r.root||"";var i=(has_buf&&Buffer.isBuffer(e)?e.toString("binary"):U(e)).split("\r\n");var n=0,a="";for(n=0;n<i.length;++n){a=i[n];if(!/^Content-Location:/i.test(a))continue;a=a.slice(a.indexOf("file"));if(!t)t=a.slice(0,a.lastIndexOf("/")+1);if(a.slice(0,t.length)==t)continue;while(t.length>0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(a.slice(0,t.length)==t)break}}var f=(i[1]||"").match(/boundary="(.*?)"/);if(!f)throw new Error("MAD cannot find boundary");var s="--"+(f[1]||"");var h=[],l=[];var o={FileIndex:h,FullPaths:l};m(o);var u,c=0;for(n=0;n<i.length;++n){var v=i[n];if(v!==s&&v!==s+"--")continue;if(c++)Ce(o,i.slice(u,n),t);u=n}return o}function Ae(e,r){var t=r||{};var i=t.boundary||"SheetJS";i="------="+i;var n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+i.slice(2)+'"',"","",""];var a=e.FullPaths[0],f=a,s=e.FileIndex[0];for(var h=1;h<e.FullPaths.length;++h){f=e.FullPaths[h].slice(a.length);s=e.FileIndex[h];if(!s.size||!s.content||f=="Sh33tJ5")continue;f=f.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"});var l=s.content;var o=has_buf&&Buffer.isBuffer(l)?l.toString("binary"):U(l);var u=0,c=Math.min(1024,o.length),v=0;for(var _=0;_<=c;++_)if((v=o.charCodeAt(_))>=32&&v<128)++u;var d=u>=c*4/5;n.push(i);n.push("Content-Location: "+(t.root||"file:///C:/SheetJS/")+f);n.push("Content-Transfer-Encoding: "+(d?"quoted-printable":"base64"));n.push("Content-Type: "+Fe(s,f));n.push("");n.push(d?me(o):ye(o))}n.push(i+"--\r\n");return n.join("\r\n")}function Ee(e){var r={};m(r,e);return r}function Be(e,r,t,n){var a=n&&n.unsafe;if(!a)m(e);var f=!a&&CFB.find(e,r);if(!f){var s=e.FullPaths[0];if(r.slice(0,s.length)==s)s=r;else{if(s.slice(-1)!="/")s+="/";s=(s+r).replace("//","/")}f={name:i(r),type:2};e.FileIndex.push(f);e.FullPaths.push(s);if(!a)CFB.utils.cfb_gc(e)}f.content=t;f.size=t?t.length:0;if(n){if(n.CLSID)f.clsid=n.CLSID;if(n.mt)f.mt=n.mt;if(n.ct)f.ct=n.ct}return f}function Se(e,r){m(e);var t=CFB.find(e,r);if(t)for(var i=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==t){e.FileIndex.splice(i,1);e.FullPaths.splice(i,1);return true}return false}function ke(e,r,t){m(e);var n=CFB.find(e,r);if(n)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==n){e.FileIndex[a].name=i(t);e.FullPaths[a]=t;return true}return false}function Re(e){C(e,true)}e.find=A;e.read=y;e.parse=l;e.write=z;e.writeFile=P;e.utils={cfb_new:Ee,cfb_add:Be,cfb_del:Se,cfb_mov:ke,cfb_gc:Re,ReadShift:ReadShift,CheckField:CheckField,prep_blob:prep_blob,bconcat:bconcat,use_zlib:M,_deflateRaw:te,_inflateRaw:_e,consts:L};return e}();if(typeof require!=="undefined"&&typeof module!=="undefined"&&typeof DO_NOT_EXPORT_CFB==="undefined"){
|
|
3
|
+
module.exports=CFB}
|