New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

webworker-threads

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webworker-threads - npm Package Compare versions

Comparing version 0.7.12 to 0.7.13

test-import-script.js

5

CHANGES.md

@@ -0,1 +1,6 @@

## 0.7.13
* Allows overriding of console.log, console.error, fs.readFileSync (@ncthbrt)
* Fixes a tiny memory leak in BSON destruction. (@823639792)
## 0.7.12

@@ -2,0 +7,0 @@

2

package.json
{
"name": "webworker-threads",
"version": "0.7.12",
"version": "0.7.13",
"main": "index.js",

@@ -5,0 +5,0 @@ "description": "Lightweight Web Worker API implementation with native threads",

@@ -6,19 +6,4 @@ // Generated by LiveScript 1.3.1

w = new Worker(function(){
return this.onmessage = function(arg$){
var max, i$, n, j$, to$, i;
max = arg$.data.max;
search: for (i$ = 2; i$ <= max; ++i$) {
n = i$;
for (j$ = 2, to$ = Math.sqrt(n); j$ <= to$; ++j$) {
i = j$;
if (!(n % i)) {
continue search;
}
}
postMessage({
result: n
});
}
throw 'done';
};
importScripts('test-imported-script.js');
return this.onmessage = foo;
});

@@ -25,0 +10,0 @@ w.onmessage = function(arg$){

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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