react-router-pagination 2.2.172 → 2.2.175
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/package.json +14 -14
- package/.circleci/config.yml +0 -56
- package/.editorconfig +0 -10
- package/.eslintrc +0 -14
- package/.github/dependabot.yml +0 -9
- package/.husky/pre-commit +0 -4
- package/src/.eslintrc +0 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-router-pagination",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.175",
|
|
4
4
|
"description": "A React Router Pagination component",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"author": {
|
|
@@ -31,33 +31,33 @@
|
|
|
31
31
|
"pre-commit": "npm run lint && npm run test && npm run build && git add lib && npm run gulp -- pre-commit"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@babel/cli": "^7.17.
|
|
35
|
-
"@babel/core": "^7.17.
|
|
34
|
+
"@babel/cli": "^7.17.10",
|
|
35
|
+
"@babel/core": "^7.17.10",
|
|
36
36
|
"@babel/eslint-parser": "^7.17.0",
|
|
37
37
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
38
38
|
"@babel/plugin-proposal-export-default-from": "^7.16.7",
|
|
39
39
|
"@babel/plugin-proposal-export-namespace-from": "^7.16.7",
|
|
40
40
|
"@babel/plugin-transform-typescript": "^7.16.8",
|
|
41
|
-
"@babel/preset-env": "^7.
|
|
41
|
+
"@babel/preset-env": "^7.17.10",
|
|
42
42
|
"@babel/preset-react": "^7.16.7",
|
|
43
43
|
"@babel/preset-typescript": "^7.16.7",
|
|
44
44
|
"@babel/register": "^7.17.7",
|
|
45
45
|
"@types/enzyme": "^3.10.12",
|
|
46
46
|
"@types/enzyme-adapter-react-16": "^1.0.6",
|
|
47
|
-
"@types/jest": "^27.
|
|
48
|
-
"@types/react": "^18.0.
|
|
47
|
+
"@types/jest": "^27.5.1",
|
|
48
|
+
"@types/react": "^18.0.9",
|
|
49
49
|
"@types/react-router": "^5.1.18",
|
|
50
50
|
"@types/react-router-dom": "^5.3.3",
|
|
51
51
|
"@types/react-test-renderer": "^18.0.0",
|
|
52
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
53
|
-
"@typescript-eslint/parser": "^5.
|
|
54
|
-
"babel-jest": "^28.
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
53
|
+
"@typescript-eslint/parser": "^5.23.0",
|
|
54
|
+
"babel-jest": "^28.1.0",
|
|
55
55
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
56
|
-
"core-js": "^3.22.
|
|
56
|
+
"core-js": "^3.22.5",
|
|
57
57
|
"cross-env": "^7.0.3",
|
|
58
58
|
"enzyme": "^3.11.0",
|
|
59
59
|
"enzyme-adapter-react-16": "^1.15.6",
|
|
60
|
-
"eslint": "^8.
|
|
60
|
+
"eslint": "^8.15.0",
|
|
61
61
|
"eslint-config-standard": "^17.0.0",
|
|
62
62
|
"eslint-config-standard-with-typescript": "^21.0.1",
|
|
63
63
|
"eslint-import-resolver-babel-module": "^5.3.1",
|
|
@@ -66,14 +66,14 @@
|
|
|
66
66
|
"eslint-plugin-promise": "^6.0.0",
|
|
67
67
|
"eslint-plugin-react": "^7.29.4",
|
|
68
68
|
"gulp": "^4.0.2",
|
|
69
|
-
"husky": "^
|
|
70
|
-
"jest": "^28.
|
|
69
|
+
"husky": "^8.0.1",
|
|
70
|
+
"jest": "^28.1.0",
|
|
71
71
|
"prop-types": "15.7.2",
|
|
72
72
|
"react": "16.14.0",
|
|
73
73
|
"react-dom": "16.14.0",
|
|
74
74
|
"react-router": "^6.3.0",
|
|
75
75
|
"react-router-dom": "^6.3.0",
|
|
76
76
|
"rimraf": "^3.0.2",
|
|
77
|
-
"typescript": "^4.6.
|
|
77
|
+
"typescript": "^4.6.4"
|
|
78
78
|
}
|
|
79
79
|
}
|
package/.circleci/config.yml
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
version: 2.1
|
|
2
|
-
|
|
3
|
-
jobs:
|
|
4
|
-
publish:
|
|
5
|
-
docker:
|
|
6
|
-
- image: cimg/node:lts
|
|
7
|
-
steps:
|
|
8
|
-
- checkout
|
|
9
|
-
- run:
|
|
10
|
-
name: Publish to NPM
|
|
11
|
-
command: |
|
|
12
|
-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
|
|
13
|
-
|
|
14
|
-
PATTERN="([0-9]+)\.([0-9]+)\.([0-9]+)"
|
|
15
|
-
NAME=$(node -p "require('./package').name")
|
|
16
|
-
VERSION=$(node -p "require('./package').version")
|
|
17
|
-
PUBLISHED_VERSION=$(npm view $NAME version)
|
|
18
|
-
|
|
19
|
-
echo Version is $VERSION
|
|
20
|
-
echo Published version is $PUBLISHED_VERSION
|
|
21
|
-
|
|
22
|
-
[[ $VERSION =~ $PATTERN ]]
|
|
23
|
-
|
|
24
|
-
VERSION_MAJOR="${BASH_REMATCH[1]}"
|
|
25
|
-
VERSION_MINOR="${BASH_REMATCH[2]}"
|
|
26
|
-
VERSION_PATCH="${BASH_REMATCH[3]}"
|
|
27
|
-
|
|
28
|
-
[[ $PUBLISHED_VERSION =~ $PATTERN ]]
|
|
29
|
-
|
|
30
|
-
PUBLISHED_VERSION_MAJOR="${BASH_REMATCH[1]}"
|
|
31
|
-
PUBLISHED_VERSION_MINOR="${BASH_REMATCH[2]}"
|
|
32
|
-
PUBLISHED_VERSION_PATCH="${BASH_REMATCH[3]}"
|
|
33
|
-
|
|
34
|
-
if [ $VERSION_MAJOR -gt $PUBLISHED_VERSION_MAJOR ] || [ $VERSION_MINOR -gt $PUBLISHED_VERSION_MINOR ] || [ $VERSION_PATCH -gt $PUBLISHED_VERSION_PATCH ]
|
|
35
|
-
then
|
|
36
|
-
set +e
|
|
37
|
-
|
|
38
|
-
npm ci
|
|
39
|
-
npm publish
|
|
40
|
-
|
|
41
|
-
if [[ $? != 0 ]];
|
|
42
|
-
then
|
|
43
|
-
echo Version $VERSION was not published
|
|
44
|
-
else
|
|
45
|
-
echo Published version $VERSION
|
|
46
|
-
fi
|
|
47
|
-
fi
|
|
48
|
-
|
|
49
|
-
workflows:
|
|
50
|
-
version: 2
|
|
51
|
-
commit-workflow:
|
|
52
|
-
jobs:
|
|
53
|
-
- publish:
|
|
54
|
-
filters:
|
|
55
|
-
tags:
|
|
56
|
-
only: /^v.*/
|
package/.editorconfig
DELETED
package/.eslintrc
DELETED
package/.github/dependabot.yml
DELETED
package/.husky/pre-commit
DELETED
package/src/.eslintrc
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": [
|
|
3
|
-
"standard-with-typescript",
|
|
4
|
-
"plugin:react/recommended"
|
|
5
|
-
],
|
|
6
|
-
"parser": "@typescript-eslint/parser",
|
|
7
|
-
"parserOptions": {
|
|
8
|
-
"project": "tsconfig.json",
|
|
9
|
-
"ecmaFeatures": {
|
|
10
|
-
"jsx": true
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"plugins": [
|
|
14
|
-
"@typescript-eslint/eslint-plugin",
|
|
15
|
-
"react"
|
|
16
|
-
],
|
|
17
|
-
"settings": {
|
|
18
|
-
"react": {
|
|
19
|
-
"version": "detect"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|