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

@silenteer/natsu

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@silenteer/natsu - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

dist/type.d.ts

@@ -19,3 +19,3 @@ import type { Msg, NatsConnection } from 'nats';

declare type NatsValidationResult = {
code: 'OK' | 400;
code: 'OK' | 400 | 404;
errors?: unknown;

@@ -22,0 +22,0 @@ };

@@ -5,2 +5,3 @@ import type { NatsAuthorizationResult, NatsHandleResult, NatsValidationResult } from './type';

error: (errors?: unknown) => NatsValidationResult;
notFound: (errors?: unknown) => NatsValidationResult;
};

@@ -7,0 +8,0 @@ declare const NatsAuthorizationResultUtil: {

@@ -7,2 +7,3 @@ "use strict";

error: (errors) => ({ code: 400, errors }),
notFound: (errors) => ({ code: 404, errors }),
};

@@ -9,0 +10,0 @@ exports.NatsValidationResultUtil = NatsValidationResultUtil;

{
"name": "@silenteer/natsu",
"version": "1.0.3",
"version": "1.0.4",
"license": "MIT",

@@ -15,6 +15,6 @@ "private": false,

"scripts": {
"build": "rm -rf dist && tsc && cp package.json ./dist/package.json"
"build": "rm -rf dist && tsc"
},
"dependencies": {
"@silenteer/natsu-type": "0.0.3",
"@silenteer/natsu-type": "0.0.4",
"nats": "^2.2.0"

@@ -21,0 +21,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