🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@fluidframework/protocol-base

Package Overview
Dependencies
Maintainers
2
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluidframework/protocol-base - npm Package Compare versions

Comparing version

to
3.0.0-231483

.eslintrc.cjs

10

api-extractor.json
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"extends": "../../api-extractor-build-base.json",
"messages": {
"extractorMessageReporting": {
// TODO: Add missing documentation and remove this rule override
"ae-undocumented": {
"logLevel": "none"
}
}
}
"extends": "../../api-extractor-build-base.json"
}

@@ -87,2 +87,14 @@ "use strict";

// this ensures future state changes will not affect outside callers
const snapshot = this._quorum.snapshot();
const quorumMembers = snapshot.members;
// Removing any identifying client information
quorumMembers.forEach((member) => {
member[1] = {
...member[1],
client: {
...member[1].client,
user: { id: "" },
},
};
});
return {

@@ -92,2 +104,3 @@ sequenceNumber: this.sequenceNumber,

...this._quorum.snapshot(),
members: quorumMembers,
};

@@ -94,0 +107,0 @@ }

@@ -84,2 +84,14 @@ /*!

// this ensures future state changes will not affect outside callers
const snapshot = this._quorum.snapshot();
const quorumMembers = snapshot.members;
// Removing any identifying client information
quorumMembers.forEach((member) => {
member[1] = {
...member[1],
client: {
...member[1].client,
user: { id: "" },
},
};
});
return {

@@ -89,2 +101,3 @@ sequenceNumber: this.sequenceNumber,

...this._quorum.snapshot(),
members: quorumMembers,
};

@@ -91,0 +104,0 @@ }

{
"name": "@fluidframework/protocol-base",
"version": "3.0.0-223236",
"version": "3.0.0-231483",
"description": "Fluid protocol base",

@@ -34,3 +34,3 @@ "homepage": "https://fluidframework.com",

"prettier:fix": "prettier --write . --cache --ignore-path ../../.prettierignore",
"test": "mocha --recursive \"dist/test/*.spec.js\"",
"test": "mocha --recursive \"dist/test/*.spec.*js\"",
"test:coverage": "c8 npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml",

@@ -46,9 +46,9 @@ "tsc": "tsc",

"exclude": [
"src/test/**/*.ts",
"dist/test/**/*.js"
"src/test/**/*.*ts",
"dist/test/**/*.*js"
],
"exclude-after-remap": false,
"include": [
"src/**/*.ts",
"dist/**/*.js"
"src/**/*.*ts",
"dist/**/*.*js"
],

@@ -64,5 +64,5 @@ "report-dir": "nyc/report",

"dependencies": {
"@fluidframework/common-utils": "^3.0.0-223006",
"@fluidframework/gitresources": "3.0.0-223236",
"@fluidframework/protocol-definitions": "^3.1.0-223007",
"@fluidframework/common-utils": "^3.1.0",
"@fluidframework/gitresources": "3.0.0-231483",
"@fluidframework/protocol-definitions": "^3.2.0-231454",
"events": "^3.1.0"

@@ -76,7 +76,7 @@ },

"@fluidframework/protocol-base-previous": "npm:@fluidframework/protocol-base@2.0.0",
"@microsoft/api-extractor": "^7.38.3",
"@microsoft/api-extractor": "^7.39.1",
"@types/assert": "^1.5.1",
"@types/mocha": "^10.0.1",
"@types/node": "^18.17.1",
"c8": "^7.7.1",
"c8": "^8.0.1",
"concurrently": "^8.2.1",

@@ -83,0 +83,0 @@ "copyfiles": "^2.4.1",

@@ -157,2 +157,18 @@ /*!

// this ensures future state changes will not affect outside callers
const snapshot = this._quorum.snapshot();
const quorumMembers = snapshot.members;
// Removing any identifying client information
quorumMembers.forEach((member) => {
member[1] = {
...member[1],
client: {
...member[1].client,
user: { id: "" },
},
};
});
return {

@@ -162,4 +178,5 @@ sequenceNumber: this.sequenceNumber,

...this._quorum.snapshot(),
members: quorumMembers,
};
}
}

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