@highstate/designer 0.4.5 → 0.5.0
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{B_hR0Ok_.js → CDvc066L.js} +1 -1
- package/.output/public/_nuxt/{BA0u-n1q.js → D0Jq3pX9.js} +81 -81
- package/.output/public/_nuxt/{DE7L338O.js → DOPM99N_.js} +1 -1
- package/.output/public/_nuxt/{Cj8SV8PB.js → Dx2bEYXH.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/cb8636dd-e396-496a-9bd3-892327ee4ea5.json +1 -0
- package/.output/public/_nuxt/entry.VNeMltv3.css +5 -0
- package/.output/server/index.mjs +137 -3642
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/package.json +1 -1
- package/package.json +14 -12
- package/.output/public/_nuxt/builds/meta/befe985c-c66f-4500-9488-46464c80fbfc.json +0 -1
- package/.output/public/_nuxt/entry.7p8V-3Ph.css +0 -5
- package/.output/server/node_modules/.nitro/get-stream@5.2.0/buffer-stream.js +0 -52
- package/.output/server/node_modules/.nitro/get-stream@5.2.0/index.js +0 -60
- package/.output/server/node_modules/.nitro/get-stream@5.2.0/package.json +0 -50
- package/.output/server/node_modules/.nitro/get-stream@6.0.1/buffer-stream.js +0 -52
- package/.output/server/node_modules/.nitro/get-stream@6.0.1/index.js +0 -61
- package/.output/server/node_modules/.nitro/get-stream@6.0.1/package.json +0 -47
- package/.output/server/node_modules/.nitro/mimic-response@1.0.1/index.js +0 -32
- package/.output/server/node_modules/.nitro/mimic-response@1.0.1/package.json +0 -37
- package/.output/server/node_modules/.nitro/mimic-response@3.1.0/index.js +0 -77
- package/.output/server/node_modules/.nitro/mimic-response@3.1.0/package.json +0 -42
- package/.output/server/node_modules/.nitro/pathe@1.1.2/dist/index.mjs +0 -1
- package/.output/server/node_modules/.nitro/pathe@1.1.2/dist/shared/pathe.ff20891b.mjs +0 -221
- package/.output/server/node_modules/.nitro/pathe@1.1.2/package.json +0 -48
- package/.output/server/node_modules/.nitro/pathe@2.0.3/dist/index.mjs +0 -19
- package/.output/server/node_modules/.nitro/pathe@2.0.3/dist/shared/pathe.M-eThtNZ.mjs +0 -249
- package/.output/server/node_modules/.nitro/pathe@2.0.3/package.json +0 -61
- package/.output/server/node_modules/@grpc/grpc-js/build/src/admin.js +0 -30
- package/.output/server/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js +0 -174
- package/.output/server/node_modules/@grpc/grpc-js/build/src/call-credentials.js +0 -153
- package/.output/server/node_modules/@grpc/grpc-js/build/src/call-interface.js +0 -84
- package/.output/server/node_modules/@grpc/grpc-js/build/src/call-number.js +0 -24
- package/.output/server/node_modules/@grpc/grpc-js/build/src/call.js +0 -136
- package/.output/server/node_modules/@grpc/grpc-js/build/src/certificate-provider.js +0 -134
- package/.output/server/node_modules/@grpc/grpc-js/build/src/channel-credentials.js +0 -272
- package/.output/server/node_modules/@grpc/grpc-js/build/src/channel-options.js +0 -71
- package/.output/server/node_modules/@grpc/grpc-js/build/src/channel.js +0 -68
- package/.output/server/node_modules/@grpc/grpc-js/build/src/channelz.js +0 -584
- package/.output/server/node_modules/@grpc/grpc-js/build/src/client-interceptors.js +0 -428
- package/.output/server/node_modules/@grpc/grpc-js/build/src/client.js +0 -433
- package/.output/server/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js +0 -26
- package/.output/server/node_modules/@grpc/grpc-js/build/src/compression-filter.js +0 -295
- package/.output/server/node_modules/@grpc/grpc-js/build/src/connectivity-state.js +0 -28
- package/.output/server/node_modules/@grpc/grpc-js/build/src/constants.js +0 -64
- package/.output/server/node_modules/@grpc/grpc-js/build/src/control-plane-status.js +0 -42
- package/.output/server/node_modules/@grpc/grpc-js/build/src/deadline.js +0 -108
- package/.output/server/node_modules/@grpc/grpc-js/build/src/duration.js +0 -46
- package/.output/server/node_modules/@grpc/grpc-js/build/src/environment.js +0 -22
- package/.output/server/node_modules/@grpc/grpc-js/build/src/error.js +0 -40
- package/.output/server/node_modules/@grpc/grpc-js/build/src/experimental.js +0 -52
- package/.output/server/node_modules/@grpc/grpc-js/build/src/filter-stack.js +0 -82
- package/.output/server/node_modules/@grpc/grpc-js/build/src/filter.js +0 -38
- package/.output/server/node_modules/@grpc/grpc-js/build/src/http_proxy.js +0 -265
- package/.output/server/node_modules/@grpc/grpc-js/build/src/index.js +0 -144
- package/.output/server/node_modules/@grpc/grpc-js/build/src/internal-channel.js +0 -602
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js +0 -153
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js +0 -567
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js +0 -482
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js +0 -182
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer.js +0 -116
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js +0 -294
- package/.output/server/node_modules/@grpc/grpc-js/build/src/logging.js +0 -122
- package/.output/server/node_modules/@grpc/grpc-js/build/src/make-client.js +0 -143
- package/.output/server/node_modules/@grpc/grpc-js/build/src/metadata.js +0 -249
- package/.output/server/node_modules/@grpc/grpc-js/build/src/picker.js +0 -86
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-dns.js +0 -349
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-ip.js +0 -104
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-uds.js +0 -50
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver.js +0 -87
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolving-call.js +0 -305
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js +0 -309
- package/.output/server/node_modules/@grpc/grpc-js/build/src/retrying-call.js +0 -665
- package/.output/server/node_modules/@grpc/grpc-js/build/src/server-call.js +0 -202
- package/.output/server/node_modules/@grpc/grpc-js/build/src/server-credentials.js +0 -305
- package/.output/server/node_modules/@grpc/grpc-js/build/src/server-interceptors.js +0 -770
- package/.output/server/node_modules/@grpc/grpc-js/build/src/server.js +0 -1569
- package/.output/server/node_modules/@grpc/grpc-js/build/src/service-config.js +0 -430
- package/.output/server/node_modules/@grpc/grpc-js/build/src/status-builder.js +0 -68
- package/.output/server/node_modules/@grpc/grpc-js/build/src/stream-decoder.js +0 -100
- package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-address.js +0 -202
- package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-call.js +0 -542
- package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js +0 -92
- package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js +0 -137
- package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel.js +0 -371
- package/.output/server/node_modules/@grpc/grpc-js/build/src/tls-helpers.js +0 -34
- package/.output/server/node_modules/@grpc/grpc-js/build/src/transport.js +0 -662
- package/.output/server/node_modules/@grpc/grpc-js/build/src/uri-parser.js +0 -125
- package/.output/server/node_modules/@grpc/grpc-js/package.json +0 -87
- package/.output/server/node_modules/@grpc/grpc-js/proto/channelz.proto +0 -564
- package/.output/server/node_modules/@grpc/proto-loader/build/src/index.js +0 -244
- package/.output/server/node_modules/@grpc/proto-loader/build/src/util.js +0 -89
- package/.output/server/node_modules/@grpc/proto-loader/package.json +0 -69
- package/.output/server/node_modules/@js-sdsl/ordered-map/dist/cjs/index.js +0 -795
- package/.output/server/node_modules/@js-sdsl/ordered-map/package.json +0 -138
- package/.output/server/node_modules/@logdna/tail-file/index.js +0 -3
- package/.output/server/node_modules/@logdna/tail-file/lib/tail-file.js +0 -326
- package/.output/server/node_modules/@logdna/tail-file/package.json +0 -162
- package/.output/server/node_modules/@protobufjs/aspromise/index.js +0 -52
- package/.output/server/node_modules/@protobufjs/aspromise/package.json +0 -21
- package/.output/server/node_modules/@protobufjs/base64/index.js +0 -139
- package/.output/server/node_modules/@protobufjs/base64/package.json +0 -21
- package/.output/server/node_modules/@protobufjs/codegen/index.js +0 -99
- package/.output/server/node_modules/@protobufjs/codegen/package.json +0 -13
- package/.output/server/node_modules/@protobufjs/eventemitter/index.js +0 -76
- package/.output/server/node_modules/@protobufjs/eventemitter/package.json +0 -21
- package/.output/server/node_modules/@protobufjs/fetch/index.js +0 -115
- package/.output/server/node_modules/@protobufjs/fetch/package.json +0 -25
- package/.output/server/node_modules/@protobufjs/float/index.js +0 -335
- package/.output/server/node_modules/@protobufjs/float/package.json +0 -26
- package/.output/server/node_modules/@protobufjs/inquire/index.js +0 -17
- package/.output/server/node_modules/@protobufjs/inquire/package.json +0 -21
- package/.output/server/node_modules/@protobufjs/path/index.js +0 -65
- package/.output/server/node_modules/@protobufjs/path/package.json +0 -21
- package/.output/server/node_modules/@protobufjs/pool/index.js +0 -48
- package/.output/server/node_modules/@protobufjs/pool/package.json +0 -21
- package/.output/server/node_modules/@protobufjs/utf8/index.js +0 -105
- package/.output/server/node_modules/@protobufjs/utf8/package.json +0 -21
- package/.output/server/node_modules/@pulumi/pulumi/asset/archive.js +0 -84
- package/.output/server/node_modules/@pulumi/pulumi/asset/asset.js +0 -84
- package/.output/server/node_modules/@pulumi/pulumi/asset/index.js +0 -21
- package/.output/server/node_modules/@pulumi/pulumi/automation/cmd.js +0 -270
- package/.output/server/node_modules/@pulumi/pulumi/automation/errors.js +0 -84
- package/.output/server/node_modules/@pulumi/pulumi/automation/events.js +0 -47
- package/.output/server/node_modules/@pulumi/pulumi/automation/index.js +0 -27
- package/.output/server/node_modules/@pulumi/pulumi/automation/localWorkspace.js +0 -1049
- package/.output/server/node_modules/@pulumi/pulumi/automation/minimumVersion.js +0 -28
- package/.output/server/node_modules/@pulumi/pulumi/automation/remoteStack.js +0 -130
- package/.output/server/node_modules/@pulumi/pulumi/automation/remoteWorkspace.js +0 -131
- package/.output/server/node_modules/@pulumi/pulumi/automation/server.js +0 -170
- package/.output/server/node_modules/@pulumi/pulumi/automation/stack.js +0 -995
- package/.output/server/node_modules/@pulumi/pulumi/automation/stackSettings.js +0 -24
- package/.output/server/node_modules/@pulumi/pulumi/errors.js +0 -126
- package/.output/server/node_modules/@pulumi/pulumi/log/index.js +0 -132
- package/.output/server/node_modules/@pulumi/pulumi/metadata.js +0 -46
- package/.output/server/node_modules/@pulumi/pulumi/output.js +0 -701
- package/.output/server/node_modules/@pulumi/pulumi/package.json +0 -95
- package/.output/server/node_modules/@pulumi/pulumi/proto/alias_pb.js +0 -631
- package/.output/server/node_modules/@pulumi/pulumi/proto/callback_grpc_pb.js +0 -61
- package/.output/server/node_modules/@pulumi/pulumi/proto/callback_pb.js +0 -582
- package/.output/server/node_modules/@pulumi/pulumi/proto/codegen/hcl_pb.js +0 -808
- package/.output/server/node_modules/@pulumi/pulumi/proto/engine_grpc_pb.js +0 -158
- package/.output/server/node_modules/@pulumi/pulumi/proto/engine_pb.js +0 -1058
- package/.output/server/node_modules/@pulumi/pulumi/proto/language_grpc_pb.js +0 -551
- package/.output/server/node_modules/@pulumi/pulumi/proto/language_pb.js +0 -7222
- package/.output/server/node_modules/@pulumi/pulumi/proto/plugin_pb.js +0 -1159
- package/.output/server/node_modules/@pulumi/pulumi/proto/provider_pb.js +0 -11300
- package/.output/server/node_modules/@pulumi/pulumi/proto/resource_grpc_pb.js +0 -312
- package/.output/server/node_modules/@pulumi/pulumi/proto/resource_pb.js +0 -7447
- package/.output/server/node_modules/@pulumi/pulumi/proto/source_pb.js +0 -230
- package/.output/server/node_modules/@pulumi/pulumi/resource.js +0 -774
- package/.output/server/node_modules/@pulumi/pulumi/runtime/asyncIterableUtil.js +0 -103
- package/.output/server/node_modules/@pulumi/pulumi/runtime/callbacks.js +0 -456
- package/.output/server/node_modules/@pulumi/pulumi/runtime/config.js +0 -129
- package/.output/server/node_modules/@pulumi/pulumi/runtime/debuggable.js +0 -137
- package/.output/server/node_modules/@pulumi/pulumi/runtime/dependsOn.js +0 -157
- package/.output/server/node_modules/@pulumi/pulumi/runtime/invoke.js +0 -533
- package/.output/server/node_modules/@pulumi/pulumi/runtime/resource.js +0 -850
- package/.output/server/node_modules/@pulumi/pulumi/runtime/rpc.js +0 -858
- package/.output/server/node_modules/@pulumi/pulumi/runtime/settings.js +0 -551
- package/.output/server/node_modules/@pulumi/pulumi/runtime/stack.js +0 -276
- package/.output/server/node_modules/@pulumi/pulumi/runtime/state.js +0 -187
- package/.output/server/node_modules/@pulumi/pulumi/utils.js +0 -89
- package/.output/server/node_modules/@pulumi/pulumi/version.js +0 -17
- package/.output/server/node_modules/@pulumi/query/asyncQueryable.js +0 -279
- package/.output/server/node_modules/@pulumi/query/base.js +0 -34
- package/.output/server/node_modules/@pulumi/query/index.js +0 -87
- package/.output/server/node_modules/@pulumi/query/interfaces.js +0 -24
- package/.output/server/node_modules/@pulumi/query/operators.js +0 -1269
- package/.output/server/node_modules/@pulumi/query/package.json +0 -22
- package/.output/server/node_modules/@pulumi/query/sources.js +0 -81
- package/.output/server/node_modules/@pulumi/query/util.js +0 -23
- package/.output/server/node_modules/@sinclair/typebox/build/esm/index.mjs +0 -80
- package/.output/server/node_modules/@sinclair/typebox/build/esm/system/policy.mjs +0 -54
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/any/any.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/any/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/argument/argument.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/argument/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/array/array.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/array/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs +0 -37
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/awaited/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/bigint/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/boolean/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/index.mjs +0 -2
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs +0 -9
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs +0 -36
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs +0 -42
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/composite/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/computed/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/const/const.mjs +0 -54
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/const/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs +0 -7
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs +0 -33
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/type.mjs +0 -15
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/date/date.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/date/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs +0 -8
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/discard/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs +0 -18
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/enum/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/error/error.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/error/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs +0 -18
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs +0 -5
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs +0 -25
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/index.mjs +0 -3
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs +0 -635
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs +0 -25
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs +0 -19
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.mjs +0 -20
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs +0 -23
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/index.mjs +0 -5
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs +0 -18
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs +0 -5
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs +0 -25
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/index.mjs +0 -3
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/function/function.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/function/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/index.mjs +0 -3
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs +0 -235
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs +0 -509
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs +0 -70
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.mjs +0 -4
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/helpers/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/index.mjs +0 -4
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs +0 -22
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs +0 -20
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs +0 -32
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs +0 -91
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs +0 -7
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/instantiate/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.mjs +0 -115
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/integer/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/index.mjs +0 -3
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs +0 -19
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs +0 -38
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs +0 -17
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs +0 -5
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs +0 -26
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs +0 -64
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs +0 -5
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs +0 -5
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs +0 -5
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/iterator/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/index.mjs +0 -4
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs +0 -19
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.mjs +0 -12
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs +0 -73
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs +0 -35
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/literal/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs +0 -10
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/index.mjs +0 -3
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.mjs +0 -9
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs +0 -9
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs +0 -102
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs +0 -166
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/module.mjs +0 -32
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/never/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/never/never.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/not/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/not/not.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/null/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/null/null.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/number/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/number/number.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/object/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/object/object.mjs +0 -22
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/index.mjs +0 -3
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs +0 -22
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs +0 -19
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs +0 -71
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/index.mjs +0 -2
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs +0 -18
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs +0 -22
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/parameters/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs +0 -7
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/index.mjs +0 -2
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs +0 -19
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs +0 -74
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/patterns/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs +0 -8
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/index.mjs +0 -3
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs +0 -24
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs +0 -19
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs +0 -66
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/promise/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/index.mjs +0 -2
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs +0 -18
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs +0 -22
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/record/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/record/record.mjs +0 -116
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/recursive/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs +0 -15
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/ref/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs +0 -10
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/regexp/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs +0 -8
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/format.mjs +0 -26
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/index.mjs +0 -2
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/type.mjs +0 -26
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/index.mjs +0 -2
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs +0 -18
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/required.mjs +0 -73
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/rest/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs +0 -15
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/return-type/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs +0 -7
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/index.mjs +0 -2
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/schema.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/sets/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs +0 -48
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/static/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/static/static.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/string/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/string/string.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbol/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbols/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs +0 -10
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs +0 -49
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs +0 -53
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.mjs +0 -7
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs +0 -167
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs +0 -33
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs +0 -55
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs +0 -13
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs +0 -9
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/transform/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs +0 -40
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/tuple/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs +0 -9
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/index.mjs +0 -13
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/javascript.mjs +0 -99
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/json.mjs +0 -221
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/type.mjs +0 -62
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/undefined/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/index.mjs +0 -3
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs +0 -5
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs +0 -36
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-type.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union.mjs +0 -10
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unknown/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/void/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/void/void.mjs +0 -6
- package/.output/server/node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs +0 -158
- package/.output/server/node_modules/@sinclair/typebox/build/esm/value/guard/index.mjs +0 -1
- package/.output/server/node_modules/@sinclair/typebox/package.json +0 -116
- package/.output/server/node_modules/@sindresorhus/is/dist/index.js +0 -434
- package/.output/server/node_modules/@sindresorhus/is/package.json +0 -96
- package/.output/server/node_modules/@szmarczak/http-timer/dist/source/index.js +0 -126
- package/.output/server/node_modules/@szmarczak/http-timer/package.json +0 -72
- package/.output/server/node_modules/abstract-level/abstract-chained-batch.js +0 -420
- package/.output/server/node_modules/abstract-level/abstract-iterator.js +0 -397
- package/.output/server/node_modules/abstract-level/abstract-level.js +0 -935
- package/.output/server/node_modules/abstract-level/index.js +0 -8
- package/.output/server/node_modules/abstract-level/lib/abstract-sublevel-iterator.js +0 -122
- package/.output/server/node_modules/abstract-level/lib/abstract-sublevel.js +0 -269
- package/.output/server/node_modules/abstract-level/lib/common.js +0 -33
- package/.output/server/node_modules/abstract-level/lib/default-chained-batch.js +0 -29
- package/.output/server/node_modules/abstract-level/lib/default-kv-iterator.js +0 -74
- package/.output/server/node_modules/abstract-level/lib/deferred-iterator.js +0 -110
- package/.output/server/node_modules/abstract-level/lib/deferred-queue.js +0 -86
- package/.output/server/node_modules/abstract-level/lib/errors.js +0 -21
- package/.output/server/node_modules/abstract-level/lib/event-monitor.js +0 -41
- package/.output/server/node_modules/abstract-level/lib/hooks.js +0 -79
- package/.output/server/node_modules/abstract-level/lib/prefixes.js +0 -21
- package/.output/server/node_modules/abstract-level/lib/prewrite-batch.js +0 -100
- package/.output/server/node_modules/abstract-level/lib/range-options.js +0 -26
- package/.output/server/node_modules/abstract-level/package.json +0 -62
- package/.output/server/node_modules/acorn/dist/acorn.mjs +0 -6145
- package/.output/server/node_modules/acorn/package.json +0 -50
- package/.output/server/node_modules/ajv/dist/ajv.js +0 -50
- package/.output/server/node_modules/ajv/dist/compile/codegen/code.js +0 -156
- package/.output/server/node_modules/ajv/dist/compile/codegen/index.js +0 -697
- package/.output/server/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
- package/.output/server/node_modules/ajv/dist/compile/errors.js +0 -123
- package/.output/server/node_modules/ajv/dist/compile/index.js +0 -242
- package/.output/server/node_modules/ajv/dist/compile/names.js +0 -28
- package/.output/server/node_modules/ajv/dist/compile/ref_error.js +0 -12
- package/.output/server/node_modules/ajv/dist/compile/resolve.js +0 -155
- package/.output/server/node_modules/ajv/dist/compile/rules.js +0 -26
- package/.output/server/node_modules/ajv/dist/compile/util.js +0 -178
- package/.output/server/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
- package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
- package/.output/server/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
- package/.output/server/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
- package/.output/server/node_modules/ajv/dist/compile/validate/index.js +0 -520
- package/.output/server/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
- package/.output/server/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
- package/.output/server/node_modules/ajv/dist/core.js +0 -618
- package/.output/server/node_modules/ajv/dist/refs/data.json +0 -13
- package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
- package/.output/server/node_modules/ajv/dist/runtime/equal.js +0 -7
- package/.output/server/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
- package/.output/server/node_modules/ajv/dist/runtime/uri.js +0 -6
- package/.output/server/node_modules/ajv/dist/runtime/validation_error.js +0 -11
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
- package/.output/server/node_modules/ajv/dist/vocabularies/code.js +0 -131
- package/.output/server/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
- package/.output/server/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
- package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
- package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
- package/.output/server/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
- package/.output/server/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
- package/.output/server/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -24
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/.output/server/node_modules/ajv/package.json +0 -126
- package/.output/server/node_modules/atomic-sleep/index.js +0 -38
- package/.output/server/node_modules/atomic-sleep/package.json +0 -37
- package/.output/server/node_modules/better-lock/dist/better_lock.js +0 -377
- package/.output/server/node_modules/better-lock/dist/errors.js +0 -136
- package/.output/server/node_modules/better-lock/dist/index.js +0 -28
- package/.output/server/node_modules/better-lock/dist/internals.js +0 -75
- package/.output/server/node_modules/better-lock/dist/tools.js +0 -109
- package/.output/server/node_modules/better-lock/package.json +0 -60
- package/.output/server/node_modules/cacheable-lookup/package.json +0 -45
- package/.output/server/node_modules/cacheable-lookup/source/index.js +0 -436
- package/.output/server/node_modules/cacheable-request/package.json +0 -56
- package/.output/server/node_modules/cacheable-request/src/index.js +0 -251
- package/.output/server/node_modules/classic-level/binding.js +0 -1
- package/.output/server/node_modules/classic-level/chained-batch.js +0 -35
- package/.output/server/node_modules/classic-level/index.js +0 -177
- package/.output/server/node_modules/classic-level/iterator.js +0 -121
- package/.output/server/node_modules/classic-level/package.json +0 -71
- package/.output/server/node_modules/classic-level/prebuilds/linux-x64/classic-level.node +0 -0
- package/.output/server/node_modules/clone-response/package.json +0 -41
- package/.output/server/node_modules/clone-response/src/index.js +0 -17
- package/.output/server/node_modules/confbox/dist/index.mjs +0 -1
- package/.output/server/node_modules/confbox/dist/json5.mjs +0 -14
- package/.output/server/node_modules/confbox/dist/shared/confbox.9388d834.mjs +0 -1
- package/.output/server/node_modules/confbox/dist/shared/confbox.f9f03f05.mjs +0 -7
- package/.output/server/node_modules/confbox/dist/toml.mjs +0 -239
- package/.output/server/node_modules/confbox/dist/yaml.mjs +0 -32
- package/.output/server/node_modules/confbox/package.json +0 -86
- package/.output/server/node_modules/cross-spawn/index.js +0 -39
- package/.output/server/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/.output/server/node_modules/cross-spawn/lib/parse.js +0 -91
- package/.output/server/node_modules/cross-spawn/lib/util/escape.js +0 -47
- package/.output/server/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/.output/server/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/.output/server/node_modules/cross-spawn/package.json +0 -73
- package/.output/server/node_modules/crypto-hash/index.js +0 -66
- package/.output/server/node_modules/crypto-hash/package.json +0 -54
- package/.output/server/node_modules/crypto-hash/thread.js +0 -10
- package/.output/server/node_modules/crypto-hash/utilities.js +0 -10
- package/.output/server/node_modules/decompress-response/index.js +0 -58
- package/.output/server/node_modules/decompress-response/package.json +0 -56
- package/.output/server/node_modules/defer-to-connect/dist/source/index.js +0 -47
- package/.output/server/node_modules/defer-to-connect/package.json +0 -71
- package/.output/server/node_modules/dettle/dist/debounce.js +0 -91
- package/.output/server/node_modules/dettle/dist/index.js +0 -5
- package/.output/server/node_modules/dettle/dist/throttle.js +0 -12
- package/.output/server/node_modules/dettle/package.json +0 -29
- package/.output/server/node_modules/dotenv/config.js +0 -9
- package/.output/server/node_modules/dotenv/lib/cli-options.js +0 -11
- package/.output/server/node_modules/dotenv/lib/env-options.js +0 -24
- package/.output/server/node_modules/dotenv/lib/main.js +0 -361
- package/.output/server/node_modules/dotenv/package.json +0 -61
- package/.output/server/node_modules/end-of-stream/index.js +0 -94
- package/.output/server/node_modules/end-of-stream/package.json +0 -37
- package/.output/server/node_modules/esprima/dist/esprima.js +0 -6709
- package/.output/server/node_modules/esprima/package.json +0 -112
- package/.output/server/node_modules/execa/index.js +0 -268
- package/.output/server/node_modules/execa/lib/command.js +0 -52
- package/.output/server/node_modules/execa/lib/error.js +0 -88
- package/.output/server/node_modules/execa/lib/kill.js +0 -115
- package/.output/server/node_modules/execa/lib/promise.js +0 -46
- package/.output/server/node_modules/execa/lib/stdio.js +0 -52
- package/.output/server/node_modules/execa/lib/stream.js +0 -97
- package/.output/server/node_modules/execa/package.json +0 -74
- package/.output/server/node_modules/fast-deep-equal/index.js +0 -46
- package/.output/server/node_modules/fast-deep-equal/package.json +0 -61
- package/.output/server/node_modules/fast-redact/index.js +0 -56
- package/.output/server/node_modules/fast-redact/lib/modifiers.js +0 -291
- package/.output/server/node_modules/fast-redact/lib/parse.js +0 -44
- package/.output/server/node_modules/fast-redact/lib/redactor.js +0 -108
- package/.output/server/node_modules/fast-redact/lib/restorer.js +0 -92
- package/.output/server/node_modules/fast-redact/lib/rx.js +0 -16
- package/.output/server/node_modules/fast-redact/lib/state.js +0 -20
- package/.output/server/node_modules/fast-redact/lib/validator.js +0 -33
- package/.output/server/node_modules/fast-redact/package.json +0 -50
- package/.output/server/node_modules/fast-uri/index.js +0 -303
- package/.output/server/node_modules/fast-uri/lib/schemes.js +0 -188
- package/.output/server/node_modules/fast-uri/lib/scopedChars.js +0 -30
- package/.output/server/node_modules/fast-uri/lib/utils.js +0 -244
- package/.output/server/node_modules/fast-uri/package.json +0 -68
- package/.output/server/node_modules/google-protobuf/google/protobuf/empty_pb.js +0 -147
- package/.output/server/node_modules/google-protobuf/google/protobuf/struct_pb.js +0 -955
- package/.output/server/node_modules/google-protobuf/google-protobuf.js +0 -149
- package/.output/server/node_modules/google-protobuf/package.json +0 -35
- package/.output/server/node_modules/got/dist/source/as-promise/create-rejection.js +0 -30
- package/.output/server/node_modules/got/dist/source/as-promise/index.js +0 -176
- package/.output/server/node_modules/got/dist/source/as-promise/normalize-arguments.js +0 -78
- package/.output/server/node_modules/got/dist/source/as-promise/parse-body.js +0 -25
- package/.output/server/node_modules/got/dist/source/as-promise/types.js +0 -42
- package/.output/server/node_modules/got/dist/source/core/calculate-retry-delay.js +0 -29
- package/.output/server/node_modules/got/dist/source/core/index.js +0 -1505
- package/.output/server/node_modules/got/dist/source/core/utils/dns-ip-version.js +0 -17
- package/.output/server/node_modules/got/dist/source/core/utils/get-body-size.js +0 -32
- package/.output/server/node_modules/got/dist/source/core/utils/get-buffer.js +0 -16
- package/.output/server/node_modules/got/dist/source/core/utils/is-form-data.js +0 -4
- package/.output/server/node_modules/got/dist/source/core/utils/is-response-ok.js +0 -8
- package/.output/server/node_modules/got/dist/source/core/utils/options-to-url.js +0 -53
- package/.output/server/node_modules/got/dist/source/core/utils/proxy-events.js +0 -17
- package/.output/server/node_modules/got/dist/source/core/utils/timed-out.js +0 -121
- package/.output/server/node_modules/got/dist/source/core/utils/unhandle.js +0 -22
- package/.output/server/node_modules/got/dist/source/core/utils/url-to-options.js +0 -24
- package/.output/server/node_modules/got/dist/source/core/utils/weakable-map.js +0 -29
- package/.output/server/node_modules/got/dist/source/create.js +0 -240
- package/.output/server/node_modules/got/dist/source/index.js +0 -132
- package/.output/server/node_modules/got/dist/source/types.js +0 -2
- package/.output/server/node_modules/got/dist/source/utils/deep-freeze.js +0 -12
- package/.output/server/node_modules/got/dist/source/utils/deprecation-warning.js +0 -13
- package/.output/server/node_modules/got/package.json +0 -131
- package/.output/server/node_modules/http-cache-semantics/index.js +0 -674
- package/.output/server/node_modules/http-cache-semantics/package.json +0 -18
- package/.output/server/node_modules/http2-wrapper/package.json +0 -54
- package/.output/server/node_modules/http2-wrapper/source/agent.js +0 -670
- package/.output/server/node_modules/http2-wrapper/source/auto.js +0 -149
- package/.output/server/node_modules/http2-wrapper/source/client-request.js +0 -445
- package/.output/server/node_modules/http2-wrapper/source/incoming-message.js +0 -58
- package/.output/server/node_modules/http2-wrapper/source/index.js +0 -28
- package/.output/server/node_modules/http2-wrapper/source/utils/calculate-server-name.js +0 -27
- package/.output/server/node_modules/http2-wrapper/source/utils/errors.js +0 -45
- package/.output/server/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js +0 -13
- package/.output/server/node_modules/http2-wrapper/source/utils/proxy-events.js +0 -7
- package/.output/server/node_modules/http2-wrapper/source/utils/url-to-options.js +0 -25
- package/.output/server/node_modules/human-signals/build/src/core.js +0 -273
- package/.output/server/node_modules/human-signals/build/src/main.js +0 -71
- package/.output/server/node_modules/human-signals/build/src/realtime.js +0 -19
- package/.output/server/node_modules/human-signals/build/src/signals.js +0 -35
- package/.output/server/node_modules/human-signals/package.json +0 -64
- package/.output/server/node_modules/import-meta-resolve/index.js +0 -47
- package/.output/server/node_modules/import-meta-resolve/lib/errors.js +0 -507
- package/.output/server/node_modules/import-meta-resolve/lib/get-format.js +0 -159
- package/.output/server/node_modules/import-meta-resolve/lib/package-json-reader.js +0 -177
- package/.output/server/node_modules/import-meta-resolve/lib/resolve.js +0 -1297
- package/.output/server/node_modules/import-meta-resolve/lib/utils.js +0 -47
- package/.output/server/node_modules/import-meta-resolve/package.json +0 -95
- package/.output/server/node_modules/is-stream/index.js +0 -28
- package/.output/server/node_modules/is-stream/package.json +0 -42
- package/.output/server/node_modules/isexe/index.js +0 -57
- package/.output/server/node_modules/isexe/mode.js +0 -41
- package/.output/server/node_modules/isexe/package.json +0 -31
- package/.output/server/node_modules/isexe/windows.js +0 -42
- package/.output/server/node_modules/js-yaml/index.js +0 -7
- package/.output/server/node_modules/js-yaml/lib/js-yaml/common.js +0 -59
- package/.output/server/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -850
- package/.output/server/node_modules/js-yaml/lib/js-yaml/exception.js +0 -43
- package/.output/server/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1644
- package/.output/server/node_modules/js-yaml/lib/js-yaml/mark.js +0 -76
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/core.js +0 -18
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +0 -28
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +0 -17
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/json.js +0 -25
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema.js +0 -108
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -138
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -35
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -116
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -173
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -93
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -60
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -12
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -34
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -44
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -53
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -29
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -88
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type.js +0 -61
- package/.output/server/node_modules/js-yaml/lib/js-yaml.js +0 -39
- package/.output/server/node_modules/js-yaml/package.json +0 -49
- package/.output/server/node_modules/json-buffer/index.js +0 -58
- package/.output/server/node_modules/json-buffer/package.json +0 -34
- package/.output/server/node_modules/json-schema-traverse/index.js +0 -93
- package/.output/server/node_modules/json-schema-traverse/package.json +0 -43
- package/.output/server/node_modules/keyv/package.json +0 -57
- package/.output/server/node_modules/keyv/src/index.js +0 -259
- package/.output/server/node_modules/level-supports/index.js +0 -26
- package/.output/server/node_modules/level-supports/package.json +0 -46
- package/.output/server/node_modules/level-transcoder/index.js +0 -158
- package/.output/server/node_modules/level-transcoder/lib/encoding.js +0 -105
- package/.output/server/node_modules/level-transcoder/lib/encodings.js +0 -135
- package/.output/server/node_modules/level-transcoder/lib/formats.js +0 -111
- package/.output/server/node_modules/level-transcoder/lib/text-endec.js +0 -19
- package/.output/server/node_modules/level-transcoder/package.json +0 -46
- package/.output/server/node_modules/lodash.camelcase/index.js +0 -599
- package/.output/server/node_modules/lodash.camelcase/package.json +0 -19
- package/.output/server/node_modules/long/package.json +0 -58
- package/.output/server/node_modules/long/umd/index.js +0 -1622
- package/.output/server/node_modules/long/umd/package.json +0 -3
- package/.output/server/node_modules/lowercase-keys/index.js +0 -10
- package/.output/server/node_modules/lowercase-keys/package.json +0 -38
- package/.output/server/node_modules/maybe-combine-errors/index.js +0 -60
- package/.output/server/node_modules/maybe-combine-errors/package.json +0 -33
- package/.output/server/node_modules/merge-stream/index.js +0 -41
- package/.output/server/node_modules/merge-stream/package.json +0 -19
- package/.output/server/node_modules/mimic-fn/index.js +0 -13
- package/.output/server/node_modules/mimic-fn/package.json +0 -42
- package/.output/server/node_modules/mlly/dist/index.mjs +0 -2606
- package/.output/server/node_modules/mlly/package.json +0 -50
- package/.output/server/node_modules/module-error/index.js +0 -22
- package/.output/server/node_modules/module-error/package.json +0 -36
- package/.output/server/node_modules/nano-spawn/package.json +0 -66
- package/.output/server/node_modules/nano-spawn/source/context.js +0 -12
- package/.output/server/node_modules/nano-spawn/source/index.js +0 -28
- package/.output/server/node_modules/nano-spawn/source/iterable.js +0 -61
- package/.output/server/node_modules/nano-spawn/source/options.js +0 -37
- package/.output/server/node_modules/nano-spawn/source/pipe.js +0 -43
- package/.output/server/node_modules/nano-spawn/source/result.js +0 -74
- package/.output/server/node_modules/nano-spawn/source/spawn.js +0 -44
- package/.output/server/node_modules/nano-spawn/source/windows.js +0 -76
- package/.output/server/node_modules/node-gyp-build/index.js +0 -6
- package/.output/server/node_modules/node-gyp-build/node-gyp-build.js +0 -207
- package/.output/server/node_modules/node-gyp-build/package.json +0 -43
- package/.output/server/node_modules/normalize-url/index.js +0 -216
- package/.output/server/node_modules/normalize-url/package.json +0 -50
- package/.output/server/node_modules/npm-run-path/index.js +0 -47
- package/.output/server/node_modules/npm-run-path/package.json +0 -44
- package/.output/server/node_modules/nypm/dist/index.mjs +0 -306
- package/.output/server/node_modules/nypm/package.json +0 -60
- package/.output/server/node_modules/on-exit-leak-free/index.js +0 -108
- package/.output/server/node_modules/on-exit-leak-free/package.json +0 -37
- package/.output/server/node_modules/once/once.js +0 -42
- package/.output/server/node_modules/once/package.json +0 -33
- package/.output/server/node_modules/onetime/index.js +0 -44
- package/.output/server/node_modules/onetime/package.json +0 -43
- package/.output/server/node_modules/p-cancelable/index.js +0 -111
- package/.output/server/node_modules/p-cancelable/package.json +0 -49
- package/.output/server/node_modules/path-key/index.js +0 -16
- package/.output/server/node_modules/path-key/package.json +0 -39
- package/.output/server/node_modules/pino/file.js +0 -12
- package/.output/server/node_modules/pino/lib/caller.js +0 -30
- package/.output/server/node_modules/pino/lib/constants.js +0 -28
- package/.output/server/node_modules/pino/lib/levels.js +0 -241
- package/.output/server/node_modules/pino/lib/meta.js +0 -3
- package/.output/server/node_modules/pino/lib/multistream.js +0 -188
- package/.output/server/node_modules/pino/lib/proto.js +0 -234
- package/.output/server/node_modules/pino/lib/redaction.js +0 -118
- package/.output/server/node_modules/pino/lib/symbols.js +0 -74
- package/.output/server/node_modules/pino/lib/time.js +0 -11
- package/.output/server/node_modules/pino/lib/tools.js +0 -394
- package/.output/server/node_modules/pino/lib/transport-stream.js +0 -56
- package/.output/server/node_modules/pino/lib/transport.js +0 -167
- package/.output/server/node_modules/pino/lib/worker.js +0 -194
- package/.output/server/node_modules/pino/package.json +0 -120
- package/.output/server/node_modules/pino/pino.js +0 -234
- package/.output/server/node_modules/pino-abstract-transport/index.js +0 -128
- package/.output/server/node_modules/pino-abstract-transport/package.json +0 -40
- package/.output/server/node_modules/pino-std-serializers/index.js +0 -36
- package/.output/server/node_modules/pino-std-serializers/lib/err-helpers.js +0 -118
- package/.output/server/node_modules/pino-std-serializers/lib/err-proto.js +0 -48
- package/.output/server/node_modules/pino-std-serializers/lib/err-with-cause.js +0 -48
- package/.output/server/node_modules/pino-std-serializers/lib/err.js +0 -45
- package/.output/server/node_modules/pino-std-serializers/lib/req.js +0 -100
- package/.output/server/node_modules/pino-std-serializers/lib/res.js +0 -47
- package/.output/server/node_modules/pino-std-serializers/package.json +0 -47
- package/.output/server/node_modules/pkg-types/dist/index.mjs +0 -157
- package/.output/server/node_modules/pkg-types/package.json +0 -47
- package/.output/server/node_modules/promise-make-counter/dist/index.js +0 -24
- package/.output/server/node_modules/promise-make-counter/package.json +0 -33
- package/.output/server/node_modules/promise-make-naked/dist/index.js +0 -25
- package/.output/server/node_modules/promise-make-naked/dist/utils.js +0 -4
- package/.output/server/node_modules/promise-make-naked/package.json +0 -29
- package/.output/server/node_modules/protobufjs/ext/descriptor/index.js +0 -1052
- package/.output/server/node_modules/protobufjs/google/protobuf/api.json +0 -118
- package/.output/server/node_modules/protobufjs/google/protobuf/descriptor.json +0 -739
- package/.output/server/node_modules/protobufjs/google/protobuf/source_context.json +0 -20
- package/.output/server/node_modules/protobufjs/google/protobuf/type.json +0 -202
- package/.output/server/node_modules/protobufjs/index.js +0 -4
- package/.output/server/node_modules/protobufjs/package.json +0 -112
- package/.output/server/node_modules/protobufjs/src/common.js +0 -399
- package/.output/server/node_modules/protobufjs/src/converter.js +0 -301
- package/.output/server/node_modules/protobufjs/src/decoder.js +0 -129
- package/.output/server/node_modules/protobufjs/src/encoder.js +0 -100
- package/.output/server/node_modules/protobufjs/src/enum.js +0 -198
- package/.output/server/node_modules/protobufjs/src/field.js +0 -377
- package/.output/server/node_modules/protobufjs/src/index-light.js +0 -104
- package/.output/server/node_modules/protobufjs/src/index-minimal.js +0 -36
- package/.output/server/node_modules/protobufjs/src/index.js +0 -12
- package/.output/server/node_modules/protobufjs/src/mapfield.js +0 -126
- package/.output/server/node_modules/protobufjs/src/message.js +0 -139
- package/.output/server/node_modules/protobufjs/src/method.js +0 -160
- package/.output/server/node_modules/protobufjs/src/namespace.js +0 -433
- package/.output/server/node_modules/protobufjs/src/object.js +0 -243
- package/.output/server/node_modules/protobufjs/src/oneof.js +0 -203
- package/.output/server/node_modules/protobufjs/src/parse.js +0 -893
- package/.output/server/node_modules/protobufjs/src/reader.js +0 -416
- package/.output/server/node_modules/protobufjs/src/reader_buffer.js +0 -51
- package/.output/server/node_modules/protobufjs/src/root.js +0 -368
- package/.output/server/node_modules/protobufjs/src/roots.js +0 -18
- package/.output/server/node_modules/protobufjs/src/rpc/service.js +0 -142
- package/.output/server/node_modules/protobufjs/src/rpc.js +0 -36
- package/.output/server/node_modules/protobufjs/src/service.js +0 -167
- package/.output/server/node_modules/protobufjs/src/tokenize.js +0 -416
- package/.output/server/node_modules/protobufjs/src/type.js +0 -589
- package/.output/server/node_modules/protobufjs/src/types.js +0 -196
- package/.output/server/node_modules/protobufjs/src/util/longbits.js +0 -200
- package/.output/server/node_modules/protobufjs/src/util/minimal.js +0 -438
- package/.output/server/node_modules/protobufjs/src/util.js +0 -212
- package/.output/server/node_modules/protobufjs/src/verifier.js +0 -177
- package/.output/server/node_modules/protobufjs/src/wrappers.js +0 -102
- package/.output/server/node_modules/protobufjs/src/writer.js +0 -465
- package/.output/server/node_modules/protobufjs/src/writer_buffer.js +0 -85
- package/.output/server/node_modules/pump/index.js +0 -86
- package/.output/server/node_modules/pump/package.json +0 -24
- package/.output/server/node_modules/quick-format-unescaped/index.js +0 -109
- package/.output/server/node_modules/quick-format-unescaped/package.json +0 -29
- package/.output/server/node_modules/quick-lru/index.js +0 -123
- package/.output/server/node_modules/quick-lru/package.json +0 -43
- package/.output/server/node_modules/real-require/package.json +0 -49
- package/.output/server/node_modules/real-require/src/index.js +0 -14
- package/.output/server/node_modules/remeda/dist/chunk-26ILFTOP.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-2KIKGHAO.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-2OQBQB3V.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-2P44HXVH.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-32MVV6O6.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-3D3RWAVJ.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-3FKP6OOU.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-3IFJP4R5.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-3T4TGMU4.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-3UBK2BVM.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-3XGGB2R4.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-3ZJAREUD.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-4NRWDO7P.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-4UEQNEAO.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-4YLWJIJ6.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-4ZFFLFWV.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-567G5ZXL.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-57KROWWS.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-5DU4ITSF.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-5NQBDF4H.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-5S4PYKVY.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-5WKPQX7L.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-6GTAPB47.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-6OEKBHIX.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-6RKHJ2CP.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-6RL33UFT.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-7QX4DO53.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-A3PVMI4K.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-A3ZTVFWP.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-ADT4LUUN.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-AHDTEY6L.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-ALS6JP7S.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-ANXBDSUI.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-B6PG574O.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-BCPWYWXN.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-BO3LQZNF.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-BSLJB6JE.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-BXEO7YHQ.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-BZNENX2T.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-C4LV5VIX.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-C4OZY4Z2.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-C6IMN7SF.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-CAZXBO45.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-D6FCK2GA.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-DAE7EJQ2.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-DEVKGLTN.js +0 -2
- package/.output/server/node_modules/remeda/dist/chunk-DH3BPT6T.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-DM52TTEP.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-DSLWSGID.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-EMIEIAAH.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-ENOHV5LT.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-ENS7GPLZ.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-ETADWPSK.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-EVIH3PFY.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-FDH4IRIM.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-FMPZ2CLX.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-FRNNS7AX.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-G2JPX77Y.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-G5B2IDWB.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-GDGEDZJG.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-GGYFZTDW.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-GIKF2ZNG.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-GK5I7C4J.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-GMMLSO2N.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-GPLTWAVR.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-GYH2VCL4.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-H4OTHZJB.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-HGKLN5KY.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-HJSE3ESO.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-HV3WACXG.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-HVJXDSOP.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-HVLRA6ZU.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-I3D2BSWJ.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-IXASGXCR.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-J3IRE4DI.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-J4EKWFDW.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-J7R2OSHS.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-JJZ7E4YG.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-JK3VNB42.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-K2FFNW24.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-K3UJMX27.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-KI5UAETW.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-KQRZQWDE.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-KVHF7QRD.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-KZIKCQ56.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-LDNOJYCI.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-LE6I3KC6.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-MQDP6CFS.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-MSOX5OUI.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-MYLLMFC7.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-N4JUOEMS.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-NFFV4IQT.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-NJXNQM3G.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-NMC53JVB.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-NS6ZBRLP.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-OAMXQXGR.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-OCJMJQKO.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-OIQJEOF7.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-OLNQBNAJ.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-OP5ZF26D.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-OWH4IQQW.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-P2PQB7KO.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-P3DXEVTH.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-P5WDBFN2.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-P6LAFGAN.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-PDQFB3TV.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-PFSVCZNE.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-PGMPBC5Q.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-PIX5OHMW.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-PULGOXDA.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-PVYOMZ3I.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-Q5ASJ5N7.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-QDGUNRDA.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-QDOP3ITN.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-QEKOZYJ5.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-QOEIYQAG.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-QTQTP2VB.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-R72GEKLP.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-R7PILVSQ.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-RBODUO3Q.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-RZUYD7QY.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-S52RID4A.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-SBKJLULJ.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-SDLIKNSY.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-SFZGYJFI.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-SGAFZVQH.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-SSDL7ATG.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-T4H4IOYC.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-T4PLMLCP.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-T5XG33UI.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-U753ZCO5.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-UA6DVSZ3.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-UHDYHGOF.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-UZ6BOIAH.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-V6HCOU6T.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-VCYTMP4D.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-VFECZ57D.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-VFSOOVKJ.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-VG2NVNXT.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-VIBSXWWU.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-VMV5GVZ5.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-VO5MRBXA.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-VVM5DH6Z.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-W2ARC73P.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-W6ZHPGFP.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-WFMWIRTS.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-WIMGWYZL.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-WOUS55DT.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-WPTI67A4.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-WWPMIW33.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-WZOX4VKU.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-XE3XIKTJ.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-XHPQVWZM.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-XMLUDZIW.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-XPCYQPKH.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-XUX3ZEXI.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-XWBKJZIP.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-XZ6COQKM.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-Y3VKZ3P5.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-YDIA5YQI.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-YNNF733L.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-YRJ25UV2.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-YVJOC2U3.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-YVMG2XEU.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-ZJS5DNQW.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-ZP6YI2JT.js +0 -1
- package/.output/server/node_modules/remeda/dist/chunk-ZRKG4NSC.js +0 -1
- package/.output/server/node_modules/remeda/dist/index.js +0 -1
- package/.output/server/node_modules/remeda/package.json +0 -85
- package/.output/server/node_modules/resolve-alpn/index.js +0 -43
- package/.output/server/node_modules/resolve-alpn/package.json +0 -34
- package/.output/server/node_modules/responselike/package.json +0 -39
- package/.output/server/node_modules/responselike/src/index.js +0 -34
- package/.output/server/node_modules/safe-stable-stringify/index.js +0 -625
- package/.output/server/node_modules/safe-stable-stringify/package.json +0 -65
- package/.output/server/node_modules/semver/classes/comparator.js +0 -141
- package/.output/server/node_modules/semver/classes/range.js +0 -554
- package/.output/server/node_modules/semver/classes/semver.js +0 -318
- package/.output/server/node_modules/semver/functions/clean.js +0 -6
- package/.output/server/node_modules/semver/functions/cmp.js +0 -52
- package/.output/server/node_modules/semver/functions/coerce.js +0 -60
- package/.output/server/node_modules/semver/functions/compare-build.js +0 -7
- package/.output/server/node_modules/semver/functions/compare-loose.js +0 -3
- package/.output/server/node_modules/semver/functions/compare.js +0 -5
- package/.output/server/node_modules/semver/functions/diff.js +0 -58
- package/.output/server/node_modules/semver/functions/eq.js +0 -3
- package/.output/server/node_modules/semver/functions/gt.js +0 -3
- package/.output/server/node_modules/semver/functions/gte.js +0 -3
- package/.output/server/node_modules/semver/functions/inc.js +0 -19
- package/.output/server/node_modules/semver/functions/lt.js +0 -3
- package/.output/server/node_modules/semver/functions/lte.js +0 -3
- package/.output/server/node_modules/semver/functions/major.js +0 -3
- package/.output/server/node_modules/semver/functions/minor.js +0 -3
- package/.output/server/node_modules/semver/functions/neq.js +0 -3
- package/.output/server/node_modules/semver/functions/parse.js +0 -16
- package/.output/server/node_modules/semver/functions/patch.js +0 -3
- package/.output/server/node_modules/semver/functions/prerelease.js +0 -6
- package/.output/server/node_modules/semver/functions/rcompare.js +0 -3
- package/.output/server/node_modules/semver/functions/rsort.js +0 -3
- package/.output/server/node_modules/semver/functions/satisfies.js +0 -10
- package/.output/server/node_modules/semver/functions/sort.js +0 -3
- package/.output/server/node_modules/semver/functions/valid.js +0 -6
- package/.output/server/node_modules/semver/index.js +0 -89
- package/.output/server/node_modules/semver/internal/constants.js +0 -35
- package/.output/server/node_modules/semver/internal/debug.js +0 -9
- package/.output/server/node_modules/semver/internal/identifiers.js +0 -23
- package/.output/server/node_modules/semver/internal/lrucache.js +0 -40
- package/.output/server/node_modules/semver/internal/parse-options.js +0 -15
- package/.output/server/node_modules/semver/internal/re.js +0 -219
- package/.output/server/node_modules/semver/package.json +0 -78
- package/.output/server/node_modules/semver/preload.js +0 -2
- package/.output/server/node_modules/semver/ranges/gtr.js +0 -4
- package/.output/server/node_modules/semver/ranges/intersects.js +0 -7
- package/.output/server/node_modules/semver/ranges/ltr.js +0 -4
- package/.output/server/node_modules/semver/ranges/max-satisfying.js +0 -25
- package/.output/server/node_modules/semver/ranges/min-satisfying.js +0 -24
- package/.output/server/node_modules/semver/ranges/min-version.js +0 -61
- package/.output/server/node_modules/semver/ranges/outside.js +0 -80
- package/.output/server/node_modules/semver/ranges/simplify.js +0 -47
- package/.output/server/node_modules/semver/ranges/subset.js +0 -247
- package/.output/server/node_modules/semver/ranges/to-comparators.js +0 -8
- package/.output/server/node_modules/semver/ranges/valid.js +0 -11
- package/.output/server/node_modules/shebang-command/index.js +0 -19
- package/.output/server/node_modules/shebang-command/package.json +0 -34
- package/.output/server/node_modules/shebang-regex/index.js +0 -2
- package/.output/server/node_modules/shebang-regex/package.json +0 -35
- package/.output/server/node_modules/signal-exit/index.js +0 -202
- package/.output/server/node_modules/signal-exit/package.json +0 -38
- package/.output/server/node_modules/signal-exit/signals.js +0 -53
- package/.output/server/node_modules/sonic-boom/index.js +0 -719
- package/.output/server/node_modules/sonic-boom/package.json +0 -52
- package/.output/server/node_modules/split2/index.js +0 -141
- package/.output/server/node_modules/split2/package.json +0 -39
- package/.output/server/node_modules/strip-final-newline/index.js +0 -16
- package/.output/server/node_modules/strip-final-newline/package.json +0 -40
- package/.output/server/node_modules/stubborn-fs/dist/attemptify.js +0 -19
- package/.output/server/node_modules/stubborn-fs/dist/constants.js +0 -8
- package/.output/server/node_modules/stubborn-fs/dist/handlers.js +0 -36
- package/.output/server/node_modules/stubborn-fs/dist/index.js +0 -53
- package/.output/server/node_modules/stubborn-fs/dist/retryify.js +0 -46
- package/.output/server/node_modules/stubborn-fs/dist/retryify_queue.js +0 -62
- package/.output/server/node_modules/stubborn-fs/package.json +0 -28
- package/.output/server/node_modules/thread-stream/index.js +0 -537
- package/.output/server/node_modules/thread-stream/lib/indexes.js +0 -9
- package/.output/server/node_modules/thread-stream/lib/wait.js +0 -61
- package/.output/server/node_modules/thread-stream/lib/worker.js +0 -174
- package/.output/server/node_modules/thread-stream/package.json +0 -57
- package/.output/server/node_modules/tiny-readdir/dist/constants.js +0 -9
- package/.output/server/node_modules/tiny-readdir/dist/index.js +0 -185
- package/.output/server/node_modules/tiny-readdir/dist/utils.js +0 -9
- package/.output/server/node_modules/tiny-readdir/package.json +0 -35
- package/.output/server/node_modules/tinyexec/dist/main.js +0 -578
- package/.output/server/node_modules/tinyexec/package.json +0 -66
- package/.output/server/node_modules/tmp/lib/tmp.js +0 -784
- package/.output/server/node_modules/tmp/package.json +0 -56
- package/.output/server/node_modules/upath/build/code/upath.js +0 -171
- package/.output/server/node_modules/upath/package.json +0 -60
- package/.output/server/node_modules/uuidv7/dist/index.js +0 -403
- package/.output/server/node_modules/uuidv7/package.json +0 -47
- package/.output/server/node_modules/watcher/dist/constants.js +0 -16
- package/.output/server/node_modules/watcher/dist/enums.js +0 -35
- package/.output/server/node_modules/watcher/dist/lazy_map_set.js +0 -81
- package/.output/server/node_modules/watcher/dist/utils.js +0 -120
- package/.output/server/node_modules/watcher/dist/watcher.js +0 -396
- package/.output/server/node_modules/watcher/dist/watcher_handler.js +0 -248
- package/.output/server/node_modules/watcher/dist/watcher_locker.js +0 -139
- package/.output/server/node_modules/watcher/dist/watcher_locks_resolver.js +0 -42
- package/.output/server/node_modules/watcher/dist/watcher_poller.js +0 -116
- package/.output/server/node_modules/watcher/dist/watcher_stats.js +0 -29
- package/.output/server/node_modules/watcher/package.json +0 -37
- package/.output/server/node_modules/which/package.json +0 -43
- package/.output/server/node_modules/which/which.js +0 -125
- package/.output/server/node_modules/wrappy/package.json +0 -29
- package/.output/server/node_modules/wrappy/wrappy.js +0 -33
|
@@ -1,396 +0,0 @@
|
|
|
1
|
-
/* IMPORT */
|
|
2
|
-
import { EventEmitter } from 'node:events';
|
|
3
|
-
import fs from 'node:fs';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import { DEPTH, LIMIT, HAS_NATIVE_RECURSION, POLLING_INTERVAL } from './constants.js';
|
|
6
|
-
import { TargetEvent, WatcherEvent } from './enums.js';
|
|
7
|
-
import Utils from './utils.js';
|
|
8
|
-
import WatcherHandler from './watcher_handler.js';
|
|
9
|
-
import WatcherLocker from './watcher_locker.js';
|
|
10
|
-
import WatcherPoller from './watcher_poller.js';
|
|
11
|
-
/* MAIN */
|
|
12
|
-
class Watcher extends EventEmitter {
|
|
13
|
-
/* CONSTRUCTOR */
|
|
14
|
-
constructor(target, options, handler) {
|
|
15
|
-
super();
|
|
16
|
-
this._closed = false;
|
|
17
|
-
this._ready = false;
|
|
18
|
-
this._closeAborter = new AbortController();
|
|
19
|
-
this._closeSignal = this._closeAborter.signal;
|
|
20
|
-
this.on(WatcherEvent.CLOSE, () => this._closeAborter.abort());
|
|
21
|
-
this._closeWait = new Promise(resolve => this.on(WatcherEvent.CLOSE, resolve));
|
|
22
|
-
this._readyWait = new Promise(resolve => this.on(WatcherEvent.READY, resolve));
|
|
23
|
-
this._locker = new WatcherLocker(this);
|
|
24
|
-
this._roots = new Set();
|
|
25
|
-
this._poller = new WatcherPoller();
|
|
26
|
-
this._pollers = new Set();
|
|
27
|
-
this._subwatchers = new Set();
|
|
28
|
-
this._watchers = {};
|
|
29
|
-
this._watchersLock = Promise.resolve();
|
|
30
|
-
this._watchersRestorable = {};
|
|
31
|
-
this.watch(target, options, handler);
|
|
32
|
-
}
|
|
33
|
-
/* API */
|
|
34
|
-
isClosed() {
|
|
35
|
-
return this._closed;
|
|
36
|
-
}
|
|
37
|
-
isIgnored(targetPath, ignore) {
|
|
38
|
-
return !!ignore && (Utils.lang.isFunction(ignore) ? !!ignore(targetPath) : ignore.test(targetPath));
|
|
39
|
-
}
|
|
40
|
-
isReady() {
|
|
41
|
-
return this._ready;
|
|
42
|
-
}
|
|
43
|
-
close() {
|
|
44
|
-
this._locker.reset();
|
|
45
|
-
this._poller.reset();
|
|
46
|
-
this._roots.clear();
|
|
47
|
-
this.watchersClose();
|
|
48
|
-
if (this.isClosed())
|
|
49
|
-
return false;
|
|
50
|
-
this._closed = true;
|
|
51
|
-
return this.emit(WatcherEvent.CLOSE);
|
|
52
|
-
}
|
|
53
|
-
error(exception) {
|
|
54
|
-
if (this.isClosed())
|
|
55
|
-
return false;
|
|
56
|
-
const error = Utils.lang.castError(exception);
|
|
57
|
-
return this.emit(WatcherEvent.ERROR, error);
|
|
58
|
-
}
|
|
59
|
-
event(event, targetPath, targetPathNext) {
|
|
60
|
-
if (this.isClosed())
|
|
61
|
-
return false;
|
|
62
|
-
this.emit(WatcherEvent.ALL, event, targetPath, targetPathNext);
|
|
63
|
-
return this.emit(event, targetPath, targetPathNext);
|
|
64
|
-
}
|
|
65
|
-
ready() {
|
|
66
|
-
if (this.isClosed() || this.isReady())
|
|
67
|
-
return false;
|
|
68
|
-
this._ready = true;
|
|
69
|
-
return this.emit(WatcherEvent.READY);
|
|
70
|
-
}
|
|
71
|
-
pollerExists(targetPath, options) {
|
|
72
|
-
for (const poller of this._pollers) {
|
|
73
|
-
if (poller.targetPath !== targetPath)
|
|
74
|
-
continue;
|
|
75
|
-
if (!Utils.lang.isShallowEqual(poller.options, options))
|
|
76
|
-
continue;
|
|
77
|
-
return true;
|
|
78
|
-
}
|
|
79
|
-
return false;
|
|
80
|
-
}
|
|
81
|
-
subwatcherExists(targetPath, options) {
|
|
82
|
-
for (const subwatcher of this._subwatchers) {
|
|
83
|
-
if (subwatcher.targetPath !== targetPath)
|
|
84
|
-
continue;
|
|
85
|
-
if (!Utils.lang.isShallowEqual(subwatcher.options, options))
|
|
86
|
-
continue;
|
|
87
|
-
return true;
|
|
88
|
-
}
|
|
89
|
-
return false;
|
|
90
|
-
}
|
|
91
|
-
watchersClose(folderPath, filePath, recursive = true) {
|
|
92
|
-
if (!folderPath) {
|
|
93
|
-
for (const folderPath in this._watchers) {
|
|
94
|
-
this.watchersClose(folderPath, filePath, false);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
const configs = this._watchers[folderPath];
|
|
99
|
-
if (configs) {
|
|
100
|
-
for (const config of [...configs]) { // It's important to clone the array, as items will be deleted from it also
|
|
101
|
-
if (filePath && config.filePath !== filePath)
|
|
102
|
-
continue;
|
|
103
|
-
this.watcherClose(config);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
if (recursive) {
|
|
107
|
-
for (const folderPathOther in this._watchers) {
|
|
108
|
-
if (!Utils.fs.isSubPath(folderPath, folderPathOther))
|
|
109
|
-
continue;
|
|
110
|
-
this.watchersClose(folderPathOther, filePath, false);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
watchersLock(callback) {
|
|
116
|
-
return this._watchersLock.then(() => {
|
|
117
|
-
return this._watchersLock = new Promise(async (resolve) => {
|
|
118
|
-
await callback();
|
|
119
|
-
resolve();
|
|
120
|
-
});
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
watchersRestore() {
|
|
124
|
-
delete this._watchersRestoreTimeout;
|
|
125
|
-
const watchers = Object.entries(this._watchersRestorable);
|
|
126
|
-
this._watchersRestorable = {};
|
|
127
|
-
for (const [targetPath, config] of watchers) {
|
|
128
|
-
this.watchPath(targetPath, config.options, config.handler);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
async watcherAdd(config, baseWatcherHandler) {
|
|
132
|
-
const { folderPath } = config;
|
|
133
|
-
const configs = this._watchers[folderPath] = (this._watchers[folderPath] || []);
|
|
134
|
-
configs.push(config);
|
|
135
|
-
const watcherHandler = new WatcherHandler(this, config, baseWatcherHandler);
|
|
136
|
-
await watcherHandler.init();
|
|
137
|
-
return watcherHandler;
|
|
138
|
-
}
|
|
139
|
-
watcherClose(config) {
|
|
140
|
-
config.watcher.close();
|
|
141
|
-
const configs = this._watchers[config.folderPath];
|
|
142
|
-
if (configs) {
|
|
143
|
-
const index = configs.indexOf(config);
|
|
144
|
-
configs.splice(index, 1);
|
|
145
|
-
if (!configs.length) {
|
|
146
|
-
delete this._watchers[config.folderPath];
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
const rootPath = config.filePath || config.folderPath;
|
|
150
|
-
const isRoot = this._roots.has(rootPath);
|
|
151
|
-
if (isRoot) {
|
|
152
|
-
this._watchersRestorable[rootPath] = config;
|
|
153
|
-
if (!this._watchersRestoreTimeout) {
|
|
154
|
-
this._watchersRestoreTimeout = Utils.lang.defer(() => this.watchersRestore());
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
watcherExists(folderPath, options, handler, filePath) {
|
|
159
|
-
const configsSibling = this._watchers[folderPath];
|
|
160
|
-
if (!!configsSibling?.find(config => config.handler === handler && (!config.filePath || config.filePath === filePath) && config.options.ignore === options.ignore && !!config.options.native === !!options.native && (!options.recursive || config.options.recursive)))
|
|
161
|
-
return true;
|
|
162
|
-
let folderAncestorPath = path.dirname(folderPath);
|
|
163
|
-
for (let depth = 1; depth < Infinity; depth++) {
|
|
164
|
-
const configsAncestor = this._watchers[folderAncestorPath];
|
|
165
|
-
if (!!configsAncestor?.find(config => (depth === 1 || (config.options.recursive && depth <= (config.options.depth ?? DEPTH))) && config.handler === handler && (!config.filePath || config.filePath === filePath) && config.options.ignore === options.ignore && !!config.options.native === !!options.native && (!options.recursive || (config.options.recursive && (HAS_NATIVE_RECURSION && config.options.native !== false)))))
|
|
166
|
-
return true;
|
|
167
|
-
if (!HAS_NATIVE_RECURSION)
|
|
168
|
-
break; // No other ancestor will possibly be found
|
|
169
|
-
const folderAncestorPathNext = path.dirname(folderPath);
|
|
170
|
-
if (folderAncestorPath === folderAncestorPathNext)
|
|
171
|
-
break;
|
|
172
|
-
folderAncestorPath = folderAncestorPathNext;
|
|
173
|
-
}
|
|
174
|
-
return false;
|
|
175
|
-
}
|
|
176
|
-
async watchDirectories(foldersPaths, options, handler, filePath, baseWatcherHandler) {
|
|
177
|
-
if (this.isClosed())
|
|
178
|
-
return;
|
|
179
|
-
foldersPaths = Utils.lang.uniq(foldersPaths).sort();
|
|
180
|
-
let watcherHandlerLast;
|
|
181
|
-
for (const folderPath of foldersPaths) {
|
|
182
|
-
if (this.isIgnored(folderPath, options.ignore))
|
|
183
|
-
continue;
|
|
184
|
-
if (this.watcherExists(folderPath, options, handler, filePath))
|
|
185
|
-
continue;
|
|
186
|
-
try {
|
|
187
|
-
const watcherOptions = (!options.recursive || (HAS_NATIVE_RECURSION && options.native !== false)) ? options : { ...options, recursive: false }; // Ensuring recursion is explicitly disabled if not available
|
|
188
|
-
const watcher = fs.watch(folderPath, watcherOptions);
|
|
189
|
-
const watcherConfig = { watcher, handler, options, folderPath, filePath };
|
|
190
|
-
const watcherHandler = watcherHandlerLast = await this.watcherAdd(watcherConfig, baseWatcherHandler);
|
|
191
|
-
const isRoot = this._roots.has(filePath || folderPath);
|
|
192
|
-
if (isRoot) {
|
|
193
|
-
const parentOptions = { ...options, ignoreInitial: true, recursive: false }; // Ensuring only the parent folder is being watched
|
|
194
|
-
const parentFolderPath = path.dirname(folderPath);
|
|
195
|
-
const parentFilePath = folderPath;
|
|
196
|
-
await this.watchDirectories([parentFolderPath], parentOptions, handler, parentFilePath, watcherHandler);
|
|
197
|
-
//TODO: Watch parents recursively with the following code, which requires other things to be changed too though
|
|
198
|
-
// while ( true ) {
|
|
199
|
-
// await this.watchDirectories ( [parentFolderPath], parentOptions, handler, parentFilePath, watcherHandler );
|
|
200
|
-
// const parentFolderPathNext = path.dirname ( parentFolderPath );
|
|
201
|
-
// if ( parentFolderPath === parentFolderPathNext ) break;
|
|
202
|
-
// parentFilePath = parentFolderPath;
|
|
203
|
-
// parentFolderPath = parentFolderPathNext;
|
|
204
|
-
// }
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
catch (error) {
|
|
208
|
-
this.error(error);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
return watcherHandlerLast;
|
|
212
|
-
}
|
|
213
|
-
async watchDirectory(folderPath, options, handler, filePath, baseWatcherHandler) {
|
|
214
|
-
if (this.isClosed())
|
|
215
|
-
return;
|
|
216
|
-
if (this.isIgnored(folderPath, options.ignore))
|
|
217
|
-
return;
|
|
218
|
-
if (!options.recursive || (HAS_NATIVE_RECURSION && options.native !== false)) {
|
|
219
|
-
return this.watchersLock(() => {
|
|
220
|
-
return this.watchDirectories([folderPath], options, handler, filePath, baseWatcherHandler);
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
else {
|
|
224
|
-
options = { ...options, recursive: true }; // Ensuring recursion is explicitly enabled
|
|
225
|
-
const depth = options.depth ?? DEPTH;
|
|
226
|
-
const limit = options.limit ?? LIMIT;
|
|
227
|
-
const [folderSubPaths] = await Utils.fs.readdir(folderPath, options.ignore, depth, limit, this._closeSignal, options.readdirMap);
|
|
228
|
-
return this.watchersLock(async () => {
|
|
229
|
-
const watcherHandler = await this.watchDirectories([folderPath], options, handler, filePath, baseWatcherHandler);
|
|
230
|
-
if (folderSubPaths.length) {
|
|
231
|
-
const folderPathDepth = Utils.fs.getDepth(folderPath);
|
|
232
|
-
for (const folderSubPath of folderSubPaths) {
|
|
233
|
-
const folderSubPathDepth = Utils.fs.getDepth(folderSubPath);
|
|
234
|
-
const subDepth = Math.max(0, depth - (folderSubPathDepth - folderPathDepth));
|
|
235
|
-
const subOptions = { ...options, depth: subDepth }; // Updating the maximum depth to account for depth of the sub path
|
|
236
|
-
await this.watchDirectories([folderSubPath], subOptions, handler, filePath, baseWatcherHandler || watcherHandler);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
async watchFileOnce(filePath, options, callback) {
|
|
243
|
-
if (this.isClosed())
|
|
244
|
-
return;
|
|
245
|
-
options = { ...options, ignoreInitial: false }; // Ensuring initial events are detected too
|
|
246
|
-
if (this.subwatcherExists(filePath, options))
|
|
247
|
-
return;
|
|
248
|
-
const config = { targetPath: filePath, options };
|
|
249
|
-
const handler = (event, targetPath) => {
|
|
250
|
-
if (targetPath !== filePath)
|
|
251
|
-
return;
|
|
252
|
-
stop();
|
|
253
|
-
callback();
|
|
254
|
-
};
|
|
255
|
-
const watcher = new Watcher(handler);
|
|
256
|
-
const start = () => {
|
|
257
|
-
this._subwatchers.add(config);
|
|
258
|
-
this.on(WatcherEvent.CLOSE, stop); // Ensuring the subwatcher is stopped on close
|
|
259
|
-
watcher.watchFile(filePath, options, handler);
|
|
260
|
-
};
|
|
261
|
-
const stop = () => {
|
|
262
|
-
this._subwatchers.delete(config);
|
|
263
|
-
this.removeListener(WatcherEvent.CLOSE, stop); // Ensuring there are no leftover listeners
|
|
264
|
-
watcher.close();
|
|
265
|
-
};
|
|
266
|
-
return start();
|
|
267
|
-
}
|
|
268
|
-
async watchFile(filePath, options, handler) {
|
|
269
|
-
if (this.isClosed())
|
|
270
|
-
return;
|
|
271
|
-
if (this.isIgnored(filePath, options.ignore))
|
|
272
|
-
return;
|
|
273
|
-
options = { ...options, recursive: false }; // Ensuring recursion is explicitly disabled
|
|
274
|
-
const folderPath = path.dirname(filePath);
|
|
275
|
-
return this.watchDirectory(folderPath, options, handler, filePath);
|
|
276
|
-
}
|
|
277
|
-
async watchPollingOnce(targetPath, options, callback) {
|
|
278
|
-
if (this.isClosed())
|
|
279
|
-
return;
|
|
280
|
-
let isDone = false;
|
|
281
|
-
const poller = new WatcherPoller();
|
|
282
|
-
const disposer = await this.watchPolling(targetPath, options, async () => {
|
|
283
|
-
if (isDone)
|
|
284
|
-
return;
|
|
285
|
-
const events = await poller.update(targetPath, options.pollingTimeout);
|
|
286
|
-
if (!events.length)
|
|
287
|
-
return; // Nothing actually changed, skipping
|
|
288
|
-
if (isDone)
|
|
289
|
-
return; // Another async callback has done the work already, skipping
|
|
290
|
-
isDone = true;
|
|
291
|
-
disposer();
|
|
292
|
-
callback();
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
async watchPolling(targetPath, options, callback) {
|
|
296
|
-
if (this.isClosed())
|
|
297
|
-
return Utils.lang.noop;
|
|
298
|
-
if (this.pollerExists(targetPath, options))
|
|
299
|
-
return Utils.lang.noop;
|
|
300
|
-
const watcherOptions = { ...options, interval: options.pollingInterval ?? POLLING_INTERVAL }; // Ensuring a default interval is set
|
|
301
|
-
const config = { targetPath, options };
|
|
302
|
-
const start = () => {
|
|
303
|
-
this._pollers.add(config);
|
|
304
|
-
this.on(WatcherEvent.CLOSE, stop); // Ensuring polling is stopped on close
|
|
305
|
-
fs.watchFile(targetPath, watcherOptions, callback);
|
|
306
|
-
};
|
|
307
|
-
const stop = () => {
|
|
308
|
-
this._pollers.delete(config);
|
|
309
|
-
this.removeListener(WatcherEvent.CLOSE, stop); // Ensuring there are no leftover listeners
|
|
310
|
-
fs.unwatchFile(targetPath, callback);
|
|
311
|
-
};
|
|
312
|
-
Utils.lang.attempt(start);
|
|
313
|
-
return () => Utils.lang.attempt(stop);
|
|
314
|
-
}
|
|
315
|
-
async watchUnknownChild(targetPath, options, handler) {
|
|
316
|
-
if (this.isClosed())
|
|
317
|
-
return;
|
|
318
|
-
const watch = () => this.watchPath(targetPath, options, handler);
|
|
319
|
-
return this.watchFileOnce(targetPath, options, watch);
|
|
320
|
-
}
|
|
321
|
-
async watchUnknownTarget(targetPath, options, handler) {
|
|
322
|
-
if (this.isClosed())
|
|
323
|
-
return;
|
|
324
|
-
const watch = () => this.watchPath(targetPath, options, handler);
|
|
325
|
-
return this.watchPollingOnce(targetPath, options, watch);
|
|
326
|
-
}
|
|
327
|
-
async watchPaths(targetPaths, options, handler) {
|
|
328
|
-
if (this.isClosed())
|
|
329
|
-
return;
|
|
330
|
-
targetPaths = Utils.lang.uniq(targetPaths).sort();
|
|
331
|
-
const isParallelizable = targetPaths.every((targetPath, index) => targetPaths.every((t, i) => i === index || !Utils.fs.isSubPath(targetPath, t))); // All paths are about separate subtrees, so we can start watching in parallel safely //TODO: Find parallelizable chunks rather than using an all or nothing approach
|
|
332
|
-
if (isParallelizable) { // Watching in parallel
|
|
333
|
-
await Promise.all(targetPaths.map(targetPath => {
|
|
334
|
-
return this.watchPath(targetPath, options, handler);
|
|
335
|
-
}));
|
|
336
|
-
}
|
|
337
|
-
else { // Watching serially
|
|
338
|
-
for (const targetPath of targetPaths) {
|
|
339
|
-
await this.watchPath(targetPath, options, handler);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
async watchPath(targetPath, options, handler) {
|
|
344
|
-
if (this.isClosed())
|
|
345
|
-
return;
|
|
346
|
-
targetPath = path.resolve(targetPath);
|
|
347
|
-
if (this.isIgnored(targetPath, options.ignore))
|
|
348
|
-
return;
|
|
349
|
-
const stats = await Utils.fs.poll(targetPath, options.pollingTimeout);
|
|
350
|
-
if (!stats) {
|
|
351
|
-
const parentPath = path.dirname(targetPath);
|
|
352
|
-
const parentStats = await Utils.fs.poll(parentPath, options.pollingTimeout);
|
|
353
|
-
if (parentStats?.isDirectory()) {
|
|
354
|
-
return this.watchUnknownChild(targetPath, options, handler);
|
|
355
|
-
}
|
|
356
|
-
else {
|
|
357
|
-
return this.watchUnknownTarget(targetPath, options, handler);
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
else if (stats.isFile()) {
|
|
361
|
-
return this.watchFile(targetPath, options, handler);
|
|
362
|
-
}
|
|
363
|
-
else if (stats.isDirectory()) {
|
|
364
|
-
return this.watchDirectory(targetPath, options, handler);
|
|
365
|
-
}
|
|
366
|
-
else {
|
|
367
|
-
this.error(`"${targetPath}" is not supported`);
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
async watch(target, options, handler = Utils.lang.noop) {
|
|
371
|
-
if (Utils.lang.isFunction(target))
|
|
372
|
-
return this.watch([], {}, target);
|
|
373
|
-
if (Utils.lang.isUndefined(target))
|
|
374
|
-
return this.watch([], options, handler);
|
|
375
|
-
if (Utils.lang.isFunction(options))
|
|
376
|
-
return this.watch(target, {}, options);
|
|
377
|
-
if (Utils.lang.isUndefined(options))
|
|
378
|
-
return this.watch(target, {}, handler);
|
|
379
|
-
if (this.isClosed())
|
|
380
|
-
return;
|
|
381
|
-
if (this.isReady())
|
|
382
|
-
options.readdirMap = undefined; // Only usable before initialization
|
|
383
|
-
const targetPaths = Utils.lang.castArray(target);
|
|
384
|
-
targetPaths.forEach(targetPath => this._roots.add(targetPath));
|
|
385
|
-
await this.watchPaths(targetPaths, options, handler);
|
|
386
|
-
if (this.isClosed())
|
|
387
|
-
return;
|
|
388
|
-
if (handler !== Utils.lang.noop) {
|
|
389
|
-
this.on(WatcherEvent.ALL, handler);
|
|
390
|
-
}
|
|
391
|
-
options.readdirMap = undefined; // Only usable before initialization
|
|
392
|
-
this.ready();
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
/* EXPORT */
|
|
396
|
-
export default Watcher;
|
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
/* IMPORT */
|
|
2
|
-
import path from 'node:path';
|
|
3
|
-
import { DEBOUNCE, DEPTH, LIMIT, HAS_NATIVE_RECURSION, IS_WINDOWS } from './constants.js';
|
|
4
|
-
import { FSTargetEvent, FSWatcherEvent, TargetEvent } from './enums.js';
|
|
5
|
-
import Utils from './utils.js';
|
|
6
|
-
/* MAIN */
|
|
7
|
-
class WatcherHandler {
|
|
8
|
-
/* CONSTRUCTOR */
|
|
9
|
-
constructor(watcher, config, base) {
|
|
10
|
-
this.base = base;
|
|
11
|
-
this.watcher = watcher;
|
|
12
|
-
this.handler = config.handler;
|
|
13
|
-
this.fswatcher = config.watcher;
|
|
14
|
-
this.options = config.options;
|
|
15
|
-
this.folderPath = config.folderPath;
|
|
16
|
-
this.filePath = config.filePath;
|
|
17
|
-
this.handlerBatched = this.base ? this.base.onWatcherEvent.bind(this.base) : this._makeHandlerBatched(this.options.debounce); //UGLY
|
|
18
|
-
}
|
|
19
|
-
/* HELPERS */
|
|
20
|
-
_isSubRoot(targetPath) {
|
|
21
|
-
if (this.filePath) {
|
|
22
|
-
return targetPath === this.filePath;
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
return targetPath === this.folderPath || Utils.fs.isSubPath(this.folderPath, targetPath);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
_makeHandlerBatched(delay = DEBOUNCE) {
|
|
29
|
-
return (() => {
|
|
30
|
-
let lock = this.watcher._readyWait; // ~Ensuring no two flushes are active in parallel, or before the watcher is ready
|
|
31
|
-
let initials = [];
|
|
32
|
-
let regulars = new Set();
|
|
33
|
-
const flush = async (initials, regulars) => {
|
|
34
|
-
const initialEvents = this.options.ignoreInitial ? [] : initials;
|
|
35
|
-
const regularEvents = await this.eventsPopulate([...regulars]);
|
|
36
|
-
const events = this.eventsDeduplicate([...initialEvents, ...regularEvents]);
|
|
37
|
-
this.onTargetEvents(events);
|
|
38
|
-
};
|
|
39
|
-
const flushDebounced = Utils.lang.debounce(() => {
|
|
40
|
-
if (this.watcher.isClosed())
|
|
41
|
-
return;
|
|
42
|
-
lock = flush(initials, regulars);
|
|
43
|
-
initials = [];
|
|
44
|
-
regulars = new Set();
|
|
45
|
-
}, delay);
|
|
46
|
-
return async (event, targetPath = '', isInitial = false) => {
|
|
47
|
-
if (isInitial) { // Poll immediately
|
|
48
|
-
await this.eventsPopulate([targetPath], initials, true);
|
|
49
|
-
}
|
|
50
|
-
else { // Poll later
|
|
51
|
-
regulars.add(targetPath);
|
|
52
|
-
}
|
|
53
|
-
lock.then(flushDebounced);
|
|
54
|
-
};
|
|
55
|
-
})();
|
|
56
|
-
}
|
|
57
|
-
/* EVENT HELPERS */
|
|
58
|
-
eventsDeduplicate(events) {
|
|
59
|
-
if (events.length < 2)
|
|
60
|
-
return events;
|
|
61
|
-
const targetsEventPrev = {};
|
|
62
|
-
return events.reduce((acc, event) => {
|
|
63
|
-
const [targetEvent, targetPath] = event;
|
|
64
|
-
const targetEventPrev = targetsEventPrev[targetPath];
|
|
65
|
-
if (targetEvent === targetEventPrev)
|
|
66
|
-
return acc; // Same event, ignoring
|
|
67
|
-
if (targetEvent === TargetEvent.CHANGE && targetEventPrev === TargetEvent.ADD)
|
|
68
|
-
return acc; // "change" after "add", ignoring
|
|
69
|
-
targetsEventPrev[targetPath] = targetEvent;
|
|
70
|
-
acc.push(event);
|
|
71
|
-
return acc;
|
|
72
|
-
}, []);
|
|
73
|
-
}
|
|
74
|
-
async eventsPopulate(targetPaths, events = [], isInitial = false) {
|
|
75
|
-
await Promise.all(targetPaths.map(async (targetPath) => {
|
|
76
|
-
const targetEvents = await this.watcher._poller.update(targetPath, this.options.pollingTimeout);
|
|
77
|
-
await Promise.all(targetEvents.map(async (event) => {
|
|
78
|
-
events.push([event, targetPath]);
|
|
79
|
-
if (event === TargetEvent.ADD_DIR) {
|
|
80
|
-
await this.eventsPopulateAddDir(targetPaths, targetPath, events, isInitial);
|
|
81
|
-
}
|
|
82
|
-
else if (event === TargetEvent.UNLINK_DIR) {
|
|
83
|
-
await this.eventsPopulateUnlinkDir(targetPaths, targetPath, events, isInitial);
|
|
84
|
-
}
|
|
85
|
-
}));
|
|
86
|
-
}));
|
|
87
|
-
return events;
|
|
88
|
-
}
|
|
89
|
-
;
|
|
90
|
-
async eventsPopulateAddDir(targetPaths, targetPath, events = [], isInitial = false) {
|
|
91
|
-
if (isInitial)
|
|
92
|
-
return events;
|
|
93
|
-
const depth = this.options.recursive ? this.options.depth ?? DEPTH : Math.min(1, this.options.depth ?? DEPTH);
|
|
94
|
-
const limit = this.options.limit ?? LIMIT;
|
|
95
|
-
const [directories, files] = await Utils.fs.readdir(targetPath, this.options.ignore, depth, limit, this.watcher._closeSignal);
|
|
96
|
-
const targetSubPaths = [...directories, ...files];
|
|
97
|
-
await Promise.all(targetSubPaths.map(targetSubPath => {
|
|
98
|
-
if (this.watcher.isIgnored(targetSubPath, this.options.ignore))
|
|
99
|
-
return;
|
|
100
|
-
if (targetPaths.includes(targetSubPath))
|
|
101
|
-
return;
|
|
102
|
-
return this.eventsPopulate([targetSubPath], events, true);
|
|
103
|
-
}));
|
|
104
|
-
return events;
|
|
105
|
-
}
|
|
106
|
-
async eventsPopulateUnlinkDir(targetPaths, targetPath, events = [], isInitial = false) {
|
|
107
|
-
if (isInitial)
|
|
108
|
-
return events;
|
|
109
|
-
for (const folderPathOther of this.watcher._poller.stats.keys()) {
|
|
110
|
-
if (!Utils.fs.isSubPath(targetPath, folderPathOther))
|
|
111
|
-
continue;
|
|
112
|
-
if (targetPaths.includes(folderPathOther))
|
|
113
|
-
continue;
|
|
114
|
-
await this.eventsPopulate([folderPathOther], events, true);
|
|
115
|
-
}
|
|
116
|
-
return events;
|
|
117
|
-
}
|
|
118
|
-
/* EVENT HANDLERS */
|
|
119
|
-
onTargetAdd(targetPath) {
|
|
120
|
-
if (this._isSubRoot(targetPath)) {
|
|
121
|
-
if (this.options.renameDetection) {
|
|
122
|
-
this.watcher._locker.getLockTargetAdd(targetPath, this.options.renameTimeout);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
this.watcher.event(TargetEvent.ADD, targetPath);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
onTargetAddDir(targetPath) {
|
|
130
|
-
if (targetPath !== this.folderPath && this.options.recursive && (!HAS_NATIVE_RECURSION && this.options.native !== false)) {
|
|
131
|
-
this.watcher.watchDirectory(targetPath, this.options, this.handler, undefined, this.base || this);
|
|
132
|
-
}
|
|
133
|
-
if (this._isSubRoot(targetPath)) {
|
|
134
|
-
if (this.options.renameDetection) {
|
|
135
|
-
this.watcher._locker.getLockTargetAddDir(targetPath, this.options.renameTimeout);
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
this.watcher.event(TargetEvent.ADD_DIR, targetPath);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
onTargetChange(targetPath) {
|
|
143
|
-
if (this._isSubRoot(targetPath)) {
|
|
144
|
-
this.watcher.event(TargetEvent.CHANGE, targetPath);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
onTargetUnlink(targetPath) {
|
|
148
|
-
this.watcher.watchersClose(path.dirname(targetPath), targetPath, false);
|
|
149
|
-
if (this._isSubRoot(targetPath)) {
|
|
150
|
-
if (this.options.renameDetection) {
|
|
151
|
-
this.watcher._locker.getLockTargetUnlink(targetPath, this.options.renameTimeout);
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
this.watcher.event(TargetEvent.UNLINK, targetPath);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
onTargetUnlinkDir(targetPath) {
|
|
159
|
-
this.watcher.watchersClose(path.dirname(targetPath), targetPath, false);
|
|
160
|
-
this.watcher.watchersClose(targetPath);
|
|
161
|
-
if (this._isSubRoot(targetPath)) {
|
|
162
|
-
if (this.options.renameDetection) {
|
|
163
|
-
this.watcher._locker.getLockTargetUnlinkDir(targetPath, this.options.renameTimeout);
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
this.watcher.event(TargetEvent.UNLINK_DIR, targetPath);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
onTargetEvent(event) {
|
|
171
|
-
const [targetEvent, targetPath] = event;
|
|
172
|
-
if (targetEvent === TargetEvent.ADD) {
|
|
173
|
-
this.onTargetAdd(targetPath);
|
|
174
|
-
}
|
|
175
|
-
else if (targetEvent === TargetEvent.ADD_DIR) {
|
|
176
|
-
this.onTargetAddDir(targetPath);
|
|
177
|
-
}
|
|
178
|
-
else if (targetEvent === TargetEvent.CHANGE) {
|
|
179
|
-
this.onTargetChange(targetPath);
|
|
180
|
-
}
|
|
181
|
-
else if (targetEvent === TargetEvent.UNLINK) {
|
|
182
|
-
this.onTargetUnlink(targetPath);
|
|
183
|
-
}
|
|
184
|
-
else if (targetEvent === TargetEvent.UNLINK_DIR) {
|
|
185
|
-
this.onTargetUnlinkDir(targetPath);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
onTargetEvents(events) {
|
|
189
|
-
for (const event of events) {
|
|
190
|
-
this.onTargetEvent(event);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
onWatcherEvent(event, targetPath, isInitial = false) {
|
|
194
|
-
return this.handlerBatched(event, targetPath, isInitial);
|
|
195
|
-
}
|
|
196
|
-
onWatcherChange(event = FSTargetEvent.CHANGE, targetName) {
|
|
197
|
-
if (this.watcher.isClosed())
|
|
198
|
-
return;
|
|
199
|
-
const targetPath = path.resolve(this.folderPath, targetName || '');
|
|
200
|
-
if (this.filePath && targetPath !== this.folderPath && targetPath !== this.filePath)
|
|
201
|
-
return;
|
|
202
|
-
if (this.watcher.isIgnored(targetPath, this.options.ignore))
|
|
203
|
-
return;
|
|
204
|
-
this.onWatcherEvent(event, targetPath);
|
|
205
|
-
}
|
|
206
|
-
onWatcherError(error) {
|
|
207
|
-
if (IS_WINDOWS && error.code === 'EPERM') { // This may happen when a folder is deleted
|
|
208
|
-
this.onWatcherChange(FSTargetEvent.CHANGE, '');
|
|
209
|
-
}
|
|
210
|
-
else {
|
|
211
|
-
this.watcher.error(error);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
/* API */
|
|
215
|
-
async init() {
|
|
216
|
-
await this.initWatcherEvents();
|
|
217
|
-
await this.initInitialEvents();
|
|
218
|
-
}
|
|
219
|
-
async initWatcherEvents() {
|
|
220
|
-
const onChange = this.onWatcherChange.bind(this);
|
|
221
|
-
this.fswatcher.on(FSWatcherEvent.CHANGE, onChange);
|
|
222
|
-
const onError = this.onWatcherError.bind(this);
|
|
223
|
-
this.fswatcher.on(FSWatcherEvent.ERROR, onError);
|
|
224
|
-
}
|
|
225
|
-
async initInitialEvents() {
|
|
226
|
-
const isInitial = !this.watcher.isReady(); // "isInitial" => is ignorable via the "ignoreInitial" option
|
|
227
|
-
if (this.filePath) { // Single initial path
|
|
228
|
-
if (this.watcher._poller.stats.has(this.filePath))
|
|
229
|
-
return; // Already polled
|
|
230
|
-
await this.onWatcherEvent(FSTargetEvent.CHANGE, this.filePath, isInitial);
|
|
231
|
-
}
|
|
232
|
-
else { // Multiple initial paths
|
|
233
|
-
const depth = this.options.recursive && (HAS_NATIVE_RECURSION && this.options.native !== false) ? this.options.depth ?? DEPTH : Math.min(1, this.options.depth ?? DEPTH);
|
|
234
|
-
const limit = this.options.limit ?? LIMIT;
|
|
235
|
-
const [directories, files] = await Utils.fs.readdir(this.folderPath, this.options.ignore, depth, limit, this.watcher._closeSignal, this.options.readdirMap);
|
|
236
|
-
const targetPaths = [this.folderPath, ...directories, ...files];
|
|
237
|
-
await Promise.all(targetPaths.map(targetPath => {
|
|
238
|
-
if (this.watcher._poller.stats.has(targetPath))
|
|
239
|
-
return; // Already polled
|
|
240
|
-
if (this.watcher.isIgnored(targetPath, this.options.ignore))
|
|
241
|
-
return;
|
|
242
|
-
return this.onWatcherEvent(FSTargetEvent.CHANGE, targetPath, isInitial);
|
|
243
|
-
}));
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
/* EXPORT */
|
|
248
|
-
export default WatcherHandler;
|