Commit 23b379b
fix: replace Browserify with Webpack to resolve security vulnerabilities (#399)
* fix: replace Browserify with Webpack to resolve security vulnerabilities
* fix: add clean script and update start scripts
- Add 'clean' script to remove stale bundle.raw.js artifact
- Update 'build' script to run clean before replace and compile
- Replace deprecated budo/bistre with webpack-dev-server for development
- Add webpack-dev-server to devDependencies
- Simplify start-prod to just run build
- Configure webpack-dev-server to serve static files from project root
Prevents stale Browserify output from being confused with active build artifacts.
Addresses reviewer feedback on PR #399
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Migrate ESLint to v9+ flat config format
- Replace .eslintrc (deprecated) with eslint.config.js
- Move ignore patterns from .eslintignore to ignores property
- Update languageOptions with proper globals for Node and browser
- Add type: module to package.json to eliminate Node warnings
This resolves ESLint v10.2.0 compatibility issues.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Remove unused no-eq-null eslint-disable directive
The directive on line 2 was unused since the actual comparisons
with null already have their own disable comments on lines 6 and 14.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Remove type: module from package.json
Adding type: module breaks CommonJS scripts used in the build process.
ESLint can handle eslint.config.js as ESM without the type field.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Rename eslint.config.js to eslint.config.mjs
Using .mjs extension explicitly marks the file as an ES module,
eliminating the MODULE_TYPELESS_PACKAGE_JSON warning without
requiring type: module in package.json (which breaks build scripts).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: rahulkumaar03 <techieeboy04@gmail.com>
Co-authored-by: Dennis Luxen <ich@dennisluxen.de>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent e1710c5 commit 23b379b
File tree
8 files changed
+6943
-13552
lines changed- src
8 files changed
+6943
-13552
lines changedThis file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments