@ant-design/icons 5.2.2 → 5.2.3

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/utils.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { generate as generateColor } from "@ant-design/colors";
2
- import { camelCase } from "lodash";
2
+ import camelCase from "lodash.camelcase";
3
3
  import { updateCSS } from "rc-util/lib/Dom/dynamicCSS";
4
4
  import { getShadowRoot } from "rc-util/lib/Dom/shadow";
5
5
  import warn from "rc-util/lib/warning";
package/lib/utils.js CHANGED
@@ -38,7 +38,7 @@ _export(exports, {
38
38
  }
39
39
  });
40
40
  const _colors = require("@ant-design/colors");
41
- const _lodash = require("lodash");
41
+ const _lodashcamelcase = /*#__PURE__*/ _interop_require_default(require("lodash.camelcase"));
42
42
  const _dynamicCSS = require("rc-util/lib/Dom/dynamicCSS");
43
43
  const _shadow = require("rc-util/lib/Dom/shadow");
44
44
  const _warning = /*#__PURE__*/ _interop_require_default(require("rc-util/lib/warning"));
@@ -104,7 +104,7 @@ function normalizeAttrs(attrs = {}) {
104
104
  break;
105
105
  default:
106
106
  delete acc[key];
107
- acc[(0, _lodash.camelCase)(key)] = val;
107
+ acc[(0, _lodashcamelcase.default)(key)] = val;
108
108
  }
109
109
  return acc;
110
110
  }, {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ant-design/icons",
3
- "version": "5.2.2",
3
+ "version": "5.2.3",
4
4
  "repository": "https://github.com/ant-design/ant-design-icons/tree/master/packages/icons-react",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -32,6 +32,7 @@
32
32
  "@ant-design/icons-svg": "^4.3.0",
33
33
  "@babel/runtime": "^7.11.2",
34
34
  "classnames": "^2.2.6",
35
+ "lodash.camelcase": "^4.3.0",
35
36
  "rc-util": "^5.31.1"
36
37
  },
37
38
  "devDependencies": {
@@ -61,7 +62,6 @@
61
62
  "father": "^4.0.0",
62
63
  "glob": "^7.1.6",
63
64
  "history": "^4.9.0",
64
- "lodash": "^4.17.21",
65
65
  "mobx": "^5.1.0",
66
66
  "mobx-react": "^6.1.3",
67
67
  "prettier": "^2.2.1",