Socket
Socket
Sign inDemoInstall

file-worker

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.11 to 0.0.12

2

package.json
{
"name": "file-worker",
"version": "0.0.11",
"version": "0.0.12",
"description": "Process files asynchronous at browser with web worker.",

@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js",

@@ -6,3 +6,2 @@ import {FileWorkerProcessor, FileWorkerConfig} from "./types";

static async readFile(file : File, processor : FileWorkerProcessor) : Promise<any> {
console.log(file);
const result : Promise<any> = new Promise<any>((resolve, reject) => {

@@ -9,0 +8,0 @@ const worker : Worker = WebWorkerHelper.createWebWorker(processor);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc