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

fastify-sse-v2

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-sse-v2 - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

4

CHANGELOG.md

@@ -8,3 +8,7 @@ # Changelog

## [Unreleased]
## [2.0.3]
## Added
- default export
## [2.0.2]

@@ -11,0 +15,0 @@ ## Fixes

/// <reference types="node" />
export declare const FastifySSEPlugin: import("fastify").FastifyPluginCallback<import("./types").SsePluginOptions, import("http").Server>;
export default FastifySSEPlugin;
declare module "fastify" {

@@ -4,0 +5,0 @@ interface EventMessage {

4

lib/index.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.FastifySSEPlugin = void 0;
exports.default = exports.FastifySSEPlugin = void 0;

@@ -20,2 +20,4 @@ var _fastifyPlugin = _interopRequireDefault(require("fastify-plugin"));

exports.FastifySSEPlugin = FastifySSEPlugin;
var _default = FastifySSEPlugin;
exports.default = _default;
//# sourceMappingURL=index.js.map
{
"name": "fastify-sse-v2",
"version": "2.0.2",
"version": "2.0.3",
"description": "Fastify plugin for sending server side events.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -7,3 +7,3 @@ # Fastify SSE Plugin

For fastify@2.x use fastify-sse-v2@1.x!
For `fastify@2.x` use [fastify-sse-v2@1.x](https://github.com/NodeFactoryIo/fastify-sse-v2/tree/1.x)!

@@ -10,0 +10,0 @@ ### How to use?

@@ -9,2 +9,4 @@ import fastifyPlugin from "fastify-plugin";

export default FastifySSEPlugin;
declare module "fastify" {

@@ -11,0 +13,0 @@

Sorry, the diff of this file is not supported yet

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