Socket
Socket
Sign inDemoInstall

@effection/main

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effection/main - npm Package Compare versions

Comparing version 2.0.0-beta.2 to 2.0.0-beta.3

9

CHANGELOG.md
# @effection/main
## 2.0.0-beta.3
### Patch Changes
- 248b0a6: label the main entry point for use in the debugger
- Updated dependencies [5d95e6d]
- Updated dependencies [9700b45]
- @effection/core@2.0.0-beta.3
## 2.0.0-beta.2

@@ -4,0 +13,0 @@

4

dist/browser.js

@@ -22,3 +22,5 @@ "use strict";

window.addEventListener('unload', interrupt);
return yield operation;
return yield core_1.withLabels(operation, {
name: (operation === null || operation === void 0 ? void 0 : operation.name) || 'entry point'
});
}

@@ -25,0 +27,0 @@ catch (error) {

@@ -24,3 +24,5 @@ "use strict";

process.on('SIGTERM', interrupt);
return yield operation;
return yield core_1.withLabels(operation, {
name: (operation === null || operation === void 0 ? void 0 : operation.name) || 'entry point'
});
}

@@ -27,0 +29,0 @@ catch (error) {

{
"name": "@effection/main",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"description": "Main entry point for Effection applications",

@@ -24,3 +24,3 @@ "main": "dist/node.js",

"dependencies": {
"@effection/core": "2.0.0-beta.2",
"@effection/core": "2.0.0-beta.3",
"chalk": "^4.1.1",

@@ -30,4 +30,4 @@ "stacktrace-parser": "^0.1.10"

"devDependencies": {
"@effection/mocha": "2.0.0-beta.2",
"@effection/process": "2.0.0-beta.2",
"@effection/mocha": "2.0.0-beta.3",
"@effection/process": "2.0.0-beta.3",
"@frontside/tsconfig": "^1.2.0",

@@ -34,0 +34,0 @@ "@types/node": "^13.13.5",

@@ -1,2 +0,2 @@

import { run, Task, Operation } from '@effection/core';
import { run, withLabels, Task, Operation } from '@effection/core';
import { isMainError } from './error';

@@ -11,3 +11,5 @@

window.addEventListener('unload', interrupt);
return yield operation;
return yield withLabels(operation, {
name: operation?.name || 'entry point'
});
} catch(error) {

@@ -14,0 +16,0 @@ if(isMainError(error)) {

@@ -1,2 +0,2 @@

import { run, Task, Operation } from '@effection/core';
import { run, withLabels, Task, Operation } from '@effection/core';
import { formatError } from './format-error-node';

@@ -13,3 +13,5 @@ import { isMainError } from './error';

process.on('SIGTERM', interrupt);
return yield operation;
return yield withLabels(operation, {
name: operation?.name || 'entry point'
});
} catch(error) {

@@ -16,0 +18,0 @@ console.error(formatError(error));

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