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

gatsby-worker

Package Overview
Dependencies
Maintainers
20
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-worker - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0-alpha-qe-sm.46

dist/child-messaging.js

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Changelog: `gatsby-worker`

## [0.4.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-worker@0.4.0/packages/gatsby-worker) (2021-09-01)
[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v3.13)
#### Chores
- re-generate changelogs [#32886](https://github.com/gatsbyjs/gatsby/issues/32886) ([417df15](https://github.com/gatsbyjs/gatsby/commit/417df15230be368a9db91f2ad1a9bc0442733177))
## [0.3.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-worker@0.3.0/packages/gatsby-worker) (2021-08-18)

@@ -8,0 +16,0 @@

0

dist/child.d.ts

@@ -0,0 +0,0 @@ export interface IGatsbyWorkerMessenger<MessagesFromParent = unknown, MessagesFromChild = MessagesFromParent> {

@@ -0,0 +0,0 @@ interface IWorkerOptions {

9

dist/index.js

@@ -55,7 +55,8 @@ "use strict";

*/
workers = [];
taskQueue = new _taskQueue.TaskQueue();
idleWorkers = new Set();
listeners = [];
constructor(workerPath, options) {
this.workers = [];
this.taskQueue = new _taskQueue.TaskQueue();
this.idleWorkers = new Set();
this.listeners = [];
this.workerPath = workerPath;

@@ -62,0 +63,0 @@ this.options = options;

@@ -0,0 +0,0 @@ interface ITaskQueueNode<ValueType> {

@@ -0,0 +0,0 @@ export declare const EXECUTE = 1;

export declare const isPromise: (obj: any) => obj is PromiseLike<unknown>;
export declare const isRunning: (pid: number) => boolean;
{
"name": "gatsby-worker",
"description": "Utility to create worker pools",
"version": "0.4.0",
"version": "0.5.0-alpha-qe-sm.46+e26f3dfe37",
"author": "Michal Piechowiak<misiek.piechowiak@gmail.com>",

@@ -10,8 +10,9 @@ "bugs": {

"dependencies": {
"@babel/core": "^7.14.8"
"@babel/core": "^7.15.5",
"@babel/runtime": "^7.15.4"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/register": "^7.14.0",
"babel-preset-gatsby-package": "^1.13.0",
"@babel/cli": "^7.15.4",
"@babel/register": "^7.15.3",
"babel-preset-gatsby-package": "1.14.0-alpha-qe-sm.46+e26f3dfe37",
"cross-env": "^7.0.3",

@@ -40,5 +41,5 @@ "rimraf": "^3.0.2",

"engines": {
"node": ">=12.13.0"
"node": ">=14.15.0"
},
"gitHead": "0a455df964ce0ee46fda1c053617d5adf22a34da"
"gitHead": "e26f3dfe37a8468220e7b5f446ea731bdade41c6"
}
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