Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fluidframework/protocol-definitions

Package Overview
Dependencies
Maintainers
2
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluidframework/protocol-definitions - npm Package Compare versions

Comparing version 0.1027.1000 to 0.1028.1000-58358

11

api-report/protocol-definitions.api.md

@@ -17,4 +17,2 @@ ## API Report File for "@fluidframework/protocol-definitions"

// (undocumented)
Commit = "160000",
// (undocumented)
Directory = "040000",

@@ -383,6 +381,2 @@ // (undocumented)

// (undocumented)
commits: {
[path: string]: string;
};
// (undocumented)
id?: string;

@@ -582,5 +576,2 @@ // (undocumented)

} | {
type: TreeEntry.Commit;
value: string;
} | {
type: TreeEntry.Tree;

@@ -706,4 +697,2 @@ value: ITree;

// (undocumented)
Commit = "Commit",
// (undocumented)
Tree = "Tree"

@@ -710,0 +699,0 @@ }

@@ -23,3 +23,2 @@ /*!

Directory = "040000",
Commit = "160000",
Symlink = "120000"

@@ -50,5 +49,2 @@ }

} | {
type: TreeEntry.Commit;
value: string;
} | {
type: TreeEntry.Tree;

@@ -65,3 +61,2 @@ value: ITree;

Blob = "Blob",
Commit = "Commit",
Tree = "Tree",

@@ -80,5 +75,2 @@ Attachment = "Attachment"

};
commits: {
[path: string]: string;
};
trees: {

@@ -85,0 +77,0 @@ [path: string]: ISnapshotTree;

2

dist/storage.js

@@ -13,3 +13,2 @@ "use strict";

FileMode["Directory"] = "040000";
FileMode["Commit"] = "160000";
FileMode["Symlink"] = "120000";

@@ -23,3 +22,2 @@ })(FileMode = exports.FileMode || (exports.FileMode = {}));

TreeEntry["Blob"] = "Blob";
TreeEntry["Commit"] = "Commit";
TreeEntry["Tree"] = "Tree";

@@ -26,0 +24,0 @@ TreeEntry["Attachment"] = "Attachment";

@@ -23,3 +23,2 @@ /*!

Directory = "040000",
Commit = "160000",
Symlink = "120000"

@@ -50,5 +49,2 @@ }

} | {
type: TreeEntry.Commit;
value: string;
} | {
type: TreeEntry.Tree;

@@ -65,3 +61,2 @@ value: ITree;

Blob = "Blob",
Commit = "Commit",
Tree = "Tree",

@@ -80,5 +75,2 @@ Attachment = "Attachment"

};
commits: {
[path: string]: string;
};
trees: {

@@ -85,0 +77,0 @@ [path: string]: ISnapshotTree;

@@ -10,3 +10,2 @@ /*!

FileMode["Directory"] = "040000";
FileMode["Commit"] = "160000";
FileMode["Symlink"] = "120000";

@@ -20,3 +19,2 @@ })(FileMode || (FileMode = {}));

TreeEntry["Blob"] = "Blob";
TreeEntry["Commit"] = "Commit";
TreeEntry["Tree"] = "Tree";

@@ -23,0 +21,0 @@ TreeEntry["Attachment"] = "Attachment";

16

lib/test/types/validate0.1024.0.js
use_current_TypeAliasDeclaration_ConnectionMode(get_old_TypeAliasDeclaration_ConnectionMode());
use_old_TypeAliasDeclaration_ConnectionMode(get_current_TypeAliasDeclaration_ConnectionMode());
use_current_EnumDeclaration_FileMode(get_old_EnumDeclaration_FileMode());
use_current_EnumDeclaration_FileMode(
// @ts-expect-error compatibility expected to be broken
get_old_EnumDeclaration_FileMode());
use_old_EnumDeclaration_FileMode(get_current_EnumDeclaration_FileMode());

@@ -86,5 +88,9 @@ use_current_InterfaceDeclaration_IActorClient(get_old_InterfaceDeclaration_IActorClient());

use_current_InterfaceDeclaration_ISnapshotTree(get_old_InterfaceDeclaration_ISnapshotTree());
use_old_InterfaceDeclaration_ISnapshotTree(get_current_InterfaceDeclaration_ISnapshotTree());
use_old_InterfaceDeclaration_ISnapshotTree(
// @ts-expect-error compatibility expected to be broken
get_current_InterfaceDeclaration_ISnapshotTree());
use_current_InterfaceDeclaration_ISnapshotTreeEx(get_old_InterfaceDeclaration_ISnapshotTreeEx());
use_old_InterfaceDeclaration_ISnapshotTreeEx(get_current_InterfaceDeclaration_ISnapshotTreeEx());
use_old_InterfaceDeclaration_ISnapshotTreeEx(
// @ts-expect-error compatibility expected to be broken
get_current_InterfaceDeclaration_ISnapshotTreeEx());
use_current_InterfaceDeclaration_ISummaryAck(get_old_InterfaceDeclaration_ISummaryAck());

@@ -154,5 +160,7 @@ use_old_InterfaceDeclaration_ISummaryAck(get_current_InterfaceDeclaration_ISummaryAck());

use_old_TypeAliasDeclaration_SummaryTypeNoHandle(get_current_TypeAliasDeclaration_SummaryTypeNoHandle());
use_current_EnumDeclaration_TreeEntry(get_old_EnumDeclaration_TreeEntry());
use_current_EnumDeclaration_TreeEntry(
// @ts-expect-error compatibility expected to be broken
get_old_EnumDeclaration_TreeEntry());
use_old_EnumDeclaration_TreeEntry(get_current_EnumDeclaration_TreeEntry());
export {};
//# sourceMappingURL=validate0.1024.0.js.map
use_current_TypeAliasDeclaration_ConnectionMode(get_old_TypeAliasDeclaration_ConnectionMode());
use_old_TypeAliasDeclaration_ConnectionMode(get_current_TypeAliasDeclaration_ConnectionMode());
use_current_EnumDeclaration_FileMode(get_old_EnumDeclaration_FileMode());
use_current_EnumDeclaration_FileMode(
// @ts-expect-error compatibility expected to be broken
get_old_EnumDeclaration_FileMode());
use_old_EnumDeclaration_FileMode(get_current_EnumDeclaration_FileMode());

@@ -92,5 +94,9 @@ use_current_InterfaceDeclaration_IActorClient(get_old_InterfaceDeclaration_IActorClient());

use_current_InterfaceDeclaration_ISnapshotTree(get_old_InterfaceDeclaration_ISnapshotTree());
use_old_InterfaceDeclaration_ISnapshotTree(get_current_InterfaceDeclaration_ISnapshotTree());
use_old_InterfaceDeclaration_ISnapshotTree(
// @ts-expect-error compatibility expected to be broken
get_current_InterfaceDeclaration_ISnapshotTree());
use_current_InterfaceDeclaration_ISnapshotTreeEx(get_old_InterfaceDeclaration_ISnapshotTreeEx());
use_old_InterfaceDeclaration_ISnapshotTreeEx(get_current_InterfaceDeclaration_ISnapshotTreeEx());
use_old_InterfaceDeclaration_ISnapshotTreeEx(
// @ts-expect-error compatibility expected to be broken
get_current_InterfaceDeclaration_ISnapshotTreeEx());
use_current_InterfaceDeclaration_ISummaryAck(get_old_InterfaceDeclaration_ISummaryAck());

@@ -130,5 +136,9 @@ use_old_InterfaceDeclaration_ISummaryAck(get_current_InterfaceDeclaration_ISummaryAck());

use_old_InterfaceDeclaration_ITrace(get_current_InterfaceDeclaration_ITrace());
use_current_InterfaceDeclaration_ITree(get_old_InterfaceDeclaration_ITree());
use_current_InterfaceDeclaration_ITree(
// @ts-expect-error compatibility expected to be broken
get_old_InterfaceDeclaration_ITree());
use_old_InterfaceDeclaration_ITree(get_current_InterfaceDeclaration_ITree());
use_current_TypeAliasDeclaration_ITreeEntry(get_old_TypeAliasDeclaration_ITreeEntry());
use_current_TypeAliasDeclaration_ITreeEntry(
// @ts-expect-error compatibility expected to be broken
get_old_TypeAliasDeclaration_ITreeEntry());
use_old_TypeAliasDeclaration_ITreeEntry(get_current_TypeAliasDeclaration_ITreeEntry());

@@ -157,5 +167,7 @@ use_current_InterfaceDeclaration_IUploadedSummaryDetails(get_old_InterfaceDeclaration_IUploadedSummaryDetails());

use_old_TypeAliasDeclaration_SummaryTypeNoHandle(get_current_TypeAliasDeclaration_SummaryTypeNoHandle());
use_current_EnumDeclaration_TreeEntry(get_old_EnumDeclaration_TreeEntry());
use_current_EnumDeclaration_TreeEntry(
// @ts-expect-error compatibility expected to be broken
get_old_EnumDeclaration_TreeEntry());
use_old_EnumDeclaration_TreeEntry(get_current_EnumDeclaration_TreeEntry());
export {};
//# sourceMappingURL=validate0.1025.1.js.map
use_current_TypeAliasDeclaration_ConnectionMode(get_old_TypeAliasDeclaration_ConnectionMode());
use_old_TypeAliasDeclaration_ConnectionMode(get_current_TypeAliasDeclaration_ConnectionMode());
use_current_EnumDeclaration_FileMode(get_old_EnumDeclaration_FileMode());
use_current_EnumDeclaration_FileMode(
// @ts-expect-error compatibility expected to be broken
get_old_EnumDeclaration_FileMode());
use_old_EnumDeclaration_FileMode(get_current_EnumDeclaration_FileMode());

@@ -90,5 +92,9 @@ use_current_InterfaceDeclaration_IActorClient(get_old_InterfaceDeclaration_IActorClient());

use_current_InterfaceDeclaration_ISnapshotTree(get_old_InterfaceDeclaration_ISnapshotTree());
use_old_InterfaceDeclaration_ISnapshotTree(get_current_InterfaceDeclaration_ISnapshotTree());
use_old_InterfaceDeclaration_ISnapshotTree(
// @ts-expect-error compatibility expected to be broken
get_current_InterfaceDeclaration_ISnapshotTree());
use_current_InterfaceDeclaration_ISnapshotTreeEx(get_old_InterfaceDeclaration_ISnapshotTreeEx());
use_old_InterfaceDeclaration_ISnapshotTreeEx(get_current_InterfaceDeclaration_ISnapshotTreeEx());
use_old_InterfaceDeclaration_ISnapshotTreeEx(
// @ts-expect-error compatibility expected to be broken
get_current_InterfaceDeclaration_ISnapshotTreeEx());
use_current_InterfaceDeclaration_ISummaryAck(get_old_InterfaceDeclaration_ISummaryAck());

@@ -128,5 +134,9 @@ use_old_InterfaceDeclaration_ISummaryAck(get_current_InterfaceDeclaration_ISummaryAck());

use_old_InterfaceDeclaration_ITrace(get_current_InterfaceDeclaration_ITrace());
use_current_InterfaceDeclaration_ITree(get_old_InterfaceDeclaration_ITree());
use_current_InterfaceDeclaration_ITree(
// @ts-expect-error compatibility expected to be broken
get_old_InterfaceDeclaration_ITree());
use_old_InterfaceDeclaration_ITree(get_current_InterfaceDeclaration_ITree());
use_current_TypeAliasDeclaration_ITreeEntry(get_old_TypeAliasDeclaration_ITreeEntry());
use_current_TypeAliasDeclaration_ITreeEntry(
// @ts-expect-error compatibility expected to be broken
get_old_TypeAliasDeclaration_ITreeEntry());
use_old_TypeAliasDeclaration_ITreeEntry(get_current_TypeAliasDeclaration_ITreeEntry());

@@ -171,5 +181,7 @@ use_current_InterfaceDeclaration_IUploadedSummaryDetails(get_old_InterfaceDeclaration_IUploadedSummaryDetails());

use_old_TypeAliasDeclaration_SummaryTypeNoHandle(get_current_TypeAliasDeclaration_SummaryTypeNoHandle());
use_current_EnumDeclaration_TreeEntry(get_old_EnumDeclaration_TreeEntry());
use_current_EnumDeclaration_TreeEntry(
// @ts-expect-error compatibility expected to be broken
get_old_EnumDeclaration_TreeEntry());
use_old_EnumDeclaration_TreeEntry(get_current_EnumDeclaration_TreeEntry());
export {};
//# sourceMappingURL=validate0.1026.0.js.map
use_current_TypeAliasDeclaration_ConnectionMode(get_old_TypeAliasDeclaration_ConnectionMode());
use_old_TypeAliasDeclaration_ConnectionMode(get_current_TypeAliasDeclaration_ConnectionMode());
use_current_EnumDeclaration_FileMode(get_old_EnumDeclaration_FileMode());
use_current_EnumDeclaration_FileMode(
// @ts-expect-error compatibility expected to be broken
get_old_EnumDeclaration_FileMode());
use_old_EnumDeclaration_FileMode(get_current_EnumDeclaration_FileMode());

@@ -82,5 +84,9 @@ use_current_InterfaceDeclaration_IActorClient(get_old_InterfaceDeclaration_IActorClient());

use_current_InterfaceDeclaration_ISnapshotTree(get_old_InterfaceDeclaration_ISnapshotTree());
use_old_InterfaceDeclaration_ISnapshotTree(get_current_InterfaceDeclaration_ISnapshotTree());
use_old_InterfaceDeclaration_ISnapshotTree(
// @ts-expect-error compatibility expected to be broken
get_current_InterfaceDeclaration_ISnapshotTree());
use_current_InterfaceDeclaration_ISnapshotTreeEx(get_old_InterfaceDeclaration_ISnapshotTreeEx());
use_old_InterfaceDeclaration_ISnapshotTreeEx(get_current_InterfaceDeclaration_ISnapshotTreeEx());
use_old_InterfaceDeclaration_ISnapshotTreeEx(
// @ts-expect-error compatibility expected to be broken
get_current_InterfaceDeclaration_ISnapshotTreeEx());
use_current_InterfaceDeclaration_ISummaryAck(get_old_InterfaceDeclaration_ISummaryAck());

@@ -118,5 +124,9 @@ use_old_InterfaceDeclaration_ISummaryAck(get_current_InterfaceDeclaration_ISummaryAck());

use_old_InterfaceDeclaration_ITrace(get_current_InterfaceDeclaration_ITrace());
use_current_InterfaceDeclaration_ITree(get_old_InterfaceDeclaration_ITree());
use_current_InterfaceDeclaration_ITree(
// @ts-expect-error compatibility expected to be broken
get_old_InterfaceDeclaration_ITree());
use_old_InterfaceDeclaration_ITree(get_current_InterfaceDeclaration_ITree());
use_current_TypeAliasDeclaration_ITreeEntry(get_old_TypeAliasDeclaration_ITreeEntry());
use_current_TypeAliasDeclaration_ITreeEntry(
// @ts-expect-error compatibility expected to be broken
get_old_TypeAliasDeclaration_ITreeEntry());
use_old_TypeAliasDeclaration_ITreeEntry(get_current_TypeAliasDeclaration_ITreeEntry());

@@ -159,5 +169,7 @@ use_current_InterfaceDeclaration_IUploadedSummaryDetails(get_old_InterfaceDeclaration_IUploadedSummaryDetails());

use_old_TypeAliasDeclaration_SummaryTypeNoHandle(get_current_TypeAliasDeclaration_SummaryTypeNoHandle());
use_current_EnumDeclaration_TreeEntry(get_old_EnumDeclaration_TreeEntry());
use_current_EnumDeclaration_TreeEntry(
// @ts-expect-error compatibility expected to be broken
get_old_EnumDeclaration_TreeEntry());
use_old_EnumDeclaration_TreeEntry(get_current_EnumDeclaration_TreeEntry());
export {};
//# sourceMappingURL=validate0.1027.0.js.map
{
"name": "@fluidframework/protocol-definitions",
"version": "0.1027.1000",
"version": "0.1028.1000-58358",
"description": "Fluid protocol definitions",
"homepage": "https://fluidframework.com",
"repository": "https://github.com/microsoft/FluidFramework",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/FluidFramework.git",
"directory": "common/lib/protocol-definitions"
},
"license": "MIT",

@@ -41,4 +45,4 @@ "author": "Microsoft and contributors",

"@fluidframework/build-common": "^0.23.0",
"@fluidframework/build-tools": "^0.2.54658",
"@fluidframework/eslint-config-fluid": "^0.26.0",
"@fluidframework/build-tools": "^0.2.56910",
"@fluidframework/eslint-config-fluid": "^0.27.0",
"@fluidframework/protocol-definitions-0.1024.0": "npm:@fluidframework/protocol-definitions@0.1024.0",

@@ -66,3 +70,3 @@ "@fluidframework/protocol-definitions-0.1025.1": "npm:@fluidframework/protocol-definitions@0.1025.1",

"typeValidation": {
"version": "0.1027.1000",
"version": "0.1027.2000",
"broken": {

@@ -98,2 +102,14 @@ "0.1024.0": {

"forwardCompat": false
},
"InterfaceDeclaration_ISnapshotTree": {
"backCompat": false
},
"InterfaceDeclaration_ISnapshotTreeEx": {
"backCompat": false
},
"EnumDeclaration_TreeEntry": {
"forwardCompat": false
},
"EnumDeclaration_FileMode": {
"forwardCompat": false
}

@@ -123,2 +139,20 @@ },

"backCompat": false
},
"InterfaceDeclaration_ISnapshotTree": {
"backCompat": false
},
"InterfaceDeclaration_ISnapshotTreeEx": {
"backCompat": false
},
"EnumDeclaration_TreeEntry": {
"forwardCompat": false
},
"InterfaceDeclaration_ITree": {
"forwardCompat": false
},
"TypeAliasDeclaration_ITreeEntry": {
"forwardCompat": false
},
"EnumDeclaration_FileMode": {
"forwardCompat": false
}

@@ -145,3 +179,41 @@ },

"backCompat": false
},
"InterfaceDeclaration_ISnapshotTree": {
"backCompat": false
},
"InterfaceDeclaration_ISnapshotTreeEx": {
"backCompat": false
},
"EnumDeclaration_TreeEntry": {
"forwardCompat": false
},
"InterfaceDeclaration_ITree": {
"forwardCompat": false
},
"TypeAliasDeclaration_ITreeEntry": {
"forwardCompat": false
},
"EnumDeclaration_FileMode": {
"forwardCompat": false
}
},
"0.1027.0": {
"InterfaceDeclaration_ISnapshotTree": {
"backCompat": false
},
"InterfaceDeclaration_ISnapshotTreeEx": {
"backCompat": false
},
"EnumDeclaration_TreeEntry": {
"forwardCompat": false
},
"InterfaceDeclaration_ITree": {
"forwardCompat": false
},
"TypeAliasDeclaration_ITreeEntry": {
"forwardCompat": false
},
"EnumDeclaration_FileMode": {
"forwardCompat": false
}
}

@@ -148,0 +220,0 @@ }

@@ -27,3 +27,2 @@ /*!

Directory = "040000",
Commit = "160000",
Symlink = "120000",

@@ -57,4 +56,4 @@ }

path: string;
// The file mode; one of 100644 for file (blob), 100755 for executable (blob), 040000 for subdirectory (tree),
// 160000 for submodule (commit), or 120000 for a blob that specifies the path of a symlink
// The file mode; one of 100644 for file (blob), 100755 for executable (blob), 040000 for subdirectory (tree)
// or 120000 for a blob that specifies the path of a symlink
mode: FileMode;

@@ -66,5 +65,2 @@ } & (

} | {
type: TreeEntry.Commit;
value: string;
} | {
type: TreeEntry.Tree;

@@ -82,3 +78,2 @@ value: ITree;

Blob = "Blob",
Commit = "Commit",
Tree = "Tree",

@@ -100,4 +95,2 @@ Attachment = "Attachment",

blobs: { [path: string]: string };
// TODO: Commits should be removed from here to ISnapshotTreeEx once ODSP snapshots move away from commits
commits: { [path: string]: string };
trees: { [path: string]: ISnapshotTree };

@@ -104,0 +97,0 @@ // Indicates that this tree is unreferenced. If this is not present, the tree is considered referenced.

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc