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

impress

Package Overview
Dependencies
Maintainers
4
Versions
719
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

impress - npm Package Compare versions

Comparing version 2.6.4 to 2.6.5

8

CHANGELOG.md

@@ -5,2 +5,7 @@ # Changelog

## [2.6.5][] - 2021-09-30
- Fix: do not release thread if invoke is not exclusive
- Fix: write `task.id` to serialized task `.json` file
## [2.6.4][] - 2021-09-23

@@ -229,3 +234,4 @@

[unreleased]: https://github.com/metarhia/impress/compare/v2.6.4...HEAD
[unreleased]: https://github.com/metarhia/impress/compare/v2.6.5...HEAD
[2.6.5]: https://github.com/metarhia/impress/compare/v2.6.4...v2.6.5
[2.6.4]: https://github.com/metarhia/impress/compare/v2.6.3...v2.6.4

@@ -232,0 +238,0 @@ [2.6.3]: https://github.com/metarhia/impress/compare/v2.6.2...v2.6.3

2

impress.js

@@ -111,3 +111,3 @@ 'use strict';

if (name === 'done') {
pool.release(worker);
if (exclusive) pool.release(worker);
return;

@@ -114,0 +114,0 @@ }

@@ -215,3 +215,3 @@ 'use strict';

if (parentPort) {
parentPort.on('message', async ({ type, name, data, port }) => {
parentPort.on('message', async ({ type, name, exclusive, data, port }) => {
if (type !== 'invoke' || name !== 'request') return;

@@ -231,3 +231,3 @@ const { method, args } = data;

} finally {
parentPort.postMessage({ type: 'invoke', name: 'done' });
parentPort.postMessage({ type: 'invoke', name: 'done', exclusive });
}

@@ -234,0 +234,0 @@ });

@@ -83,2 +83,3 @@ 'use strict';

const id = metautil.nowDate() + '-id-' + this.nextId.toString();
task.id = id;
this.nextId++;

@@ -85,0 +86,0 @@ const started = this.restore({ id, ...task });

{
"name": "impress",
"version": "2.6.4",
"version": "2.6.5",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Enterprise application server for Node.js",

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