@m4l/core 0.0.28 → 0.0.31
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/dist/external/axios.js +5 -2
- package/dist/external/qs.js +633 -0
- package/dist/external/side-channel.js +105 -0
- package/dist/index.js +2 -1
- package/dist/node_modules.js +927 -90
- package/dist/utils/index.js +1 -1
- package/dist/vendor.js +7 -1
- package/package.json +3 -1
- package/dist/external/snakecase-keys.js +0 -18
package/dist/utils/index.js
CHANGED
package/dist/vendor.js
CHANGED
|
@@ -29,4 +29,10 @@ function getAugmentedNamespace(n) {
|
|
|
29
29
|
});
|
|
30
30
|
return a;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
const __viteBrowserExternal = {};
|
|
33
|
+
const __viteBrowserExternal$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34
|
+
__proto__: null,
|
|
35
|
+
default: __viteBrowserExternal
|
|
36
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
37
|
+
const require$$0 = /* @__PURE__ */ getAugmentedNamespace(__viteBrowserExternal$1);
|
|
38
|
+
export { require$$0 as r };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.31",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "M4L Team",
|
|
7
7
|
"scripts": {
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"@types/node": "^17.0.40",
|
|
28
28
|
"@types/nprogress": "^0.2.0",
|
|
29
29
|
"@types/numeral": "^2.0.2",
|
|
30
|
+
"@types/qs": "^6.9.7",
|
|
30
31
|
"@types/react": "^18.0.0",
|
|
31
32
|
"@types/react-dom": "^18.0.0",
|
|
32
33
|
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
"jsdom": "^20.0.0",
|
|
47
48
|
"json": "^11.0.0",
|
|
48
49
|
"prettier": "^2.6.2",
|
|
50
|
+
"qs": "^6.11.0",
|
|
49
51
|
"react": "^18.2.0",
|
|
50
52
|
"react-dom": "^18.2.0",
|
|
51
53
|
"react-toastify": "^9.0.5",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { m as mapObj, r as require$$1 } from "../node_modules.js";
|
|
2
|
-
const map = mapObj.exports;
|
|
3
|
-
const { snakeCase } = require$$1;
|
|
4
|
-
var snakecaseKeys = function(obj, options) {
|
|
5
|
-
options = Object.assign({ deep: true, exclude: [], parsingOptions: {} }, options);
|
|
6
|
-
return map(obj, function(key, val) {
|
|
7
|
-
return [
|
|
8
|
-
matches(options.exclude, key) ? key : snakeCase(key, options.parsingOptions),
|
|
9
|
-
val
|
|
10
|
-
];
|
|
11
|
-
}, options);
|
|
12
|
-
};
|
|
13
|
-
function matches(patterns, value) {
|
|
14
|
-
return patterns.some(function(pattern) {
|
|
15
|
-
return typeof pattern === "string" ? pattern === value : pattern.test(value);
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
export { snakecaseKeys as s };
|