
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.
A file picker for evergreen browsers.
Via NPM:
npm install quikpik
Or use unpkg:
<script src="https://unpkg.com/quikpik@0.0.3/dist/quikpik.js"></script>
Quikpik doesn't implement the upload for you, so the uploader is the one argument you must pass in. The following example shows how to upload a file to S3 using quikpik and XMLHttpRequest. Here, presigned
is an object that contains S3 presigned post data.
quikpik({
upload({ file, onProgress }) {
const xhr = new XMLHttpRequest();
const data = new FormData();
data.append('Content-Type', file.type);
data.append('key', presigned.fullKey);
data.append('AWSAccessKeyId', presigned.awsAccessKeyId);
data.append('acl', presigned.acl);
data.append('policy', presigned.policy);
data.append('signature', presigned.signature);
data.append('file', file);
const promise = new Promise((resolve, reject) => {
xhr.onreadystatechange = () => {
if (xhr.readyState === 4) {
if (xhr.status >= 200 && xhr.status < 300) {
resolve(xhr);
} else {
reject(xhr);
}
}
};
xhr.upload.addEventListener('progress', (e) => {
onProgress(Math.ceil((e.loaded / e.total) * 100));
});
xhr.open('POST', presigned.url);
xhr.send(data);
});
return {
promise,
cancel() {
xhr.abort();
},
};
},
});
This is really early days for quikpik. I have yet to ad localization parameters, tests, etc. It's very much a work in progress.
If you like the quikpik UI, you'll love (tailwindui)[https://tailwindui.com/] on which it's based. I'm not afilliated. I'm just a subscriber and a fan.
FAQs
A file picker for evergreen browsers.
The npm package quikpik receives a total of 222 weekly downloads. As such, quikpik popularity was classified as not popular.
We found that quikpik 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.
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.