easy-soft-dva 3.9.13 → 3.9.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index2.js +1 -1
- package/package.json +40 -39
package/es/index2.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(r){var e=function(r,e){if("object"!==t(r)||null===r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var o=n.call(r,e||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(r)}(r,"string");return"symbol"===t(e)?e:String(e)}function e(t,e,n){return(e=r(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function o(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}function i(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var a={exports:{}},u={exports:{}};!function(t){function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}(u);var c=u.exports;!function(t){var r=c.default;function e(){
|
|
2
2
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
3
|
-
t.exports=e=function(){return
|
|
3
|
+
t.exports=e=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var n,o={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(t,r,e){t[r]=e.value},c="function"==typeof Symbol?Symbol:{},f=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function h(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{h({},"")}catch(n){h=function(t,r,e){return t[r]=e}}function p(t,r,e,n){var o=r&&r.prototype instanceof b?r:b,i=Object.create(o.prototype),a=new G(n||[]);return u(i,"_invoke",{value:P(t,e,a)}),i}function y(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}o.wrap=p;var v="suspendedStart",d="executing",g="completed",m={};function b(){}function w(){}function x(){}var O={};h(O,f,(function(){return this}));var j=Object.getPrototypeOf,L=j&&j(j(F([])));L&&L!==i&&a.call(L,f)&&(O=L);var E=x.prototype=b.prototype=Object.create(O);function _(t){["next","throw","return"].forEach((function(r){h(t,r,(function(t){return this._invoke(r,t)}))}))}function S(t,e){function n(o,i,u,c){var f=y(t[o],t,i);if("throw"!==f.type){var l=f.arg,s=l.value;return s&&"object"==r(s)&&a.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(s).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(f.arg)}var o;u(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function P(t,r,e){var o=v;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:n,done:!0}}for(e.method=i,e.arg=a;;){var u=e.delegate;if(u){var c=T(u,e);if(c){if(c===m)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(o===v)throw o=g,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);o=d;var f=y(t,r,e);if("normal"===f.type){if(o=e.done?g:"suspendedYield",f.arg===m)continue;return{value:f.arg,done:e.done}}"throw"===f.type&&(o=g,e.method="throw",e.arg=f.arg)}}}function T(t,r){var e=r.method,o=t.iterator[e];if(o===n)return r.delegate=null,"throw"===e&&t.iterator.return&&(r.method="return",r.arg=n,T(t,r),"throw"===r.method)||"return"!==e&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+e+"' method")),m;var i=y(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=n),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function k(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function N(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function F(t){if(t||""===t){var e=t[f];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(a.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=n,r.done=!0,r};return i.next=i}}throw new TypeError(r(t)+" is not iterable")}return w.prototype=x,u(E,"constructor",{value:x,configurable:!0}),u(x,"constructor",{value:w,configurable:!0}),w.displayName=h(x,s,"GeneratorFunction"),o.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===w||"GeneratorFunction"===(r.displayName||r.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,h(t,s,"GeneratorFunction")),t.prototype=Object.create(E),t},o.awrap=function(t){return{__await:t}},_(S.prototype),h(S.prototype,l,(function(){return this})),o.AsyncIterator=S,o.async=function(t,r,e,n,i){void 0===i&&(i=Promise);var a=new S(p(t,r,e,n),i);return o.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(E),h(E,s,"Generator"),h(E,f,(function(){return this})),h(E,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},o.values=F,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(e,o){return u.type="throw",u.arg=t,r.next=e,o&&(r.method="next",r.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),f=a.call(i,"finallyLoc");if(c&&f){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),m},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),N(e),m}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;N(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:F(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=n),m}},o}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(a);var f=(0,a.exports)(),l=f;try{regeneratorRuntime=f}catch(r){"object"===("undefined"==typeof globalThis?"undefined":t(globalThis))?globalThis.regeneratorRuntime=f:Function("r","regeneratorRuntime = r")(f)}var s=i(l);export{o as _,t as a,s as b,r as c,e as d};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easy-soft-dva",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.15",
|
|
4
4
|
"description": "The core lightweight library for dva, based on redux and redux-saga.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -47,92 +47,93 @@
|
|
|
47
47
|
"z:tsc:build": "echo show tsc version and create declaration file && tsc -v && tsc -p ./tsconfig.types.json && echo declaration file generate complete"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@babel/runtime": "^7.22.
|
|
50
|
+
"@babel/runtime": "^7.22.15",
|
|
51
51
|
"@reduxjs/toolkit": "^1.9.5",
|
|
52
|
-
"easy-soft-utility": "^2.7.
|
|
52
|
+
"easy-soft-utility": "^2.7.15",
|
|
53
53
|
"flatten": "^1.0.3",
|
|
54
54
|
"global": "^4.4.0",
|
|
55
55
|
"invariant": "^2.2.4",
|
|
56
56
|
"is-plain-object": "^5.0.0",
|
|
57
57
|
"react": "^18.2.0",
|
|
58
58
|
"react-dom": "^18.2.0",
|
|
59
|
-
"react-redux": "^8.1.
|
|
59
|
+
"react-redux": "^8.1.2",
|
|
60
60
|
"redux": "^4.2.1",
|
|
61
61
|
"redux-saga": "^1.2.3",
|
|
62
62
|
"warning": "^4.0.3"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@babel/core": "^7.22.
|
|
66
|
-
"@babel/eslint-parser": "^7.22.
|
|
65
|
+
"@babel/core": "^7.22.17",
|
|
66
|
+
"@babel/eslint-parser": "^7.22.15",
|
|
67
67
|
"@babel/plugin-external-helpers": "^7.22.5",
|
|
68
|
-
"@babel/plugin-proposal-decorators": "^7.22.
|
|
68
|
+
"@babel/plugin-proposal-decorators": "^7.22.15",
|
|
69
69
|
"@babel/plugin-transform-class-properties": "^7.22.5",
|
|
70
|
-
"@babel/plugin-transform-runtime": "^7.22.
|
|
71
|
-
"@babel/preset-env": "^7.22.
|
|
72
|
-
"@babel/preset-react": "^7.22.
|
|
73
|
-
"@babel/runtime": "^7.22.
|
|
74
|
-
"@
|
|
75
|
-
"@commitlint/
|
|
76
|
-
"@commitlint/config-
|
|
77
|
-
"@commitlint/
|
|
78
|
-
"@
|
|
70
|
+
"@babel/plugin-transform-runtime": "^7.22.15",
|
|
71
|
+
"@babel/preset-env": "^7.22.15",
|
|
72
|
+
"@babel/preset-react": "^7.22.15",
|
|
73
|
+
"@babel/runtime": "^7.22.15",
|
|
74
|
+
"@changesets/cli": "^2.26.2",
|
|
75
|
+
"@commitlint/cli": "^17.7.1",
|
|
76
|
+
"@commitlint/config-conventional": "^17.7.0",
|
|
77
|
+
"@commitlint/config-pnpm-scopes": "^17.7.0",
|
|
78
|
+
"@commitlint/cz-commitlint": "^17.7.1",
|
|
79
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
79
80
|
"@rollup/plugin-alias": "^5.0.0",
|
|
80
81
|
"@rollup/plugin-babel": "6.0.3",
|
|
81
82
|
"@rollup/plugin-buble": "^1.0.2",
|
|
82
|
-
"@rollup/plugin-commonjs": "^25.0.
|
|
83
|
+
"@rollup/plugin-commonjs": "^25.0.4",
|
|
83
84
|
"@rollup/plugin-json": "^6.0.0",
|
|
84
|
-
"@rollup/plugin-node-resolve": "^15.1
|
|
85
|
+
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
85
86
|
"@rollup/plugin-replace": "^5.0.2",
|
|
86
87
|
"@rollup/plugin-url": "^8.0.1",
|
|
87
|
-
"@svgr/rollup": "^8.0
|
|
88
|
+
"@svgr/rollup": "^8.1.0",
|
|
88
89
|
"@types/fs-extra": "^11.0.1",
|
|
89
|
-
"@types/jest": "^29.5.
|
|
90
|
-
"@types/node": "^20.
|
|
91
|
-
"@types/react": "^18.2.
|
|
90
|
+
"@types/jest": "^29.5.4",
|
|
91
|
+
"@types/node": "^20.6.0",
|
|
92
|
+
"@types/react": "^18.2.21",
|
|
92
93
|
"@types/react-dom": "^18.2.7",
|
|
93
94
|
"@types/shelljs": "^0.8.12",
|
|
94
|
-
"@typescript-eslint/parser": "^6.
|
|
95
|
-
"autoprefixer": "^10.4.
|
|
96
|
-
"babel-jest": "^29.
|
|
95
|
+
"@typescript-eslint/parser": "^6.7.0",
|
|
96
|
+
"autoprefixer": "^10.4.15",
|
|
97
|
+
"babel-jest": "^29.7.0",
|
|
97
98
|
"commitizen": "^4.3.0",
|
|
98
|
-
"conventional-changelog-conventionalcommits": "^
|
|
99
|
+
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
99
100
|
"cross-env": "^7.0.3",
|
|
100
101
|
"cssnano": "^6.0.1",
|
|
101
102
|
"documentation": "^14.0.2",
|
|
102
|
-
"easy-soft-develop": "^2.1.
|
|
103
|
-
"eslint": "^8.
|
|
103
|
+
"easy-soft-develop": "^2.1.41",
|
|
104
|
+
"eslint": "^8.49.0",
|
|
104
105
|
"eslint-config-airbnb": "^19.0.4",
|
|
105
106
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
106
|
-
"eslint-config-prettier": "^
|
|
107
|
+
"eslint-config-prettier": "^9.0.0",
|
|
107
108
|
"eslint-formatter-pretty": "^5.0.0",
|
|
108
|
-
"eslint-import-resolver-typescript": "^3.
|
|
109
|
+
"eslint-import-resolver-typescript": "^3.6.0",
|
|
109
110
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
110
|
-
"eslint-plugin-import": "^2.
|
|
111
|
+
"eslint-plugin-import": "^2.28.1",
|
|
111
112
|
"eslint-plugin-jest": "^27.2.3",
|
|
112
113
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
113
114
|
"eslint-plugin-prettier": "^5.0.0",
|
|
114
115
|
"eslint-plugin-promise": "^6.1.1",
|
|
115
|
-
"eslint-plugin-react": "^7.33.
|
|
116
|
+
"eslint-plugin-react": "^7.33.2",
|
|
116
117
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
117
118
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
118
|
-
"eslint-plugin-unicorn": "^48.0.
|
|
119
|
+
"eslint-plugin-unicorn": "^48.0.1",
|
|
119
120
|
"husky": "^8.0.3",
|
|
120
|
-
"jest": "^29.
|
|
121
|
-
"lint-staged": "^
|
|
121
|
+
"jest": "^29.7.0",
|
|
122
|
+
"lint-staged": "^14.0.1",
|
|
122
123
|
"mm": "^3.3.0",
|
|
123
|
-
"prettier": "^3.0.
|
|
124
|
+
"prettier": "^3.0.3",
|
|
124
125
|
"prettier-plugin-organize-imports": "^3.2.3",
|
|
125
126
|
"prettier-plugin-packagejson": "^2.4.5",
|
|
126
127
|
"rimraf": "^5.0.1",
|
|
127
|
-
"rollup": "^3.
|
|
128
|
-
"rollup-plugin-copy": "^3.
|
|
128
|
+
"rollup": "^3.29.1",
|
|
129
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
129
130
|
"rollup-plugin-livereload": "^2.0.5",
|
|
130
131
|
"rollup-plugin-postcss": "^4.0.2",
|
|
131
132
|
"rollup-plugin-serve": "^2.0.2",
|
|
132
133
|
"rollup-plugin-terser": "^7.0.2",
|
|
133
134
|
"rollup-plugin-typescript2": "^0.35.0",
|
|
134
135
|
"shelljs": "^0.8.5",
|
|
135
|
-
"stylelint": "^15.10.
|
|
136
|
+
"stylelint": "^15.10.3",
|
|
136
137
|
"stylelint-config-prettier": "^9.0.5",
|
|
137
138
|
"stylelint-config-standard": "^34.0.0",
|
|
138
139
|
"terminal-kit": "^3.0.0"
|