Socket
Socket
Sign inDemoInstall

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 3.0.6 to 3.0.7

5

impress.js

@@ -105,2 +105,6 @@ 'use strict';

},
terminate: () => {
process.emit('TERMINATE');
},
};

@@ -208,2 +212,3 @@

process.on('SIGTERM', stop);
process.on('TERMINATE', stop);

@@ -210,0 +215,0 @@ if (process.stdin.isTTY) {

21

lib/application.js

@@ -137,17 +137,16 @@ 'use strict';

this.semaphore = new Semaphore(concurrency, size, timeout);
if (mode === 'test' && threadId === 1) this.test();
this.initialization = false;
sandbox.application.emit('started');
if (mode === 'test' && threadId === 1) this.test();
}
async test() {
setTimeout(async () => {
await this.parallel(
this.tests.map((test) =>
node.test(test.name, (t) => this.execute(test.run, t)),
),
ERR_TEST,
);
process.kill(process.pid, 'SIGINT');
}, 1000);
test() {
this.parallel(
this.tests.map((test) =>
node.test(test.name, (t) => this.execute(test.run, t)),
),
ERR_TEST,
).then(() => {
wt.parentPort.postMessage({ name: 'terminate' });
});
}

@@ -154,0 +153,0 @@

{
"name": "impress",
"version": "3.0.6",
"version": "3.0.7",
"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