
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@firecms/data_import
Advanced tools
This plugin enables importing data into Firestore collections directly from your FireCMS interface. It adds an import button to collection views, providing a simple way to bulk add or update data from CSV or JSON files.
npm install @firecms/data_import
# or
yarn add @firecms/data_import
import React from "react";
import { FireCMS } from "@firecms/core";
import { useImportPlugin } from "@firecms/data_import";
export default function App() {
// Basic setup with default options
const importPlugin = useImportPlugin();
return <FireCMS
name={"My Online Shop"}
plugins={[importPlugin]}
authentication={myAuthenticator}
collections={myCollections}
firebaseConfig={firebaseConfig}
/>;
}
You can customize the import behavior with these options:
const importPlugin = useImportPlugin({
// Track import events
onAnalyticsEvent: (event, params) => {
console.log("Import event:", event, params);
// Example events: "import_started", "import_completed", "import_error"
}
});
Option | Type | Description |
---|---|---|
onAnalyticsEvent | (event: string, params?: any) => void | Callback for tracking import events |
For a complete data management solution, use both import and export plugins together:
import { useImportPlugin } from "@firecms/data_import";
import { useExportPlugin } from "@firecms/data_export";
// Set up both plugins
const importPlugin = useImportPlugin();
const exportPlugin = useExportPlugin();
// Add both to your FireCMS app
return (
<FireCMS
// ...other props
plugins={[importPlugin, exportPlugin]}
>
{/* ... */}
</FireCMS>
);
FAQs
Unknown package
The npm package @firecms/data_import receives a total of 295 weekly downloads. As such, @firecms/data_import popularity was classified as not popular.
We found that @firecms/data_import demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.