Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graffy/core

Package Overview
Dependencies
Maintainers
1
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graffy/core - npm Package Compare versions

Comparing version 0.14.3 to 0.14.4

12

Core.js

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

// import mergeStreams from 'merge-async-iterators';
// import { merge, wrap, unwrap, remove, makePath } from '@graffy/common';
// import { decorate } from '@graffy/common';
function resolve(handlers, firstPayload, options) {

@@ -30,3 +27,10 @@ if (!handlers || !handlers.length) throw Error('resolve.no_provider');

return handle(payload, options, function (nextPayload) {
if (nextCalled) throw Error('resolve.duplicate_next: ' + handle.name);
if (nextCalled) {
throw Error('resolve.duplicate_next_call: ' + handlers[i].name);
}
if (typeof nextPayload === 'undefined') {
throw Error('resolve.next_without_payload: ' + handlers[i].name);
}
nextCalled = true;

@@ -33,0 +37,0 @@ return run(i + 1, nextPayload);

@@ -5,3 +5,3 @@ {

"author": "aravind (https://github.com/aravindet)",
"version": "0.14.3",
"version": "0.14.4",
"main": "index.js",

@@ -17,5 +17,5 @@ "source": "src/index.js",

"@babel/runtime-corejs3": "^7.8.4",
"@graffy/common": "0.14.3",
"@graffy/stream": "0.14.3"
"@graffy/common": "0.14.4",
"@graffy/stream": "0.14.4"
}
}

@@ -1,5 +0,1 @@

// import mergeStreams from 'merge-async-iterators';
// import { merge, wrap, unwrap, remove, makePath } from '@graffy/common';
// import { decorate } from '@graffy/common';
import { unwrap } from '@graffy/common';

@@ -21,3 +17,8 @@

return handle(payload, options, nextPayload => {
if (nextCalled) throw Error('resolve.duplicate_next: ' + handle.name);
if (nextCalled) {
throw Error('resolve.duplicate_next_call: ' + handlers[i].name);
}
if (typeof nextPayload === 'undefined') {
throw Error('resolve.next_without_payload: ' + handlers[i].name);
}
nextCalled = true;

@@ -24,0 +25,0 @@ return run(i + 1, nextPayload);

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