@tanem/react-nprogress 3.0.81 → 4.0.0-beta.3

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": "@tanem/react-nprogress",
3
- "version": "3.0.81",
3
+ "version": "4.0.0-beta.3",
4
4
  "description": "A React primitive for building slim progress bars.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/react-nprogress.esm.js",
@@ -22,7 +22,7 @@
22
22
  "clean:coverage": "shx rm -rf coverage",
23
23
  "clean:dist": "shx rm -rf dist",
24
24
  "compile": "tsc -p tsconfig.base.json",
25
- "format": "prettier --write \"**/*.{js,ts,tsx}\"",
25
+ "format": "npm run lint -- --fix && prettier --write \"**/*.{js,ts,tsx}\"",
26
26
  "lint": "eslint --ext js,ts,tsx .",
27
27
  "postbundle": "npm run clean:compiled && shx cp ./index.js ./dist/index.js",
28
28
  "release": "tanem-scripts release",
@@ -33,7 +33,7 @@
33
33
  "test:src": "jest --config ./scripts/jest/config.src.js",
34
34
  "test:umd": "jest --config ./scripts/jest/config.umd.js",
35
35
  "test:umdprod": "jest --config ./scripts/jest/config.umdprod.js",
36
- "version": "run-s test changelog authors && git add ."
36
+ "// version": "run-s test changelog authors && git add ."
37
37
  },
38
38
  "repository": {
39
39
  "type": "git",
@@ -66,45 +66,45 @@
66
66
  "react-dom": "^16.8.0 || ^17.0.0"
67
67
  },
68
68
  "dependencies": {
69
- "@babel/runtime": "^7.15.4",
69
+ "@babel/runtime": "^7.16.5",
70
70
  "hoist-non-react-statics": "^3.3.2",
71
71
  "prop-types": "^15.7.2",
72
72
  "react-use": "^17.3.1"
73
73
  },
74
74
  "devDependencies": {
75
- "@babel/core": "7.15.8",
76
- "@babel/plugin-proposal-class-properties": "7.14.5",
77
- "@babel/plugin-transform-runtime": "7.15.8",
78
- "@babel/preset-env": "7.15.8",
79
- "@babel/preset-react": "7.14.5",
80
- "@babel/preset-typescript": "7.15.0",
75
+ "@babel/core": "7.16.5",
76
+ "@babel/plugin-proposal-class-properties": "7.16.5",
77
+ "@babel/plugin-transform-runtime": "7.16.5",
78
+ "@babel/preset-env": "7.16.5",
79
+ "@babel/preset-react": "7.16.5",
80
+ "@babel/preset-typescript": "7.16.5",
81
81
  "@testing-library/react": "12.1.2",
82
82
  "@testing-library/react-hooks": "7.0.2",
83
83
  "@types/hoist-non-react-statics": "3.3.1",
84
- "@types/jest": "27.0.2",
84
+ "@types/jest": "27.0.3",
85
85
  "@types/mock-raf": "1.0.3",
86
86
  "@types/prop-types": "15.7.4",
87
- "@types/react": "17.0.27",
88
- "@types/react-dom": "17.0.9",
89
- "@typescript-eslint/eslint-plugin": "5.0.0",
90
- "@typescript-eslint/parser": "5.0.0",
87
+ "@types/react": "17.0.37",
88
+ "@types/react-dom": "17.0.11",
89
+ "@typescript-eslint/eslint-plugin": "5.7.0",
90
+ "@typescript-eslint/parser": "5.7.0",
91
91
  "babel-core": "6.26.3",
92
92
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
93
93
  "cross-env": "7.0.3",
94
- "eslint": "7.32.0",
94
+ "eslint": "8.4.1",
95
95
  "eslint-config-prettier": "8.3.0",
96
- "eslint-plugin-react": "7.26.1",
97
- "eslint-plugin-react-hooks": "4.2.0",
96
+ "eslint-plugin-react": "7.27.1",
97
+ "eslint-plugin-react-hooks": "4.3.0",
98
98
  "eslint-plugin-simple-import-sort": "7.0.0",
99
- "jest": "27.2.5",
99
+ "jest": "27.4.5",
100
100
  "mock-raf": "1.0.1",
101
101
  "npm-run-all": "4.1.5",
102
- "prettier": "2.4.1",
102
+ "prettier": "2.5.1",
103
103
  "react": "17.0.2",
104
104
  "react-dom": "17.0.2",
105
105
  "react-test-renderer": "17.0.2",
106
106
  "regenerator-runtime": "0.13.9",
107
- "rollup": "2.58.0",
107
+ "rollup": "2.61.1",
108
108
  "rollup-plugin-babel": "4.4.0",
109
109
  "rollup-plugin-commonjs": "10.1.0",
110
110
  "rollup-plugin-filesize": "9.1.1",
@@ -115,7 +115,7 @@
115
115
  "rollup-plugin-terser": "7.0.2",
116
116
  "shx": "0.3.3",
117
117
  "tanem-scripts": "6.0.35",
118
- "ts-jest": "27.0.5",
118
+ "ts-jest": "27.1.1",
119
119
  "typescript": "4.3.5"
120
120
  }
121
121
  }
package/dist/queue.d.ts DELETED
@@ -1,5 +0,0 @@
1
- declare type Next = () => void;
2
- declare type Callback = (next: Next) => void;
3
- export declare const clear: () => void;
4
- export declare const queue: (cb: Callback) => void;
5
- export {};
package/dist/timeout.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export declare const cancel: () => void;
2
- export declare const timeout: (callback: () => void, delay: number) => void;