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

@fluidframework/sequence

Package Overview
Dependencies
Maintainers
3
Versions
587
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluidframework/sequence - npm Package Compare versions

Comparing version 0.26.3 to 0.26.4

2

dist/packageVersion.d.ts

@@ -8,3 +8,3 @@ /*!

export declare const pkgName = "@fluidframework/sequence";
export declare const pkgVersion = "0.26.3";
export declare const pkgVersion = "0.26.4";
//# sourceMappingURL=packageVersion.d.ts.map

@@ -10,3 +10,3 @@ "use strict";

exports.pkgName = "@fluidframework/sequence";
exports.pkgVersion = "0.26.3";
exports.pkgVersion = "0.26.4";
//# sourceMappingURL=packageVersion.js.map

@@ -387,3 +387,22 @@ "use strict";

.then((msgs) => {
msgs.forEach((m) => this.processMergeTreeMsg(m));
msgs.forEach((m) => {
const collabWindow = this.client.getCollabWindow();
if (m.minimumSequenceNumber < collabWindow.minSeq
|| m.referenceSequenceNumber < collabWindow.minSeq
|| m.sequenceNumber <= collabWindow.minSeq
|| m.sequenceNumber <= collabWindow.currentSeq) {
assert_1.strict.fail(`Invalid catchup operations in snapshot: ${JSON.stringify({
op: {
seq: m.sequenceNumber,
minSeq: m.minimumSequenceNumber,
refSeq: m.referenceSequenceNumber,
},
collabWindow: {
seq: collabWindow.currentSeq,
minSeq: collabWindow.minSeq,
},
})}`);
}
this.processMergeTreeMsg(m);
});
this.loadFinished();

@@ -390,0 +409,0 @@ })

@@ -8,3 +8,3 @@ /*!

export declare const pkgName = "@fluidframework/sequence";
export declare const pkgVersion = "0.26.3";
export declare const pkgVersion = "0.26.4";
//# sourceMappingURL=packageVersion.d.ts.map

@@ -8,3 +8,3 @@ /*!

export const pkgName = "@fluidframework/sequence";
export const pkgVersion = "0.26.3";
export const pkgVersion = "0.26.4";
//# sourceMappingURL=packageVersion.js.map

@@ -375,3 +375,22 @@ /*!

.then((msgs) => {
msgs.forEach((m) => this.processMergeTreeMsg(m));
msgs.forEach((m) => {
const collabWindow = this.client.getCollabWindow();
if (m.minimumSequenceNumber < collabWindow.minSeq
|| m.referenceSequenceNumber < collabWindow.minSeq
|| m.sequenceNumber <= collabWindow.minSeq
|| m.sequenceNumber <= collabWindow.currentSeq) {
assert.fail(`Invalid catchup operations in snapshot: ${JSON.stringify({
op: {
seq: m.sequenceNumber,
minSeq: m.minimumSequenceNumber,
refSeq: m.referenceSequenceNumber,
},
collabWindow: {
seq: collabWindow.currentSeq,
minSeq: collabWindow.minSeq,
},
})}`);
}
this.processMergeTreeMsg(m);
});
this.loadFinished();

@@ -378,0 +397,0 @@ })

{
"name": "@fluidframework/sequence",
"version": "0.26.3",
"version": "0.26.4",
"description": "Distributed sequence",

@@ -59,10 +59,10 @@ "homepage": "https://fluidframework.com",

"@fluidframework/common-utils": "^0.23.0",
"@fluidframework/core-interfaces": "^0.26.3",
"@fluidframework/datastore-definitions": "^0.26.3",
"@fluidframework/map": "^0.26.3",
"@fluidframework/merge-tree": "^0.26.3",
"@fluidframework/core-interfaces": "^0.26.4",
"@fluidframework/datastore-definitions": "^0.26.4",
"@fluidframework/map": "^0.26.4",
"@fluidframework/merge-tree": "^0.26.4",
"@fluidframework/protocol-definitions": "^0.1012.0",
"@fluidframework/runtime-utils": "^0.26.3",
"@fluidframework/shared-object-base": "^0.26.3",
"@fluidframework/telemetry-utils": "^0.26.3",
"@fluidframework/runtime-utils": "^0.26.4",
"@fluidframework/shared-object-base": "^0.26.4",
"@fluidframework/telemetry-utils": "^0.26.4",
"debug": "^4.1.1",

@@ -75,5 +75,5 @@ "lodash": "^4.17.19"

"@fluidframework/gitresources": "^0.1012.0",
"@fluidframework/mocha-test-setup": "^0.26.3",
"@fluidframework/mocha-test-setup": "^0.26.4",
"@fluidframework/server-services-client": "^0.1012.0",
"@fluidframework/test-runtime-utils": "^0.26.3",
"@fluidframework/test-runtime-utils": "^0.26.4",
"@microsoft/api-extractor": "^7.7.2",

@@ -80,0 +80,0 @@ "@types/debug": "^4.1.5",

@@ -9,2 +9,2 @@ /*!

export const pkgName = "@fluidframework/sequence";
export const pkgVersion = "0.26.3";
export const pkgVersion = "0.26.4";

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

.then((msgs) => {
msgs.forEach((m) => this.processMergeTreeMsg(m));
msgs.forEach((m) => {
const collabWindow = this.client.getCollabWindow();
if (m.minimumSequenceNumber < collabWindow.minSeq
|| m.referenceSequenceNumber < collabWindow.minSeq
|| m.sequenceNumber <= collabWindow.minSeq
|| m.sequenceNumber <= collabWindow.currentSeq) {
assert.fail(`Invalid catchup operations in snapshot: ${
JSON.stringify({
op:{
seq: m.sequenceNumber,
minSeq: m.minimumSequenceNumber,
refSeq:m.referenceSequenceNumber,
},
collabWindow:{
seq: collabWindow.currentSeq,
minSeq: collabWindow.minSeq,
},
})}`);
}
this.processMergeTreeMsg(m);
});
this.loadFinished();

@@ -513,0 +533,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

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