⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@bcomnes
Copy link
Owner

@bcomnes bcomnes commented May 26, 2025

  • Rename to domstack
  • Use the node test runner
  • more..

@coveralls
Copy link

coveralls commented May 26, 2025

Pull Request Test Coverage Report for Build 16402216151

Details

  • 667 of 700 (95.29%) changed or added relevant lines in 28 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.5%) to 90.752%

Changes Missing Coverage Covered Lines Changed/Added Lines %
index.js 24 25 96.0%
lib/helpers/dom-stack-error.js 9 10 90.0%
lib/build-pages/page-builders/md/get-md.js 24 26 92.31%
test-cases/general-features/src/layouts/blog.layout.js 19 22 86.36%
test-cases/general-features/src/layouts/ts.layout.ts 31 34 91.18%
test-cases/general-features/src/markdown-it.settings.js 95 103 92.23%
lib/identify-pages.js 50 65 76.92%
Totals Coverage Status
Change from base Build 16402121717: 0.5%
Covered Lines: 3027
Relevant Lines: 3287

💛 - Coveralls

bcomnes added 18 commits May 26, 2025 10:10
markdown-it.settings.js files can be added to domstack websites and they
let you customize or replace the markdownit instance.
Generally switch all examples over to use preact, add react, etc.
Page workers are worker entrypoints. They get bundle split with all
other bundles, and a worker.json file is placed in the output directory
with the page. You can load this file, get the worker filename and
then create a worker from that entrypoint. This feature allows you
to create workers in pages that get bundled with the rest of your site.
# Conflicts:
#	package.json
Not using it enough to be installed by default
dependabot bot and others added 4 commits August 12, 2025 08:45
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.3.23 to 19.1.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-version: 19.1.10
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
…/react/types/react-19.1.10

Bump @types/react from 18.3.23 to 19.1.10 in /examples/react
dependabot bot and others added 12 commits August 17, 2025 04:04
Bumps the typescript group with 2 updates: [@voxpelli/tsconfig](https://github.com/voxpelli/tsconfig) and [typescript](https://github.com/microsoft/TypeScript).


Updates `@voxpelli/tsconfig` from 15.1.2 to 16.0.0
- [Release notes](https://github.com/voxpelli/tsconfig/releases)
- [Changelog](https://github.com/voxpelli/tsconfig/blob/main/CHANGELOG.md)
- [Commits](voxpelli/tsconfig@v15.1.2...v16.0.0)

Updates `typescript` from 5.8.3 to 5.9.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](microsoft/TypeScript@v5.8.3...v5.9.2)

---
updated-dependencies:
- dependency-name: "@voxpelli/tsconfig"
  dependency-version: 16.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: typescript
- dependency-name: typescript
  dependency-version: 5.9.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: typescript
...

Signed-off-by: dependabot[bot] <[email protected]>
…pt-4232e8fad1

Bump the typescript group with 2 updates
Bumps the react group with 3 updates in the /examples/react directory: [react](https://github.com/facebook/react/tree/HEAD/packages/react), [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom).


Updates `react` from 18.3.1 to 19.1.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.1.1/packages/react)

Updates `@types/react-dom` from 18.3.7 to 19.1.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `react-dom` from 18.3.1 to 19.1.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.1.1/packages/react-dom)

---
updated-dependencies:
- dependency-name: react
  dependency-version: 19.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: react
- dependency-name: "@types/react-dom"
  dependency-version: 19.1.7
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: react
- dependency-name: react-dom
  dependency-version: 19.1.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: react
...

Signed-off-by: dependabot[bot] <[email protected]>
…/react/react-9b0b2df424

Bump the react group across 1 directory with 3 updates
Bumps [esbuild-plugin-tailwindcss](https://github.com/ttempaa/esbuild-plugin-tailwindcss) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/ttempaa/esbuild-plugin-tailwindcss/releases)
- [Commits](ttempaa/esbuild-plugin-tailwindcss@v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: esbuild-plugin-tailwindcss
  dependency-version: 2.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot bot and others added 4 commits September 24, 2025 23:06
Bumps [markdown-it-table-of-contents](https://github.com/cmaas/markdown-it-table-of-contents) from 0.9.0 to 1.1.0.
- [Release notes](https://github.com/cmaas/markdown-it-table-of-contents/releases)
- [Changelog](https://github.com/cmaas/markdown-it-table-of-contents/blob/master/CHANGELOG.md)
- [Commits](cmaas/markdown-it-table-of-contents@v0.9.0...v1.1.0)

---
updated-dependencies:
- dependency-name: markdown-it-table-of-contents
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
…/tailwind/esbuild-plugin-tailwindcss-2.1.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@socket-security
Copy link

socket-security bot commented Oct 14, 2025

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm entities is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: ?npm/[email protected]npm/[email protected]npm/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm entities is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: ?npm/[email protected]npm/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm js-beautify is 100.0% likely obfuscated

Confidence: 1.00

Location: Package overview

From: ?npm/[email protected]npm/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm markdown-it is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: package.jsonnpm/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

dependabot bot and others added 4 commits November 7, 2025 23:06
Bumps [read-pkg](https://github.com/sindresorhus/read-pkg) from 9.0.1 to 10.0.0.
- [Release notes](https://github.com/sindresorhus/read-pkg/releases)
- [Commits](sindresorhus/read-pkg@v9.0.1...v10.0.0)

---
updated-dependencies:
- dependency-name: read-pkg
  dependency-version: 10.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.25.12 to 0.27.1.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.25.12...v0.27.1)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.27.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…0.27.1

Bump esbuild from 0.25.12 to 0.27.1
Copilot AI review requested due to automatic review settings December 8, 2025 19:55
Bumps [chokidar](https://github.com/paulmillr/chokidar) from 4.0.3 to 5.0.0.
- [Release notes](https://github.com/paulmillr/chokidar/releases)
- [Commits](paulmillr/chokidar@4.0.3...5.0.0)

---
updated-dependencies:
- dependency-name: chokidar
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR represents a major refactoring that renames the project from "top-bun" to "domstack" with several breaking changes and new features. The key changes include:

  • Migration from tap test runner to Node.js built-in test runner
  • Migration from uhtml-isomorphic to htm/preact for templating
  • Addition of web worker support with automatic bundling
  • Addition of markdown-it customization support
  • Complete rename of project identifiers (TopBun → DomStack)
  • Package dependency updates and reorganization

Reviewed changes

Copilot reviewed 180 out of 189 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test-cases/*/index.test.js Migrated test files from tap to node:test runner
test-cases/general-features/src/worker-page/* Added new web worker demonstration files
test-cases/general-features/src/md-page/style.css Contains duplicate CSS rules for .test-box
test-cases/general-features/src/markdown-it.settings.js New markdown-it customization support
lib/identify-pages.js Added worker file detection and markdown-it settings support
lib/build-esbuild/index.js Added web worker bundling support
lib/helpers/*-error.js Renamed error classes from TopBun* to DomStack*
lib/defaults/* Updated default values from "top-bun" to "domstack"
package.json Updated package name, dependencies, and scripts
examples/* Updated example projects with new naming and features
index.js Updated main class from TopBun to DomStack

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants