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

@fanoutio/grip

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fanoutio/grip - npm Package Versions

2345

4.3.0

Diff

Changelog

Source

[4.3.0] - 2024-10-14

Added

  • Added conditional export "node" - symbols previously only exported from @fanoutio/grip/node are now available on the main @fanoutio/grip export when the condition "node" is present when resolving imports.
harmony7
published 4.2.0 •

Changelog

Source

[4.2.0] - 2024-03-25

Added

  • examples: Added examples for using @fanoutio/grip with Bun, Deno, Cloudflare Workers, Remix, and Next.js backend applications

Fixed

  • docs: Correct wording of Fastly Compute demos to use Secret Store
  • docs: Correct imports in buildFanoutGripConfig example in README
  • examples: Correct typos and use consistent spacing in Node.js and Fastly Compute examples
harmony7
published 4.1.0 •

Changelog

Source

[4.1.0] - 2024-03-18

Added

  • feat: Added buildGripConfig function for Fastly Fanout
  • docs: Update docs on publishing through Fastly Fanout
harmony7
published 4.1.0-beta.0 •

harmony7
published 4.0.2 •

Changelog

Source

[4.0.2] - 2024-03-06

Fixed

  • fix: Fix "types" field in package.json

Changed

  • docs: Write 127.0.0.1 instead of localhost
harmony7
published 4.0.1 •

Changelog

Source

[4.0.1] - 2024-03-04

Added

  • parseGripUri second parameter can have undefined values and they will successfully be ignored.
harmony7
published 4.0.0 •

Changelog

Source

[4.0.0] - 2024-03-01

  • Major update improving simplicity
  • Simplified build, now exported as ESM modules only.
  • Now based on Web-interoperable APIs (such as fetch() and crypto.subtle).
    • Usage on Web-interoperable runtimes no longer requires polyfills for Node.js functionality such as node:crypto.
    • isWsOverHttp() and getWebSocketContextFromReq() functions now work with Request objects rather than Node.js's IncomingMessage objects.
  • Separated out Node.js support into its own export, "@fanoutio/grip/node".
    • isNodeReqWsOverHttp() and getWebSocketContextFromNodeReq() functions work with Node.js's IncomingMessage objects.
  • GRIP_URL now allows key and verify-key query parameters to be provided as:
    • JSON stringified representation of JsonWebKey
    • base64-encoded representations (prefixed with base64:) of Uint8Array, JSON-stringified JsonWebKey, or PEM file (SPKI or PKCS#8).
  • parseGripUri now accepts a second parameter which can be used to merge parameters into a IGripConfig.
  • validateGripSig is now available on Publisher, allowing you to easily check a Grip-Sig header against the publisher clients registered with a Publisher.
  • Publisher can now be configured with a custom channel prefix that will be applied when publishing messages.
  • Publisher can now be configured with an override fetch() function that will be called when publishing messages.
  • Public Keys for Fastly Fanout are now exported as constants.
harmony7
published 4.0.0-beta.4 •

harmony7
published 4.0.0-beta.3 •

harmony7
published 4.0.0-beta.2 •

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