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

refect

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

refect - npm Package Compare versions

Comparing version 0.1.0-alpha.2 to 0.1.0-alpha.3

17

lib/core/middleware.js

@@ -136,7 +136,16 @@ 'use strict';

},
dispatch: function dispatch(action) {
var _getStore;
for (var _len3 = arguments.length, args = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
args[_key3 - 1] = arguments[_key3];
}
return (_getStore = getStore()).dispatch.apply(_getStore, [action].concat(args));
},
watch: function watch(pattern, task) {
(0, _utils.check)(_utils.is.func(task), 'task in watch should be an function');
for (var _len3 = arguments.length, args = Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
args[_key3 - 2] = arguments[_key3];
for (var _len4 = arguments.length, args = Array(_len4 > 2 ? _len4 - 2 : 0), _key4 = 2; _key4 < _len4; _key4++) {
args[_key4 - 2] = arguments[_key4];
}

@@ -149,4 +158,4 @@

for (var _len4 = arguments.length, args = Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
args[_key4 - 1] = arguments[_key4];
for (var _len5 = arguments.length, args = Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) {
args[_key5 - 1] = arguments[_key5];
}

@@ -153,0 +162,0 @@

{
"name": "refect",
"version": "0.1.0-alpha.2",
"version": "0.1.0-alpha.3",
"description": "",

@@ -12,2 +12,3 @@ "main": "lib/index.js",

"lint": "eslint src",
"prepublish": "npm run build",
"test": "NODE_ENV=test karma start test/karma.conf.js --single-run"

@@ -14,0 +15,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