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

@fluidframework/driver-definitions

Package Overview
Dependencies
Maintainers
3
Versions
485
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluidframework/driver-definitions - npm Package Compare versions

Comparing version 0.33.3 to 0.34.0-14942

1

dist/driverError.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.DriverErrorType = void 0;
/**

@@ -9,0 +10,0 @@ * Driver Error types

19

dist/index.js

@@ -6,9 +6,16 @@ "use strict";

*/
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./driverError"));
__export(require("./storage"));
__export(require("./urlResolver"));
__exportStar(require("./driverError"), exports);
__exportStar(require("./storage"), exports);
__exportStar(require("./urlResolver"), exports);
//# sourceMappingURL=index.js.map

@@ -8,2 +8,15 @@ /*!

import { IResolvedUrl } from "./urlResolver";
export interface IDeltasFetchResult {
/**
* Sequential set of messages starting from 'from' sequence number.
* May be partial result, i.e. not fulfill original request in full.
*/
messages: ISequencedDocumentMessage[];
/**
* If true, storage only partially fulfilled request, but has more ops
* If false, the request was fulfilled. If less ops were returned then
* requested, then storage does not have more ops in this range.
*/
partialResult: boolean;
}
/**

@@ -16,3 +29,3 @@ * Interface to provide access to stored deltas for a shared object

*/
get(tenantId: string, id: string, from?: number, to?: number): Promise<ISequencedDocumentMessage[]>;
get(tenantId: string, id: string, from: number, to: number): Promise<IDeltasFetchResult>;
}

@@ -26,3 +39,3 @@ /**

*/
get(from?: number, to?: number): Promise<ISequencedDocumentMessage[]>;
get(from: number, to: number): Promise<IDeltasFetchResult>;
}

@@ -29,0 +42,0 @@ /**

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.LoaderCachingPolicy = void 0;
var LoaderCachingPolicy;

@@ -9,0 +10,0 @@ (function (LoaderCachingPolicy) {

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.DriverHeader = void 0;
/**

@@ -9,0 +10,0 @@ * Additional key in the loader request header

@@ -8,2 +8,15 @@ /*!

import { IResolvedUrl } from "./urlResolver";
export interface IDeltasFetchResult {
/**
* Sequential set of messages starting from 'from' sequence number.
* May be partial result, i.e. not fulfill original request in full.
*/
messages: ISequencedDocumentMessage[];
/**
* If true, storage only partially fulfilled request, but has more ops
* If false, the request was fulfilled. If less ops were returned then
* requested, then storage does not have more ops in this range.
*/
partialResult: boolean;
}
/**

@@ -16,3 +29,3 @@ * Interface to provide access to stored deltas for a shared object

*/
get(tenantId: string, id: string, from?: number, to?: number): Promise<ISequencedDocumentMessage[]>;
get(tenantId: string, id: string, from: number, to: number): Promise<IDeltasFetchResult>;
}

@@ -26,3 +39,3 @@ /**

*/
get(from?: number, to?: number): Promise<ISequencedDocumentMessage[]>;
get(from: number, to: number): Promise<IDeltasFetchResult>;
}

@@ -29,0 +42,0 @@ /**

{
"name": "@fluidframework/driver-definitions",
"version": "0.33.3",
"version": "0.34.0-14942",
"description": "Fluid driver definitions",

@@ -32,24 +32,24 @@ "homepage": "https://fluidframework.com",

"@fluidframework/common-definitions": "^0.19.1",
"@fluidframework/core-interfaces": "^0.33.3",
"@fluidframework/protocol-definitions": "^0.1018.0"
"@fluidframework/core-interfaces": "0.34.0-14942",
"@fluidframework/protocol-definitions": "^0.1019.0-0"
},
"devDependencies": {
"@fluidframework/build-common": "^0.19.2",
"@fluidframework/eslint-config-fluid": "^0.21.0",
"@fluidframework/build-common": "^0.20.0-0",
"@fluidframework/eslint-config-fluid": "^0.22.1-0",
"@microsoft/api-extractor": "^7.7.2",
"@typescript-eslint/eslint-plugin": "~4.2.0",
"@typescript-eslint/parser": "~4.2.0",
"@typescript-eslint/eslint-plugin": "~4.14.0",
"@typescript-eslint/parser": "~4.14.0",
"concurrently": "^5.2.0",
"copyfiles": "^2.1.0",
"eslint": "~7.9.0",
"eslint": "~7.18.0",
"eslint-plugin-eslint-comments": "~3.2.0",
"eslint-plugin-import": "~2.22.0",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-no-null": "~1.0.2",
"eslint-plugin-prefer-arrow": "~1.2.2",
"eslint-plugin-react": "~7.21.2",
"eslint-plugin-unicorn": "~22.0.0",
"eslint-plugin-react": "~7.22.0",
"eslint-plugin-unicorn": "~26.0.1",
"rimraf": "^2.6.2",
"typescript": "~3.7.4",
"typescript": "~4.1.3",
"typescript-formatter": "7.1.0"
}
}

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

export interface IDeltasFetchResult {
/**
* Sequential set of messages starting from 'from' sequence number.
* May be partial result, i.e. not fulfill original request in full.
*/
messages: ISequencedDocumentMessage[];
/**
* If true, storage only partially fulfilled request, but has more ops
* If false, the request was fulfilled. If less ops were returned then
* requested, then storage does not have more ops in this range.
*/
partialResult: boolean;
}
/**

@@ -38,4 +53,4 @@ * Interface to provide access to stored deltas for a shared object

id: string,
from?: number,
to?: number): Promise<ISequencedDocumentMessage[]>;
from: number,
to: number): Promise<IDeltasFetchResult>;
}

@@ -50,3 +65,3 @@

*/
get(from?: number, to?: number): Promise<ISequencedDocumentMessage[]>;
get(from: number, to: number): Promise<IDeltasFetchResult>;
}

@@ -53,0 +68,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

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