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

@nyth/common

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nyth/common - npm Package Compare versions

Comparing version 0.5.6 to 0.5.7

index.mjs

6

dist/http-adapter.d.ts

@@ -1,7 +0,7 @@

/// <reference types="node" />
import { Server as HttpServer } from 'http';
import { Server as HttpServer } from 'node:http';
import { Server as HttpsServer } from 'node:https';
import { IRpcAdapter } from './typings';
export interface IHttpAdapter extends IRpcAdapter {
adjust<T>(constructor: new (arg: {
server: HttpServer;
server: HttpServer | HttpsServer;
}) => T): T;

@@ -8,0 +8,0 @@ close(): Promise<void>;

{
"name": "@nyth/common",
"version": "0.5.6",
"version": "0.5.7",
"description": "nyth",

@@ -8,2 +8,3 @@ "author": "Andrey Sakharov <caxap_8787@mail.ru> (https://www.linkedin.com/in/andrey-sakharov/)",

"main": "dist/index.cjs",
"module": "index.mjs",
"typings": "dist/index.d.ts",

@@ -13,3 +14,4 @@ "exports": {

"require": "./dist/index.cjs",
"import": "./dist/es6/index.mjs"
"import": "./index.mjs",
"types": "./dist/index.d.ts"
}

@@ -22,9 +24,8 @@ },

"scripts": {
"build": "npm run build_cjs && npm run build_es6",
"build_cjs": "tsc -p tsconfig.json && mv dist/index.js dist/index.cjs",
"build_es6": "tsc -p tsconfig.es6.json && mv dist/es6/index.js dist/es6/index.mjs",
"build": "tsc -p tsconfig.json && mv dist/index.js dist/index.cjs",
"prebuild": "rm -rf dist || npx rimraf dist"
},
"files": [
"dist"
"dist",
"index.mjs"
],

@@ -41,9 +42,6 @@ "repository": {

"dependencies": {
"@nyth/base-adapter": "^0.5.6",
"@nyth/models": "^0.5.6",
"@nyth/serializer": "^0.5.6"
"@nyth/base-adapter": "^0.5.7",
"@nyth/models": "^0.5.7",
"@nyth/serializer": "^0.5.7"
},
"devDependencies": {
"typescript": "^5.1.3"
},
"publishConfig": {

@@ -50,0 +48,0 @@ "access": "public"

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