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

@elysiajs/swagger

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elysiajs/swagger - npm Package Compare versions

Comparing version 0.0.0-experimental.3 to 0.1.0-rc.1

dist/cjs/index.js

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 0.1.0-rc.1 - 6 Dec 2022
Improvement:
- Support for Elysia 0.1.0-rc.1 onward
# 0.0.0-experimental.3 - 29 Nov 2022

@@ -2,0 +6,0 @@ Change:

35

package.json
{
"name": "@elysiajs/swagger",
"version": "0.0.0-experimental.3",
"description": "A plugin for Elysia to auto-generate Swagger page",
"version": "0.1.0-rc.1",
"description": "Plugin for Elysia to auto-generate Swagger page",
"author": {

@@ -10,9 +10,11 @@ "name": "saltyAom",

},
"main": "build/index.js",
"module": "build/es/index.js",
"esnext": "build/es/index.js",
"types": "src/index.ts",
"typings": "src/index.ts",
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/index.js",
"node": "./dist/index.js",
"default": "./dist/index.js"
},
"types": "./dist/index.d.ts",
"keywords": [
"kingworld",
"elysia",
"swagger"

@@ -28,15 +30,13 @@ ],

"scripts": {
"dev": "nodemon --config nodemon.json",
"dev": "bun run --hot example/index.ts",
"test": "bun wiptest",
"build": "npm run build:main && npm run build:es",
"build:main": "swc src --config-file .cjs.swcrc -d build",
"build:es": "swc src --config-file .es.swcrc -d build/es",
"build": "rimraf dist && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:esm": "tsc --project tsconfig.esm.json",
"release": "npm run build && npm run test && npm publish --access public"
},
"peerDependencies": {
"elysia": ">= 0.0.0-experimental.56"
"elysia": ">= 0.1.0-rc.1"
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.11",
"@types/node": "^18.11.7",

@@ -46,8 +46,7 @@ "@types/swagger-ui-dist": "^3.30.1",

"eslint": "^8.26.0",
"elysia": "^0.0.0-experimental.56",
"nodemon": "^2.0.20",
"elysia": "^0.1.0-rc.1",
"typescript": "^4.8.4"
},
"dependencies": {
"@elysiajs/static": "0.0.0-experimental.3",
"@elysiajs/static": "0.1.0-rc.1",
"openapi-types": "^12.0.2",

@@ -54,0 +53,0 @@ "swagger-ui-dist": "^4.15.5"

# @elysiajs/swagger
A plugin for [elysia](https://github.com/elysiajs/elysia) to auto-generate Swagger page.
Plugin for [elysia](https://github.com/elysiajs/elysia) to auto-generate Swagger page.

@@ -4,0 +4,0 @@ ## Installation

@@ -80,3 +80,3 @@ import { type Elysia, SCHEMA } from 'elysia'

/**
* A plugin for [elysia](https://github.com/elysiajs/elysia) that auto-generate Swagger page.
* Plugin for [elysia](https://github.com/elysiajs/elysia) that auto-generate Swagger page.
*

@@ -160,3 +160,3 @@ * @see https://github.com/elysiajs/elysia-swagger

info: {
title: 'KingWorld Documentation',
title: 'Elysia Documentation',
description: 'Developement documentation',

@@ -163,0 +163,0 @@ version: '0.0.0',

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