react-render-detective 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +29 -157
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  [Guide](docs/GUIDE.md) · [API](docs/API.md) · [Feasibility report](docs/FEASIBILITY.md) ·
12
12
  [Benchmarks](docs/BENCHMARKS.md)
13
13
 
14
- > **Status: 0.1.0, early release.** 76 tests pass on React 18 and 19; benchmarks and bundle budgets
14
+ > **Status: 0.1.3, early release.** 76 tests pass on React 18 and 19; benchmarks and bundle budgets
15
15
  > are green; the packed package is verified in a clean install for ESM, CJS and TypeScript
16
16
  > consumers; and the demo dashboard has been driven end to end in Chrome, which found four real
17
17
  > defects the jsdom suite had missed (see the [changelog](CHANGELOG.md)). Not yet exercised:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-render-detective",
3
- "version": "0.1.1",
4
- "description": "Know WHY your React components render not just that they did.",
3
+ "version": "0.1.3",
4
+ "description": "Know WHY your React components render \u2014 not just that they did.",
5
5
  "keywords": [
6
6
  "react",
7
7
  "render",
@@ -12,17 +12,29 @@
12
12
  "re-render",
13
13
  "memo"
14
14
  ],
15
+ "license": "MIT",
16
+ "author": "shubambhasin",
15
17
  "homepage": "https://shubambhasin.github.io/react-render-detective/",
16
- "bugs": {
17
- "url": "https://github.com/shubambhasin/react-render-detective/issues"
18
- },
19
18
  "repository": {
20
19
  "type": "git",
21
20
  "url": "git+https://github.com/shubambhasin/react-render-detective.git"
22
21
  },
23
- "license": "MIT",
24
- "author": "shubambhasin",
22
+ "bugs": {
23
+ "url": "https://github.com/shubambhasin/react-render-detective/issues"
24
+ },
25
25
  "type": "module",
26
+ "sideEffects": false,
27
+ "engines": {
28
+ "node": ">=18"
29
+ },
30
+ "files": [
31
+ "dist",
32
+ "README.md",
33
+ "LICENSE"
34
+ ],
35
+ "main": "./dist/index.cjs",
36
+ "module": "./dist/index.js",
37
+ "types": "./dist/index.d.ts",
26
38
  "exports": {
27
39
  ".": {
28
40
  "types": "./dist/index.d.ts",
@@ -41,18 +53,6 @@
41
53
  },
42
54
  "./package.json": "./package.json"
43
55
  },
44
- "main": "./dist/index.cjs",
45
- "types": "./dist/index.d.ts",
46
- "directories": {
47
- "doc": "docs",
48
- "example": "examples",
49
- "test": "tests"
50
- },
51
- "files": [
52
- "dist",
53
- "README.md",
54
- "LICENSE"
55
- ],
56
56
  "scripts": {
57
57
  "build": "tsup",
58
58
  "typecheck": "tsc --noEmit",
@@ -60,131 +60,16 @@
60
60
  "test:watch": "vitest",
61
61
  "size": "npm run build && node scripts/size.mjs",
62
62
  "bench": "node bench/run.mjs",
63
- "prepublishOnly": "npm run build"
63
+ "prepublishOnly": "npm run build && node scripts/verify-package.mjs",
64
+ "verify": "node scripts/verify-package.mjs"
65
+ },
66
+ "peerDependencies": {
67
+ "react": ">=16.9.0"
64
68
  },
65
- "dependencies": {
66
- "acorn": "^8.18.0",
67
- "agent-base": "^7.1.4",
68
- "ansi-regex": "^5.0.1",
69
- "ansi-styles": "^5.2.0",
70
- "any-promise": "^1.3.0",
71
- "aria-query": "^5.3.0",
72
- "assertion-error": "^2.0.1",
73
- "asynckit": "^0.4.0",
74
- "bundle-require": "^5.1.0",
75
- "cac": "^6.7.14",
76
- "call-bind-apply-helpers": "^1.0.2",
77
- "chai": "^5.3.3",
78
- "check-error": "^2.1.3",
79
- "chokidar": "^4.0.3",
80
- "combined-stream": "^1.0.8",
81
- "commander": "^4.1.1",
82
- "confbox": "^0.1.8",
83
- "consola": "^3.4.2",
84
- "cssstyle": "^4.6.0",
85
- "csstype": "^3.2.3",
86
- "data-urls": "^5.0.0",
87
- "debug": "^4.4.3",
88
- "decimal.js": "^10.6.0",
89
- "deep-eql": "^5.0.2",
90
- "delayed-stream": "^1.0.0",
91
- "dequal": "^2.0.3",
92
- "dom-accessibility-api": "^0.5.16",
93
- "dunder-proto": "^1.0.1",
94
- "entities": "^6.0.1",
95
- "es-define-property": "^1.0.1",
96
- "es-errors": "^1.3.0",
97
- "es-module-lexer": "^1.7.0",
98
- "es-object-atoms": "^1.1.2",
99
- "es-set-tostringtag": "^2.1.0",
100
- "estree-walker": "^3.0.3",
101
- "expect-type": "^1.4.0",
102
- "fdir": "^6.5.0",
103
- "fix-dts-default-cjs-exports": "^1.0.1",
104
- "form-data": "^4.0.6",
105
- "fsevents": "^2.3.3",
106
- "function-bind": "^1.1.2",
107
- "get-intrinsic": "^1.3.0",
108
- "get-proto": "^1.0.1",
109
- "gopd": "^1.2.0",
110
- "has-symbols": "^1.1.0",
111
- "has-tostringtag": "^1.0.2",
112
- "hasown": "^2.0.4",
113
- "html-encoding-sniffer": "^4.0.0",
114
- "http-proxy-agent": "^7.0.2",
115
- "https-proxy-agent": "^7.0.6",
116
- "iconv-lite": "^0.6.3",
117
- "is-potential-custom-element-name": "^1.0.1",
118
- "joycon": "^3.1.1",
119
- "js-tokens": "^4.0.0",
120
- "lilconfig": "^3.1.3",
121
- "lines-and-columns": "^1.2.4",
122
- "load-tsconfig": "^0.2.5",
123
- "loupe": "^3.2.1",
124
- "lru-cache": "^10.4.3",
125
- "lz-string": "^1.5.0",
126
- "magic-string": "^0.30.21",
127
- "math-intrinsics": "^1.1.0",
128
- "mime-db": "^1.52.0",
129
- "mime-types": "^2.1.35",
130
- "mlly": "^1.8.2",
131
- "ms": "^2.1.3",
132
- "mz": "^2.7.0",
133
- "nanoid": "^3.3.18",
134
- "nwsapi": "^2.2.24",
135
- "object-assign": "^4.1.1",
136
- "parse5": "^7.3.0",
137
- "pathe": "^2.0.3",
138
- "pathval": "^2.0.1",
139
- "picocolors": "^1.1.1",
140
- "picomatch": "^4.0.7",
141
- "pirates": "^4.0.7",
142
- "pkg-types": "^1.3.1",
143
- "postcss": "^8.5.26",
144
- "postcss-load-config": "^6.0.1",
145
- "pretty-format": "^27.5.1",
146
- "punycode": "^2.3.1",
147
- "react-is": "^17.0.2",
148
- "readdirp": "^4.1.2",
149
- "resolve-from": "^5.0.0",
150
- "rollup": "^4.63.0",
151
- "rrweb-cssom": "^0.7.1",
152
- "safer-buffer": "^2.1.2",
153
- "saxes": "^6.0.0",
154
- "scheduler": "^0.27.0",
155
- "siginfo": "^2.0.0",
156
- "source-map": "^0.7.6",
157
- "source-map-js": "^1.2.1",
158
- "stackback": "^0.0.2",
159
- "std-env": "^3.10.0",
160
- "sucrase": "^3.35.1",
161
- "symbol-tree": "^3.2.4",
162
- "thenify": "^3.3.1",
163
- "thenify-all": "^1.6.0",
164
- "tinybench": "^2.9.0",
165
- "tinyexec": "^0.3.2",
166
- "tinyglobby": "^0.2.17",
167
- "tinypool": "^1.1.1",
168
- "tinyrainbow": "^1.2.0",
169
- "tinyspy": "^3.0.2",
170
- "tldts": "^6.1.86",
171
- "tldts-core": "^6.1.86",
172
- "tough-cookie": "^5.1.2",
173
- "tr46": "^5.1.1",
174
- "tree-kill": "^1.2.2",
175
- "ts-interface-checker": "^0.1.13",
176
- "ufo": "^1.6.4",
177
- "vite": "^5.4.21",
178
- "vite-node": "^2.1.9",
179
- "w3c-xmlserializer": "^5.0.0",
180
- "webidl-conversions": "^7.0.0",
181
- "whatwg-encoding": "^3.1.1",
182
- "whatwg-mimetype": "^4.0.0",
183
- "whatwg-url": "^14.2.0",
184
- "why-is-node-running": "^2.3.0",
185
- "ws": "^8.21.3",
186
- "xml-name-validator": "^5.0.0",
187
- "xmlchars": "^2.2.0"
69
+ "peerDependenciesMeta": {
70
+ "react": {
71
+ "optional": false
72
+ }
188
73
  },
189
74
  "devDependencies": {
190
75
  "@testing-library/react": "^16.1.0",
@@ -198,20 +83,7 @@
198
83
  "typescript": "^5.7.2",
199
84
  "vitest": "^2.1.8"
200
85
  },
201
- "peerDependencies": {
202
- "react": ">=16.9.0"
203
- },
204
- "peerDependenciesMeta": {
205
- "react": {
206
- "optional": false
207
- }
208
- },
209
- "engines": {
210
- "node": ">=18"
211
- },
212
86
  "publishConfig": {
213
87
  "access": "public"
214
- },
215
- "sideEffects": false,
216
- "module": "./dist/index.js"
88
+ }
217
89
  }