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

@modern-js-reduck/plugin-auto-actions

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-auto-actions - npm Package Compare versions

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

CHANGELOG.md

2

dist/js/node/array.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.filter = exports.splice = exports.concat = exports.unshift = exports.shift = exports.pop = exports.push = void 0;
exports.unshift = exports.splice = exports.shift = exports.push = exports.pop = exports.filter = exports.concat = void 0;

@@ -9,0 +9,0 @@ const push = (state, payload) => state.concat(payload);

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

interface GetActions<M extends Model> {
autoActions: M['_']['state'] extends string | number | null | undefined | ((...args: any[]) => any) | RegExp | symbol ? ExractDispatchAction<typeof primitiveActions, M['_']['state']> : M['_']['state'] extends any[] ? ArrayDisptachActions<M['_']['state']> : M['_']['state'] extends Record<string, any> ? ObjectDispatchActions<M['_']['state']> : never;
autoActions: M['_']['state'] extends string | number | null | undefined | ((...args: any[]) => any) | RegExp | symbol ? ExractDispatchAction<typeof primitiveActions, M['_']['state']> : M['_']['state'] extends any[] ? ArrayDisptachActions<M['_']['state']> : M['_']['state'] extends Record<string, any> ? ObjectDispatchActions<M['_']['state']> : Record<string, unknown>;
}

@@ -11,0 +11,0 @@ }

{
"name": "@modern-js-reduck/plugin-auto-actions",
"version": "1.0.0-rc.1",
"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"

"@modern-js/plugin-testing": "^1.0.0-rc.1",
"@modern-js-reduck/store": "^1.0.0-rc.1",
"@modern-js-reduck/store": "^1.0.0-rc.5",
"@types/jest": "^26",

@@ -43,4 +36,13 @@ "@types/node": "^14",

"peerDependencies": {
"@modern-js-reduck/store": "^0.1.0"
"@modern-js-reduck/store": "^1.0.0-rc.5x"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"new": "modern new",
"build": "modern build",
"test": "modern test"
}
}
}
<p align="center">
<a href="https://modernjs.dev" target="blank"><img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs.png" width="300" alt="Modern.js Logo" /></a>
<a href="https://modernjs.dev" target="blank"><img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png" width="300" alt="Modern.js Logo" /></a>
</p>

@@ -4,0 +4,0 @@

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

? ObjectDispatchActions<M['_']['state']>
: never;
: Record<string, unknown>;
}

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