Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dice-mist

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dice-mist - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

dist/73b956ab2873621bc47e.worker.js.map

2

dist/src/MistThreaded.d.ts

@@ -5,3 +5,3 @@ import MistBase from './MistBase';

numFiles: number;
worker: Worker;
worker: any;
constructor(config: any, files: any);

@@ -8,0 +8,0 @@ private listenToMessages;

{
"name": "dice-mist",
"version": "0.0.4",
"version": "0.0.5",
"description": "A wrapper for the evaporate library allowing use in a web worker.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -17,3 +17,2 @@ import * as Evaporate from 'evaporate';

};
console.log(formattedConfig);
const cancel = () => evaporate.cancel(`${data.bucketName}/${data.path}`);

@@ -20,0 +19,0 @@

@@ -8,3 +8,3 @@ import MistBase from './MistBase';

numFiles: number;
worker: Worker;
worker: any;

@@ -11,0 +11,0 @@ constructor(config, files) {

@@ -13,2 +13,3 @@ import * as Evaporate from 'evaporate';

private listenToEvents = () => {
// @ts-ignore
self.onmessage = async ({ data }) => {

@@ -20,2 +21,3 @@ const { type, id, config } = data;

if (this.evaporate) this.evaporate.cancel(id);
// @ts-ignore
else console.error('Cannot cancel, evaporate not initialised');

@@ -56,2 +58,3 @@ break;

...config,
// @ts-ignore
cryptoMd5Method: data => btoa(SparkMD5.ArrayBuffer.hash(data, true)),

@@ -58,0 +61,0 @@ cryptoHexEncodedHash256: data => {

{
"compilerOptions": {
"target": "es2015",
"target": "ES5",
"lib": ["ES2015"],
"moduleResolution": "node",

@@ -5,0 +6,0 @@ "removeComments": true,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc