You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@fastify/swagger-ui

Package Overview
Dependencies
Maintainers
18
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.9.3 to 1.10.0

4

index.js
'use strict'
const fp = require('fastify-plugin')
const { readFile } = require('fs/promises')
const path = require('path')
const { readFile } = require('node:fs/promises')
const path = require('node:path')

@@ -7,0 +7,0 @@ async function fastifySwaggerUi (fastify, opts) {

'use strict'
const path = require('path')
const path = require('node:path')
const yaml = require('yaml')

@@ -5,0 +5,0 @@ const fastifyStatic = require('@fastify/static')

{
"name": "@fastify/swagger-ui",
"version": "1.9.3",
"version": "1.10.0",
"description": "Serve Swagger-ui for Fastify",

@@ -56,5 +56,5 @@ "main": "index.js",

"standard": "^17.0.0",
"swagger-ui-dist": "5.1.2",
"swagger-ui-dist": "5.9.0",
"tap": "^16.3.2",
"tsd": "^0.28.0"
"tsd": "^0.29.0"
},

@@ -61,0 +61,0 @@ "dependencies": {

@@ -266,3 +266,3 @@ # @fastify/swagger-ui

const fastify = require('fastify')()
const crypto = require('crypto')
const crypto = require('node:crypto')

@@ -269,0 +269,0 @@ fastify.register(require('@fastify/swagger'))

@@ -1,6 +0,6 @@

const fs = require('fs')
const fs = require('node:fs')
const fse = require('fs-extra')
const crypto = require('crypto')
const crypto = require('node:crypto')
const swaggerUiAssetPath = require('swagger-ui-dist').getAbsoluteFSPath()
const resolve = require('path').resolve
const resolve = require('node:path').resolve

@@ -7,0 +7,0 @@ const folderName = 'static'

@@ -18,4 +18,4 @@ 'use strict'

const resolve = require('path').resolve
const readFileSync = require('fs').readFileSync
const resolve = require('node:path').resolve
const readFileSync = require('node:fs').readFileSync

@@ -22,0 +22,0 @@ const schemaParamsWithoutDesc = {

@@ -8,4 +8,4 @@ 'use strict'

const yaml = require('yaml')
const readFileSync = require('fs').readFileSync
const resolve = require('path').resolve
const readFileSync = require('node:fs').readFileSync
const resolve = require('node:path').resolve

@@ -12,0 +12,0 @@ test('swagger route returns yaml', async (t) => {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc