Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@neondatabase/serverless

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neondatabase/serverless - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

2

index.d.ts

@@ -318,3 +318,3 @@ // Type definitions for pg 8.6

*/
webSocketConstructor: typeof CustomWebSocket | undefined;
webSocketConstructor: any; //typeof CustomWebSocket | undefined;

@@ -321,0 +321,0 @@ /**

{
"name": "@neondatabase/serverless",
"version": "0.2.4",
"version": "0.2.5",
"author": "Neon",

@@ -5,0 +5,0 @@ "description": "node-postgres via WebSockets from neon.tech",

@@ -119,8 +119,10 @@ # @neondatabase/serverless [BETA]

The code is at https://github.com/neondatabase/serverless. Most of the interesting parts are in `shims/net/index.ts`.
The code is at https://github.com/neondatabase/serverless. Most of the interesting parts are in `shims/net/index.ts` and `export/index.ts`.
* To update the npm package, run `npm run export`, then `cd dist/npm` and `npm publish`.
* To run or deploy the test app on Cloudflare, create a `.dev.vars` file containing `DATABASE_URL=postgres://connection_string`, run `npx wrangler dev --local` or `npx wrangler publish`.
* To run or deploy the simple test app on Cloudflare, create a `.dev.vars` file containing `DATABASE_URL=postgres://connection_string`, run `npx wrangler dev --local` or `npx wrangler publish`.
* To run the test app in a browser, create a `.dev.vars` file as above, run `npm run start` and visit `http://localhost:7070/dist/deploy/` (to include debug output and avoid minification, use `npm run startDebug` instead).
* To run the latencies test app in a browser, create a `.dev.vars` file as above, run `npm run browser` and visit `http://localhost:7070/dist/browser/`. To include debug output and avoid minification, use `npm run browserDebug` instead.
* To run the latencies test app in node, create a `.dev.vars` file as above and run `npm run node`. To include debug output and avoid minification, use `npm run nodeDebug` instead.

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc