Skip to content

Small fixes and dependency updates #159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

jawj
Copy link
Collaborator

@jawj jawj commented Apr 24, 2025

  • Re-export escapeIdentifier from pg #154 — asks to export escapeLiteral and escapeIdentifier: this does so.

  • Module not found "https://jsr.io/@neon/serverless/0.10.1/pg-protocol" #112 — points out an issue with Deno/JSR, which is that we pin to a version of @types/pg that does not exist. Oops! This fixes that too.

  • The postversion script now points out the need to publish to JSR.

  • All packages (except pg, which is pinned to 8.8.0) are updated, fixing some security warnings. Prisma (or at least its type definition) appears to have changed in 6.6.0, so the relevant tests are updated and simplified to match. Since we now rely on Prisma to import @neondatabase/serverless for itself, I have added an override field in package.json to ensure it uses the local package, not whatever version is currently on npm.

@jawj jawj marked this pull request as ready for review April 24, 2025 16:06
@jawj jawj requested review from pffigueiredo and lneves12 April 24, 2025 16:06
@@ -61,7 +61,7 @@
"test:browser": "npm run build && playwright install --with-deps firefox chromium && vitest run --dir=tests/browser --browser --config=tests/browser/vite.config.mts"
},
"dependencies": {
"@types/node": "^22.10.2",
"@types/node": "*",

Choose a reason for hiding this comment

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

what was the main reason to wildcard this dependency? Always looks scary to wildcard dependencies like that, even if types

@pffigueiredo
Copy link
Contributor

Should we also set up some changelogs?

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