├── .gitattributes ├── .github └── workflows │ ├── codeql-analysis.yml │ └── nodejs.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── dist ├── ShowJSError.d.ts ├── helpers │ ├── dom.d.ts │ ├── elem.d.ts │ └── error.d.ts ├── index.css ├── index.d.ts ├── show-js-error.esm.js └── show-js-error.js ├── eslint.config.js ├── images ├── detailed.png └── simple.png ├── package.json ├── postcss.config.mjs ├── rollup.config.mjs ├── src ├── ShowJSError.ts ├── helpers │ ├── dom.ts │ ├── elem.ts │ └── error.ts ├── index.css └── index.ts ├── tests ├── a.js ├── b.js ├── c.js ├── index.html ├── long_stack.html ├── many.html ├── size_big.html └── without_body.html ├── tools └── inject.mjs └── tsconfig.json /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/nodejs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/.github/workflows/nodejs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/README.md -------------------------------------------------------------------------------- /dist/ShowJSError.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/dist/ShowJSError.d.ts -------------------------------------------------------------------------------- /dist/helpers/dom.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/dist/helpers/dom.d.ts -------------------------------------------------------------------------------- /dist/helpers/elem.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/dist/helpers/elem.d.ts -------------------------------------------------------------------------------- /dist/helpers/error.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/dist/helpers/error.d.ts -------------------------------------------------------------------------------- /dist/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/dist/index.css -------------------------------------------------------------------------------- /dist/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/dist/index.d.ts -------------------------------------------------------------------------------- /dist/show-js-error.esm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/dist/show-js-error.esm.js -------------------------------------------------------------------------------- /dist/show-js-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/dist/show-js-error.js -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/eslint.config.js -------------------------------------------------------------------------------- /images/detailed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/images/detailed.png -------------------------------------------------------------------------------- /images/simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/images/simple.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /src/ShowJSError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/src/ShowJSError.ts -------------------------------------------------------------------------------- /src/helpers/dom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/src/helpers/dom.ts -------------------------------------------------------------------------------- /src/helpers/elem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/src/helpers/elem.ts -------------------------------------------------------------------------------- /src/helpers/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/src/helpers/error.ts -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/src/index.ts -------------------------------------------------------------------------------- /tests/a.js: -------------------------------------------------------------------------------- 1 | function a() { 2 | b(); 3 | } 4 | -------------------------------------------------------------------------------- /tests/b.js: -------------------------------------------------------------------------------- 1 | function b() { 2 | window['a b'](); 3 | } 4 | -------------------------------------------------------------------------------- /tests/c.js: -------------------------------------------------------------------------------- 1 | window['a b'] = function() { 2 | d(); 3 | }; 4 | -------------------------------------------------------------------------------- /tests/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/tests/index.html -------------------------------------------------------------------------------- /tests/long_stack.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/tests/long_stack.html -------------------------------------------------------------------------------- /tests/many.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/tests/many.html -------------------------------------------------------------------------------- /tests/size_big.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/tests/size_big.html -------------------------------------------------------------------------------- /tests/without_body.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/tests/without_body.html -------------------------------------------------------------------------------- /tools/inject.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/tools/inject.mjs -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hcodes/show-js-error/HEAD/tsconfig.json --------------------------------------------------------------------------------