New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@effection/events

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effection/events - npm Package Compare versions

Comparing version 0.6.1-a8ad962 to 0.6.1-cf895b8

dist/events.cjs.development.js

0

dist/event-source.d.ts

@@ -0,0 +0,0 @@ /// <reference types="node" />

2

dist/index.d.ts
export { once } from './once';
export { on, Subscription } from './on';
export { on } from './on';
export { throwOnErrorEvent } from './throw-on-error-event';
export { EventSource } from './event-source';

@@ -1,10 +0,8 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var once_1 = require("./once");
exports.once = once_1.once;
var on_1 = require("./on");
exports.on = on_1.on;
exports.Subscription = on_1.Subscription;
var throw_on_error_event_1 = require("./throw-on-error-event");
exports.throwOnErrorEvent = throw_on_error_event_1.throwOnErrorEvent;
//# sourceMappingURL=index.js.map
'use strict'
if (process.env.NODE_ENV === 'production') {
module.exports = require('./events.cjs.production.min.js')
} else {
module.exports = require('./events.cjs.development.js')
}

@@ -1,11 +0,3 @@

import { Operation } from 'effection';
/// <reference types="effection" />
import { EventSource } from './event-source';
export declare class Subscription<T extends Array<unknown>> {
private source;
private eventName;
private events;
constructor(source: EventSource, eventName: string);
next(): Operation<T>;
subscribe(): Operation<void>;
}
export declare function on<T extends Array<unknown> = unknown[]>(source: EventSource, name: string): Operation<Subscription<T>>;
export declare function on<T extends Array<unknown> = unknown[]>(source: EventSource, name: string): import("effection").Operation<import("@effection/subscription").Subscription<T, void>>;

@@ -0,0 +0,0 @@ import { Operation } from 'effection';

import { EventSource } from './event-source';
import { Operation } from 'effection';
export declare function throwOnErrorEvent(source: EventSource): Operation<void>;
{
"name": "@effection/events",
"version": "0.6.1-a8ad962",
"version": "0.6.1-cf895b8",
"description": "Helpers for listening to events with effection",
"main": "dist/index.js",
"typings": "dist/index.d.js",
"types": "dist/index.d.ts",
"module": "dist/events.esm.js",
"repository": "https://github.com/thefrontside/bigtest.git",

@@ -12,2 +13,3 @@ "author": "Frontside Engineering <engineering@frontside.io>",

"dist/*",
"src",
"README.md"

@@ -18,6 +20,7 @@ ],

"test": "mocha -r ts-node/register test/**/*.test.ts",
"prepack": "tsc --outdir dist --project tsconfig.dist.json --declaration --sourcemap --module commonjs",
"prepack": "tsdx build --tsconfig tsconfig.dist.json",
"mocha": "mocha -r ts-node/register"
},
"devDependencies": {
"@frontside/tsconfig": "0.0.1",
"@types/node": "^12.7.11",

@@ -27,2 +30,3 @@ "expect": "^25.4.0",

"ts-node": "^8.9.0",
"tsdx": "0.13.2",
"typescript": "^3.7.0"

@@ -29,0 +33,0 @@ },

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