@dxos/codec-protobuf
Advanced tools
Comparing version 0.6.12-main.f9d0246 to 0.6.12-staging.0b4bb48
@@ -1,1 +0,1 @@ | ||
{"inputs":{"inject-globals:@inject-globals":{"bytes":324,"imports":[{"path":"@dxos/node-std/inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/buffer-patch.ts":{"bytes":1724,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts":{"bytes":6750,"imports":[{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts":{"bytes":14191,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts","kind":"import-statement","original":"./codegen"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/codec.ts":{"bytes":8451,"imports":[{"path":"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts","kind":"import-statement","original":"./precompiled-mapping/create-message-mapper"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/common.ts":{"bytes":2232,"imports":[{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/encoding.ts":{"bytes":1262,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/mapping.ts":{"bytes":8940,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/sanitizer.ts":{"bytes":5823,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/stream.ts":{"bytes":28948,"imports":[{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/service.ts":{"bytes":24332,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/stream.ts","kind":"import-statement","original":"./stream"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/schema.ts":{"bytes":10425,"imports":[{"path":"lodash.merge","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/common/codec-protobuf/src/mapping.ts","kind":"import-statement","original":"./mapping"},{"path":"packages/common/codec-protobuf/src/service.ts","kind":"import-statement","original":"./service"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/struct.ts":{"bytes":9065,"imports":[{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/any.ts":{"bytes":8337,"imports":[{"path":"packages/common/codec-protobuf/src/substitutions/struct.ts","kind":"import-statement","original":"./struct"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/timestamp.ts":{"bytes":2066,"imports":[{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/index.ts":{"bytes":796,"imports":[{"path":"packages/common/codec-protobuf/src/substitutions/any.ts","kind":"import-statement","original":"./any"},{"path":"packages/common/codec-protobuf/src/substitutions/struct.ts","kind":"import-statement","original":"./struct"},{"path":"packages/common/codec-protobuf/src/substitutions/timestamp.ts","kind":"import-statement","original":"./timestamp"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/compression.ts":{"bytes":1130,"imports":[{"path":"compress-json","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/util.ts":{"bytes":1834,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/request-options.ts":{"bytes":628,"imports":[{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/index.ts":{"bytes":1595,"imports":[{"path":"packages/common/codec-protobuf/src/buffer-patch.ts","kind":"import-statement","original":"./buffer-patch"},{"path":"packages/common/codec-protobuf/src/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/common/codec-protobuf/src/common.ts","kind":"import-statement","original":"./common"},{"path":"packages/common/codec-protobuf/src/encoding.ts","kind":"import-statement","original":"./encoding"},{"path":"packages/common/codec-protobuf/src/mapping.ts","kind":"import-statement","original":"./mapping"},{"path":"packages/common/codec-protobuf/src/sanitizer.ts","kind":"import-statement","original":"./sanitizer"},{"path":"packages/common/codec-protobuf/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/common/codec-protobuf/src/service.ts","kind":"import-statement","original":"./service"},{"path":"packages/common/codec-protobuf/src/stream.ts","kind":"import-statement","original":"./stream"},{"path":"packages/common/codec-protobuf/src/substitutions/index.ts","kind":"import-statement","original":"./substitutions"},{"path":"packages/common/codec-protobuf/src/compression.ts","kind":"import-statement","original":"./compression"},{"path":"packages/common/codec-protobuf/src/util.ts","kind":"import-statement","original":"./util"},{"path":"packages/common/codec-protobuf/src/request-options.ts","kind":"import-statement","original":"./request-options"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"packages/common/codec-protobuf/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":49496},"packages/common/codec-protobuf/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/common/codec-protobuf/dist/lib/browser/chunk-6CWCUGGH.mjs","kind":"import-statement"},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"lodash.merge","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"compress-json","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true}],"exports":["OBJECT_CONVERSION_OPTIONS","ProtoCodec","Schema","Service","ServiceDescriptor","ServiceHandler","Stream","anySubstitutions","compressSchema","createMappingDescriptors","decodeProtobuf","decompressSchema","encodeProtobuf","getFirstStreamValue","mapMessage","patchBufferCodec","sanitize","structSubstitutions","timestampSubstitutions"],"entryPoint":"packages/common/codec-protobuf/src/index.ts","inputs":{"packages/common/codec-protobuf/src/buffer-patch.ts":{"bytesInOutput":169},"packages/common/codec-protobuf/src/index.ts":{"bytesInOutput":0},"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts":{"bytesInOutput":3528},"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts":{"bytesInOutput":740},"packages/common/codec-protobuf/src/codec.ts":{"bytesInOutput":1602},"packages/common/codec-protobuf/src/encoding.ts":{"bytesInOutput":151},"packages/common/codec-protobuf/src/mapping.ts":{"bytesInOutput":1963},"packages/common/codec-protobuf/src/sanitizer.ts":{"bytesInOutput":1122},"packages/common/codec-protobuf/src/schema.ts":{"bytesInOutput":2314},"packages/common/codec-protobuf/src/service.ts":{"bytesInOutput":6948},"packages/common/codec-protobuf/src/substitutions/struct.ts":{"bytesInOutput":2099},"packages/common/codec-protobuf/src/substitutions/any.ts":{"bytesInOutput":1940},"packages/common/codec-protobuf/src/substitutions/index.ts":{"bytesInOutput":0},"packages/common/codec-protobuf/src/substitutions/timestamp.ts":{"bytesInOutput":380},"packages/common/codec-protobuf/src/compression.ts":{"bytesInOutput":152},"packages/common/codec-protobuf/src/util.ts":{"bytesInOutput":301}},"bytes":24822},"packages/common/codec-protobuf/dist/lib/browser/stream.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/common/codec-protobuf/dist/lib/browser/stream.mjs":{"imports":[{"path":"packages/common/codec-protobuf/dist/lib/browser/chunk-6CWCUGGH.mjs","kind":"import-statement"}],"exports":["Stream"],"entryPoint":"packages/common/codec-protobuf/src/stream.ts","inputs":{},"bytes":139},"packages/common/codec-protobuf/dist/lib/browser/chunk-6CWCUGGH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13352},"packages/common/codec-protobuf/dist/lib/browser/chunk-6CWCUGGH.mjs":{"imports":[{"path":"@dxos/node-std/inject-globals","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["Stream"],"inputs":{"inject-globals:@inject-globals":{"bytesInOutput":79},"packages/common/codec-protobuf/src/stream.ts":{"bytesInOutput":7209}},"bytes":7471}}} | ||
{"inputs":{"inject-globals:@inject-globals":{"bytes":384,"imports":[{"path":"@dxos/node-std/inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/buffer-patch.ts":{"bytes":1724,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts":{"bytes":6750,"imports":[{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts":{"bytes":14204,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts","kind":"import-statement","original":"./codegen"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/codec.ts":{"bytes":8451,"imports":[{"path":"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts","kind":"import-statement","original":"./precompiled-mapping/create-message-mapper"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/common.ts":{"bytes":2232,"imports":[{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/encoding.ts":{"bytes":1262,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/mapping.ts":{"bytes":8940,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/sanitizer.ts":{"bytes":5809,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/stream.ts":{"bytes":28948,"imports":[{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/service.ts":{"bytes":24332,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/stream.ts","kind":"import-statement","original":"./stream"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/schema.ts":{"bytes":10500,"imports":[{"path":"lodash.merge","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/common/codec-protobuf/src/mapping.ts","kind":"import-statement","original":"./mapping"},{"path":"packages/common/codec-protobuf/src/service.ts","kind":"import-statement","original":"./service"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/struct.ts":{"bytes":9065,"imports":[{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/any.ts":{"bytes":8337,"imports":[{"path":"packages/common/codec-protobuf/src/substitutions/struct.ts","kind":"import-statement","original":"./struct"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/timestamp.ts":{"bytes":2066,"imports":[{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/index.ts":{"bytes":796,"imports":[{"path":"packages/common/codec-protobuf/src/substitutions/any.ts","kind":"import-statement","original":"./any"},{"path":"packages/common/codec-protobuf/src/substitutions/struct.ts","kind":"import-statement","original":"./struct"},{"path":"packages/common/codec-protobuf/src/substitutions/timestamp.ts","kind":"import-statement","original":"./timestamp"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/compression.ts":{"bytes":1130,"imports":[{"path":"compress-json","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/util.ts":{"bytes":1834,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/request-options.ts":{"bytes":628,"imports":[{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/index.ts":{"bytes":1595,"imports":[{"path":"packages/common/codec-protobuf/src/buffer-patch.ts","kind":"import-statement","original":"./buffer-patch"},{"path":"packages/common/codec-protobuf/src/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/common/codec-protobuf/src/common.ts","kind":"import-statement","original":"./common"},{"path":"packages/common/codec-protobuf/src/encoding.ts","kind":"import-statement","original":"./encoding"},{"path":"packages/common/codec-protobuf/src/mapping.ts","kind":"import-statement","original":"./mapping"},{"path":"packages/common/codec-protobuf/src/sanitizer.ts","kind":"import-statement","original":"./sanitizer"},{"path":"packages/common/codec-protobuf/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/common/codec-protobuf/src/service.ts","kind":"import-statement","original":"./service"},{"path":"packages/common/codec-protobuf/src/stream.ts","kind":"import-statement","original":"./stream"},{"path":"packages/common/codec-protobuf/src/substitutions/index.ts","kind":"import-statement","original":"./substitutions"},{"path":"packages/common/codec-protobuf/src/compression.ts","kind":"import-statement","original":"./compression"},{"path":"packages/common/codec-protobuf/src/util.ts","kind":"import-statement","original":"./util"},{"path":"packages/common/codec-protobuf/src/request-options.ts","kind":"import-statement","original":"./request-options"},{"path":"@inject-globals","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"packages/common/codec-protobuf/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":49540},"packages/common/codec-protobuf/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/common/codec-protobuf/dist/lib/browser/chunk-6CWCUGGH.mjs","kind":"import-statement"},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"lodash.merge","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"compress-json","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true}],"exports":["OBJECT_CONVERSION_OPTIONS","ProtoCodec","Schema","Service","ServiceDescriptor","ServiceHandler","Stream","anySubstitutions","compressSchema","createMappingDescriptors","decodeProtobuf","decompressSchema","encodeProtobuf","getFirstStreamValue","mapMessage","patchBufferCodec","sanitize","structSubstitutions","timestampSubstitutions"],"entryPoint":"packages/common/codec-protobuf/src/index.ts","inputs":{"packages/common/codec-protobuf/src/buffer-patch.ts":{"bytesInOutput":169},"packages/common/codec-protobuf/src/index.ts":{"bytesInOutput":0},"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts":{"bytesInOutput":3533},"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts":{"bytesInOutput":740},"packages/common/codec-protobuf/src/codec.ts":{"bytesInOutput":1602},"packages/common/codec-protobuf/src/encoding.ts":{"bytesInOutput":151},"packages/common/codec-protobuf/src/mapping.ts":{"bytesInOutput":1963},"packages/common/codec-protobuf/src/sanitizer.ts":{"bytesInOutput":1145},"packages/common/codec-protobuf/src/schema.ts":{"bytesInOutput":2346},"packages/common/codec-protobuf/src/service.ts":{"bytesInOutput":6948},"packages/common/codec-protobuf/src/substitutions/struct.ts":{"bytesInOutput":2099},"packages/common/codec-protobuf/src/substitutions/any.ts":{"bytesInOutput":1940},"packages/common/codec-protobuf/src/substitutions/index.ts":{"bytesInOutput":0},"packages/common/codec-protobuf/src/substitutions/timestamp.ts":{"bytesInOutput":380},"packages/common/codec-protobuf/src/compression.ts":{"bytesInOutput":152},"packages/common/codec-protobuf/src/util.ts":{"bytesInOutput":301}},"bytes":24882},"packages/common/codec-protobuf/dist/lib/browser/stream.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/common/codec-protobuf/dist/lib/browser/stream.mjs":{"imports":[{"path":"packages/common/codec-protobuf/dist/lib/browser/chunk-6CWCUGGH.mjs","kind":"import-statement"}],"exports":["Stream"],"entryPoint":"packages/common/codec-protobuf/src/stream.ts","inputs":{},"bytes":139},"packages/common/codec-protobuf/dist/lib/browser/chunk-6CWCUGGH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13352},"packages/common/codec-protobuf/dist/lib/browser/chunk-6CWCUGGH.mjs":{"imports":[{"path":"@dxos/node-std/inject-globals","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["Stream"],"inputs":{"inject-globals:@inject-globals":{"bytesInOutput":79},"packages/common/codec-protobuf/src/stream.ts":{"bytesInOutput":7209}},"bytes":7471}}} |
@@ -1,1 +0,1 @@ | ||
{"inputs":{"packages/common/codec-protobuf/src/buffer-patch.ts":{"bytes":1724,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts":{"bytes":6750,"imports":[],"format":"esm"},"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts":{"bytes":14191,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts","kind":"import-statement","original":"./codegen"}],"format":"esm"},"packages/common/codec-protobuf/src/codec.ts":{"bytes":8451,"imports":[{"path":"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts","kind":"import-statement","original":"./precompiled-mapping/create-message-mapper"}],"format":"esm"},"packages/common/codec-protobuf/src/common.ts":{"bytes":2232,"imports":[],"format":"esm"},"packages/common/codec-protobuf/src/encoding.ts":{"bytes":1262,"imports":[{"path":"protobufjs","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/mapping.ts":{"bytes":8940,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/sanitizer.ts":{"bytes":5823,"imports":[{"path":"protobufjs","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/stream.ts":{"bytes":28948,"imports":[{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/service.ts":{"bytes":24332,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/stream.ts","kind":"import-statement","original":"./stream"}],"format":"esm"},"packages/common/codec-protobuf/src/schema.ts":{"bytes":10425,"imports":[{"path":"lodash.merge","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/common/codec-protobuf/src/mapping.ts","kind":"import-statement","original":"./mapping"},{"path":"packages/common/codec-protobuf/src/service.ts","kind":"import-statement","original":"./service"}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/struct.ts":{"bytes":9065,"imports":[],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/any.ts":{"bytes":8337,"imports":[{"path":"packages/common/codec-protobuf/src/substitutions/struct.ts","kind":"import-statement","original":"./struct"}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/timestamp.ts":{"bytes":2066,"imports":[],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/index.ts":{"bytes":796,"imports":[{"path":"packages/common/codec-protobuf/src/substitutions/any.ts","kind":"import-statement","original":"./any"},{"path":"packages/common/codec-protobuf/src/substitutions/struct.ts","kind":"import-statement","original":"./struct"},{"path":"packages/common/codec-protobuf/src/substitutions/timestamp.ts","kind":"import-statement","original":"./timestamp"}],"format":"esm"},"packages/common/codec-protobuf/src/compression.ts":{"bytes":1130,"imports":[{"path":"compress-json","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/util.ts":{"bytes":1834,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/request-options.ts":{"bytes":628,"imports":[],"format":"esm"},"packages/common/codec-protobuf/src/index.ts":{"bytes":1595,"imports":[{"path":"packages/common/codec-protobuf/src/buffer-patch.ts","kind":"import-statement","original":"./buffer-patch"},{"path":"packages/common/codec-protobuf/src/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/common/codec-protobuf/src/common.ts","kind":"import-statement","original":"./common"},{"path":"packages/common/codec-protobuf/src/encoding.ts","kind":"import-statement","original":"./encoding"},{"path":"packages/common/codec-protobuf/src/mapping.ts","kind":"import-statement","original":"./mapping"},{"path":"packages/common/codec-protobuf/src/sanitizer.ts","kind":"import-statement","original":"./sanitizer"},{"path":"packages/common/codec-protobuf/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/common/codec-protobuf/src/service.ts","kind":"import-statement","original":"./service"},{"path":"packages/common/codec-protobuf/src/stream.ts","kind":"import-statement","original":"./stream"},{"path":"packages/common/codec-protobuf/src/substitutions/index.ts","kind":"import-statement","original":"./substitutions"},{"path":"packages/common/codec-protobuf/src/compression.ts","kind":"import-statement","original":"./compression"},{"path":"packages/common/codec-protobuf/src/util.ts","kind":"import-statement","original":"./util"},{"path":"packages/common/codec-protobuf/src/request-options.ts","kind":"import-statement","original":"./request-options"}],"format":"esm"}},"outputs":{"packages/common/codec-protobuf/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":49495},"packages/common/codec-protobuf/dist/lib/node/index.cjs":{"imports":[{"path":"packages/common/codec-protobuf/dist/lib/node/chunk-ZLPQOOYK.cjs","kind":"import-statement"},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"lodash.merge","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"compress-json","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true}],"exports":["OBJECT_CONVERSION_OPTIONS","ProtoCodec","Schema","Service","ServiceDescriptor","ServiceHandler","Stream","anySubstitutions","compressSchema","createMappingDescriptors","decodeProtobuf","decompressSchema","encodeProtobuf","getFirstStreamValue","mapMessage","patchBufferCodec","sanitize","structSubstitutions","timestampSubstitutions"],"entryPoint":"packages/common/codec-protobuf/src/index.ts","inputs":{"packages/common/codec-protobuf/src/buffer-patch.ts":{"bytesInOutput":169},"packages/common/codec-protobuf/src/index.ts":{"bytesInOutput":0},"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts":{"bytesInOutput":3528},"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts":{"bytesInOutput":740},"packages/common/codec-protobuf/src/codec.ts":{"bytesInOutput":1602},"packages/common/codec-protobuf/src/encoding.ts":{"bytesInOutput":151},"packages/common/codec-protobuf/src/mapping.ts":{"bytesInOutput":1963},"packages/common/codec-protobuf/src/sanitizer.ts":{"bytesInOutput":1122},"packages/common/codec-protobuf/src/schema.ts":{"bytesInOutput":2314},"packages/common/codec-protobuf/src/service.ts":{"bytesInOutput":6948},"packages/common/codec-protobuf/src/substitutions/struct.ts":{"bytesInOutput":2099},"packages/common/codec-protobuf/src/substitutions/any.ts":{"bytesInOutput":1940},"packages/common/codec-protobuf/src/substitutions/index.ts":{"bytesInOutput":0},"packages/common/codec-protobuf/src/substitutions/timestamp.ts":{"bytesInOutput":380},"packages/common/codec-protobuf/src/compression.ts":{"bytesInOutput":152},"packages/common/codec-protobuf/src/util.ts":{"bytesInOutput":301}},"bytes":24789},"packages/common/codec-protobuf/dist/lib/node/stream.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/common/codec-protobuf/dist/lib/node/stream.cjs":{"imports":[{"path":"packages/common/codec-protobuf/dist/lib/node/chunk-ZLPQOOYK.cjs","kind":"import-statement"}],"exports":["Stream"],"entryPoint":"packages/common/codec-protobuf/src/stream.ts","inputs":{},"bytes":106},"packages/common/codec-protobuf/dist/lib/node/chunk-ZLPQOOYK.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13343},"packages/common/codec-protobuf/dist/lib/node/chunk-ZLPQOOYK.cjs":{"imports":[{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["Stream"],"inputs":{"packages/common/codec-protobuf/src/stream.ts":{"bytesInOutput":7209}},"bytes":7323}}} | ||
{"inputs":{"packages/common/codec-protobuf/src/buffer-patch.ts":{"bytes":1724,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts":{"bytes":6750,"imports":[],"format":"esm"},"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts":{"bytes":14204,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts","kind":"import-statement","original":"./codegen"}],"format":"esm"},"packages/common/codec-protobuf/src/codec.ts":{"bytes":8451,"imports":[{"path":"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts","kind":"import-statement","original":"./precompiled-mapping/create-message-mapper"}],"format":"esm"},"packages/common/codec-protobuf/src/common.ts":{"bytes":2232,"imports":[],"format":"esm"},"packages/common/codec-protobuf/src/encoding.ts":{"bytes":1262,"imports":[{"path":"protobufjs","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/mapping.ts":{"bytes":8940,"imports":[{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/sanitizer.ts":{"bytes":5809,"imports":[{"path":"protobufjs","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/stream.ts":{"bytes":28948,"imports":[{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/service.ts":{"bytes":24332,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/stream.ts","kind":"import-statement","original":"./stream"}],"format":"esm"},"packages/common/codec-protobuf/src/schema.ts":{"bytes":10500,"imports":[{"path":"lodash.merge","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"packages/common/codec-protobuf/src/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/common/codec-protobuf/src/mapping.ts","kind":"import-statement","original":"./mapping"},{"path":"packages/common/codec-protobuf/src/service.ts","kind":"import-statement","original":"./service"}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/struct.ts":{"bytes":9065,"imports":[],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/any.ts":{"bytes":8337,"imports":[{"path":"packages/common/codec-protobuf/src/substitutions/struct.ts","kind":"import-statement","original":"./struct"}],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/timestamp.ts":{"bytes":2066,"imports":[],"format":"esm"},"packages/common/codec-protobuf/src/substitutions/index.ts":{"bytes":796,"imports":[{"path":"packages/common/codec-protobuf/src/substitutions/any.ts","kind":"import-statement","original":"./any"},{"path":"packages/common/codec-protobuf/src/substitutions/struct.ts","kind":"import-statement","original":"./struct"},{"path":"packages/common/codec-protobuf/src/substitutions/timestamp.ts","kind":"import-statement","original":"./timestamp"}],"format":"esm"},"packages/common/codec-protobuf/src/compression.ts":{"bytes":1130,"imports":[{"path":"compress-json","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/util.ts":{"bytes":1834,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true}],"format":"esm"},"packages/common/codec-protobuf/src/request-options.ts":{"bytes":628,"imports":[],"format":"esm"},"packages/common/codec-protobuf/src/index.ts":{"bytes":1595,"imports":[{"path":"packages/common/codec-protobuf/src/buffer-patch.ts","kind":"import-statement","original":"./buffer-patch"},{"path":"packages/common/codec-protobuf/src/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/common/codec-protobuf/src/common.ts","kind":"import-statement","original":"./common"},{"path":"packages/common/codec-protobuf/src/encoding.ts","kind":"import-statement","original":"./encoding"},{"path":"packages/common/codec-protobuf/src/mapping.ts","kind":"import-statement","original":"./mapping"},{"path":"packages/common/codec-protobuf/src/sanitizer.ts","kind":"import-statement","original":"./sanitizer"},{"path":"packages/common/codec-protobuf/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/common/codec-protobuf/src/service.ts","kind":"import-statement","original":"./service"},{"path":"packages/common/codec-protobuf/src/stream.ts","kind":"import-statement","original":"./stream"},{"path":"packages/common/codec-protobuf/src/substitutions/index.ts","kind":"import-statement","original":"./substitutions"},{"path":"packages/common/codec-protobuf/src/compression.ts","kind":"import-statement","original":"./compression"},{"path":"packages/common/codec-protobuf/src/util.ts","kind":"import-statement","original":"./util"},{"path":"packages/common/codec-protobuf/src/request-options.ts","kind":"import-statement","original":"./request-options"}],"format":"esm"}},"outputs":{"packages/common/codec-protobuf/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":49539},"packages/common/codec-protobuf/dist/lib/node/index.cjs":{"imports":[{"path":"packages/common/codec-protobuf/dist/lib/node/chunk-ZLPQOOYK.cjs","kind":"import-statement"},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"lodash.merge","kind":"import-statement","external":true},{"path":"protobufjs","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"compress-json","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true}],"exports":["OBJECT_CONVERSION_OPTIONS","ProtoCodec","Schema","Service","ServiceDescriptor","ServiceHandler","Stream","anySubstitutions","compressSchema","createMappingDescriptors","decodeProtobuf","decompressSchema","encodeProtobuf","getFirstStreamValue","mapMessage","patchBufferCodec","sanitize","structSubstitutions","timestampSubstitutions"],"entryPoint":"packages/common/codec-protobuf/src/index.ts","inputs":{"packages/common/codec-protobuf/src/buffer-patch.ts":{"bytesInOutput":169},"packages/common/codec-protobuf/src/index.ts":{"bytesInOutput":0},"packages/common/codec-protobuf/src/precompiled-mapping/create-message-mapper.ts":{"bytesInOutput":3533},"packages/common/codec-protobuf/src/precompiled-mapping/codegen.ts":{"bytesInOutput":740},"packages/common/codec-protobuf/src/codec.ts":{"bytesInOutput":1602},"packages/common/codec-protobuf/src/encoding.ts":{"bytesInOutput":151},"packages/common/codec-protobuf/src/mapping.ts":{"bytesInOutput":1963},"packages/common/codec-protobuf/src/sanitizer.ts":{"bytesInOutput":1145},"packages/common/codec-protobuf/src/schema.ts":{"bytesInOutput":2346},"packages/common/codec-protobuf/src/service.ts":{"bytesInOutput":6948},"packages/common/codec-protobuf/src/substitutions/struct.ts":{"bytesInOutput":2099},"packages/common/codec-protobuf/src/substitutions/any.ts":{"bytesInOutput":1940},"packages/common/codec-protobuf/src/substitutions/index.ts":{"bytesInOutput":0},"packages/common/codec-protobuf/src/substitutions/timestamp.ts":{"bytesInOutput":380},"packages/common/codec-protobuf/src/compression.ts":{"bytesInOutput":152},"packages/common/codec-protobuf/src/util.ts":{"bytesInOutput":301}},"bytes":24849},"packages/common/codec-protobuf/dist/lib/node/stream.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/common/codec-protobuf/dist/lib/node/stream.cjs":{"imports":[{"path":"packages/common/codec-protobuf/dist/lib/node/chunk-ZLPQOOYK.cjs","kind":"import-statement"}],"exports":["Stream"],"entryPoint":"packages/common/codec-protobuf/src/stream.ts","inputs":{},"bytes":106},"packages/common/codec-protobuf/dist/lib/node/chunk-ZLPQOOYK.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13343},"packages/common/codec-protobuf/dist/lib/node/chunk-ZLPQOOYK.cjs":{"imports":[{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["Stream"],"inputs":{"packages/common/codec-protobuf/src/stream.ts":{"bytesInOutput":7209}},"bytes":7323}}} |
@@ -1,2 +0,2 @@ | ||
import pb from 'protobufjs'; | ||
import * as pb from 'protobufjs'; | ||
import { type MapingDescriptors } from '../mapping'; | ||
@@ -3,0 +3,0 @@ export type Mapper = (obj: any, extraArgs: any[]) => any; |
@@ -1,2 +0,2 @@ | ||
import pb from 'protobufjs'; | ||
import { Type } from 'protobufjs'; | ||
export interface SanitizeContext { | ||
@@ -12,3 +12,3 @@ errors: string[]; | ||
*/ | ||
export declare const sanitize: (type: pb.Type, value: any, path: string, context: SanitizeContext) => void; | ||
export declare const sanitize: (type: Type, value: any, path: string, context: SanitizeContext) => void; | ||
//# sourceMappingURL=sanitizer.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import pb from 'protobufjs'; | ||
import protobufjs from 'protobufjs'; | ||
import { ProtoCodec } from './codec'; | ||
@@ -10,3 +10,3 @@ import { type Substitutions } from './common'; | ||
private readonly _codecCache; | ||
constructor(_typesRoot: pb.Root, substitutions: Substitutions); | ||
constructor(_typesRoot: protobufjs.Root, substitutions: Substitutions); | ||
getCodecForType<K extends keyof T & string>(typeName: K): ProtoCodec<T[K]>; | ||
@@ -13,0 +13,0 @@ hasType(typeName: string): boolean; |
{ | ||
"name": "@dxos/codec-protobuf", | ||
"version": "0.6.12-main.f9d0246", | ||
"version": "0.6.12-staging.0b4bb48", | ||
"homepage": "https://dxos.org", | ||
@@ -12,4 +12,3 @@ "bugs": "https://github.com/dxos/dxos/issues", | ||
"node": { | ||
"require": "./dist/lib/node/index.cjs", | ||
"default": "./dist/lib/node-esm/index.mjs" | ||
"default": "./dist/lib/node/index.cjs" | ||
}, | ||
@@ -21,4 +20,3 @@ "types": "./dist/types/src/index.d.ts" | ||
"node": { | ||
"require": "./dist/lib/node/stream.cjs", | ||
"default": "./dist/lib/node-esm/stream.mjs" | ||
"default": "./dist/lib/node/stream.cjs" | ||
}, | ||
@@ -44,8 +42,8 @@ "types": "./dist/types/src/stream.d.ts" | ||
"protobufjs": "^7.2.5", | ||
"@dxos/async": "0.6.12-main.f9d0246", | ||
"@dxos/context": "0.6.12-main.f9d0246", | ||
"@dxos/invariant": "0.6.12-main.f9d0246", | ||
"@dxos/log": "0.6.12-main.f9d0246", | ||
"@dxos/util": "0.6.12-main.f9d0246", | ||
"@dxos/node-std": "0.6.12-main.f9d0246" | ||
"@dxos/async": "0.6.12-staging.0b4bb48", | ||
"@dxos/invariant": "0.6.12-staging.0b4bb48", | ||
"@dxos/context": "0.6.12-staging.0b4bb48", | ||
"@dxos/log": "0.6.12-staging.0b4bb48", | ||
"@dxos/node-std": "0.6.12-staging.0b4bb48", | ||
"@dxos/util": "0.6.12-staging.0b4bb48" | ||
}, | ||
@@ -52,0 +50,0 @@ "devDependencies": { |
@@ -5,3 +5,3 @@ // | ||
import pb from 'protobufjs'; | ||
import * as pb from 'protobufjs'; | ||
@@ -8,0 +8,0 @@ import { invariant } from '@dxos/invariant'; |
@@ -5,3 +5,3 @@ // | ||
import pb from 'protobufjs'; | ||
import { Enum, Type } from 'protobufjs'; | ||
@@ -19,3 +19,3 @@ export interface SanitizeContext { | ||
*/ | ||
export const sanitize = (type: pb.Type, value: any, path: string, context: SanitizeContext) => { | ||
export const sanitize = (type: Type, value: any, path: string, context: SanitizeContext) => { | ||
if (!value) { | ||
@@ -40,5 +40,5 @@ return; | ||
} | ||
if (field.resolvedType instanceof pb.Type) { | ||
if (field.resolvedType instanceof Type) { | ||
sanitize(field.resolvedType, value[key], `${path}.${key}`, context); | ||
} else if (field.resolvedType instanceof pb.Enum) { | ||
} else if (field.resolvedType instanceof Enum) { | ||
value[key] = sanitizeEnum(field.resolvedType, value[key], `${path}.${key}`, context); | ||
@@ -49,3 +49,3 @@ } | ||
const sanitizeEnum = (type: pb.Enum, value: any, path: string, context: SanitizeContext): any => { | ||
const sanitizeEnum = (type: Enum, value: any, path: string, context: SanitizeContext): any => { | ||
if (type.valuesById[value]) { | ||
@@ -52,0 +52,0 @@ return value; |
@@ -6,3 +6,3 @@ // | ||
import merge from 'lodash.merge'; | ||
import pb from 'protobufjs'; | ||
import protobufjs, { Root } from 'protobufjs'; | ||
@@ -19,3 +19,3 @@ import { ProtoCodec } from './codec'; | ||
): Schema<T, S> { | ||
const root = pb.Root.fromJSON(schema); | ||
const root = protobufjs.Root.fromJSON(schema); | ||
return new Schema(root, substitutions); | ||
@@ -30,3 +30,3 @@ } | ||
constructor( | ||
private _typesRoot: pb.Root, | ||
private _typesRoot: protobufjs.Root, | ||
substitutions: Substitutions, | ||
@@ -115,4 +115,4 @@ ) { | ||
this._typesRoot = pb.Root.fromJSON(merge(this._typesRoot.toJSON(), schema)); | ||
this._typesRoot = Root.fromJSON(merge(this._typesRoot.toJSON(), schema)); | ||
} | ||
} |
@@ -5,4 +5,6 @@ // | ||
import { describe, expect, test } from 'vitest'; | ||
import { expect } from 'chai'; | ||
import { describe, test } from '@dxos/test'; | ||
import { Stream } from './stream'; | ||
@@ -9,0 +11,0 @@ |
@@ -5,4 +5,6 @@ // | ||
import { describe, expect, test } from 'vitest'; | ||
import { expect } from 'chai'; | ||
import { describe, test } from '@dxos/test'; | ||
import { structSubstitutions } from './struct'; | ||
@@ -9,0 +11,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
288479
85
4055
+ Added@dxos/async@0.6.12-staging.0b4bb48(transitive)
+ Added@dxos/context@0.6.12-staging.0b4bb48(transitive)
+ Added@dxos/debug@0.6.12-staging.0b4bb48(transitive)
+ Added@dxos/keys@0.6.12-staging.0b4bb48(transitive)
+ Added@dxos/log@0.6.12-staging.0b4bb48(transitive)
+ Added@dxos/node-std@0.6.12-staging.0b4bb48(transitive)
+ Added@dxos/util@0.6.12-staging.0b4bb48(transitive)
- Removed@dxos/async@0.6.12-main.f9d0246(transitive)
- Removed@dxos/context@0.6.12-main.f9d0246(transitive)
- Removed@dxos/debug@0.6.12-main.f9d0246(transitive)
- Removed@dxos/keys@0.6.12-main.f9d0246(transitive)
- Removed@dxos/log@0.6.12-main.f9d0246(transitive)
- Removed@dxos/node-std@0.6.12-main.f9d0246(transitive)
- Removed@dxos/util@0.6.12-main.f9d0246(transitive)