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

@modern-js-reduck/plugin-effects

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modern-js-reduck/plugin-effects - npm Package Compare versions

Comparing version 1.0.0-rc.2 to 1.0.0-rc.5

CHANGELOG.md

18

dist/js/treeshaking/__test__/index.test.js

@@ -13,2 +13,4 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

import _regeneratorRuntime from "@babel/runtime/regenerator";
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }

@@ -51,4 +53,4 @@

load: function load() {
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
return regeneratorRuntime.wrap(function _callee$(_context) {
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
return _regeneratorRuntime.wrap(function _callee$(_context) {
while (1) {

@@ -68,4 +70,4 @@ switch (_context.prev = _context.next) {

loadWithParams: function loadWithParams(a) {
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
return regeneratorRuntime.wrap(function _callee2$(_context2) {
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
while (1) {

@@ -94,6 +96,6 @@ switch (_context2.prev = _context2.next) {

describe('reduck effects plugin', function () {
test('promise middleware', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
test('promise middleware', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
var store, _store$use, _store$use2, actions;
return regeneratorRuntime.wrap(function _callee3$(_context3) {
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
while (1) {

@@ -122,6 +124,6 @@ switch (_context3.prev = _context3.next) {

})));
test('promise middleware params', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
test('promise middleware params', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
var store, _store$use3, _store$use4, actions;
return regeneratorRuntime.wrap(function _callee4$(_context4) {
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
while (1) {

@@ -128,0 +130,0 @@ switch (_context4.prev = _context4.next) {

@@ -13,3 +13,3 @@ import { Model } from '@modern-js-reduck/store/dist/types/types';

interface GetActions<M extends Model> {
effectsActions: M['_']['effects'];
effectsActions: M['_']['effects'] & Record<string, unknown>;
}

@@ -16,0 +16,0 @@ }

{
"name": "@modern-js-reduck/plugin-effects",
"version": "1.0.0-rc.2",
"version": "1.0.0-rc.5",
"jsnext:source": "./src/index.ts",

@@ -18,9 +18,2 @@ "types": "./dist/types/index.d.ts",

},
"scripts": {
"prepare": "pnpm build",
"prepublishOnly": "pnpm build --platform",
"new": "modern new",
"build": "modern build",
"test": "modern test"
},
"dependencies": {

@@ -32,3 +25,3 @@ "@babel/runtime": "^7",

"devDependencies": {
"@modern-js-reduck/store": "^1.0.0-rc.1",
"@modern-js-reduck/store": "^1.0.0-rc.5",
"@modern-js/module-tools": "^1.0.0-rc.1",

@@ -47,3 +40,3 @@ "@modern-js/plugin-testing": "^1.0.0-rc.1",

"peerDependencies": {
"@modern-js-reduck/store": "^0.1.0"
"@modern-js-reduck/store": "^1.0.0-rc.5"
},

@@ -53,3 +46,8 @@ "publishConfig": {

"access": "public"
},
"scripts": {
"new": "modern new",
"build": "modern build",
"test": "modern test"
}
}
}

@@ -22,3 +22,3 @@ import { createPlugin } from '@modern-js-reduck/store';

interface GetActions<M extends Model> {
effectsActions: M['_']['effects'];
effectsActions: M['_']['effects'] & Record<string, unknown>;
}

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