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

@bigtest/effection

Package Overview
Dependencies
Maintainers
1
Versions
292
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bigtest/effection - npm Package Compare versions

Comparing version 0.4.1-3c87348 to 0.4.1-4ee3e57

dist/ready-resource.d.ts

1

dist/index.d.ts

@@ -5,1 +5,2 @@ export { Deferred } from './deferred';

export { ensure } from './ensure';
export { readyResource } from './ready-resource';

@@ -12,2 +12,4 @@ "use strict";

exports.ensure = ensure_1.ensure;
var ready_resource_1 = require("./ready-resource");
exports.readyResource = ready_resource_1.readyResource;
//# sourceMappingURL=index.js.map

12

dist/mailbox.js

@@ -67,12 +67,12 @@ "use strict";

exports.Mailbox = Mailbox;
const subscription_1 = require("@effection/subscription");
function* subscribe(mailbox, source, events) {
return yield effection_1.spawn(function* () {
for (let name of typeof events === 'string' ? [events] : events) {
yield effection_1.fork(function* () {
let events = yield events_2.on(source, name);
while (true) {
let args = yield events.next();
mailbox.send({ event: name, args });
}
let pipeline = subscription_1.Subscribable.from(events_2.on(source, name))
.map(args => ({ event: name, args }))
.forEach(function* (value) {
mailbox.send(value);
});
yield effection_1.fork(pipeline);
}

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

{
"name": "@bigtest/effection",
"version": "0.4.1-3c87348",
"version": "0.4.1-4ee3e57",
"description": "Collection of handly utilities for working with effection. May find a different home later",

@@ -8,3 +8,3 @@ "main": "dist/index.js",

"repository": "https://github.com/thefrontside/bigtest.git",
"author": "Frontside Engineering <engineering@frontside.io>",
"author": "Frontside Engineering <engineering@frontside.com>",
"license": "MIT",

@@ -34,3 +34,3 @@ "files": [

"dependencies": {
"@effection/events": "^0.6.1",
"@effection/events": "^0.7.1",
"@types/node": "^13.13.4"

@@ -37,0 +37,0 @@ },

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