react-component-snapshot 0.0.94 → 0.0.96
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/index.d.mts +5 -5
- package/package.json +10 -10
package/index.d.mts
CHANGED
|
@@ -6,11 +6,11 @@ declare global {
|
|
|
6
6
|
* https://github.com/bendtherules/react-fiber-traverse
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
export type FiberNode =
|
|
10
|
-
|
|
|
11
|
-
|
|
|
12
|
-
|
|
|
13
|
-
|
|
9
|
+
export type FiberNode = |
|
|
10
|
+
FiberNodeForClassComponent |
|
|
11
|
+
FiberNodeForFunctionComponent |
|
|
12
|
+
FiberNodeForInstrinsicElement |
|
|
13
|
+
FiberNodeForTextNode
|
|
14
14
|
|
|
15
15
|
interface FiberType {
|
|
16
16
|
child: FiberNode | null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-component-snapshot",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.96",
|
|
4
4
|
"description": "Transform a React component to match its snapshot in Jest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -31,29 +31,29 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"debug": "^4.4.1",
|
|
34
|
-
"react-component-name": "^0.0.
|
|
34
|
+
"react-component-name": "^0.0.64"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@babel/core": "^7.28.0",
|
|
38
38
|
"@babel/eslint-parser": "^7.28.0",
|
|
39
39
|
"@babel/preset-env": "^7.28.0",
|
|
40
40
|
"@babel/preset-react": "^7.27.1",
|
|
41
|
-
"@sequencemedia/eslint-config-standard": "^0.2.
|
|
42
|
-
"@sequencemedia/eslint-config-typescript": "^0.1.
|
|
43
|
-
"@testing-library/jest-dom": "^6.6.
|
|
41
|
+
"@sequencemedia/eslint-config-standard": "^0.2.73",
|
|
42
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.127",
|
|
43
|
+
"@testing-library/jest-dom": "^6.6.4",
|
|
44
44
|
"@testing-library/react": "^16.3.0",
|
|
45
45
|
"@types/debug": "^4.1.12",
|
|
46
46
|
"@types/jest": "^30.0.0",
|
|
47
47
|
"@types/react": "^19.1.8",
|
|
48
48
|
"@types/react-dom": "^19.1.6",
|
|
49
|
-
"@typescript-eslint/parser": "^8.
|
|
50
|
-
"core-js": "^3.
|
|
51
|
-
"eslint": "^9.
|
|
49
|
+
"@typescript-eslint/parser": "^8.38.0",
|
|
50
|
+
"core-js": "^3.44.0",
|
|
51
|
+
"eslint": "^9.32.0",
|
|
52
52
|
"eslint-plugin-react": "^7.37.5",
|
|
53
53
|
"globals": "^16.3.0",
|
|
54
54
|
"husky": "^9.1.7",
|
|
55
|
-
"jest": "^30.0.
|
|
56
|
-
"jest-environment-jsdom": "^30.0.
|
|
55
|
+
"jest": "^30.0.5",
|
|
56
|
+
"jest-environment-jsdom": "^30.0.5",
|
|
57
57
|
"react": "^19.1.0",
|
|
58
58
|
"react-dom": "^19.1.0"
|
|
59
59
|
},
|