New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fluidframework/sequence

Package Overview
Dependencies
Maintainers
0
Versions
588
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 2.12.0 to 2.13.0

4

CHANGELOG.md
# @fluidframework/sequence
## 2.13.0
Dependency updates only.
## 2.12.0

@@ -4,0 +8,0 @@

2

dist/packageVersion.d.ts

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

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

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

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

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

}
const startType = startSeg.removedSeq !== undefined
const startType = (0, internal_2.segmentIsRemoved)(startSeg)
? internal_2.ReferenceType.SlideOnRemove | internal_2.ReferenceType.RangeBegin

@@ -51,3 +51,3 @@ : internal_2.ReferenceType.StayOnRemove | internal_2.ReferenceType.RangeBegin;

}
const endType = endSeg.removedSeq !== undefined
const endType = (0, internal_2.segmentIsRemoved)(startSeg)
? internal_2.ReferenceType.SlideOnRemove | internal_2.ReferenceType.RangeEnd

@@ -79,7 +79,7 @@ : internal_2.ReferenceType.StayOnRemove | internal_2.ReferenceType.RangeEnd;

// interval within the removed segment is handled by the remove range revertible.
const startType = startSeg.removedSeq !== undefined
const startType = (0, internal_2.segmentIsRemoved)(startSeg)
? internal_2.ReferenceType.SlideOnRemove | internal_2.ReferenceType.RangeBegin
: internal_2.ReferenceType.StayOnRemove | internal_2.ReferenceType.RangeBegin;
const endSeg = previousInterval.end.getSegment();
const endType = endSeg.removedSeq !== undefined
const endType = (0, internal_2.segmentIsRemoved)(startSeg)
? internal_2.ReferenceType.SlideOnRemove | internal_2.ReferenceType.RangeEnd

@@ -192,3 +192,3 @@ : internal_2.ReferenceType.StayOnRemove | internal_2.ReferenceType.RangeEnd;

intervalId: interval.getIntervalId(),
label: interval.properties.referenceRangeLabels[0],
label: interval.properties.referenceRangeLabels?.[0],
startOffset: offset,

@@ -202,3 +202,3 @@ endOffset,

intervalId: interval.getIntervalId(),
label: interval.properties.referenceRangeLabels[0],
label: interval.properties.referenceRangeLabels?.[0],
endOffset: offset,

@@ -259,3 +259,3 @@ });

const id = getUpdatedIdFromInterval(revertible.interval);
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
string.getIntervalCollection(label).removeIntervalById(id);

@@ -279,3 +279,3 @@ }

function revertLocalDelete(string, revertible) {
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
const collection = string.getIntervalCollection(label);

@@ -305,3 +305,3 @@ const start = string.localReferencePositionToPosition(revertible.start);

function revertLocalChange(string, revertible) {
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
const collection = string.getIntervalCollection(label);

@@ -325,3 +325,3 @@ const id = getUpdatedIdFromInterval(revertible.interval);

function revertLocalPropertyChanged(string, revertible) {
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
const id = getUpdatedIdFromInterval(revertible.interval);

@@ -328,0 +328,0 @@ const newProps = revertible.propertyDeltas;

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

}, dataStoreRuntime.options);
// eslint-disable-next-line import/no-deprecated
this.client = new internal_3.Client(segmentFromSpec, (0, internal_6.createChildLogger)({

@@ -298,5 +297,3 @@ logger: this.logger,

if (!this.intervalCollections.tryResubmitMessage(content, localOpMetadata)) {
this.submitSequenceMessage(this.client.regeneratePendingOp(content,
// eslint-disable-next-line import/no-deprecated
localOpMetadata));
this.submitSequenceMessage(this.client.regeneratePendingOp(content, localOpMetadata));
}

@@ -303,0 +300,0 @@ });

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

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

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

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

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

import { MergeTreeDeltaType, ReferenceType, SlidingPreference, // eslint-disable-next-line import/no-deprecated
SortedSet, appendToMergeTreeDeltaRevertibles, discardMergeTreeDeltaRevertible, getSlideToSegoff, isMergeTreeDeltaRevertible, refTypeIncludesFlag, revertMergeTreeDeltaRevertibles, Side, } from "@fluidframework/merge-tree/internal";
SortedSet, appendToMergeTreeDeltaRevertibles, discardMergeTreeDeltaRevertible, getSlideToSegoff, isMergeTreeDeltaRevertible, refTypeIncludesFlag, revertMergeTreeDeltaRevertibles, Side, segmentIsRemoved, } from "@fluidframework/merge-tree/internal";
import { IntervalOpType, SequenceIntervalClass } from "./intervals/index.js";

@@ -41,3 +41,3 @@ const idMap = new Map();

}
const startType = startSeg.removedSeq !== undefined
const startType = segmentIsRemoved(startSeg)
? ReferenceType.SlideOnRemove | ReferenceType.RangeBegin

@@ -49,3 +49,3 @@ : ReferenceType.StayOnRemove | ReferenceType.RangeBegin;

}
const endType = endSeg.removedSeq !== undefined
const endType = segmentIsRemoved(startSeg)
? ReferenceType.SlideOnRemove | ReferenceType.RangeEnd

@@ -76,7 +76,7 @@ : ReferenceType.StayOnRemove | ReferenceType.RangeEnd;

// interval within the removed segment is handled by the remove range revertible.
const startType = startSeg.removedSeq !== undefined
const startType = segmentIsRemoved(startSeg)
? ReferenceType.SlideOnRemove | ReferenceType.RangeBegin
: ReferenceType.StayOnRemove | ReferenceType.RangeBegin;
const endSeg = previousInterval.end.getSegment();
const endType = endSeg.removedSeq !== undefined
const endType = segmentIsRemoved(startSeg)
? ReferenceType.SlideOnRemove | ReferenceType.RangeEnd

@@ -187,3 +187,3 @@ : ReferenceType.StayOnRemove | ReferenceType.RangeEnd;

intervalId: interval.getIntervalId(),
label: interval.properties.referenceRangeLabels[0],
label: interval.properties.referenceRangeLabels?.[0],
startOffset: offset,

@@ -197,3 +197,3 @@ endOffset,

intervalId: interval.getIntervalId(),
label: interval.properties.referenceRangeLabels[0],
label: interval.properties.referenceRangeLabels?.[0],
endOffset: offset,

@@ -252,3 +252,3 @@ });

const id = getUpdatedIdFromInterval(revertible.interval);
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
string.getIntervalCollection(label).removeIntervalById(id);

@@ -272,3 +272,3 @@ }

function revertLocalDelete(string, revertible) {
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
const collection = string.getIntervalCollection(label);

@@ -298,3 +298,3 @@ const start = string.localReferencePositionToPosition(revertible.start);

function revertLocalChange(string, revertible) {
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
const collection = string.getIntervalCollection(label);

@@ -318,3 +318,3 @@ const id = getUpdatedIdFromInterval(revertible.interval);

function revertLocalPropertyChanged(string, revertible) {
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
const id = getUpdatedIdFromInterval(revertible.interval);

@@ -321,0 +321,0 @@ const newProps = revertible.propertyDeltas;

@@ -8,6 +8,4 @@ /*!

import { MessageType, } from "@fluidframework/driver-definitions/internal";
import {
import { Client, MergeTreeDeltaType, createAnnotateRangeOp,
// eslint-disable-next-line import/no-deprecated
Client, MergeTreeDeltaType, createAnnotateRangeOp,
// eslint-disable-next-line import/no-deprecated
createGroupOp, createInsertOp, createObliterateRangeOp, createRemoveRangeOp, matchProperties, } from "@fluidframework/merge-tree/internal";

@@ -138,3 +136,2 @@ import { ObjectStoragePartition, SummaryTreeBuilder, } from "@fluidframework/runtime-utils/internal";

}, dataStoreRuntime.options);
// eslint-disable-next-line import/no-deprecated
this.client = new Client(segmentFromSpec, createChildLogger({

@@ -297,5 +294,3 @@ logger: this.logger,

if (!this.intervalCollections.tryResubmitMessage(content, localOpMetadata)) {
this.submitSequenceMessage(this.client.regeneratePendingOp(content,
// eslint-disable-next-line import/no-deprecated
localOpMetadata));
this.submitSequenceMessage(this.client.regeneratePendingOp(content, localOpMetadata));
}

@@ -302,0 +297,0 @@ });

{
"name": "@fluidframework/sequence",
"version": "2.12.0",
"version": "2.13.0",
"description": "Distributed sequence",

@@ -82,12 +82,12 @@ "homepage": "https://fluidframework.com",

"dependencies": {
"@fluid-internal/client-utils": "~2.12.0",
"@fluidframework/core-interfaces": "~2.12.0",
"@fluidframework/core-utils": "~2.12.0",
"@fluidframework/datastore-definitions": "~2.12.0",
"@fluidframework/driver-definitions": "~2.12.0",
"@fluidframework/merge-tree": "~2.12.0",
"@fluidframework/runtime-definitions": "~2.12.0",
"@fluidframework/runtime-utils": "~2.12.0",
"@fluidframework/shared-object-base": "~2.12.0",
"@fluidframework/telemetry-utils": "~2.12.0",
"@fluid-internal/client-utils": "~2.13.0",
"@fluidframework/core-interfaces": "~2.13.0",
"@fluidframework/core-utils": "~2.13.0",
"@fluidframework/datastore-definitions": "~2.13.0",
"@fluidframework/driver-definitions": "~2.13.0",
"@fluidframework/merge-tree": "~2.13.0",
"@fluidframework/runtime-definitions": "~2.13.0",
"@fluidframework/runtime-utils": "~2.13.0",
"@fluidframework/shared-object-base": "~2.13.0",
"@fluidframework/telemetry-utils": "~2.13.0",
"double-ended-queue": "^2.1.0-0",

@@ -99,5 +99,5 @@ "uuid": "^9.0.0"

"@biomejs/biome": "~1.9.3",
"@fluid-internal/mocha-test-setup": "~2.12.0",
"@fluid-private/stochastic-test-utils": "~2.12.0",
"@fluid-private/test-dds-utils": "~2.12.0",
"@fluid-internal/mocha-test-setup": "~2.13.0",
"@fluid-private/stochastic-test-utils": "~2.13.0",
"@fluid-private/test-dds-utils": "~2.13.0",
"@fluid-tools/benchmark": "^0.50.0",

@@ -107,10 +107,10 @@ "@fluid-tools/build-cli": "^0.51.0",

"@fluidframework/build-tools": "^0.51.0",
"@fluidframework/container-definitions": "~2.12.0",
"@fluidframework/container-definitions": "~2.13.0",
"@fluidframework/eslint-config-fluid": "^5.6.0",
"@fluidframework/sequence-previous": "npm:@fluidframework/sequence@2.11.0",
"@fluidframework/test-runtime-utils": "~2.12.0",
"@fluidframework/sequence-previous": "npm:@fluidframework/sequence@2.12.0",
"@fluidframework/test-runtime-utils": "~2.13.0",
"@microsoft/api-extractor": "7.47.8",
"@types/diff": "^3.5.1",
"@types/double-ended-queue": "^2.1.0",
"@types/mocha": "^9.1.1",
"@types/mocha": "^10.0.10",
"@types/node": "^18.19.0",

@@ -117,0 +117,0 @@ "@types/uuid": "^9.0.2",

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

export const pkgName = "@fluidframework/sequence";
export const pkgVersion = "2.12.0";
export const pkgVersion = "2.13.0";

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

type ISegmentInternal,
segmentIsRemoved,
} from "@fluidframework/merge-tree/internal";

@@ -131,6 +132,5 @@

}
const startType =
startSeg.removedSeq !== undefined
? ReferenceType.SlideOnRemove | ReferenceType.RangeBegin
: ReferenceType.StayOnRemove | ReferenceType.RangeBegin;
const startType = segmentIsRemoved(startSeg)
? ReferenceType.SlideOnRemove | ReferenceType.RangeBegin
: ReferenceType.StayOnRemove | ReferenceType.RangeBegin;
const endSeg = interval.end.getSegment() as SharedStringSegment | undefined;

@@ -140,6 +140,5 @@ if (!endSeg) {

}
const endType =
endSeg.removedSeq !== undefined
? ReferenceType.SlideOnRemove | ReferenceType.RangeEnd
: ReferenceType.StayOnRemove | ReferenceType.RangeEnd;
const endType = segmentIsRemoved(startSeg)
? ReferenceType.SlideOnRemove | ReferenceType.RangeEnd
: ReferenceType.StayOnRemove | ReferenceType.RangeEnd;
const startRef = string.createLocalReferencePosition(

@@ -187,11 +186,9 @@ startSeg,

// interval within the removed segment is handled by the remove range revertible.
const startType =
startSeg.removedSeq !== undefined
? ReferenceType.SlideOnRemove | ReferenceType.RangeBegin
: ReferenceType.StayOnRemove | ReferenceType.RangeBegin;
const startType = segmentIsRemoved(startSeg)
? ReferenceType.SlideOnRemove | ReferenceType.RangeBegin
: ReferenceType.StayOnRemove | ReferenceType.RangeBegin;
const endSeg = previousInterval.end.getSegment() as SharedStringSegment;
const endType =
endSeg.removedSeq !== undefined
? ReferenceType.SlideOnRemove | ReferenceType.RangeEnd
: ReferenceType.StayOnRemove | ReferenceType.RangeEnd;
const endType = segmentIsRemoved(startSeg)
? ReferenceType.SlideOnRemove | ReferenceType.RangeEnd
: ReferenceType.StayOnRemove | ReferenceType.RangeEnd;
const prevStartRef = string.createLocalReferencePosition(

@@ -350,3 +347,3 @@ startSeg,

intervalId: interval.getIntervalId(),
label: interval.properties.referenceRangeLabels[0],
label: interval.properties.referenceRangeLabels?.[0],
startOffset: offset,

@@ -361,3 +358,3 @@ endOffset,

intervalId: interval.getIntervalId(),
label: interval.properties.referenceRangeLabels[0],
label: interval.properties.referenceRangeLabels?.[0],
endOffset: offset,

@@ -444,3 +441,3 @@ });

const id = getUpdatedIdFromInterval(revertible.interval);
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
string.getIntervalCollection(label).removeIntervalById(id);

@@ -473,3 +470,3 @@ }

) {
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
const collection = string.getIntervalCollection(label);

@@ -513,3 +510,3 @@ const start = string.localReferencePositionToPosition(revertible.start);

) {
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
const collection = string.getIntervalCollection(label);

@@ -554,3 +551,3 @@ const id = getUpdatedIdFromInterval(revertible.interval);

) {
const label = revertible.interval.properties.referenceRangeLabels[0];
const label = revertible.interval.properties.referenceRangeLabels?.[0];
const id = getUpdatedIdFromInterval(revertible.interval);

@@ -557,0 +554,0 @@ const newProps = revertible.propertyDeltas;

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

import {
// eslint-disable-next-line import/no-deprecated
Client,

@@ -40,4 +39,2 @@ IJSONSegment,

ReferenceType,
// eslint-disable-next-line import/no-deprecated
SegmentGroup,
SlidingPreference,

@@ -509,3 +506,2 @@ createAnnotateRangeOp,

// eslint-disable-next-line import/no-deprecated
protected client: Client;

@@ -549,3 +545,2 @@ private messagesSinceMSNChange: ISequencedDocumentMessage[] = [];

// eslint-disable-next-line import/no-deprecated
this.client = new Client(

@@ -819,7 +814,3 @@ segmentFromSpec,

this.submitSequenceMessage(
this.client.regeneratePendingOp(
content as IMergeTreeOp,
// eslint-disable-next-line import/no-deprecated
localOpMetadata as SegmentGroup | SegmentGroup[],
),
this.client.regeneratePendingOp(content as IMergeTreeOp, localOpMetadata),
);

@@ -826,0 +817,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

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