Skip to content

Deno lockfile updates#635

Merged
lucksus merged 6 commits intodevfrom
deno-lockfile-update
Nov 27, 2025
Merged

Deno lockfile updates#635
lucksus merged 6 commits intodevfrom
deno-lockfile-update

Conversation

@jhweir
Copy link
Contributor

@jhweir jhweir commented Nov 26, 2025

Deno lockfiles updated to fix hash mismatches and integrity check failures with esm.sh

Summary by CodeRabbit

  • Chores
    • Updated internal dependency configurations to reference versioned package URLs across language modules for improved consistency and stability.

✏️ Tip: You can customize this high-level summary in your review settings.


Note

Refreshes Deno lockfiles (root and test languages) and updates test build scripts to use --no-lock and --reload.

  • Lockfiles:
    • Update deno.lock redirects and remotes for esm.sh (e.g., brace-expansion@1.1.12, jsonfile@6.2.0) and refresh hashes; remove unused deno.land/esbuild entries.
    • Add tests/js/languages/{note-store,test-language}/deno.lock to pin test dependencies.
  • Build scripts:
    • In tests/js/languages/{note-store,test-language}/package.json, change build to deno run --allow-all --no-lock --reload esbuild.ts.

Written by Cursor Bugbot for commit 9a74a4f. This will update automatically on new commits. Configure here.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 26, 2025

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

The changes systematically update TypeScript import paths across 40+ files to reference versioned v135 CDN paths for type dependencies (primarily @perspect3vism/ad4m and @coasys/ad4m), replacing generic esm.sh URLs with versioned variants. No functional code, logic, or API changes are introduced.

Changes

Cohort / File(s) Change Summary
Bootstrap languages: Agent language
bootstrap-languages/agent-language/adapter.ts, bootstrap-languages/agent-language/index.ts
Updated import paths for ad4m types from base esm.sh URL to versioned v135 path
Bootstrap languages: Centralized agent language
bootstrap-languages/centralized-agent-language/adapter.ts, bootstrap-languages/centralized-agent-language/index.ts
Updated ad4m type import paths to v135 versioned URLs
Bootstrap languages: Centralized file storage
bootstrap-languages/centralized-file-storage/adapter.ts, bootstrap-languages/centralized-file-storage/index.ts
Updated ad4m and ExpressionGeneric import paths to v135 versions
Bootstrap languages: Centralized P-diff sync
bootstrap-languages/centralized-p-diff-sync/index.ts, bootstrap-languages/centralized-p-diff-sync/linksAdapter.ts, bootstrap-languages/centralized-p-diff-sync/telepresenceAdapter.ts
Updated ad4m, async-mutex, and socket.io-client import paths to v135
Bootstrap languages: Direct message language
bootstrap-languages/direct-message-language/adapter.ts, bootstrap-languages/direct-message-language/index.ts
Updated ad4m type import paths to v135 versions
Bootstrap languages: EAS
bootstrap-languages/eas/adapter.ts, bootstrap-languages/eas/index.ts
Updated ad4m type import paths to v135
Bootstrap languages: Embedding vector language
bootstrap-languages/embedding-vector-language/index.ts
Updated ad4m, pako, and base64-js import paths to v135
Bootstrap languages: File storage
bootstrap-languages/file-storage/adapter.ts, bootstrap-languages/file-storage/file-storage.ts, bootstrap-languages/file-storage/index.ts, bootstrap-languages/file-storage/putAdapter.ts, bootstrap-languages/file-storage/types.ts
Updated ad4m, pako, and buffer import paths to v135 versions
Bootstrap languages: Language language
bootstrap-languages/language-language/adapter.ts, bootstrap-languages/language-language/index.ts, bootstrap-languages/language-language/languageAdapter.ts, bootstrap-languages/language-language/putAdapter.ts
Updated ad4m type import paths to v135
Bootstrap languages: Neighbourhood language
bootstrap-languages/neighbourhood-language/adapter.ts, bootstrap-languages/neighbourhood-language/index.ts
Updated ad4m type import paths to v135
Bootstrap languages: P-diff sync
bootstrap-languages/p-diff-sync/index.ts, bootstrap-languages/p-diff-sync/linksAdapter.ts, bootstrap-languages/p-diff-sync/telepresenceAdapter.ts
Updated ad4m and async-mutex import paths to v135
Bootstrap languages: Perspective language
bootstrap-languages/perspective-language/adapter.ts, bootstrap-languages/perspective-language/index.ts, bootstrap-languages/perspective-language/putAdapter.ts
Updated ad4m type import paths to v135
Test files
tests/js/languages/note-store/index.ts, tests/js/languages/test-language/index.ts
Updated ad4m type import paths from @coasys to v135
Test scripts
tests/js/scripts/get-builtin-test-langs.js
Updated fs-extra, node-wget-js, and unzipper import paths to v135

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Rationale: All changes follow a single, repetitive pattern (import path versioning to v135). However, review complexity is mitigated by consistency across 40+ files, requiring verification of:
    • Completeness: ensure all ad4m imports were updated uniformly
    • No accidental edits beyond import paths
    • Consistency in URL format and v135 placement across all files

Poem

🐰 A hop through imports, fresh and bright,
v135 paths now serve the light!
From base esm.sh to versioned streams,
Dependencies dance in bunny dreams. ✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
Title check ❓ Inconclusive The title 'Deno lockfile updates' is vague and generic. While it broadly references a real aspect of the changeset (lockfile updates), it fails to convey the primary purpose of the changes (updating import paths to v135 URLs across bootstrap languages and test scripts). Consider a more specific title that captures the main change: 'Update import paths to v135 versioned URLs' or 'Pin dependencies to esm.sh v135 across bootstrap languages'.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch deno-lockfile-update

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (3)
bootstrap-languages/p-diff-sync/telepresenceAdapter.ts (1)

1-1: Clean up double semicolon on updated import

The switch to the v135 Ad4m type import looks correct, but there’s an extra ; at the end of the line. It’s harmless at runtime but could trip style checks; consider trimming it:

-import type { TelepresenceAdapter, OnlineAgent, PerspectiveExpression, TelepresenceSignalCallback, HolochainLanguageDelegate, LanguageContext } from "https://esm.sh/v135/@perspect3vism/ad4m@0.5.0";;
+import type { TelepresenceAdapter, OnlineAgent, PerspectiveExpression, TelepresenceSignalCallback, HolochainLanguageDelegate, LanguageContext } from "https://esm.sh/v135/@perspect3vism/ad4m@0.5.0";
bootstrap-languages/embedding-vector-language/index.ts (1)

1-5: esm.sh/v135 imports for ad4m, pako, and base64-js are consistent with existing usage

Imports are correctly pinned and match how pako and base64-js are used in compressUri/decompressUri; I don’t see behavioral changes here.

Optionally, consider standardizing on a single pako version across the repo for simplicity, but it’s not required for this PR. Please also confirm your Deno build/tests pass with the new v135 endpoints.

bootstrap-languages/centralized-p-diff-sync/telepresenceAdapter.ts (1)

1-3: Pinned esm.sh imports look fine; minor trailing semicolon nit

The switches to https://esm.sh/v135/@perspect3vism/ad4m@0.5.0 and https://esm.sh/v135/socket.io-client@4.7.2 are consistent with the rest of the PR and should not affect behavior. If you touch this file again, you might drop the extra ; at the end of Line 1, but it’s purely cosmetic.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9a74a4f and 49d5c54.

⛔ Files ignored due to path filters (1)
  • deno.lock is excluded by !**/*.lock
📒 Files selected for processing (34)
  • bootstrap-languages/agent-language/adapter.ts (1 hunks)
  • bootstrap-languages/agent-language/index.ts (1 hunks)
  • bootstrap-languages/centralized-agent-language/adapter.ts (1 hunks)
  • bootstrap-languages/centralized-agent-language/index.ts (1 hunks)
  • bootstrap-languages/centralized-file-storage/adapter.ts (1 hunks)
  • bootstrap-languages/centralized-file-storage/index.ts (1 hunks)
  • bootstrap-languages/centralized-p-diff-sync/index.ts (1 hunks)
  • bootstrap-languages/centralized-p-diff-sync/linksAdapter.ts (1 hunks)
  • bootstrap-languages/centralized-p-diff-sync/telepresenceAdapter.ts (1 hunks)
  • bootstrap-languages/direct-message-language/adapter.ts (1 hunks)
  • bootstrap-languages/direct-message-language/index.ts (1 hunks)
  • bootstrap-languages/eas/adapter.ts (1 hunks)
  • bootstrap-languages/eas/index.ts (1 hunks)
  • bootstrap-languages/embedding-vector-language/index.ts (1 hunks)
  • bootstrap-languages/file-storage/adapter.ts (1 hunks)
  • bootstrap-languages/file-storage/file-storage.ts (1 hunks)
  • bootstrap-languages/file-storage/index.ts (1 hunks)
  • bootstrap-languages/file-storage/putAdapter.ts (1 hunks)
  • bootstrap-languages/file-storage/types.ts (1 hunks)
  • bootstrap-languages/language-language/adapter.ts (1 hunks)
  • bootstrap-languages/language-language/index.ts (1 hunks)
  • bootstrap-languages/language-language/languageAdapter.ts (1 hunks)
  • bootstrap-languages/language-language/putAdapter.ts (1 hunks)
  • bootstrap-languages/neighbourhood-language/adapter.ts (1 hunks)
  • bootstrap-languages/neighbourhood-language/index.ts (1 hunks)
  • bootstrap-languages/p-diff-sync/index.ts (1 hunks)
  • bootstrap-languages/p-diff-sync/linksAdapter.ts (1 hunks)
  • bootstrap-languages/p-diff-sync/telepresenceAdapter.ts (1 hunks)
  • bootstrap-languages/perspective-language/adapter.ts (1 hunks)
  • bootstrap-languages/perspective-language/index.ts (1 hunks)
  • bootstrap-languages/perspective-language/putAdapter.ts (1 hunks)
  • tests/js/languages/note-store/index.ts (1 hunks)
  • tests/js/languages/test-language/index.ts (1 hunks)
  • tests/js/scripts/get-builtin-test-langs.js (1 hunks)
✅ Files skipped from review due to trivial changes (3)
  • bootstrap-languages/agent-language/adapter.ts
  • bootstrap-languages/neighbourhood-language/adapter.ts
  • bootstrap-languages/file-storage/file-storage.ts
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-07-17T16:34:09.725Z
Learnt from: jhweir
Repo: coasys/ad4m PR: 617
File: ad4m-hooks/vue/src/useModel.ts:45-56
Timestamp: 2025-07-17T16:34:09.725Z
Learning: In ad4m-hooks/vue/src/useModel.ts, the baseExpression property is defined as a getter on the Ad4mModel prototype, not as an own property on individual instances. The current implementation correctly uses Object.defineProperty to create enumerable own properties that shadow the prototype getter, which is the appropriate approach for making prototype accessors enumerable.

Applied to files:

  • bootstrap-languages/centralized-agent-language/adapter.ts
  • bootstrap-languages/eas/adapter.ts
  • bootstrap-languages/file-storage/types.ts
🔇 Additional comments (28)
bootstrap-languages/perspective-language/adapter.ts (1)

1-1: Import URL bump to v135 looks consistent

The updated esm.sh URL (v135 + @perspect3vism/ad4m@0.5.0) is syntactically correct and matches the pattern used elsewhere in this PR. Please just confirm Deno builds/tests for perspective-language succeed against the new CDN endpoint.

bootstrap-languages/p-diff-sync/index.ts (1)

1-1: Type import migration to v135 is fine

The Ad4m type import now targets the v135 esm.sh URL while keeping the same @perspect3vism/ad4m@0.5.0 version. This is in line with the rest of the PR; please confirm p-diff-sync still compiles and runs under Deno with the refreshed lockfile.

bootstrap-languages/centralized-agent-language/adapter.ts (1)

1-1: Centralized agent adapter import update looks good

The Ad4m type-only import now points at https://esm.sh/v135/@perspect3vism/ad4m@0.5.0, consistent with the PR-wide change and with no impact on runtime behavior. Please verify that centralized-agent-language still type-checks and runs correctly with the updated CDN/lockfile.

tests/js/languages/test-language/index.ts (1)

1-1: Test language now using v135 Ad4m types

The type import for @coasys/ad4m@0.5.0 now points to the v135 esm.sh path, aligned with the rest of the changes. Please confirm the JS test suite (notably tests/js/languages/test-language) still runs cleanly with the new URL and updated lockfiles.

bootstrap-languages/perspective-language/index.ts (1)

1-1: Perspective-language index import aligns with v135 switch

The Ad4m type import now uses the v135 esm.sh endpoint, consistent with adapter.ts and other bootstrap languages. Please just verify that perspective-language still compiles and runs as expected after regenerating its Deno lockfile.

bootstrap-languages/eas/adapter.ts (1)

1-1: EAS adapter Ad4m type import updated correctly

The import now targets https://esm.sh/v135/@perspect3vism/ad4m@0.5.0 and should be equivalent from a type/runtime perspective. Please confirm the EAS adapter passes type-checking and any relevant integration tests with the refreshed lockfile.

bootstrap-languages/direct-message-language/adapter.ts (1)

1-1: Direct-message adapter runtime import moved to v135

The @perspect3vism/ad4m@0.5.0 import now comes from the v135 esm.sh URL, consistent with the wider migration in this PR. Since this is a value import used at runtime, please double-check that Deno can fetch and cache this URL correctly (e.g., running the DM language tests or a local smoke test).

bootstrap-languages/file-storage/adapter.ts (1)

1-3: Pinned esm.sh/v135 imports for ad4m types and pako look consistent

The move to https://esm.sh/v135/@perspect3vism/ad4m@0.5.0 and https://esm.sh/v135/pako@2.1.0 aligns with the PR’s lockfile strategy and should be a no-op behaviorally.

Please run your usual Deno test/check workflow to confirm esm.sh’s v135 default exports (pako in particular) still match the expected shape.

bootstrap-languages/centralized-agent-language/index.ts (1)

1-1: Ad4m type import retargeted to esm.sh/v135 with no functional impact

Switch to https://esm.sh/v135/@perspect3vism/ad4m@0.5.0 for the type-only import is consistent with the rest of the PR and should not change behavior.

Just ensure the corresponding Deno lockfile has this v135 URL captured and that deno cache / tests succeed.

bootstrap-languages/direct-message-language/index.ts (1)

1-1: Direct-message language ad4m types now pinned to esm.sh/v135

The updated type import is aligned with other bootstrap languages and doesn’t alter the language’s runtime surface.

Please verify that any Deno type-check or compile step referencing this file succeeds with the new v135 endpoint.

bootstrap-languages/language-language/index.ts (1)

1-1: Language-language ad4m types correctly moved to esm.sh/v135

Type-only import now uses the versioned v135 URL; behavior of the language module is unchanged.

Confirm that the lockfile and Deno tooling resolve this v135 URL without additional integrity/hash issues.

bootstrap-languages/neighbourhood-language/index.ts (1)

1-1: Neighbourhood-language ad4m type imports updated to v135 consistently

The consolidated type import (including ExpressionUI) from https://esm.sh/v135/@perspect3vism/ad4m@0.5.0 looks correct and keeps runtime behavior the same.

Please run whatever neighbourhood-language tests you have to double-check that esm.sh’s v135 build still exposes these types as expected.

bootstrap-languages/agent-language/index.ts (1)

1-1: Agent-language ad4m type import pinned to esm.sh/v135

The updated type import for Address, Language, LanguageContext, HolochainLanguageDelegate, and Interaction aligns with the rest of the PR and should not affect the agent language’s behavior.

Please ensure your Deno build that registers DNAs for this language still succeeds with the v135 endpoint in place.

tests/js/scripts/get-builtin-test-langs.js (1)

1-3: Test helper now pins fs-extra, node-wget-js, unzipper to esm.sh/v135

Using fs-extra@11.1.1, node-wget-js@1.0.1, and unzipper@0.10.14 via v135 is consistent with the PR’s lockfile/esm.sh strategy; the download/unzip logic remains unchanged.

Please run the test-language bootstrap script (or the CI job that calls it) once with a clean cache to verify these v135-backed imports behave identically.

bootstrap-languages/file-storage/index.ts (1)

1-1: LGTM: Consistent versioned import path update.

The import path has been correctly updated to use the v135 versioned URL, consistent with the other files in this PR.

bootstrap-languages/language-language/putAdapter.ts (1)

1-1: LGTM: Consistent versioned import path update.

The import path has been correctly updated to use the v135 versioned URL.

bootstrap-languages/language-language/languageAdapter.ts (1)

1-1: LGTM: Consistent versioned import path update.

The import path has been correctly updated to use the v135 versioned URL.

bootstrap-languages/eas/index.ts (1)

1-1: LGTM: Consistent versioned import path update.

The import path has been correctly updated to use the v135 versioned URL.

bootstrap-languages/p-diff-sync/linksAdapter.ts (1)

2-4: LGTM: Multiple import paths updated to versioned v135 URLs.

All three import statements have been correctly updated to use v135 versioned URLs for both @perspect3vism/ad4m@0.5.0 and async-mutex@0.4.0. The changes are consistent with the PR objective.

bootstrap-languages/language-language/adapter.ts (1)

1-1: LGTM: Consistent versioned import path update.

The import path has been correctly updated to use the v135 versioned URL.

bootstrap-languages/perspective-language/putAdapter.ts (1)

1-1: LGTM: Consistent versioned import path update.

The import path has been correctly updated to use the v135 versioned URL, completing the systematic migration across all reviewed files.

bootstrap-languages/centralized-p-diff-sync/index.ts (1)

1-4: I'll help you verify the review comment about the esm.sh versioning changes. Let me start by examining the actual file changes and researching esm.sh v135.
<function_calls>


#!/bin/bash

First, let's verify the actual file content

echo "=== Checking file content ==="
cat -n "bootstrap-languages/centralized-p-diff-sync/index.ts" | head -10

Let's also check if there are other files with esm.sh imports to see v135 usage consistency

echo ""
echo "=== Searching for esm.sh imports across the repository ==="
rg "esm.sh/v" --type ts --type tsx -n | head -20


</function_calls>
<function_calls>


esm.sh CDN versioning v135 what is it used for


</function_calls>

bootstrap-languages/centralized-p-diff-sync/linksAdapter.ts (1)

2-5: Import URL pinning to esm.sh v135 is consistent and correct

ad4m, async-mutex, and socket.io-client imports are all moved to esm.sh/v135/* without changing library versions or usage. Using a separate import type for SyncStateChangeObserver keeps runtime imports minimal. No issues from this change.

bootstrap-languages/centralized-file-storage/index.ts (1)

1-1: Ad4m type import moved to v135 with no behavioral impact

The import now targets https://esm.sh/v135/@perspect3vism/ad4m@0.5.0, which matches the pattern elsewhere in the PR. Usage of Address, Language, LanguageContext, ExpressionUI, and Interaction is unchanged, so behavior remains the same.

tests/js/languages/note-store/index.ts (1)

1-1: Test-language ad4m import updated to v135, consistent with main code

The switch to https://esm.sh/v135/@coasys/ad4m@0.5.0 keeps the same library version while aligning the test language with the v135 CDN path used elsewhere. No functional changes introduced.

bootstrap-languages/file-storage/putAdapter.ts (1)

1-5: Pinned ad4m and pako imports to esm.sh v135 without changing behavior

Updating ad4m and pako to esm.sh/v135/* (and even the commented Blob import) simply pins the CDN build variant while keeping the same package versions and usage. The FileStoragePutAdapter behavior is unaffected.

bootstrap-languages/file-storage/types.ts (1)

1-1: ExpressionGeneric import URL updated correctly

Importing ExpressionGeneric from https://esm.sh/v135/@perspect3vism/ad4m@0.5.0 keeps the same type factory while aligning with other v135 imports. FileExpression’s definition remains identical in behavior.

bootstrap-languages/centralized-file-storage/adapter.ts (1)

1-4: Centralized file-storage adapter imports correctly pinned to v135

Both the type imports and ExpressionGeneric now come from https://esm.sh/v135/@perspect3vism/ad4m@0.5.0, matching the rest of the codebase and avoiding integrity mismatches, with no change to how PutAdapter or Adapter behave.

@lucksus lucksus merged commit e591c7e into dev Nov 27, 2025
3 checks passed
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.

2 participants