Last 12 weeks · 0 commits
1 of 6 standards met
The file uses which is a Browser API so it is likely that the project uses a bundler or a dependency that polyfills and makes it available on Node.js. However, there is no dependency on this listed, or a comment justifying this usage, meaning it could be an error. If this is not the case, then the check should be removed altogether for optimal performance. Body: The file checks for the existence of before requiring different modules. Because the check assumes that the code will always run in either a Node.js or browser environment it should be verified that is polyfilled in Node.js environments, or remove the if statement altogether and add two separate files.
Repository: Jarred-Sumner/atbuild. Description: Use JavaScript to generate JavaScript Stars: 35, Forks: 2. Primary language: TypeScript. Languages: TypeScript (50.2%), JavaScript (49.8%). Homepage: atbuild.vercel.app Topics: babel, build-tool, code-generation, codegen, esbuild, preprocessor, webpack. Open PRs: 0, open issues: 2. Last activity: 5y ago. Community health: 28%. Top contributors: Jarred-Sumner.