Bump bicep-node to ^0.0.12 to remove deprecated transitive deps (#298)#302
Open
snehabandla wants to merge 2 commits into
Open
Bump bicep-node to ^0.0.12 to remove deprecated transitive deps (#298)#302snehabandla wants to merge 2 commits into
snehabandla wants to merge 2 commits into
Conversation
Fixes #298. bicep-node@0.0.10 dropped node-fetch in favor of Node's native fetch (Node 18+), which transitively removes whatwg-url@5 and tr46@0.0.3 — the source of the punycode (DEP0040) and url.parse() (DEP0169) deprecation warnings. All consumed APIs (Bicep.initialize, getDownloadUrl, install, compile, compileParams, version, dispose) and types (Compile*Request/Response, CompileResponseDiagnostic) are unchanged between 0.0.8 and 0.0.12 — drop-in compatible.
The validation-error fixture used 'foo' as a storage account name,
which is syntactically valid (3 lowercase alphanumeric chars). The
test relied on Azure rejecting it via global name uniqueness.
stacks-validate does not perform global name uniqueness checks at
validate-time (unlike deployments-validate), so it returned success
and the assertion expect(failure).toContain("Validation failed")
fired against undefined.
Switch to 'INVALIDNAME' (uppercase) which violates the lowercase-only
constraint and is reliably rejected by the ARM resource provider with
InvalidTemplateDeployment for both APIs.
snehabandla
enabled auto-merge (squash)
May 26, 2026 19:53
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.
Fixes #298.
bicep-node@0.0.10 dropped node-fetch in favor of Node's native fetch (Node 18+), which transitively removes whatwg-url@5 and tr46@0.0.3 — the source of the punycode (DEP0040) and url.parse() (DEP0169) deprecation warnings.
All consumed APIs (Bicep.initialize, getDownloadUrl, install, compile, compileParams, version, dispose) and types (Compile*Request/Response, CompileResponseDiagnostic) are unchanged between 0.0.8 and 0.0.12 — drop-in compatible.