
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
fauna-dumpify
Advanced tools
Library responsible for iterating over given collections and write a CSV file per collection on a given path.
Usage API:
faunaDump (key: string, outputPath: string, options?: {
collections?: Array<string>, // defaults to all collections
headers?: (collection: string) => Array<string>, // allows you to specify which headers to be sent to the csv file
startPointInTime?: Date, // sets the starting point of what documents to filter, use this with `faunaLambda` for better results
endPointInTime?: Date, // at what point in time are the results valid
pageSize?: Number, // how many documents to paginate for performance reasons (default: 1000)
headerTransformer?: (header: string) => string, // allows you to rename headers
dataTransformer?: (header, data) => data[header], // allows you to make changes to each row data
appendData?: (_, data) => data, // appends data to each row data
faunaLambda?: (faunaQueryBuilder, collection), => faunaQueryBuilder // allows you to modify the fauna query to your own needs
onCollectionProgress?: (progress) => {} // reports on the progress of each collection fetching process.
}): Promise<string>
Example:
faunaDump(faunaKey, outputPath, {
collections: ['Token', 'User'],
headers: (collection) => {
if (collection === 'User') {
return ['id', 'name', 'picture', 'email', 'issuer', 'github', 'public_address', 'inserted_at', 'updated_at']
}
return ['id']
},
dataTransformer: (header, allData, collection) => {
if (header === 'inserted_at') return allData.created?.value
return allData[header]
}
})
FAQs
Javascript package to dump fauna data into a CSV
The npm package fauna-dumpify receives a total of 0 weekly downloads. As such, fauna-dumpify popularity was classified as not popular.
We found that fauna-dumpify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.