Repository navigation
fix(website): move the demo to magika 1.0.0 (#1613) - #1648
Open
volt69506-eng wants to merge 2 commits into
Open
volt69506-eng wants to merge 2 commits into
volt69506-eng wants to merge 2 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1613
What
website-ng/package.jsondeclared"magika": "^0.4.0". A caret on0.xonly admits0.4.x, so the demo has been pinned to 0.4.0 since it landed and will never pick up 1.x. The issue notes this is currently harmless in output, but it will drift at the next JS release becausescripts/check_documentation.pycompares the Demo Website row against npm's latest version.Change
website-ng/package.json:magika→^1.0.0.website-ng/package-lock.json: regenerated withnpm install --package-lock-only --ignore-scripts --no-audit --no-fund; the only changed entry isnode_modules/magika0.4.0 → 1.0.0 (8 lines).No demo source was changed: the issue verifies both releases expose the same 214 content types with
standard_v3_3, which the demo already serves from/magika/models/standard_v3_3/.I deliberately left the optional
check_documentation.pyidea from the issue out of this PR: that is a separate change to the docs checker and should be reviewed on its own.TDD
test:commit first:python/tests/test_website_demo_dependency.pyasserts the declared range and the lockfile resolve to >= 1.0.0. It failed on currentmainwith^0.4.0/0.4.0and passes after this change (2 passed). The test uses only stdlib, so it needs no new dependency in the Python suite.