Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@fluidframework/agent-scheduler
Advanced tools
Built in runtime object for distributing agents across instances of a container
When taking a dependency on a Fluid Framework library's public APIs, we recommend using a ^
(caret) version range, such as ^1.3.4
.
While Fluid Framework libraries may use different ranges with interdependencies between other Fluid Framework libraries,
library consumers should always prefer ^
.
If using any of Fluid Framework's unstable APIs (for example, its beta
APIs), we recommend using a more constrained version range, such as ~
.
The AgentScheduler
is a data object that can be used to assign tasks to unique clients.
To create an AgentScheduler
as a child instance of your data object, add the factory to your registry and call the static createChildInstance
function on the factory. You can then retrieve and store its handle to access it later:
// In your Data Object
protected async initializingFirstTime() {
const agentScheduler = await AgentSchedulerFactory.createChildInstance(this.context);
this.root.set("agentScheduler", agentScheduler.handle);
}
// When creating your DataObjectFactory
export const MyDataObjectFactory = new DataObjectFactory(
"my-data-object",
MyDataObject,
[],
{},
new Map([
AgentSchedulerFactory.registryEntry,
]),
);
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
Use of these trademarks or logos must follow Microsoft's Trademark & Brand Guidelines.
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
FAQs
Built in runtime object for distributing agents across instances of a container
We found that @fluidframework/agent-scheduler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.