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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-router-pagination",
3
- "version": "2.2.172",
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.6",
35
- "@babel/core": "^7.17.9",
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.16.11",
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.4.1",
48
- "@types/react": "^18.0.7",
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.21.0",
53
- "@typescript-eslint/parser": "^5.21.0",
54
- "babel-jest": "^28.0.0",
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.2",
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.14.0",
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": "^7.0.4",
70
- "jest": "^28.0.0",
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.3"
77
+ "typescript": "^4.6.4"
78
78
  }
79
79
  }
@@ -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
@@ -1,10 +0,0 @@
1
- # EditorConfig is awesome: http://EditorConfig.org
2
-
3
- root = true
4
-
5
- [*]
6
- end_of_line = lf
7
- insert_final_newline = true
8
- charset = utf-8
9
- indent_style = space
10
- indent_size = 2
package/.eslintrc DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "root": true,
3
- "extends": "standard",
4
- "parser": "@babel/eslint-parser",
5
- "parserOptions": {
6
- "ecmaVersion": 2020,
7
- "sourceType": "module"
8
- },
9
- "settings": {
10
- "import/resolver": {
11
- "babel-module": {}
12
- }
13
- }
14
- }
@@ -1,9 +0,0 @@
1
- version: 2
2
-
3
- updates:
4
- - package-ecosystem: "npm"
5
- directory: "/"
6
- schedule:
7
- interval: "daily"
8
- reviewers:
9
- - sequencemedialimited
package/.husky/pre-commit DELETED
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- npm run pre-commit
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
- }