@bigtest/effection
Advanced tools
Comparing version 0.1.0 to 0.1.1-7c14a06
/// <reference types="node" /> | ||
import { Operation } from 'effection'; | ||
import { EventEmitter } from 'events'; | ||
declare type EventName = string | symbol; | ||
/** | ||
@@ -9,3 +8,2 @@ * Takes an event emitter and event name and returns a yieldable | ||
*/ | ||
export declare function once(emitter: EventEmitter, eventName: EventName): Operation; | ||
export {}; | ||
export declare function once(emitter: EventEmitter, eventName: string): Operation; |
export { once } from './events'; | ||
export { Mailbox, SubscriptionMessage, subscribe } from './mailbox'; | ||
export { any } from './pattern'; | ||
export { suspend } from './suspend'; | ||
export { ensure } from './ensure'; | ||
export { monitorErrors } from './monitor-errors'; |
@@ -5,2 +5,13 @@ "use strict"; | ||
exports.once = events_1.once; | ||
var mailbox_1 = require("./mailbox"); | ||
exports.Mailbox = mailbox_1.Mailbox; | ||
exports.subscribe = mailbox_1.subscribe; | ||
var pattern_1 = require("./pattern"); | ||
exports.any = pattern_1.any; | ||
var suspend_1 = require("./suspend"); | ||
exports.suspend = suspend_1.suspend; | ||
var ensure_1 = require("./ensure"); | ||
exports.ensure = ensure_1.ensure; | ||
var monitor_errors_1 = require("./monitor-errors"); | ||
exports.monitorErrors = monitor_errors_1.monitorErrors; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@bigtest/effection", | ||
"version": "0.1.0", | ||
"version": "0.1.1-7c14a06", | ||
"description": "Collection of handly utilities for working with effection. May find a different home later", | ||
@@ -10,6 +10,10 @@ "main": "dist/index.js", | ||
"license": "MIT", | ||
"files": ["dist/*", "README.md"], | ||
"files": [ | ||
"dist/*", | ||
"README.md" | ||
], | ||
"scripts": { | ||
"lint": "eslint '{src,test}/**/*.ts'", | ||
"test": "mocha -r ts-node/register test/**/*.test.ts", | ||
"mocha": "mocha -r ts-node/register", | ||
"prepack": "tsc --outdir dist --project tsconfig.dist.json --declaration --sourcemap --module commonjs" | ||
@@ -19,14 +23,10 @@ }, | ||
"@types/mocha": "^7.0.1", | ||
"@typescript-eslint/eslint-plugin": "^2.3.2", | ||
"@typescript-eslint/parser": "^2.3.2", | ||
"eslint": "^6.6.0", | ||
"eslint-plugin-prefer-let": "^1.0.1", | ||
"@types/node": "^12.7.11", | ||
"expect": "^24.9.0", | ||
"mocha": "^6.2.2", | ||
"ts-node": "*", | ||
"typescript": "^3.7.0" | ||
"ts-node": "*" | ||
}, | ||
"dependencies": { | ||
"@types/node": "^12.7.11", | ||
"effection": "^0.5.1" | ||
"effection": "0.5.2" | ||
}, | ||
@@ -33,0 +33,0 @@ "volta": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
15548
5
24
227
1
Updatedeffection@0.5.2