Skip to content

Update deprecation note - #1169

Merged
j9t merged 2 commits into
gh-pagesfrom
feat/hmn
Mar 26, 2026
Merged

Update deprecation note#1169
j9t merged 2 commits into
gh-pagesfrom
feat/hmn

Conversation

@j9t

@j9t j9t commented Mar 26, 2026

Copy link
Copy Markdown
Collaborator

Tweaking the deprecation note with info on specific updates in HMN and web version.

j9t added 2 commits March 26, 2026 12:33
Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
@j9t

j9t commented Mar 26, 2026

Copy link
Copy Markdown
Collaborator Author

@kangax, feeling free to merge as is—the Node issues don’t seem salvageable at this point.

@j9t
j9t merged commit 0d445f0 into gh-pages Mar 26, 2026
1 of 9 checks passed
@j9t
j9t deleted the feat/hmn branch March 26, 2026 11:35
@DanielRuf

Copy link
Copy Markdown

Awesome.
Can someone with the needed permissions deprecate the package on npmjs with the same message?
https://docs.npmjs.com/deprecating-and-undeprecating-packages-or-package-versions

Because without a new release (would not recommend to push a new one, since it has been so long since the last one) the readme update is not reflected at https://www.npmjs.com/package/html-minifier and without the npm deprecate "message" none of the tools (npm, yarn, pnpm, ...) will show the information to users on install.

https://docs.npmjs.com/deprecating-and-undeprecating-packages-or-package-versions#using-the-command-line or via the package setting for the whole package name on npmjs, both ways work (the way via the settings on npmjs is probably easier as there are some visual inputs instead of the CLI).

@MichaelDeBoey

Copy link
Copy Markdown

@kangax @j9t Maybe you could also archive the GitHub repo & deprecate the html-minifier package in npm?

@DamonHD

DamonHD commented Jun 14, 2026

Copy link
Copy Markdown

Maybe don't, because some of us cannot quickly or easily upgrade to newer NPM etc?

@j9t

j9t commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator Author

Maybe don't, because some of us cannot quickly or easily upgrade to newer NPM etc?

Archiving the repo and deprecating the package should not impact that—previous packages should still be available.

@DanielRuf

Copy link
Copy Markdown

@DamonHD npmjs (the registry) was meant, not the CLI tool npm (which does not even depend on this package).

Some just conflate and abbreviate npmjs with npm.

@MichaelDeBoey

Copy link
Copy Markdown

I indeed meant deprecating the package in the npm registry

@DanielRuf

Copy link
Copy Markdown

This will just lead to a simple warning but not block any installs. This is the only thing happening when you use a package, which is marked as deprecated.

@MichaelDeBoey

Copy link
Copy Markdown

@DanielRuf That's true, it won't block any installs
But people will get a notification, which makes it clear that they should upgrade.
People looking into the package on npmjs.com will also see the notice and probably choose for HMN instead

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.

4 participants