Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@types/i18next-node-fs-backend
Advanced tools
TypeScript definitions for i18next-node-fs-backend
npm install --save @types/i18next-node-fs-backend
This package contains type definitions for i18next-node-fs-backend (https://github.com/i18next/i18next-node-fs-backend).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/i18next-node-fs-backend.
declare namespace I18next {
interface I18nextOptions extends i18nextNodeFsBackEnd.I18nextOptions {}
}
declare namespace i18nextNodeFsBackEnd {
/**
* @summary Options for "i18next-node-fs-backend".
* @interface
*/
interface i18nextNodeFsBackEndOptions {
/**
* @summary Path where resources get loaded from.
*/
loadPath: string;
/**
* @summary Path to post missing resources
*/
addPath: string;
/**
* @summary jsonIndent to use when storing json files
*/
jsonIndent: number;
/**
* @summary custom parser
*/
parse?: ((data: any) => any) | undefined;
}
/**
* @summary Options for "i18next".
* @interface
*/
interface I18nextOptions {
backend?: i18nextNodeFsBackEndOptions | undefined;
}
}
declare module "i18next-node-fs-backend" {
import * as i18next from "i18next";
class Backend implements i18next.BackendModule<i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions> {
type: "backend";
constructor(services?: any, options?: i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions);
init(
services: i18next.Services,
backendOptions?: i18nextNodeFsBackEnd.i18nextNodeFsBackEndOptions,
i18nextOptions?: i18next.InitOptions,
): void;
read(language: string, namespace: string, callback: i18next.ReadCallback): void;
create(languages: string[], namespace: string, key: string, fallbackValue: string): void;
}
const module: typeof Backend;
export = module;
}
These definitions were written by Cyril Schumacher, and Silas Rech.
FAQs
TypeScript definitions for i18next-node-fs-backend
We found that @types/i18next-node-fs-backend demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
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.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.