@maverickcer/env-cap 0.5.3 → 0.7.0

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 (359) hide show
  1. package/ADOPTION.md +144 -0
  2. package/AGENTS.md +146 -0
  3. package/CHANGELOG.md +438 -0
  4. package/CODE_OF_CONDUCT.md +124 -0
  5. package/CODE_REVIEW.md +200 -0
  6. package/CONTRIBUTING.md +131 -0
  7. package/GUIDE.md +1214 -0
  8. package/PROMPT.md +89 -0
  9. package/README.md +97 -199
  10. package/RELEASING.md +160 -0
  11. package/SECURITY.md +270 -0
  12. package/SUPPORT.md +76 -0
  13. package/VERSIONING.md +118 -0
  14. package/benchmarks/READING-BENCHMARKS.md +197 -0
  15. package/benchmarks/README.md +126 -0
  16. package/benchmarks/WRITING-BENCHMARKS.md +252 -0
  17. package/benchmarks/performance-buildtime/BENCHMARKS.md +889 -0
  18. package/benchmarks/performance-runtime/BENCHMARKS.md +1988 -0
  19. package/dist/.dts/_ipc/build-fs.d.ts +53 -0
  20. package/dist/.dts/_ipc/build-fs.d.ts.map +1 -0
  21. package/dist/.dts/_ipc/compiler-api.d.ts +17 -0
  22. package/dist/.dts/_ipc/compiler-api.d.ts.map +1 -0
  23. package/dist/.dts/_ipc/display-path.d.ts +27 -0
  24. package/dist/.dts/_ipc/display-path.d.ts.map +1 -0
  25. package/dist/.dts/_ipc/generated-banner.d.ts +58 -0
  26. package/dist/.dts/_ipc/generated-banner.d.ts.map +1 -0
  27. package/dist/.dts/_ipc/glob.d.ts +22 -0
  28. package/dist/.dts/_ipc/glob.d.ts.map +1 -0
  29. package/dist/.dts/_ipc/no-node-fs.d.ts +34 -0
  30. package/dist/.dts/_ipc/no-node-fs.d.ts.map +1 -0
  31. package/dist/.dts/_ipc/resolve-tsconfig-paths.d.ts +134 -0
  32. package/dist/.dts/_ipc/resolve-tsconfig-paths.d.ts.map +1 -0
  33. package/dist/.dts/_ipc/typescript.d.ts +20 -0
  34. package/dist/.dts/_ipc/typescript.d.ts.map +1 -0
  35. package/dist/.dts/build/assemble-project.d.ts +1 -1
  36. package/dist/.dts/build/assemble-project.d.ts.map +1 -1
  37. package/dist/.dts/build/change-model.d.ts.map +1 -1
  38. package/dist/.dts/build/check-artifacts.d.ts.map +1 -1
  39. package/dist/.dts/build/citation-verification.d.ts.map +1 -1
  40. package/dist/.dts/build/compatibility.d.ts.map +1 -1
  41. package/dist/.dts/build/compiler-api.d.ts +12 -0
  42. package/dist/.dts/build/compiler-api.d.ts.map +1 -0
  43. package/dist/.dts/build/dependency-graph.d.ts +3 -1
  44. package/dist/.dts/build/dependency-graph.d.ts.map +1 -1
  45. package/dist/.dts/build/dependency-model.d.ts.map +1 -1
  46. package/dist/.dts/build/discover.d.ts.map +1 -1
  47. package/dist/.dts/build/display-path.d.ts +3 -21
  48. package/dist/.dts/build/display-path.d.ts.map +1 -1
  49. package/dist/.dts/build/docs.d.ts +1 -1
  50. package/dist/.dts/build/docs.d.ts.map +1 -1
  51. package/dist/.dts/build/env-example.d.ts.map +1 -1
  52. package/dist/.dts/build/evidence-cache.d.ts +1 -1
  53. package/dist/.dts/build/evidence-cache.d.ts.map +1 -1
  54. package/dist/.dts/build/evidence-model.d.ts +2 -2
  55. package/dist/.dts/build/evidence-snapshot.d.ts +25 -0
  56. package/dist/.dts/build/evidence-snapshot.d.ts.map +1 -1
  57. package/dist/.dts/build/finding-model.d.ts +1 -1
  58. package/dist/.dts/build/finding-model.d.ts.map +1 -1
  59. package/dist/.dts/build/generate-documentation.d.ts.map +1 -1
  60. package/dist/.dts/build/generate-env-artifacts.d.ts +23 -8
  61. package/dist/.dts/build/generate-env-artifacts.d.ts.map +1 -1
  62. package/dist/.dts/build/generate-evidence.d.ts.map +1 -1
  63. package/dist/.dts/build/generate-manifest.d.ts +1 -1
  64. package/dist/.dts/build/generate-manifest.d.ts.map +1 -1
  65. package/dist/.dts/build/generate-usage.d.ts +3 -3
  66. package/dist/.dts/build/generate-usage.d.ts.map +1 -1
  67. package/dist/.dts/build/generated-banner.d.ts +29 -38
  68. package/dist/.dts/build/generated-banner.d.ts.map +1 -1
  69. package/dist/.dts/build/glob.d.ts +3 -15
  70. package/dist/.dts/build/glob.d.ts.map +1 -1
  71. package/dist/.dts/build/index.d.ts +2 -2
  72. package/dist/.dts/build/lifecycle-model.d.ts.map +1 -1
  73. package/dist/.dts/build/link.d.ts.map +1 -1
  74. package/dist/.dts/build/literal-eval.d.ts +4 -3
  75. package/dist/.dts/build/literal-eval.d.ts.map +1 -1
  76. package/dist/.dts/build/live-expirations.d.ts.map +1 -1
  77. package/dist/.dts/build/manifest.d.ts.map +1 -1
  78. package/dist/.dts/build/merge-documentation.d.ts +35 -0
  79. package/dist/.dts/build/merge-documentation.d.ts.map +1 -0
  80. package/dist/.dts/build/parse.d.ts +12 -12
  81. package/dist/.dts/build/parse.d.ts.map +1 -1
  82. package/dist/.dts/build/reference-projections.d.ts +17 -3
  83. package/dist/.dts/build/reference-projections.d.ts.map +1 -1
  84. package/dist/.dts/build/resolution/resolve-import.d.ts +5 -0
  85. package/dist/.dts/build/resolution/resolve-import.d.ts.map +1 -1
  86. package/dist/.dts/build/resolution/resolve-package-schema.d.ts +1 -1
  87. package/dist/.dts/build/resolution/resolve-package-schema.d.ts.map +1 -1
  88. package/dist/.dts/build/resolution/resolve-tsconfig-paths.d.ts +11 -94
  89. package/dist/.dts/build/resolution/resolve-tsconfig-paths.d.ts.map +1 -1
  90. package/dist/.dts/build/sarif.d.ts.map +1 -1
  91. package/dist/.dts/build/scan-dependencies.d.ts +23 -0
  92. package/dist/.dts/build/scan-dependencies.d.ts.map +1 -1
  93. package/dist/.dts/build/types.d.ts +4 -53
  94. package/dist/.dts/build/types.d.ts.map +1 -1
  95. package/dist/.dts/build/typescript.d.ts +6 -0
  96. package/dist/.dts/build/typescript.d.ts.map +1 -0
  97. package/dist/.dts/build/usage-report.d.ts.map +1 -1
  98. package/dist/.dts/cli/filesystem.d.ts +4 -0
  99. package/dist/.dts/cli/filesystem.d.ts.map +1 -1
  100. package/dist/.dts/eslint-plugin/glob.d.ts +4 -15
  101. package/dist/.dts/eslint-plugin/glob.d.ts.map +1 -1
  102. package/dist/.dts/eslint-plugin/index.d.ts +3 -3
  103. package/dist/.dts/eslint-plugin/no-node-fs.d.ts +8 -18
  104. package/dist/.dts/eslint-plugin/no-node-fs.d.ts.map +1 -1
  105. package/dist/.dts/eslint-plugin/no-raw-process-env.d.ts.map +1 -1
  106. package/dist/.dts/evidence/index.d.ts +2 -2
  107. package/dist/.dts/helpers/index.d.ts +2 -2
  108. package/dist/.dts/helpers/processors.d.ts.map +1 -1
  109. package/dist/.dts/helpers/validators.d.ts.map +1 -1
  110. package/dist/.dts/runtime/cache.d.ts +0 -3
  111. package/dist/.dts/runtime/cache.d.ts.map +1 -1
  112. package/dist/.dts/runtime/create.d.ts.map +1 -1
  113. package/dist/.dts/runtime/document.d.ts.map +1 -1
  114. package/dist/.dts/runtime/index.d.ts +2 -2
  115. package/dist/.dts/runtime/registry.d.ts.map +1 -1
  116. package/dist/.dts/runtime/validate.d.ts.map +1 -1
  117. package/dist/{build-U326PI5A.js → build-WKDIAWF7.js} +685 -645
  118. package/dist/build-WKDIAWF7.js.map +1 -0
  119. package/dist/build.cjs +698 -651
  120. package/dist/build.cjs.map +1 -1
  121. package/dist/build.js +695 -649
  122. package/dist/build.js.map +1 -1
  123. package/dist/{chunk-BSTLSR2R.js → chunk-KEGYUHBU.js} +2 -2
  124. package/dist/chunk-KEGYUHBU.js.map +1 -0
  125. package/dist/cli/index.js +64 -63
  126. package/dist/cli/index.js.map +1 -1
  127. package/dist/eslint-plugin/index.cjs +95 -626
  128. package/dist/eslint-plugin/index.cjs.map +1 -1
  129. package/dist/eslint-plugin/index.js +94 -625
  130. package/dist/eslint-plugin/index.js.map +1 -1
  131. package/dist/evidence.cjs.map +1 -1
  132. package/dist/evidence.js.map +1 -1
  133. package/dist/helpers.cjs +4 -9
  134. package/dist/helpers.cjs.map +1 -1
  135. package/dist/helpers.js +4 -9
  136. package/dist/helpers.js.map +1 -1
  137. package/dist/index.cjs +11 -25
  138. package/dist/index.cjs.map +1 -1
  139. package/dist/index.js +11 -25
  140. package/dist/index.js.map +1 -1
  141. package/dist/node.cjs +10 -8
  142. package/dist/node.cjs.map +1 -1
  143. package/dist/node.js +10 -8
  144. package/dist/node.js.map +1 -1
  145. package/examples/README.md +95 -0
  146. package/node_modules/@typescript/old/LICENSE.txt +55 -0
  147. package/node_modules/@typescript/old/README.md +50 -0
  148. package/node_modules/@typescript/old/SECURITY.md +39 -0
  149. package/node_modules/@typescript/old/ThirdPartyNoticeText.txt +193 -0
  150. package/node_modules/@typescript/old/bin/tsc +2 -0
  151. package/node_modules/@typescript/old/bin/tsserver +2 -0
  152. package/node_modules/@typescript/old/lib/_tsc.js +134465 -0
  153. package/node_modules/@typescript/old/lib/_tsserver.js +659 -0
  154. package/node_modules/@typescript/old/lib/_typingsInstaller.js +222 -0
  155. package/node_modules/@typescript/old/lib/cs/diagnosticMessages.generated.json +2129 -0
  156. package/node_modules/@typescript/old/lib/de/diagnosticMessages.generated.json +2125 -0
  157. package/node_modules/@typescript/old/lib/es/diagnosticMessages.generated.json +2129 -0
  158. package/node_modules/@typescript/old/lib/fr/diagnosticMessages.generated.json +2129 -0
  159. package/node_modules/@typescript/old/lib/it/diagnosticMessages.generated.json +2125 -0
  160. package/node_modules/@typescript/old/lib/ja/diagnosticMessages.generated.json +2129 -0
  161. package/node_modules/@typescript/old/lib/ko/diagnosticMessages.generated.json +2129 -0
  162. package/node_modules/@typescript/old/lib/lib.d.ts +20 -0
  163. package/node_modules/@typescript/old/lib/lib.decorators.d.ts +382 -0
  164. package/node_modules/@typescript/old/lib/lib.decorators.legacy.d.ts +20 -0
  165. package/node_modules/@typescript/old/lib/lib.dom.asynciterable.d.ts +18 -0
  166. package/node_modules/@typescript/old/lib/lib.dom.d.ts +45125 -0
  167. package/node_modules/@typescript/old/lib/lib.dom.iterable.d.ts +18 -0
  168. package/node_modules/@typescript/old/lib/lib.es2015.collection.d.ts +150 -0
  169. package/node_modules/@typescript/old/lib/lib.es2015.core.d.ts +595 -0
  170. package/node_modules/@typescript/old/lib/lib.es2015.d.ts +26 -0
  171. package/node_modules/@typescript/old/lib/lib.es2015.generator.d.ts +75 -0
  172. package/node_modules/@typescript/old/lib/lib.es2015.iterable.d.ts +603 -0
  173. package/node_modules/@typescript/old/lib/lib.es2015.promise.d.ts +79 -0
  174. package/node_modules/@typescript/old/lib/lib.es2015.proxy.d.ts +126 -0
  175. package/node_modules/@typescript/old/lib/lib.es2015.reflect.d.ts +142 -0
  176. package/node_modules/@typescript/old/lib/lib.es2015.symbol.d.ts +44 -0
  177. package/node_modules/@typescript/old/lib/lib.es2015.symbol.wellknown.d.ts +324 -0
  178. package/node_modules/@typescript/old/lib/lib.es2016.array.include.d.ts +114 -0
  179. package/node_modules/@typescript/old/lib/lib.es2016.d.ts +19 -0
  180. package/node_modules/@typescript/old/lib/lib.es2016.full.d.ts +21 -0
  181. package/node_modules/@typescript/old/lib/lib.es2016.intl.d.ts +29 -0
  182. package/node_modules/@typescript/old/lib/lib.es2017.arraybuffer.d.ts +19 -0
  183. package/node_modules/@typescript/old/lib/lib.es2017.d.ts +24 -0
  184. package/node_modules/@typescript/old/lib/lib.es2017.date.d.ts +29 -0
  185. package/node_modules/@typescript/old/lib/lib.es2017.full.d.ts +21 -0
  186. package/node_modules/@typescript/old/lib/lib.es2017.intl.d.ts +42 -0
  187. package/node_modules/@typescript/old/lib/lib.es2017.object.d.ts +47 -0
  188. package/node_modules/@typescript/old/lib/lib.es2017.sharedmemory.d.ts +133 -0
  189. package/node_modules/@typescript/old/lib/lib.es2017.string.d.ts +43 -0
  190. package/node_modules/@typescript/old/lib/lib.es2017.typedarrays.d.ts +51 -0
  191. package/node_modules/@typescript/old/lib/lib.es2018.asyncgenerator.d.ts +75 -0
  192. package/node_modules/@typescript/old/lib/lib.es2018.asynciterable.d.ts +51 -0
  193. package/node_modules/@typescript/old/lib/lib.es2018.d.ts +22 -0
  194. package/node_modules/@typescript/old/lib/lib.es2018.full.d.ts +22 -0
  195. package/node_modules/@typescript/old/lib/lib.es2018.intl.d.ts +81 -0
  196. package/node_modules/@typescript/old/lib/lib.es2018.promise.d.ts +28 -0
  197. package/node_modules/@typescript/old/lib/lib.es2018.regexp.d.ts +35 -0
  198. package/node_modules/@typescript/old/lib/lib.es2019.array.d.ts +77 -0
  199. package/node_modules/@typescript/old/lib/lib.es2019.d.ts +22 -0
  200. package/node_modules/@typescript/old/lib/lib.es2019.full.d.ts +22 -0
  201. package/node_modules/@typescript/old/lib/lib.es2019.intl.d.ts +21 -0
  202. package/node_modules/@typescript/old/lib/lib.es2019.object.d.ts +31 -0
  203. package/node_modules/@typescript/old/lib/lib.es2019.string.d.ts +35 -0
  204. package/node_modules/@typescript/old/lib/lib.es2019.symbol.d.ts +22 -0
  205. package/node_modules/@typescript/old/lib/lib.es2020.bigint.d.ts +763 -0
  206. package/node_modules/@typescript/old/lib/lib.es2020.d.ts +25 -0
  207. package/node_modules/@typescript/old/lib/lib.es2020.date.d.ts +40 -0
  208. package/node_modules/@typescript/old/lib/lib.es2020.full.d.ts +22 -0
  209. package/node_modules/@typescript/old/lib/lib.es2020.intl.d.ts +472 -0
  210. package/node_modules/@typescript/old/lib/lib.es2020.number.d.ts +26 -0
  211. package/node_modules/@typescript/old/lib/lib.es2020.promise.d.ts +45 -0
  212. package/node_modules/@typescript/old/lib/lib.es2020.sharedmemory.d.ts +97 -0
  213. package/node_modules/@typescript/old/lib/lib.es2020.string.d.ts +42 -0
  214. package/node_modules/@typescript/old/lib/lib.es2020.symbol.wellknown.d.ts +39 -0
  215. package/node_modules/@typescript/old/lib/lib.es2021.d.ts +21 -0
  216. package/node_modules/@typescript/old/lib/lib.es2021.full.d.ts +22 -0
  217. package/node_modules/@typescript/old/lib/lib.es2021.intl.d.ts +164 -0
  218. package/node_modules/@typescript/old/lib/lib.es2021.promise.d.ts +46 -0
  219. package/node_modules/@typescript/old/lib/lib.es2021.string.d.ts +31 -0
  220. package/node_modules/@typescript/old/lib/lib.es2021.weakref.d.ts +76 -0
  221. package/node_modules/@typescript/old/lib/lib.es2022.array.d.ts +119 -0
  222. package/node_modules/@typescript/old/lib/lib.es2022.d.ts +23 -0
  223. package/node_modules/@typescript/old/lib/lib.es2022.error.d.ts +73 -0
  224. package/node_modules/@typescript/old/lib/lib.es2022.full.d.ts +22 -0
  225. package/node_modules/@typescript/old/lib/lib.es2022.intl.d.ts +143 -0
  226. package/node_modules/@typescript/old/lib/lib.es2022.object.d.ts +24 -0
  227. package/node_modules/@typescript/old/lib/lib.es2022.regexp.d.ts +37 -0
  228. package/node_modules/@typescript/old/lib/lib.es2022.string.d.ts +23 -0
  229. package/node_modules/@typescript/old/lib/lib.es2023.array.d.ts +922 -0
  230. package/node_modules/@typescript/old/lib/lib.es2023.collection.d.ts +19 -0
  231. package/node_modules/@typescript/old/lib/lib.es2023.d.ts +20 -0
  232. package/node_modules/@typescript/old/lib/lib.es2023.full.d.ts +22 -0
  233. package/node_modules/@typescript/old/lib/lib.es2023.intl.d.ts +62 -0
  234. package/node_modules/@typescript/old/lib/lib.es2024.arraybuffer.d.ts +63 -0
  235. package/node_modules/@typescript/old/lib/lib.es2024.collection.d.ts +27 -0
  236. package/node_modules/@typescript/old/lib/lib.es2024.d.ts +24 -0
  237. package/node_modules/@typescript/old/lib/lib.es2024.full.d.ts +22 -0
  238. package/node_modules/@typescript/old/lib/lib.es2024.object.d.ts +27 -0
  239. package/node_modules/@typescript/old/lib/lib.es2024.promise.d.ts +33 -0
  240. package/node_modules/@typescript/old/lib/lib.es2024.regexp.d.ts +23 -0
  241. package/node_modules/@typescript/old/lib/lib.es2024.sharedmemory.d.ts +66 -0
  242. package/node_modules/@typescript/old/lib/lib.es2024.string.d.ts +27 -0
  243. package/node_modules/@typescript/old/lib/lib.es2025.collection.d.ts +94 -0
  244. package/node_modules/@typescript/old/lib/lib.es2025.d.ts +23 -0
  245. package/node_modules/@typescript/old/lib/lib.es2025.float16.d.ts +443 -0
  246. package/node_modules/@typescript/old/lib/lib.es2025.full.d.ts +22 -0
  247. package/node_modules/@typescript/old/lib/lib.es2025.intl.d.ts +200 -0
  248. package/node_modules/@typescript/old/lib/lib.es2025.iterator.d.ts +146 -0
  249. package/node_modules/@typescript/old/lib/lib.es2025.promise.d.ts +32 -0
  250. package/node_modules/@typescript/old/lib/lib.es2025.regexp.d.ts +30 -0
  251. package/node_modules/@typescript/old/lib/lib.es5.d.ts +4599 -0
  252. package/node_modules/@typescript/old/lib/lib.es6.d.ts +21 -0
  253. package/node_modules/@typescript/old/lib/lib.esnext.array.d.ts +33 -0
  254. package/node_modules/@typescript/old/lib/lib.esnext.collection.d.ts +47 -0
  255. package/node_modules/@typescript/old/lib/lib.esnext.d.ts +27 -0
  256. package/node_modules/@typescript/old/lib/lib.esnext.date.d.ts +21 -0
  257. package/node_modules/@typescript/old/lib/lib.esnext.decorators.d.ts +26 -0
  258. package/node_modules/@typescript/old/lib/lib.esnext.disposable.d.ts +191 -0
  259. package/node_modules/@typescript/old/lib/lib.esnext.error.d.ts +22 -0
  260. package/node_modules/@typescript/old/lib/lib.esnext.full.d.ts +22 -0
  261. package/node_modules/@typescript/old/lib/lib.esnext.intl.d.ts +107 -0
  262. package/node_modules/@typescript/old/lib/lib.esnext.sharedmemory.d.ts +23 -0
  263. package/node_modules/@typescript/old/lib/lib.esnext.temporal.d.ts +485 -0
  264. package/node_modules/@typescript/old/lib/lib.esnext.typedarrays.d.ts +90 -0
  265. package/node_modules/@typescript/old/lib/lib.scripthost.d.ts +320 -0
  266. package/node_modules/@typescript/old/lib/lib.webworker.asynciterable.d.ts +18 -0
  267. package/node_modules/@typescript/old/lib/lib.webworker.d.ts +15606 -0
  268. package/node_modules/@typescript/old/lib/lib.webworker.importscripts.d.ts +21 -0
  269. package/node_modules/@typescript/old/lib/lib.webworker.iterable.d.ts +18 -0
  270. package/node_modules/@typescript/old/lib/pl/diagnosticMessages.generated.json +2129 -0
  271. package/node_modules/@typescript/old/lib/pt-br/diagnosticMessages.generated.json +2129 -0
  272. package/node_modules/@typescript/old/lib/ru/diagnosticMessages.generated.json +2125 -0
  273. package/node_modules/@typescript/old/lib/tr/diagnosticMessages.generated.json +2129 -0
  274. package/node_modules/@typescript/old/lib/tsc.js +8 -0
  275. package/node_modules/@typescript/old/lib/tsserver.js +8 -0
  276. package/node_modules/@typescript/old/lib/tsserverlibrary.d.ts +17 -0
  277. package/node_modules/@typescript/old/lib/tsserverlibrary.js +21 -0
  278. package/node_modules/@typescript/old/lib/typesMap.json +497 -0
  279. package/node_modules/@typescript/old/lib/typescript.d.ts +11448 -0
  280. package/node_modules/@typescript/old/lib/typescript.js +201039 -0
  281. package/node_modules/@typescript/old/lib/typingsInstaller.js +8 -0
  282. package/node_modules/@typescript/old/lib/watchGuard.js +53 -0
  283. package/node_modules/@typescript/old/lib/zh-cn/diagnosticMessages.generated.json +2129 -0
  284. package/node_modules/@typescript/old/lib/zh-tw/diagnosticMessages.generated.json +2125 -0
  285. package/node_modules/@typescript/old/package.json +118 -0
  286. package/node_modules/@typescript/typescript6/LICENSE.txt +55 -0
  287. package/node_modules/@typescript/typescript6/README.md +9 -0
  288. package/node_modules/@typescript/typescript6/bin/tsc6 +2 -0
  289. package/node_modules/@typescript/typescript6/lib/tsc.js +1 -0
  290. package/node_modules/@typescript/typescript6/lib/tsserverlibrary.d.ts +2 -0
  291. package/node_modules/@typescript/typescript6/lib/tsserverlibrary.js +1 -0
  292. package/node_modules/@typescript/typescript6/lib/typescript.d.ts +2 -0
  293. package/node_modules/@typescript/typescript6/lib/typescript.js +1 -0
  294. package/node_modules/@typescript/typescript6/package.json +39 -0
  295. package/package.json +74 -22
  296. package/schemas/env-cap-report.schema.json +1 -1
  297. package/skills/env-cap/SKILL.md +91 -0
  298. package/skills/env-cap/references/api.md +220 -0
  299. package/specs/architecture.md +634 -0
  300. package/specs/decisions/0001-runtime-documentation-separation.md +197 -0
  301. package/specs/decisions/0002-static-analysis-never-execution.md +233 -0
  302. package/specs/decisions/0003-no-global-env-object.md +172 -0
  303. package/specs/decisions/0004-no-client-server-package-split.md +116 -0
  304. package/specs/decisions/0005-warn-not-throw-by-default.md +93 -0
  305. package/specs/decisions/0006-self-redacting-contracts.md +124 -0
  306. package/specs/decisions/0007-processor-not-transformer.md +109 -0
  307. package/specs/decisions/0008-gzip-size-budget.md +173 -0
  308. package/specs/decisions/0009-exclusive-groups-are-always-errors.md +139 -0
  309. package/specs/decisions/0010-dependency-ownership-engine-scope-boundary.md +100 -0
  310. package/specs/decisions/0011-shared-discovery-compute-atomic-write-non-atomic.md +104 -0
  311. package/specs/decisions/0012-live-expiration-overrides-not-ast-functions.md +145 -0
  312. package/specs/decisions/0013-json-output-is-a-versioned-mirror.md +136 -0
  313. package/specs/decisions/0014-cross-package-schema-discovery.md +206 -0
  314. package/specs/decisions/0015-security-backport-window.md +60 -0
  315. package/specs/decisions/0016-check-mode-compute-before-compare-never-partial-write.md +113 -0
  316. package/specs/decisions/0017-eslint-plugin-entry-point.md +113 -0
  317. package/specs/decisions/0018-rotation-alert-issue-on-non-pr-runs.md +104 -0
  318. package/specs/decisions/0019-published-json-schema-generated-from-types.md +100 -0
  319. package/specs/decisions/0020-declaration-maps-via-separate-tsc-pass.md +101 -0
  320. package/specs/decisions/0021-manifest-change-report-persisted-snapshot.md +177 -0
  321. package/specs/decisions/0022-validation-contexts.md +267 -0
  322. package/specs/decisions/0023-tsconfig-path-alias-resolution.md +182 -0
  323. package/specs/decisions/0024-fact-model-architecture.md +144 -0
  324. package/specs/decisions/0025-contract-model-json-projection.md +105 -0
  325. package/specs/decisions/0026-finding-model-unifies-four-families.md +109 -0
  326. package/specs/decisions/0027-dependency-model-fact-shape-not-engine-access.md +98 -0
  327. package/specs/decisions/0028-ownership-model-shared-effective-owner.md +85 -0
  328. package/specs/decisions/0029-lifecycle-model-deprecation-rename-fields.md +98 -0
  329. package/specs/decisions/0030-change-model-wraps-manifest-change-report.md +97 -0
  330. package/specs/decisions/0031-evidence-entry-point.md +85 -0
  331. package/specs/decisions/0032-evidence-projection-provenance-mechanism.md +120 -0
  332. package/specs/decisions/0033-reference-projections-live-in-examples.md +81 -0
  333. package/specs/decisions/0034-three-tier-examples-restructuring.md +85 -0
  334. package/specs/decisions/0035-documentenv-metadata-generalization-and-compliance-fields.md +85 -0
  335. package/specs/decisions/0036-exact-source-position-evidence.md +122 -0
  336. package/specs/decisions/0037-developer-declared-dynamic-access-citations.md +114 -0
  337. package/specs/decisions/0038-always-computed-evidence-model-backs-generate-check-docs.md +244 -0
  338. package/specs/decisions/0039-scanner-local-dataflow-boundary.md +160 -0
  339. package/specs/decisions/0040-library-surfaces-do-not-acquire-node-fs.md +156 -0
  340. package/specs/decisions/0041-dual-package-hazard-checked-documented.md +75 -0
  341. package/specs/decisions/0042-init-cli-subcommand-scaffolds-only.md +95 -0
  342. package/specs/decisions/0043-env-cap-resolver-relocated-and-duplicated.md +71 -0
  343. package/specs/decisions/0044-strict-escalates-every-warning-family.md +88 -0
  344. package/specs/decisions/0045-promote-experimental-surfaces-to-stable.md +103 -0
  345. package/specs/decisions/0046-cli-restricted-to-runtime-and-evidence-output.md +177 -0
  346. package/specs/decisions/0047-supported-toolchain-node-22-and-typescript-5-6.md +30 -0
  347. package/specs/decisions/0048-eslint-plugin-does-not-vendor-typescript-eslint.md +25 -0
  348. package/specs/decisions/0049-typescript-7-scanner-uses-a-bundled-typescript-6.md +87 -0
  349. package/specs/decisions/0050-a-variable-declared-twice-is-documented-once.md +55 -0
  350. package/specs/generated-artifacts.md +104 -0
  351. package/specs/migrations/README.md +30 -0
  352. package/specs/migrations/from-centralized-schema.md +503 -0
  353. package/specs/migrations/from-dotenv.md +352 -0
  354. package/specs/migrations/from-envalid.md +482 -0
  355. package/specs/migrations/from-process-env.md +398 -0
  356. package/specs/migrations/from-t3-env.md +416 -0
  357. package/specs/migrations/from-zod.md +303 -0
  358. package/dist/build-U326PI5A.js.map +0 -1
  359. package/dist/chunk-BSTLSR2R.js.map +0 -1
@@ -1,556 +1,23 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __commonJS = (cb, mod) => function __require() {
8
- try {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- } catch (e) {
11
- throw mod = 0, e;
12
- }
13
- };
14
- var __copyProps = (to, from, except, desc) => {
15
- if (from && typeof from === "object" || typeof from === "function") {
16
- for (let key of __getOwnPropNames(from))
17
- if (!__hasOwnProp.call(to, key) && key !== except)
18
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
19
- }
20
- return to;
21
- };
22
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
23
- // If the importer is in node compatibility mode or this is not an ESM
24
- // file that has been converted to a CommonJS file using a Babel-
25
- // compatible transform (i.e. "__esModule" has not been set), then set
26
- // "default" to the CommonJS "module.exports" for node compatibility.
27
- __defProp(target, "default", { value: mod, enumerable: true }) ,
28
- mod
29
- ));
30
-
31
- // node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js
32
- var require_deepMerge = __commonJS({
33
- "node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js"(exports) {
34
- Object.defineProperty(exports, "__esModule", { value: true });
35
- exports.isObjectNotArray = isObjectNotArray;
36
- exports.deepMerge = deepMerge;
37
- function isObjectNotArray(obj) {
38
- return typeof obj === "object" && obj != null && !Array.isArray(obj);
39
- }
40
- function deepMerge(first = {}, second = {}) {
41
- const keys = /* @__PURE__ */ new Set([...Object.keys(first), ...Object.keys(second)]);
42
- return Object.fromEntries([...keys].map((key) => {
43
- const firstHasKey = key in first;
44
- const secondHasKey = key in second;
45
- const firstValue = first[key];
46
- const secondValue = second[key];
47
- let value;
48
- if (firstHasKey && secondHasKey) {
49
- if (isObjectNotArray(firstValue) && isObjectNotArray(secondValue)) {
50
- value = deepMerge(firstValue, secondValue);
51
- } else {
52
- value = secondValue;
53
- }
54
- } else if (firstHasKey) {
55
- value = firstValue;
56
- } else {
57
- value = secondValue;
58
- }
59
- return [key, value];
60
- }));
61
- }
62
- }
63
- });
64
-
65
- // node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js
66
- var require_applyDefault = __commonJS({
67
- "node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js"(exports) {
68
- Object.defineProperty(exports, "__esModule", { value: true });
69
- exports.applyDefault = applyDefault;
70
- var deepMerge_1 = require_deepMerge();
71
- function applyDefault(defaultOptions, userOptions) {
72
- const options = structuredClone(defaultOptions);
73
- if (userOptions == null) {
74
- return options;
75
- }
76
- options.forEach((opt, i) => {
77
- if (userOptions[i] !== void 0) {
78
- const userOpt = userOptions[i];
79
- if ((0, deepMerge_1.isObjectNotArray)(userOpt) && (0, deepMerge_1.isObjectNotArray)(opt)) {
80
- options[i] = (0, deepMerge_1.deepMerge)(opt, userOpt);
81
- } else {
82
- options[i] = userOpt;
83
- }
84
- }
85
- });
86
- return options;
87
- }
88
- }
89
- });
90
-
91
- // node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js
92
- var require_parserSeemsToBeTSESLint = __commonJS({
93
- "node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js"(exports) {
94
- Object.defineProperty(exports, "__esModule", { value: true });
95
- exports.parserSeemsToBeTSESLint = parserSeemsToBeTSESLint;
96
- function parserSeemsToBeTSESLint(parser) {
97
- return !!parser && /(?:typescript-eslint|\.\.)[\w/\\]*parser/.test(parser);
98
- }
99
- }
100
- });
101
-
102
- // node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js
103
- var require_getParserServices = __commonJS({
104
- "node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js"(exports) {
105
- Object.defineProperty(exports, "__esModule", { value: true });
106
- exports.getParserServices = getParserServices;
107
- var parserSeemsToBeTSESLint_1 = require_parserSeemsToBeTSESLint();
108
- var ERROR_MESSAGE_REQUIRES_PARSER_SERVICES = "You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://tseslint.com/typed-linting for enabling linting with type information.";
109
- var ERROR_MESSAGE_UNKNOWN_PARSER = 'Note: detected a parser other than @typescript-eslint/parser. Make sure the parser is configured to forward "parserOptions.project" to @typescript-eslint/parser.';
110
- function getParserServices(context, allowWithoutFullTypeInformation = false) {
111
- const parser = (
112
- // eslint-disable-next-line @typescript-eslint/no-deprecated -- For compatibility with ESLint 8
113
- context.parserPath || context.languageOptions.parser?.meta?.name
114
- );
115
- if (context.sourceCode.parserServices?.esTreeNodeToTSNodeMap == null || context.sourceCode.parserServices.tsNodeToESTreeNodeMap == null) {
116
- throwError(parser);
117
- }
118
- if (context.sourceCode.parserServices.program == null && !allowWithoutFullTypeInformation) {
119
- throwError(parser);
120
- }
121
- return context.sourceCode.parserServices;
122
- }
123
- function throwError(parser) {
124
- const messages = [
125
- ERROR_MESSAGE_REQUIRES_PARSER_SERVICES,
126
- `Parser: ${parser || "(unknown)"}`,
127
- !(0, parserSeemsToBeTSESLint_1.parserSeemsToBeTSESLint)(parser) && ERROR_MESSAGE_UNKNOWN_PARSER
128
- ].filter(Boolean);
129
- throw new Error(messages.join("\n"));
130
- }
131
- }
132
- });
133
-
134
- // node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js
135
- var require_InferTypesFromRule = __commonJS({
136
- "node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js"(exports) {
137
- Object.defineProperty(exports, "__esModule", { value: true });
138
- }
139
- });
140
-
141
- // node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js
142
- var require_nullThrows = __commonJS({
143
- "node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js"(exports) {
144
- Object.defineProperty(exports, "__esModule", { value: true });
145
- exports.NullThrowsReasons = void 0;
146
- exports.nullThrows = nullThrows;
147
- exports.NullThrowsReasons = {
148
- MissingParent: "Expected node to have a parent.",
149
- MissingToken: (token, thing) => `Expected to find a ${token} for the ${thing}.`
150
- };
151
- function nullThrows(value, message) {
152
- if (value == null) {
153
- throw new Error(`Non-null Assertion Failed: ${message}`);
154
- }
155
- return value;
156
- }
157
- }
158
- });
159
-
160
- // node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js
161
- var require_RuleCreator = __commonJS({
162
- "node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js"(exports) {
163
- Object.defineProperty(exports, "__esModule", { value: true });
164
- exports.RuleCreator = RuleCreator3;
165
- var applyDefault_1 = require_applyDefault();
166
- function RuleCreator3(urlCreator) {
167
- return function createNamedRule({ meta, name, ...rule }) {
168
- const ruleWithDocs = createRule3({
169
- meta: {
170
- ...meta,
171
- docs: {
172
- ...meta.docs,
173
- url: urlCreator(name)
174
- }
175
- },
176
- name,
177
- ...rule
178
- });
179
- return ruleWithDocs;
180
- };
181
- }
182
- function createRule3({
183
- create,
184
- // Keep accepting deprecated defaultOptions for backward compatibility.
185
- // eslint-disable-next-line @typescript-eslint/no-deprecated
186
- defaultOptions,
187
- meta,
188
- name
189
- }) {
190
- const resolvedDefaultOptions = meta.defaultOptions ?? defaultOptions ?? [];
191
- return {
192
- create(context) {
193
- const optionsWithDefault = (0, applyDefault_1.applyDefault)(resolvedDefaultOptions, context.options);
194
- return create(context, optionsWithDefault);
195
- },
196
- defaultOptions,
197
- meta,
198
- name
199
- };
200
- }
201
- RuleCreator3.withoutDocs = function withoutDocs(args) {
202
- return createRule3(args);
203
- };
204
- }
205
- });
206
-
207
- // node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js
208
- var require_eslint_utils = __commonJS({
209
- "node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js"(exports) {
210
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
211
- if (k2 === void 0) k2 = k;
212
- var desc = Object.getOwnPropertyDescriptor(m, k);
213
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
214
- desc = { enumerable: true, get: function() {
215
- return m[k];
216
- } };
217
- }
218
- Object.defineProperty(o, k2, desc);
219
- }) : (function(o, m, k, k2) {
220
- if (k2 === void 0) k2 = k;
221
- o[k2] = m[k];
222
- }));
223
- var __exportStar = exports && exports.__exportStar || function(m, exports2) {
224
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
225
- };
226
- Object.defineProperty(exports, "__esModule", { value: true });
227
- __exportStar(require_applyDefault(), exports);
228
- __exportStar(require_deepMerge(), exports);
229
- __exportStar(require_getParserServices(), exports);
230
- __exportStar(require_InferTypesFromRule(), exports);
231
- __exportStar(require_nullThrows(), exports);
232
- __exportStar(require_RuleCreator(), exports);
233
- }
234
- });
235
-
236
- // node_modules/@typescript-eslint/types/dist/generated/ast-spec.js
237
- var require_ast_spec = __commonJS({
238
- "node_modules/@typescript-eslint/types/dist/generated/ast-spec.js"(exports) {
239
- Object.defineProperty(exports, "__esModule", { value: true });
240
- exports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;
241
- var AST_NODE_TYPES3;
242
- (function(AST_NODE_TYPES4) {
243
- AST_NODE_TYPES4["AccessorProperty"] = "AccessorProperty";
244
- AST_NODE_TYPES4["ArrayExpression"] = "ArrayExpression";
245
- AST_NODE_TYPES4["ArrayPattern"] = "ArrayPattern";
246
- AST_NODE_TYPES4["ArrowFunctionExpression"] = "ArrowFunctionExpression";
247
- AST_NODE_TYPES4["AssignmentExpression"] = "AssignmentExpression";
248
- AST_NODE_TYPES4["AssignmentPattern"] = "AssignmentPattern";
249
- AST_NODE_TYPES4["AwaitExpression"] = "AwaitExpression";
250
- AST_NODE_TYPES4["BinaryExpression"] = "BinaryExpression";
251
- AST_NODE_TYPES4["BlockStatement"] = "BlockStatement";
252
- AST_NODE_TYPES4["BreakStatement"] = "BreakStatement";
253
- AST_NODE_TYPES4["CallExpression"] = "CallExpression";
254
- AST_NODE_TYPES4["CatchClause"] = "CatchClause";
255
- AST_NODE_TYPES4["ChainExpression"] = "ChainExpression";
256
- AST_NODE_TYPES4["ClassBody"] = "ClassBody";
257
- AST_NODE_TYPES4["ClassDeclaration"] = "ClassDeclaration";
258
- AST_NODE_TYPES4["ClassExpression"] = "ClassExpression";
259
- AST_NODE_TYPES4["ConditionalExpression"] = "ConditionalExpression";
260
- AST_NODE_TYPES4["ContinueStatement"] = "ContinueStatement";
261
- AST_NODE_TYPES4["DebuggerStatement"] = "DebuggerStatement";
262
- AST_NODE_TYPES4["Decorator"] = "Decorator";
263
- AST_NODE_TYPES4["DoWhileStatement"] = "DoWhileStatement";
264
- AST_NODE_TYPES4["EmptyStatement"] = "EmptyStatement";
265
- AST_NODE_TYPES4["ExportAllDeclaration"] = "ExportAllDeclaration";
266
- AST_NODE_TYPES4["ExportDefaultDeclaration"] = "ExportDefaultDeclaration";
267
- AST_NODE_TYPES4["ExportNamedDeclaration"] = "ExportNamedDeclaration";
268
- AST_NODE_TYPES4["ExportSpecifier"] = "ExportSpecifier";
269
- AST_NODE_TYPES4["ExpressionStatement"] = "ExpressionStatement";
270
- AST_NODE_TYPES4["ForInStatement"] = "ForInStatement";
271
- AST_NODE_TYPES4["ForOfStatement"] = "ForOfStatement";
272
- AST_NODE_TYPES4["ForStatement"] = "ForStatement";
273
- AST_NODE_TYPES4["FunctionDeclaration"] = "FunctionDeclaration";
274
- AST_NODE_TYPES4["FunctionExpression"] = "FunctionExpression";
275
- AST_NODE_TYPES4["Identifier"] = "Identifier";
276
- AST_NODE_TYPES4["IfStatement"] = "IfStatement";
277
- AST_NODE_TYPES4["ImportAttribute"] = "ImportAttribute";
278
- AST_NODE_TYPES4["ImportDeclaration"] = "ImportDeclaration";
279
- AST_NODE_TYPES4["ImportDefaultSpecifier"] = "ImportDefaultSpecifier";
280
- AST_NODE_TYPES4["ImportExpression"] = "ImportExpression";
281
- AST_NODE_TYPES4["ImportNamespaceSpecifier"] = "ImportNamespaceSpecifier";
282
- AST_NODE_TYPES4["ImportSpecifier"] = "ImportSpecifier";
283
- AST_NODE_TYPES4["JSXAttribute"] = "JSXAttribute";
284
- AST_NODE_TYPES4["JSXClosingElement"] = "JSXClosingElement";
285
- AST_NODE_TYPES4["JSXClosingFragment"] = "JSXClosingFragment";
286
- AST_NODE_TYPES4["JSXElement"] = "JSXElement";
287
- AST_NODE_TYPES4["JSXEmptyExpression"] = "JSXEmptyExpression";
288
- AST_NODE_TYPES4["JSXExpressionContainer"] = "JSXExpressionContainer";
289
- AST_NODE_TYPES4["JSXFragment"] = "JSXFragment";
290
- AST_NODE_TYPES4["JSXIdentifier"] = "JSXIdentifier";
291
- AST_NODE_TYPES4["JSXMemberExpression"] = "JSXMemberExpression";
292
- AST_NODE_TYPES4["JSXNamespacedName"] = "JSXNamespacedName";
293
- AST_NODE_TYPES4["JSXOpeningElement"] = "JSXOpeningElement";
294
- AST_NODE_TYPES4["JSXOpeningFragment"] = "JSXOpeningFragment";
295
- AST_NODE_TYPES4["JSXSpreadAttribute"] = "JSXSpreadAttribute";
296
- AST_NODE_TYPES4["JSXSpreadChild"] = "JSXSpreadChild";
297
- AST_NODE_TYPES4["JSXText"] = "JSXText";
298
- AST_NODE_TYPES4["LabeledStatement"] = "LabeledStatement";
299
- AST_NODE_TYPES4["Literal"] = "Literal";
300
- AST_NODE_TYPES4["LogicalExpression"] = "LogicalExpression";
301
- AST_NODE_TYPES4["MemberExpression"] = "MemberExpression";
302
- AST_NODE_TYPES4["MetaProperty"] = "MetaProperty";
303
- AST_NODE_TYPES4["MethodDefinition"] = "MethodDefinition";
304
- AST_NODE_TYPES4["NewExpression"] = "NewExpression";
305
- AST_NODE_TYPES4["ObjectExpression"] = "ObjectExpression";
306
- AST_NODE_TYPES4["ObjectPattern"] = "ObjectPattern";
307
- AST_NODE_TYPES4["PrivateIdentifier"] = "PrivateIdentifier";
308
- AST_NODE_TYPES4["Program"] = "Program";
309
- AST_NODE_TYPES4["Property"] = "Property";
310
- AST_NODE_TYPES4["PropertyDefinition"] = "PropertyDefinition";
311
- AST_NODE_TYPES4["RestElement"] = "RestElement";
312
- AST_NODE_TYPES4["ReturnStatement"] = "ReturnStatement";
313
- AST_NODE_TYPES4["SequenceExpression"] = "SequenceExpression";
314
- AST_NODE_TYPES4["SpreadElement"] = "SpreadElement";
315
- AST_NODE_TYPES4["StaticBlock"] = "StaticBlock";
316
- AST_NODE_TYPES4["Super"] = "Super";
317
- AST_NODE_TYPES4["SwitchCase"] = "SwitchCase";
318
- AST_NODE_TYPES4["SwitchStatement"] = "SwitchStatement";
319
- AST_NODE_TYPES4["TaggedTemplateExpression"] = "TaggedTemplateExpression";
320
- AST_NODE_TYPES4["TemplateElement"] = "TemplateElement";
321
- AST_NODE_TYPES4["TemplateLiteral"] = "TemplateLiteral";
322
- AST_NODE_TYPES4["ThisExpression"] = "ThisExpression";
323
- AST_NODE_TYPES4["ThrowStatement"] = "ThrowStatement";
324
- AST_NODE_TYPES4["TryStatement"] = "TryStatement";
325
- AST_NODE_TYPES4["UnaryExpression"] = "UnaryExpression";
326
- AST_NODE_TYPES4["UpdateExpression"] = "UpdateExpression";
327
- AST_NODE_TYPES4["VariableDeclaration"] = "VariableDeclaration";
328
- AST_NODE_TYPES4["VariableDeclarator"] = "VariableDeclarator";
329
- AST_NODE_TYPES4["WhileStatement"] = "WhileStatement";
330
- AST_NODE_TYPES4["WithStatement"] = "WithStatement";
331
- AST_NODE_TYPES4["YieldExpression"] = "YieldExpression";
332
- AST_NODE_TYPES4["TSAbstractAccessorProperty"] = "TSAbstractAccessorProperty";
333
- AST_NODE_TYPES4["TSAbstractKeyword"] = "TSAbstractKeyword";
334
- AST_NODE_TYPES4["TSAbstractMethodDefinition"] = "TSAbstractMethodDefinition";
335
- AST_NODE_TYPES4["TSAbstractPropertyDefinition"] = "TSAbstractPropertyDefinition";
336
- AST_NODE_TYPES4["TSAnyKeyword"] = "TSAnyKeyword";
337
- AST_NODE_TYPES4["TSArrayType"] = "TSArrayType";
338
- AST_NODE_TYPES4["TSAsExpression"] = "TSAsExpression";
339
- AST_NODE_TYPES4["TSAsyncKeyword"] = "TSAsyncKeyword";
340
- AST_NODE_TYPES4["TSBigIntKeyword"] = "TSBigIntKeyword";
341
- AST_NODE_TYPES4["TSBooleanKeyword"] = "TSBooleanKeyword";
342
- AST_NODE_TYPES4["TSCallSignatureDeclaration"] = "TSCallSignatureDeclaration";
343
- AST_NODE_TYPES4["TSClassImplements"] = "TSClassImplements";
344
- AST_NODE_TYPES4["TSConditionalType"] = "TSConditionalType";
345
- AST_NODE_TYPES4["TSConstructorType"] = "TSConstructorType";
346
- AST_NODE_TYPES4["TSConstructSignatureDeclaration"] = "TSConstructSignatureDeclaration";
347
- AST_NODE_TYPES4["TSDeclareFunction"] = "TSDeclareFunction";
348
- AST_NODE_TYPES4["TSDeclareKeyword"] = "TSDeclareKeyword";
349
- AST_NODE_TYPES4["TSEmptyBodyFunctionExpression"] = "TSEmptyBodyFunctionExpression";
350
- AST_NODE_TYPES4["TSEnumBody"] = "TSEnumBody";
351
- AST_NODE_TYPES4["TSEnumDeclaration"] = "TSEnumDeclaration";
352
- AST_NODE_TYPES4["TSEnumMember"] = "TSEnumMember";
353
- AST_NODE_TYPES4["TSExportAssignment"] = "TSExportAssignment";
354
- AST_NODE_TYPES4["TSExportKeyword"] = "TSExportKeyword";
355
- AST_NODE_TYPES4["TSExternalModuleReference"] = "TSExternalModuleReference";
356
- AST_NODE_TYPES4["TSFunctionType"] = "TSFunctionType";
357
- AST_NODE_TYPES4["TSImportEqualsDeclaration"] = "TSImportEqualsDeclaration";
358
- AST_NODE_TYPES4["TSImportType"] = "TSImportType";
359
- AST_NODE_TYPES4["TSIndexedAccessType"] = "TSIndexedAccessType";
360
- AST_NODE_TYPES4["TSIndexSignature"] = "TSIndexSignature";
361
- AST_NODE_TYPES4["TSInferType"] = "TSInferType";
362
- AST_NODE_TYPES4["TSInstantiationExpression"] = "TSInstantiationExpression";
363
- AST_NODE_TYPES4["TSInterfaceBody"] = "TSInterfaceBody";
364
- AST_NODE_TYPES4["TSInterfaceDeclaration"] = "TSInterfaceDeclaration";
365
- AST_NODE_TYPES4["TSInterfaceHeritage"] = "TSInterfaceHeritage";
366
- AST_NODE_TYPES4["TSIntersectionType"] = "TSIntersectionType";
367
- AST_NODE_TYPES4["TSIntrinsicKeyword"] = "TSIntrinsicKeyword";
368
- AST_NODE_TYPES4["TSLiteralType"] = "TSLiteralType";
369
- AST_NODE_TYPES4["TSMappedType"] = "TSMappedType";
370
- AST_NODE_TYPES4["TSMethodSignature"] = "TSMethodSignature";
371
- AST_NODE_TYPES4["TSModuleBlock"] = "TSModuleBlock";
372
- AST_NODE_TYPES4["TSModuleDeclaration"] = "TSModuleDeclaration";
373
- AST_NODE_TYPES4["TSNamedTupleMember"] = "TSNamedTupleMember";
374
- AST_NODE_TYPES4["TSNamespaceExportDeclaration"] = "TSNamespaceExportDeclaration";
375
- AST_NODE_TYPES4["TSNeverKeyword"] = "TSNeverKeyword";
376
- AST_NODE_TYPES4["TSNonNullExpression"] = "TSNonNullExpression";
377
- AST_NODE_TYPES4["TSNullKeyword"] = "TSNullKeyword";
378
- AST_NODE_TYPES4["TSNumberKeyword"] = "TSNumberKeyword";
379
- AST_NODE_TYPES4["TSObjectKeyword"] = "TSObjectKeyword";
380
- AST_NODE_TYPES4["TSOptionalType"] = "TSOptionalType";
381
- AST_NODE_TYPES4["TSParameterProperty"] = "TSParameterProperty";
382
- AST_NODE_TYPES4["TSPrivateKeyword"] = "TSPrivateKeyword";
383
- AST_NODE_TYPES4["TSPropertySignature"] = "TSPropertySignature";
384
- AST_NODE_TYPES4["TSProtectedKeyword"] = "TSProtectedKeyword";
385
- AST_NODE_TYPES4["TSPublicKeyword"] = "TSPublicKeyword";
386
- AST_NODE_TYPES4["TSQualifiedName"] = "TSQualifiedName";
387
- AST_NODE_TYPES4["TSReadonlyKeyword"] = "TSReadonlyKeyword";
388
- AST_NODE_TYPES4["TSRestType"] = "TSRestType";
389
- AST_NODE_TYPES4["TSSatisfiesExpression"] = "TSSatisfiesExpression";
390
- AST_NODE_TYPES4["TSStaticKeyword"] = "TSStaticKeyword";
391
- AST_NODE_TYPES4["TSStringKeyword"] = "TSStringKeyword";
392
- AST_NODE_TYPES4["TSSymbolKeyword"] = "TSSymbolKeyword";
393
- AST_NODE_TYPES4["TSTemplateLiteralType"] = "TSTemplateLiteralType";
394
- AST_NODE_TYPES4["TSThisType"] = "TSThisType";
395
- AST_NODE_TYPES4["TSTupleType"] = "TSTupleType";
396
- AST_NODE_TYPES4["TSTypeAliasDeclaration"] = "TSTypeAliasDeclaration";
397
- AST_NODE_TYPES4["TSTypeAnnotation"] = "TSTypeAnnotation";
398
- AST_NODE_TYPES4["TSTypeAssertion"] = "TSTypeAssertion";
399
- AST_NODE_TYPES4["TSTypeLiteral"] = "TSTypeLiteral";
400
- AST_NODE_TYPES4["TSTypeOperator"] = "TSTypeOperator";
401
- AST_NODE_TYPES4["TSTypeParameter"] = "TSTypeParameter";
402
- AST_NODE_TYPES4["TSTypeParameterDeclaration"] = "TSTypeParameterDeclaration";
403
- AST_NODE_TYPES4["TSTypeParameterInstantiation"] = "TSTypeParameterInstantiation";
404
- AST_NODE_TYPES4["TSTypePredicate"] = "TSTypePredicate";
405
- AST_NODE_TYPES4["TSTypeQuery"] = "TSTypeQuery";
406
- AST_NODE_TYPES4["TSTypeReference"] = "TSTypeReference";
407
- AST_NODE_TYPES4["TSUndefinedKeyword"] = "TSUndefinedKeyword";
408
- AST_NODE_TYPES4["TSUnionType"] = "TSUnionType";
409
- AST_NODE_TYPES4["TSUnknownKeyword"] = "TSUnknownKeyword";
410
- AST_NODE_TYPES4["TSVoidKeyword"] = "TSVoidKeyword";
411
- })(AST_NODE_TYPES3 || (exports.AST_NODE_TYPES = AST_NODE_TYPES3 = {}));
412
- var AST_TOKEN_TYPES;
413
- (function(AST_TOKEN_TYPES2) {
414
- AST_TOKEN_TYPES2["Boolean"] = "Boolean";
415
- AST_TOKEN_TYPES2["Identifier"] = "Identifier";
416
- AST_TOKEN_TYPES2["JSXIdentifier"] = "JSXIdentifier";
417
- AST_TOKEN_TYPES2["PrivateIdentifier"] = "PrivateIdentifier";
418
- AST_TOKEN_TYPES2["JSXText"] = "JSXText";
419
- AST_TOKEN_TYPES2["Keyword"] = "Keyword";
420
- AST_TOKEN_TYPES2["Null"] = "Null";
421
- AST_TOKEN_TYPES2["Numeric"] = "Numeric";
422
- AST_TOKEN_TYPES2["Punctuator"] = "Punctuator";
423
- AST_TOKEN_TYPES2["RegularExpression"] = "RegularExpression";
424
- AST_TOKEN_TYPES2["String"] = "String";
425
- AST_TOKEN_TYPES2["Template"] = "Template";
426
- AST_TOKEN_TYPES2["Block"] = "Block";
427
- AST_TOKEN_TYPES2["Line"] = "Line";
428
- })(AST_TOKEN_TYPES || (exports.AST_TOKEN_TYPES = AST_TOKEN_TYPES = {}));
429
- }
430
- });
431
-
432
- // node_modules/@typescript-eslint/types/dist/lib.js
433
- var require_lib = __commonJS({
434
- "node_modules/@typescript-eslint/types/dist/lib.js"(exports) {
435
- Object.defineProperty(exports, "__esModule", { value: true });
436
- }
437
- });
438
-
439
- // node_modules/@typescript-eslint/types/dist/parser-options.js
440
- var require_parser_options = __commonJS({
441
- "node_modules/@typescript-eslint/types/dist/parser-options.js"(exports) {
442
- Object.defineProperty(exports, "__esModule", { value: true });
443
- }
444
- });
445
-
446
- // node_modules/@typescript-eslint/types/dist/ts-estree.js
447
- var require_ts_estree = __commonJS({
448
- "node_modules/@typescript-eslint/types/dist/ts-estree.js"(exports) {
449
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
450
- if (k2 === void 0) k2 = k;
451
- var desc = Object.getOwnPropertyDescriptor(m, k);
452
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
453
- desc = { enumerable: true, get: function() {
454
- return m[k];
455
- } };
456
- }
457
- Object.defineProperty(o, k2, desc);
458
- }) : (function(o, m, k, k2) {
459
- if (k2 === void 0) k2 = k;
460
- o[k2] = m[k];
461
- }));
462
- var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
463
- Object.defineProperty(o, "default", { enumerable: true, value: v });
464
- }) : function(o, v) {
465
- o["default"] = v;
466
- });
467
- var __importStar = exports && exports.__importStar || /* @__PURE__ */ (function() {
468
- var ownKeys = function(o) {
469
- ownKeys = Object.getOwnPropertyNames || function(o2) {
470
- var ar = [];
471
- for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
472
- return ar;
473
- };
474
- return ownKeys(o);
475
- };
476
- return function(mod) {
477
- if (mod && mod.__esModule) return mod;
478
- var result = {};
479
- if (mod != null) {
480
- for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
481
- }
482
- __setModuleDefault(result, mod);
483
- return result;
484
- };
485
- })();
486
- Object.defineProperty(exports, "__esModule", { value: true });
487
- exports.TSESTree = void 0;
488
- exports.TSESTree = __importStar(require_ast_spec());
489
- }
490
- });
491
-
492
- // node_modules/@typescript-eslint/types/dist/index.js
493
- var require_dist = __commonJS({
494
- "node_modules/@typescript-eslint/types/dist/index.js"(exports) {
495
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
496
- if (k2 === void 0) k2 = k;
497
- var desc = Object.getOwnPropertyDescriptor(m, k);
498
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
499
- desc = { enumerable: true, get: function() {
500
- return m[k];
501
- } };
502
- }
503
- Object.defineProperty(o, k2, desc);
504
- }) : (function(o, m, k, k2) {
505
- if (k2 === void 0) k2 = k;
506
- o[k2] = m[k];
507
- }));
508
- var __exportStar = exports && exports.__exportStar || function(m, exports2) {
509
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
510
- };
511
- Object.defineProperty(exports, "__esModule", { value: true });
512
- exports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;
513
- var ast_spec_1 = require_ast_spec();
514
- Object.defineProperty(exports, "AST_NODE_TYPES", { enumerable: true, get: function() {
515
- return ast_spec_1.AST_NODE_TYPES;
516
- } });
517
- Object.defineProperty(exports, "AST_TOKEN_TYPES", { enumerable: true, get: function() {
518
- return ast_spec_1.AST_TOKEN_TYPES;
519
- } });
520
- __exportStar(require_lib(), exports);
521
- __exportStar(require_parser_options(), exports);
522
- __exportStar(require_ts_estree(), exports);
523
- }
524
- });
1
+ import { RuleCreator } from '@typescript-eslint/utils/eslint-utils';
2
+ import { AST_NODE_TYPES } from '@typescript-eslint/utils';
525
3
 
526
- // src/eslint-plugin/no-node-fs.ts
527
- var import_eslint_utils = __toESM(require_eslint_utils());
528
- var import_types = __toESM(require_dist());
4
+ // src/_ipc/no-node-fs.ts
529
5
 
530
- // src/eslint-plugin/glob.ts
6
+ // src/_ipc/glob.ts
531
7
  function globToRegExp(pattern) {
532
8
  let out = "";
533
- let passes = 0;
534
- const maxPasses = pattern.length * 2 + 4;
535
- for (let i = 0; i < pattern.length; i++) {
536
- passes++;
537
- if (passes > maxPasses) {
538
- throw new Error(
539
- // Stryker disable next-line StringLiteral
540
- `globToRegExp: exceeded ${String(maxPasses)} iterations parsing pattern ${JSON.stringify(pattern)} -- this should never happen for any real pattern and indicates an internal parsing bug.`
541
- );
542
- }
543
- const char = pattern[i];
544
- if (char === void 0) continue;
9
+ let resume = 0;
10
+ for (const [i, char] of pattern.split("").entries()) {
11
+ if (i < resume) continue;
545
12
  if (char === "*" && pattern[i + 1] === "*") {
546
13
  const precededBySlashOrStart = i === 0 || pattern[i - 1] === "/";
547
14
  const followedBySlash = pattern[i + 2] === "/";
548
15
  if (precededBySlashOrStart && followedBySlash) {
549
16
  out += "(?:.*/)?";
550
- i += 2;
17
+ resume = i + 3;
551
18
  } else {
552
19
  out += ".*";
553
- i += 1;
20
+ resume = i + 2;
554
21
  }
555
22
  } else if (char === "*") {
556
23
  out += "[^/]*";
@@ -564,82 +31,100 @@ function globToRegExp(pattern) {
564
31
  }
565
32
  return new RegExp(`^${out}$`);
566
33
  }
34
+ function matchesAllowList(patterns, filename, cwd) {
35
+ const base = cwd.endsWith("/") || cwd.endsWith("\\") ? cwd.slice(0, -1) : cwd;
36
+ const separator = filename.charAt(base.length);
37
+ const names = filename.startsWith(base) && (separator === "/" || separator === "\\") ? [
38
+ filename,
39
+ filename.slice(base.length + 1).split("\\").join("/")
40
+ ] : [filename];
41
+ return patterns.some((pattern) => names.some((name) => globToRegExp(pattern).test(name)));
42
+ }
567
43
 
568
- // src/eslint-plugin/no-node-fs.ts
569
- var createRule = (0, import_eslint_utils.RuleCreator)(
570
- (name) => `https://github.com/maverickcer/env-cap#eslint-plugin-${name}`
571
- );
44
+ // src/_ipc/no-node-fs.ts
572
45
  var FS_SPECIFIER = /^(node:)?fs(\/promises)?$/;
573
46
  function fsSpecifier(source) {
574
- if (typeof source !== "string") return void 0;
575
- if (!FS_SPECIFIER.test(source)) return void 0;
576
- return source;
47
+ const text = String(source);
48
+ return FS_SPECIFIER.test(text) ? text : void 0;
577
49
  }
578
- var noNodeFs = createRule({
579
- name: "no-node-fs",
580
- meta: {
581
- type: "problem",
582
- docs: {
583
- description: "Disallow importing node:fs in library code; accept a filesystem capability from the caller instead."
584
- },
585
- schema: [
586
- {
587
- type: "object",
588
- properties: { allow: { type: "array", items: { type: "string" } } },
589
- additionalProperties: false
590
- }
591
- ],
592
- messages: {
593
- noNodeFs: "Importing '{{specifier}}' makes this a filesystem-acquiring surface. Accept a filesystem capability as an argument instead, and let an executable entry point construct the node:fs adapter (see ADR 0040 / the README's ESLint section for the allow-list escape hatch)."
594
- }
595
- },
596
- defaultOptions: [{ allow: [] }],
597
- create(context, [options]) {
598
- const filename = context.filename;
599
- const allowPatterns = options.allow ?? [];
600
- if (allowPatterns.some((p) => globToRegExp(p).test(filename))) return {};
601
- return {
602
- ImportDeclaration(node) {
603
- const specifier = fsSpecifier(node.source.value);
604
- if (specifier !== void 0) {
605
- context.report({ node, messageId: "noNodeFs", data: { specifier } });
606
- }
607
- },
608
- ImportExpression(node) {
609
- if (node.source.type !== import_types.AST_NODE_TYPES.Literal) return;
610
- const specifier = fsSpecifier(node.source.value);
611
- if (specifier !== void 0) {
612
- context.report({ node, messageId: "noNodeFs", data: { specifier } });
613
- }
50
+ function createNoNodeFs(wording) {
51
+ const createRule2 = RuleCreator(wording.docsUrl);
52
+ return createRule2({
53
+ name: "no-node-fs",
54
+ meta: {
55
+ type: "problem",
56
+ docs: {
57
+ description: "Disallow importing node:fs in library code; accept a filesystem capability from the caller instead."
614
58
  },
615
- CallExpression(node) {
616
- if (
617
- // Narrowing guard so `.name` type-checks; redundant at runtime with
618
- // the `.name !== "require"` clause (only an `Identifier` carries a
619
- // `.name`), so the mutant dropping it is equivalent -- same finding
620
- // as `no-raw-process-env.ts`'s disabled narrowing checks.
621
- // Stryker disable next-line ConditionalExpression
622
- node.callee.type !== import_types.AST_NODE_TYPES.Identifier || node.callee.name !== "require" || node.arguments[0]?.type !== import_types.AST_NODE_TYPES.Literal
623
- ) {
624
- return;
59
+ schema: [
60
+ {
61
+ type: "object",
62
+ properties: { allow: { type: "array", items: { type: "string" } } },
63
+ additionalProperties: false
625
64
  }
626
- const specifier = fsSpecifier(node.arguments[0].value);
65
+ ],
66
+ messages: {
67
+ noNodeFs: `Importing '{{specifier}}' makes this a filesystem-acquiring surface. Accept a filesystem capability as an argument instead, and let an executable entry point construct the node:fs adapter (see ${wording.adr} / ${wording.guide} for the allow-list escape hatch).`
68
+ }
69
+ },
70
+ defaultOptions: [{ allow: [] }],
71
+ create(context, [options]) {
72
+ if (matchesAllowList(options.allow, context.filename, context.cwd))
73
+ return {};
74
+ const reportSource = (node, source) => {
75
+ const specifier = source === null ? void 0 : fsSpecifier(source.value);
627
76
  if (specifier !== void 0) {
628
77
  context.report({ node, messageId: "noNodeFs", data: { specifier } });
629
78
  }
630
- }
631
- };
632
- }
633
- });
79
+ };
80
+ return {
81
+ ImportDeclaration(node) {
82
+ reportSource(node, node.source);
83
+ },
84
+ // A re-export reaches the module as surely as an import does.
85
+ ExportNamedDeclaration(node) {
86
+ reportSource(node, node.source);
87
+ },
88
+ ExportAllDeclaration(node) {
89
+ reportSource(node, node.source);
90
+ },
91
+ // TypeScript's `import fs = require("node:fs")`; `import x = A.B` names no module.
92
+ TSImportEqualsDeclaration(node) {
93
+ if (node.moduleReference.type === AST_NODE_TYPES.TSExternalModuleReference) {
94
+ reportSource(node, node.moduleReference.expression);
95
+ }
96
+ },
97
+ ImportExpression(node) {
98
+ const specifier = fsSpecifier(node.source.value);
99
+ if (specifier !== void 0) {
100
+ context.report({ node, messageId: "noNodeFs", data: { specifier } });
101
+ }
102
+ },
103
+ CallExpression(node) {
104
+ if (node.callee.name !== "require" || node.arguments[0]?.type !== AST_NODE_TYPES.Literal) {
105
+ return;
106
+ }
107
+ const specifier = fsSpecifier(node.arguments[0].value);
108
+ if (specifier !== void 0) {
109
+ context.report({ node, messageId: "noNodeFs", data: { specifier } });
110
+ }
111
+ }
112
+ };
113
+ }
114
+ });
115
+ }
634
116
 
635
- // src/eslint-plugin/no-raw-process-env.ts
636
- var import_eslint_utils2 = __toESM(require_eslint_utils());
637
- var import_types2 = __toESM(require_dist());
638
- var createRule2 = (0, import_eslint_utils2.RuleCreator)(
639
- (name) => `https://github.com/maverickcer/env-cap#eslint-plugin-${name}`
117
+ // src/eslint-plugin/no-node-fs.ts
118
+ var noNodeFs = createNoNodeFs({
119
+ docsUrl: () => "https://github.com/MaverickCER/env-cap/blob/main/GUIDE.md#eslint-plugin",
120
+ adr: "ADR 0040",
121
+ guide: "the README's ESLint section"
122
+ });
123
+ var createRule = RuleCreator(
124
+ () => "https://github.com/MaverickCER/env-cap/blob/main/GUIDE.md#eslint-plugin"
640
125
  );
641
126
  var DEFAULT_SCHEMA_ALLOWLIST = ["**/env.schema.ts", "**/env.schema.tsx"];
642
- var noRawProcessEnv = createRule2({
127
+ var noRawProcessEnv = createRule({
643
128
  name: "no-raw-process-env",
644
129
  meta: {
645
130
  type: "problem",
@@ -659,28 +144,12 @@ var noRawProcessEnv = createRule2({
659
144
  },
660
145
  defaultOptions: [{ allow: [] }],
661
146
  create(context, [options]) {
662
- const filename = context.filename;
663
- const allowPatterns = [...DEFAULT_SCHEMA_ALLOWLIST, ...options.allow ?? []];
664
- if (allowPatterns.some((p) => globToRegExp(p).test(filename))) return {};
147
+ const allowPatterns = [...DEFAULT_SCHEMA_ALLOWLIST, ...options.allow];
148
+ if (matchesAllowList(allowPatterns, context.filename, context.cwd)) return {};
665
149
  return {
666
150
  MemberExpression(node) {
667
151
  const obj = node.object;
668
- if (obj.type === import_types2.AST_NODE_TYPES.MemberExpression && // These two `.type === AST_NODE_TYPES.Identifier` checks exist for
669
- // TS narrowing (so `.object.name`/`.property.name` below type-check
670
- // at all -- neither is a property every `Expression` union member
671
- // has) more than for a real runtime distinction: `.name` is
672
- // specifically an `Identifier`/`PrivateIdentifier`'s own field in
673
- // the ESTree shape, and no `Expression` node reachable at this
674
- // position through valid, parseable syntax (`MemberExpression`,
675
- // `CallExpression`, `ThisExpression`, `Super`, `TSNonNullExpression`,
676
- // a computed-access `Literal`, ...) carries a `.name` that could
677
- // coincidentally equal "process"/"env" while having some OTHER
678
- // `.type`. Tried constructing a counterexample via several exotic
679
- // node shapes (all of the above) before concluding there
680
- // genuinely isn't one for this AST position.
681
- // Stryker disable next-line ConditionalExpression
682
- obj.object.type === import_types2.AST_NODE_TYPES.Identifier && obj.object.name === "process" && // Stryker disable next-line ConditionalExpression
683
- obj.property.type === import_types2.AST_NODE_TYPES.Identifier && obj.property.name === "env") {
152
+ if (obj.type === AST_NODE_TYPES.MemberExpression && obj.object.name === "process" && obj.property.type === AST_NODE_TYPES.Identifier && obj.property.name === "env") {
684
153
  context.report({ node, messageId: "noRawProcessEnv" });
685
154
  }
686
155
  }