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

@fluid-experimental/data-object-base

Package Overview
Dependencies
Maintainers
0
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluid-experimental/data-object-base - npm Package Compare versions

Comparing version 2.3.0-288113 to 2.3.0

13

dist/runtimeFactory.d.ts

@@ -5,7 +5,5 @@ /*!

*/
import type { IContainerContext } from "@fluidframework/container-definitions/internal";
import { ContainerRuntime } from "@fluidframework/container-runtime/internal";
import type { IContainerContext, IRuntime } from "@fluidframework/container-definitions/internal";
import type { IContainerRuntime } from "@fluidframework/container-runtime-definitions/internal";
import type { FluidObject } from "@fluidframework/core-interfaces";
import { type RuntimeRequestHandler } from "@fluidframework/request-handler/internal";
import type { IFluidDataStoreFactory } from "@fluidframework/runtime-definitions/internal";

@@ -20,6 +18,2 @@ import { RuntimeFactoryHelper } from "@fluidframework/runtime-utils/internal";

storeFactories: IFluidDataStoreFactory[];
/**
* @deprecated Will be removed once Loader LTS version is "2.0.0-internal.7.0.0". Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
*/
requestHandlers?: RuntimeRequestHandler[];
provideEntryPoint: (runtime: IContainerRuntime) => Promise<FluidObject>;

@@ -33,8 +27,7 @@ }

private readonly defaultStoreFactory;
private readonly requestHandlers;
private readonly provideEntryPoint;
constructor(props: RuntimeFactoryProps);
instantiateFirstTime(runtime: ContainerRuntime): Promise<void>;
preInitialize(context: IContainerContext, existing: boolean): Promise<ContainerRuntime>;
instantiateFirstTime(runtime: IContainerRuntime): Promise<void>;
preInitialize(context: IContainerContext, existing: boolean): Promise<IContainerRuntime & IRuntime>;
}
//# sourceMappingURL=runtimeFactory.d.ts.map

@@ -9,4 +9,3 @@ "use strict";

const internal_1 = require("@fluidframework/container-runtime/internal");
const internal_2 = require("@fluidframework/request-handler/internal");
const internal_3 = require("@fluidframework/runtime-utils/internal");
const internal_2 = require("@fluidframework/runtime-utils/internal");
const defaultStoreId = "";

@@ -16,3 +15,3 @@ /**

*/
class RuntimeFactory extends internal_3.RuntimeFactoryHelper {
class RuntimeFactory extends internal_2.RuntimeFactoryHelper {
constructor(props) {

@@ -22,3 +21,2 @@ super();

this.provideEntryPoint = props.provideEntryPoint;
this.requestHandlers = props.requestHandlers ?? [];
const storeFactories = props.storeFactories ?? [this.defaultStoreFactory];

@@ -34,8 +32,6 @@ this.registry = (storeFactories.includes(this.defaultStoreFactory)

async preInitialize(context, existing) {
const runtime = await internal_1.ContainerRuntime.loadRuntime({
const runtime = await (0, internal_1.loadContainerRuntime)({
context,
registryEntries: this.registry,
existing,
// eslint-disable-next-line import/no-deprecated
requestHandler: (0, internal_2.buildRuntimeRequestHandler)(...this.requestHandlers),
provideEntryPoint: this.provideEntryPoint,

@@ -42,0 +38,0 @@ });

@@ -5,7 +5,5 @@ /*!

*/
import type { IContainerContext } from "@fluidframework/container-definitions/internal";
import { ContainerRuntime } from "@fluidframework/container-runtime/internal";
import type { IContainerContext, IRuntime } from "@fluidframework/container-definitions/internal";
import type { IContainerRuntime } from "@fluidframework/container-runtime-definitions/internal";
import type { FluidObject } from "@fluidframework/core-interfaces";
import { type RuntimeRequestHandler } from "@fluidframework/request-handler/internal";
import type { IFluidDataStoreFactory } from "@fluidframework/runtime-definitions/internal";

@@ -20,6 +18,2 @@ import { RuntimeFactoryHelper } from "@fluidframework/runtime-utils/internal";

storeFactories: IFluidDataStoreFactory[];
/**
* @deprecated Will be removed once Loader LTS version is "2.0.0-internal.7.0.0". Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
*/
requestHandlers?: RuntimeRequestHandler[];
provideEntryPoint: (runtime: IContainerRuntime) => Promise<FluidObject>;

@@ -33,8 +27,7 @@ }

private readonly defaultStoreFactory;
private readonly requestHandlers;
private readonly provideEntryPoint;
constructor(props: RuntimeFactoryProps);
instantiateFirstTime(runtime: ContainerRuntime): Promise<void>;
preInitialize(context: IContainerContext, existing: boolean): Promise<ContainerRuntime>;
instantiateFirstTime(runtime: IContainerRuntime): Promise<void>;
preInitialize(context: IContainerContext, existing: boolean): Promise<IContainerRuntime & IRuntime>;
}
//# sourceMappingURL=runtimeFactory.d.ts.map

@@ -5,6 +5,3 @@ /*!

*/
import { ContainerRuntime } from "@fluidframework/container-runtime/internal";
import {
// eslint-disable-next-line import/no-deprecated
buildRuntimeRequestHandler, } from "@fluidframework/request-handler/internal";
import { loadContainerRuntime } from "@fluidframework/container-runtime/internal";
import { RuntimeFactoryHelper } from "@fluidframework/runtime-utils/internal";

@@ -20,3 +17,2 @@ const defaultStoreId = "";

this.provideEntryPoint = props.provideEntryPoint;
this.requestHandlers = props.requestHandlers ?? [];
const storeFactories = props.storeFactories ?? [this.defaultStoreFactory];

@@ -32,8 +28,6 @@ this.registry = (storeFactories.includes(this.defaultStoreFactory)

async preInitialize(context, existing) {
const runtime = await ContainerRuntime.loadRuntime({
const runtime = await loadContainerRuntime({
context,
registryEntries: this.registry,
existing,
// eslint-disable-next-line import/no-deprecated
requestHandler: buildRuntimeRequestHandler(...this.requestHandlers),
provideEntryPoint: this.provideEntryPoint,

@@ -40,0 +34,0 @@ });

@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.

"packageName": "@microsoft/api-extractor",
"packageVersion": "7.45.1"
"packageVersion": "7.47.8"
}
]
}
{
"name": "@fluid-experimental/data-object-base",
"version": "2.3.0-288113",
"version": "2.3.0",
"description": "Data object base for synchronously and lazily loaded object scenarios",

@@ -36,14 +36,14 @@ "homepage": "https://fluidframework.com",

"dependencies": {
"@fluid-internal/client-utils": "2.3.0-288113",
"@fluidframework/container-definitions": "2.3.0-288113",
"@fluidframework/container-runtime": "2.3.0-288113",
"@fluidframework/container-runtime-definitions": "2.3.0-288113",
"@fluidframework/core-interfaces": "2.3.0-288113",
"@fluidframework/core-utils": "2.3.0-288113",
"@fluidframework/datastore": "2.3.0-288113",
"@fluidframework/datastore-definitions": "2.3.0-288113",
"@fluidframework/request-handler": "2.3.0-288113",
"@fluidframework/runtime-definitions": "2.3.0-288113",
"@fluidframework/runtime-utils": "2.3.0-288113",
"@fluidframework/shared-object-base": "2.3.0-288113"
"@fluid-internal/client-utils": "~2.3.0",
"@fluidframework/container-definitions": "~2.3.0",
"@fluidframework/container-runtime": "~2.3.0",
"@fluidframework/container-runtime-definitions": "~2.3.0",
"@fluidframework/core-interfaces": "~2.3.0",
"@fluidframework/core-utils": "~2.3.0",
"@fluidframework/datastore": "~2.3.0",
"@fluidframework/datastore-definitions": "~2.3.0",
"@fluidframework/request-handler": "~2.3.0",
"@fluidframework/runtime-definitions": "~2.3.0",
"@fluidframework/runtime-utils": "~2.3.0",
"@fluidframework/shared-object-base": "~2.3.0"
},

@@ -53,7 +53,7 @@ "devDependencies": {

"@biomejs/biome": "~1.8.3",
"@fluid-tools/build-cli": "^0.43.0",
"@fluid-tools/build-cli": "^0.46.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.43.0",
"@fluidframework/eslint-config-fluid": "^5.3.0",
"@microsoft/api-extractor": "^7.45.1",
"@fluidframework/build-tools": "^0.46.0",
"@fluidframework/eslint-config-fluid": "^5.4.0",
"@microsoft/api-extractor": "7.47.8",
"@types/node": "^18.19.0",

@@ -69,3 +69,4 @@ "concurrently": "^8.2.1",

"disabled": true,
"broken": {}
"broken": {},
"entrypoint": "internal"
},

@@ -72,0 +73,0 @@ "scripts": {

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