sea-chart 1.1.12 → 1.1.13

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.
@@ -1,5 +1,4 @@
1
1
  import React, { Fragment } from 'react';
2
- import PropTypes, { array } from 'prop-types';
3
2
  import shallowEqual from 'shallowequal';
4
3
  import dayjs from 'dayjs';
5
4
  import { CellType, COLLABORATOR_COLUMN_TYPES, FORMULA_RESULT_TYPE, getOption, getCollaborator, getNumberDisplayString, isNumber, isValidEmail } from 'dtable-utils';
@@ -270,7 +269,7 @@ class PivotTableDisplayName extends React.Component {
270
269
  case CellType.LINK:
271
270
  {
272
271
  let newValue;
273
- if (!array.isArray(value)) {
272
+ if (!Array.isArray(value)) {
274
273
  newValue = [value];
275
274
  } else {
276
275
  newValue = value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sea-chart",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "main": "./dist/index.js",
5
5
  "dependencies": {
6
6
  "@antv/data-set": "0.11.8",