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.
@types/pouchdb-adapter-idb
Advanced tools
TypeScript definitions for pouchdb-adapter-idb
npm install --save @types/pouchdb-adapter-idb
This package contains type definitions for pouchdb-adapter-idb (https://pouchdb.com/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-idb.
/// <reference types="pouchdb-core" />
declare namespace PouchDB {
namespace Core {
interface DatabaseInfo {
idb_attachment_format?: "base64" | "binary" | undefined;
}
}
namespace IdbAdapter {
interface IdbAdapterConfiguration extends Configuration.LocalDatabaseConfiguration {
/**
* Configures storage persistence.
*
* Only works in Firefox 26+.
*/
storage?: "persistent" | "temporary" | undefined;
adapter: "idb";
}
}
interface Static {
new<Content extends {}>(name: string | null, options: IdbAdapter.IdbAdapterConfiguration): Database<Content>;
}
}
declare module "pouchdb-adapter-idb" {
const plugin: PouchDB.Plugin;
export = plugin;
}
These definitions were written by Simon Paulger, Brian Geppert, and Frederico Galvão.
FAQs
TypeScript definitions for pouchdb-adapter-idb
The npm package @types/pouchdb-adapter-idb receives a total of 21,497 weekly downloads. As such, @types/pouchdb-adapter-idb popularity was classified as popular.
We found that @types/pouchdb-adapter-idb 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.
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.