Skip to content

Commit d7092aa

Browse files
authored
Merge branch 'master' into speedup-splitNested
2 parents 847df15 + d39e133 commit d7092aa

File tree

12 files changed

+55
-56
lines changed

12 files changed

+55
-56
lines changed

enzyme-setup.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import Adapter from 'enzyme-adapter-react-16.3';
2-
import { configure } from 'enzyme';
1+
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";
2+
import { configure } from "enzyme";
33

44
const configureEnzyme = () => {
5-
configure({ adapter: new Adapter() });
5+
configure({ adapter: new Adapter() });
66
};
77

88
configureEnzyme();

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "react-bootstrap-table2",
3-
"version": "0.0.1",
2+
"name": "@musicstory/react-bootstrap-table2",
3+
"version": "1.0.0",
44
"private": true,
5-
"description": "Rebuilt for react-bootstrap-table",
5+
"description": "Rebuilt for react-bootstrap-table by musicstory",
66
"main": "index.js",
77
"scripts": {
88
"postinstall": "lerna bootstrap",
@@ -51,7 +51,7 @@
5151
"babel-register": "6.24.1",
5252
"css-loader": "0.28.1",
5353
"enzyme": "3.4.0",
54-
"enzyme-adapter-react-16.3": "1.0.0",
54+
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
5555
"enzyme-to-json": "3.3.4",
5656
"eslint": "4.5.0",
5757
"eslint-config-airbnb": "15.1.0",
@@ -82,8 +82,8 @@
8282
"dependencies": {
8383
"classnames": "^2.2.5",
8484
"prop-types": "15.5.10",
85-
"react": "16.4.0",
86-
"react-dom": "16.4.0",
85+
"react": "17.0.2",
86+
"react-dom": "17.0.2",
8787
"underscore": "1.9.1"
8888
},
8989
"jest": {

packages/react-bootstrap-table2-editor/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "react-bootstrap-table2-editor",
3-
"version": "1.4.0",
4-
"description": "it's the editor addon for react-bootstrap-table2",
2+
"name": "@musicstory/react-bootstrap-table2-editor",
3+
"version": "1.0.1",
4+
"description": "it's the editor addon for react-bootstrap-table2 by musicstory",
55
"main": "./lib/index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
@@ -41,7 +41,7 @@
4141
],
4242
"peerDependencies": {
4343
"prop-types": "^15.0.0",
44-
"react": "^16.3.0",
45-
"react-dom": "^16.3.0"
44+
"react": "^17.0.2",
45+
"react-dom": "^17.0.2"
4646
}
4747
}

packages/react-bootstrap-table2-example/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "react-bootstrap-table2-example",
3-
"version": "1.0.41",
2+
"name": "@musicstory/react-bootstrap-table2-example",
3+
"version": "1.0.0",
44
"description": "",
55
"main": "index.js",
66
"private": true,
@@ -14,8 +14,8 @@
1414
"license": "ISC",
1515
"peerDependencies": {
1616
"prop-types": "^15.0.0",
17-
"react": "^16.3.0",
18-
"react-dom": "^16.3.0"
17+
"react": "^17.0.2",
18+
"react-dom": "^17.0.2"
1919
},
2020
"devDependencies": {
2121
"@storybook/addon-console": "^1.0.0",

packages/react-bootstrap-table2-filter/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "react-bootstrap-table2-filter",
3-
"version": "1.3.3",
4-
"description": "it's a column filter addon for react-bootstrap-table2",
2+
"name": "@musicstory/react-bootstrap-table2-filter",
3+
"version": "1.0.1",
4+
"description": "it's a column filter addon for react-bootstrap-table2 by musicstory",
55
"main": "./lib/index.js",
66
"repository": {
77
"type": "git",
@@ -38,7 +38,7 @@
3838
],
3939
"peerDependencies": {
4040
"prop-types": "^15.0.0",
41-
"react": "^16.3.0",
42-
"react-dom": "^16.3.0"
41+
"react": "^17.0.2",
42+
"react-dom": "^17.0.2"
4343
}
4444
}

packages/react-bootstrap-table2-overlay/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "react-bootstrap-table2-overlay",
3-
"version": "2.0.0",
4-
"description": "it's a loading overlay addons for react-bootstrap-table2",
2+
"name": "@musicstory/react-bootstrap-table2-overlay",
3+
"version": "1.0.1",
4+
"description": "it's a loading overlay addons for react-bootstrap-table2 by musicstory",
55
"main": "./lib/index.js",
66
"repository": {
77
"type": "git",
@@ -41,7 +41,7 @@
4141
},
4242
"peerDependencies": {
4343
"prop-types": "^15.0.0",
44-
"react": "^16.3.0",
45-
"react-dom": "^16.3.0"
44+
"react": "^17.0.2",
45+
"react-dom": "^17.0.2"
4646
}
4747
}

packages/react-bootstrap-table2-paginator/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "react-bootstrap-table2-paginator",
3-
"version": "2.1.2",
4-
"description": "it's the pagination addon for react-bootstrap-table2",
2+
"name": "@musicstory/react-bootstrap-table2-paginator",
3+
"version": "1.0.1",
4+
"description": "it's the pagination addon for react-bootstrap-table2 by musicstory",
55
"main": "./lib/index.js",
66
"repository": {
77
"type": "git",
@@ -38,7 +38,7 @@
3838
],
3939
"peerDependencies": {
4040
"prop-types": "^15.0.0",
41-
"react": "^16.3.0",
42-
"react-dom": "^16.3.0"
41+
"react": "^17.0.2",
42+
"react-dom": "^17.0.2"
4343
}
4444
}

packages/react-bootstrap-table2-toolkit/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "react-bootstrap-table2-toolkit",
3-
"version": "2.1.3",
4-
"description": "The toolkit for react-bootstrap-table2",
2+
"name": "@musicstory/react-bootstrap-table2-toolkit",
3+
"version": "1.0.2",
4+
"description": "The toolkit for react-bootstrap-table2 by musicstory",
55
"main": "./lib/index.js",
66
"repository": {
77
"type": "git",
@@ -41,8 +41,8 @@
4141
],
4242
"peerDependencies": {
4343
"prop-types": "^15.0.0",
44-
"react": "^16.3.0",
45-
"react-dom": "^16.3.0"
44+
"react": "^17.0.2",
45+
"react-dom": "^17.0.2"
4646
},
4747
"dependencies": {
4848
"file-saver": "2.0.2"

packages/react-bootstrap-table2-toolkit/src/search/SearchBar.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import PropTypes from 'prop-types';
66
const handleDebounce = (func, wait, immediate) => {
77
let timeout;
88

9-
return () => {
9+
return (...args) => {
1010
const later = () => {
1111
timeout = null;
1212

1313
if (!immediate) {
14-
func.apply(this, arguments);
14+
func.apply(this, args);
1515
}
1616
};
1717

@@ -22,7 +22,7 @@ const handleDebounce = (func, wait, immediate) => {
2222
timeout = setTimeout(later, wait || 0);
2323

2424
if (callNow) {
25-
func.appy(this, arguments);
25+
func.apply(this, args);
2626
}
2727
};
2828
};

packages/react-bootstrap-table2/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "react-bootstrap-table-next",
3-
"version": "4.0.3",
4-
"description": "Next generation of react-bootstrap-table",
2+
"name": "@musicstory/react-bootstrap-table-next",
3+
"version": "1.0.5",
4+
"description": "Next generation of react-bootstrap-table by musicstory",
55
"main": "./lib/index.js",
66
"repository": {
77
"type": "git",
@@ -43,7 +43,7 @@
4343
"peerDependencies": {
4444
"classnames": "^2.2.5",
4545
"prop-types": "^15.0.0",
46-
"react": "^16.3.0",
47-
"react-dom": "^16.3.0"
46+
"react": "^17.0.2",
47+
"react-dom": "^17.0.2"
4848
}
4949
}

0 commit comments

Comments
 (0)