
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.
cordova-plugin-archive-zip
Advanced tools
Cordova plugin to create zip archive
cordova plugin add cordova-plugin-archive-zip
// you may also install directly from this repo cordova plugin add https://github.com/kitolog/cordova-plugin-zip-archive
Here is simple example of how to zip files
Create instance of Zip plugin:
var zipInstance = new window.zipArchive()
Set data consumer, error and close handlers:
zipInstance.onError = function(errorMessage) {
// invoked after error occurs
};
Archive files
zipInstance.zip('/PATH/TO/NEW/ARCHIVE.zip',
['/PATH/TO/FILE1.txt',
'/PATH/TO/FILE2.txt'
'/PATH/TO/FILE3.txt'
'/PATH/TO/FILE4.csv'
],
() => {
// zip archive created
},
(error) => {
// handle errors
})
onError: (message: string) => void
Invoked when some error occurs during zip process.
on: (eventName: string, callback: function) => void
Syntax sugar for the event handlers (onTick, onStop, onError)
eventName: error
zip(path, files, options, onSuccess?, onError?): void
Establishes connection with the remote host.
parameter | type | description |
---|---|---|
path | string | zip archive path |
files | string array | path to files |
options | options object or null | path to files |
onSuccess | () => void | Success callback - called after archive was created. (optional) |
onError | (message: string) => void | Error callback - called when some error occurs during creating an archive. (optional) |
parameter | type | description |
---|---|---|
maxSize | float | File size, in Mb. Default 0 - no max size |
FAQs
Cordova Zip archive plugin with multipart support
The npm package cordova-plugin-archive-zip receives a total of 2 weekly downloads. As such, cordova-plugin-archive-zip popularity was classified as not popular.
We found that cordova-plugin-archive-zip 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
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.