@teamix/pro 1.5.4 → 1.5.5

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/index.d.ts CHANGED
@@ -28,5 +28,5 @@ export * from './table';
28
28
  export * from './sidebar';
29
29
  export * from './utils';
30
30
  export * from './timeline';
31
- declare const version = "1.5.4";
31
+ declare const version = "1.5.5";
32
32
  export { version, ProAction, ProCard, ProField, ProForm, ProInfo, ProPageContainer, ProPageHeader, ProSkeleton, ProTable, ProSidebar, ProTimeline, TeamixIcon, hooks, nocode, templates, utils, };
package/es/index.js CHANGED
@@ -35,7 +35,7 @@ export * from './table';
35
35
  export * from './sidebar';
36
36
  export * from './utils';
37
37
  export * from './timeline';
38
- var version = '1.5.4';
38
+ var version = '1.5.5';
39
39
  export { version, ProAction, ProCard, ProField, ProForm, ProInfo,
40
40
  // ProLayout,
41
41
  ProPageContainer, ProPageHeader, ProSkeleton, ProTable, ProSidebar, ProTimeline, TeamixIcon, hooks, nocode, templates, utils };
@@ -2,7 +2,7 @@
2
2
  import { useEffect } from 'react';
3
3
  // import path from 'path';
4
4
  import { useHistory } from 'react-router-dom';
5
- var path = require('path');
5
+ var path = require('path-browserify');
6
6
  var useRealHistory = function useRealHistory() {
7
7
  var history;
8
8
  if (useHistory) {
package/lib/index.d.ts CHANGED
@@ -28,5 +28,5 @@ export * from './table';
28
28
  export * from './sidebar';
29
29
  export * from './utils';
30
30
  export * from './timeline';
31
- declare const version = "1.5.4";
31
+ declare const version = "1.5.5";
32
32
  export { version, ProAction, ProCard, ProField, ProForm, ProInfo, ProPageContainer, ProPageHeader, ProSkeleton, ProTable, ProSidebar, ProTimeline, TeamixIcon, hooks, nocode, templates, utils, };
package/lib/index.js CHANGED
@@ -280,5 +280,5 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
280
280
  if (!((_window = window) === null || _window === void 0 ? void 0 : _window.TEAMIXPRO_WITHOUT_ICON)) {
281
281
  _icon.default.setConfig(_utils.default.getTeamixIconConfig());
282
282
  }
283
- var version = '1.5.4';
283
+ var version = '1.5.5';
284
284
  exports.version = version;
@@ -10,7 +10,7 @@ var _reactRouterDom = require("react-router-dom");
10
10
 
11
11
  // import path from 'path';
12
12
 
13
- var path = require('path');
13
+ var path = require('path-browserify');
14
14
  var useRealHistory = function useRealHistory() {
15
15
  var history;
16
16
  if (_reactRouterDom.useHistory) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamix/pro",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
4
4
  "description": "TeamixPro大包",
5
5
  "keywords": [
6
6
  "aliyun",
@@ -49,6 +49,7 @@
49
49
  "lodash.clonedeep": "^4.5.0",
50
50
  "lodash.debounce": "^4.0.8",
51
51
  "lodash.isempty": "^4.4.0",
52
+ "path-browserify": "^1.0.1",
52
53
  "react-helmet": "^6.1.0"
53
54
  },
54
55
  "devDependencies": {