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

@xolvio/fiber-utils

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xolvio/fiber-utils - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

__tests__/index-spec.js

@@ -228,2 +228,5 @@ describe('fiber-utils', function () {

var myFunc = myObject.myFunc;
myFunc.bind = function () {
return myFunc;
}

@@ -241,2 +244,5 @@ var myObjectWrapper = fiberUtils.wrapAsyncObject(myObject, ['myFunc'], {

var myFunc = myObject.myFunc;
myFunc.bind = function () {
return myFunc;
}
var existingFunc = function () {};

@@ -243,0 +249,0 @@ myObject.myFuncAsync = existingFunc;

2

index.js

@@ -71,3 +71,3 @@ var Fiber = require('fibers');

}
wrapper[asyncMethodName] = asyncMethod;
wrapper[asyncMethodName] = asyncMethod.bind(object);

@@ -74,0 +74,0 @@ var syncMethodName = propertyName + 'Sync';

{
"name": "@xolvio/fiber-utils",
"version": "2.0.0",
"version": "2.0.1",
"description": "Fiber utilities to convert async functions to sync ones",

@@ -5,0 +5,0 @@ "keywords": [

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